Lines Matching refs:d
62 static const char *next_module(struct device *d) in next_module() argument
75 pci_fill_info(d->dev, PCI_FILL_MODULE_ALIAS); in next_module()
76 if (!d->dev->module_alias) in next_module()
78 int err = kmod_module_new_from_lookup(kmod_ctx, d->dev->module_alias, &klist); in next_module()
175 match_pcimap(struct device *d, struct pcimap_entry *e) in match_pcimap() argument
177 struct pci_dev *dev = d->dev; in match_pcimap()
190 static const char *next_module(struct device *d) in next_module() argument
201 if (match_pcimap(d, current)) in next_module()
217 next_module_filtered(struct device *d) in next_module_filtered() argument
222 while (module = next_module(d)) in next_module_filtered()
236 show_kernel(struct device *d) in show_kernel() argument
240 pci_fill_info(d->dev, PCI_FILL_DRIVER); in show_kernel()
241 if (driver = pci_get_string_property(d->dev, PCI_FILL_DRIVER)) in show_kernel()
248 while (module = next_module_filtered(d)) in show_kernel()
255 show_kernel_machine(struct device *d) in show_kernel_machine() argument
259 pci_fill_info(d->dev, PCI_FILL_DRIVER); in show_kernel_machine()
260 if (driver = pci_get_string_property(d->dev, PCI_FILL_DRIVER)) in show_kernel_machine()
266 while (module = next_module_filtered(d)) in show_kernel_machine()
273 show_kernel(struct device *d) in show_kernel() argument
277 pci_fill_info(d->dev, PCI_FILL_DRIVER); in show_kernel()
278 if (driver = pci_get_string_property(d->dev, PCI_FILL_DRIVER)) in show_kernel()
283 show_kernel_machine(struct device *d) in show_kernel_machine() argument
287 pci_fill_info(d->dev, PCI_FILL_DRIVER); in show_kernel_machine()
288 if (driver = pci_get_string_property(d->dev, PCI_FILL_DRIVER)) in show_kernel_machine()