Searched refs:modpath (Results 1 – 2 of 2) sorted by relevance
61 parse_tree_node(struct device *parent, int index, struct hardware_path *modpath);474 static struct parisc_device *create_parisc_device(struct hardware_path *modpath) in create_parisc_device() argument479 if (modpath->bc[i] == -1) in create_parisc_device()481 parent = &alloc_tree_node(parent, modpath->bc[i])->dev; in create_parisc_device()483 return alloc_tree_node(parent, modpath->mod); in create_parisc_device()651 struct hardware_path *modpath) in match_pci_device() argument659 return ((modpath->bc[5] == PCI_SLOT(devfn)) && in match_pci_device()660 (modpath->mod == PCI_FUNC(devfn))); in match_pci_device()664 return (modpath->bc[index] == id); in match_pci_device()676 struct hardware_path *modpath) in match_parisc_device() argument[all …]
120 extern struct device *hwpath_to_device(struct hardware_path *modpath);