• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/base/

Lines Matching refs:bus_type

20 #define to_bus(obj) container_of(obj, struct bus_type, subsys.kobj)
96 struct bus_type * bus = to_bus(kobj);
109 struct bus_type * bus = to_bus(kobj);
122 int bus_create_file(struct bus_type * bus, struct bus_attribute * attr)
133 void bus_remove_file(struct bus_type * bus, struct bus_attribute * attr)
163 struct bus_type *bus = get_bus(drv->bus);
190 struct bus_type *bus = get_bus(drv->bus);
215 static ssize_t show_drivers_autoprobe(struct bus_type *bus, char *buf)
220 static ssize_t store_drivers_autoprobe(struct bus_type *bus,
230 static ssize_t store_drivers_probe(struct bus_type *bus,
270 int bus_for_each_dev(struct bus_type * bus, struct device * start,
303 struct device * bus_find_device(struct bus_type *bus,
349 int bus_for_each_drv(struct bus_type * bus, struct device_driver * start,
367 static int device_add_attrs(struct bus_type *bus, struct device *dev)
386 static void device_remove_attrs(struct bus_type * bus, struct device * dev)
421 struct bus_type * bus = get_bus(dev->bus);
463 struct bus_type *bus = dev->bus;
504 static int driver_add_attrs(struct bus_type * bus, struct device_driver * drv)
525 static void driver_remove_attrs(struct bus_type * bus, struct device_driver * drv)
559 static int add_probe_files(struct bus_type *bus)
583 static void remove_probe_files(struct bus_type *bus)
591 static inline int add_probe_files(struct bus_type *bus) { return 0; }
592 static inline void remove_probe_files(struct bus_type *bus) {}
602 struct bus_type * bus = get_bus(drv->bus);
694 int bus_rescan_devices(struct bus_type * bus)
721 struct bus_type *get_bus(struct bus_type *bus)
724 struct bus_type, subsys) : NULL;
727 void put_bus(struct bus_type * bus)
749 static int bus_add_attrs(struct bus_type * bus)
768 static void bus_remove_attrs(struct bus_type * bus)
800 int bus_register(struct bus_type * bus)
862 void bus_unregister(struct bus_type * bus)
872 int bus_register_notifier(struct bus_type *bus, struct notifier_block *nb)
878 int bus_unregister_notifier(struct bus_type *bus, struct notifier_block *nb)