Lines Matching refs:device
44 static struct device root = {
48 static inline int check_dev(struct device *dev) in check_dev()
58 static struct device *
59 parse_tree_node(struct device *parent, int index, struct hardware_path *modpath);
63 int (*fn)(struct device *, void *);
66 static int descend_children(struct device * dev, void * data) in descend_children()
86 static int for_each_padev(int (*fn)(struct device *, void *), void * data) in for_each_padev() argument
122 static int parisc_driver_probe(struct device *dev) in parisc_driver_probe()
136 static void __exit parisc_driver_remove(struct device *dev) in parisc_driver_remove()
183 static int match_and_count(struct device * dev, void * data) in match_and_count()
232 static int find_device(struct device * dev, void * data) in find_device()
257 static int __init is_IKE_device(struct device *dev, void *data) in is_IKE_device()
292 const struct device *dev = &padev->dev; in find_pa_parent_type()
310 static void get_node_path(struct device *dev, struct hardware_path *path) in get_node_path()
419 struct device *parent) in create_tree_node()
450 static int match_by_id(struct device * dev, void * data) in match_by_id()
471 struct device *parent, char id) in alloc_tree_node()
485 struct device *parent = &root; in create_parisc_device()
551 static int parisc_generic_match(struct device *dev, struct device_driver *drv) in parisc_generic_match()
556 static ssize_t make_modalias(const struct device *dev, char *buf) in make_modalias()
566 static int parisc_uevent(const struct device *dev, struct kobj_uevent_env *env) in parisc_uevent()
589 static ssize_t name##_show(struct device *dev, struct device_attribute *attr, char *buf) \
604 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, char *buf) in modalias_show()
656 static int match_pci_device(struct device *dev, int index, in match_pci_device()
685 static int match_parisc_device(struct device *dev, int index, in match_parisc_device()
697 struct device * dev;
700 static int check_parent(struct device * dev, void * data) in check_parent()
713 struct device *new = parse_tree_node(dev, d->index, d->modpath); in check_parent()
731 static struct device *
732 parse_tree_node(struct device *parent, int index, struct hardware_path *modpath) in parse_tree_node()
755 struct device *hwpath_to_device(struct hardware_path *modpath) in hwpath_to_device()
758 struct device *parent = &root; in hwpath_to_device()
778 void device_to_hwpath(struct device *dev, struct hardware_path *path) in device_to_hwpath()
811 struct device *parent);
844 unsigned long io_io_high, struct device *parent) in walk_native_bus()
962 static __init int qemu_print_hpa(struct device *lin_dev, void *data) in qemu_print_hpa()
986 static __init int qemu_print_iodc_data(struct device *lin_dev, void *data) in qemu_print_iodc_data()
1084 static __init int print_one_device(struct device * dev, void * data) in print_one_device()