/linux-3.4.99/arch/arm/plat-samsung/include/plat/ |
D | cpu.h | 195 extern struct bus_type s3c2410_subsys; 196 extern struct bus_type s3c2410a_subsys; 197 extern struct bus_type s3c2412_subsys; 198 extern struct bus_type s3c2416_subsys; 199 extern struct bus_type s3c2440_subsys; 200 extern struct bus_type s3c2442_subsys; 201 extern struct bus_type s3c2443_subsys; 202 extern struct bus_type s3c6410_subsys; 203 extern struct bus_type s5p64x0_subsys; 204 extern struct bus_type s5pv210_subsys; [all …]
|
/linux-3.4.99/drivers/base/ |
D | bus.c | 39 static struct bus_type *bus_get(struct bus_type *bus) in bus_get() 48 static void bus_put(struct bus_type *bus) in bus_put() 128 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr) in bus_create_file() 140 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file() 174 struct bus_type *bus = bus_get(drv->bus); in driver_unbind() 201 struct bus_type *bus = bus_get(drv->bus); in driver_bind() 229 static ssize_t show_drivers_autoprobe(struct bus_type *bus, char *buf) in show_drivers_autoprobe() 234 static ssize_t store_drivers_autoprobe(struct bus_type *bus, in store_drivers_autoprobe() 244 static ssize_t store_drivers_probe(struct bus_type *bus, in store_drivers_probe() 290 int bus_for_each_dev(struct bus_type *bus, struct device *start, in bus_for_each_dev() [all …]
|
/linux-3.4.99/include/linux/ |
D | device.h | 35 struct bus_type; 41 ssize_t (*show)(struct bus_type *bus, char *buf); 42 ssize_t (*store)(struct bus_type *bus, const char *buf, size_t count); 48 extern int __must_check bus_create_file(struct bus_type *, 50 extern void bus_remove_file(struct bus_type *, struct bus_attribute *); 89 struct bus_type { struct 120 extern int __must_check __bus_register(struct bus_type *bus, argument 122 extern void bus_unregister(struct bus_type *bus); 124 extern int __must_check bus_rescan_devices(struct bus_type *bus); 132 struct bus_type *subsys, [all …]
|
D | iommu.h | 29 struct bus_type; 81 extern int bus_set_iommu(struct bus_type *bus, struct iommu_ops *ops); 82 extern bool iommu_present(struct bus_type *bus); 83 extern struct iommu_domain *iommu_domain_alloc(struct bus_type *bus); 144 static inline bool iommu_present(struct bus_type *bus) in iommu_present() 149 static inline struct iommu_domain *iommu_domain_alloc(struct bus_type *bus) in iommu_domain_alloc()
|
D | pm_clock.h | 62 extern void pm_clk_add_notifier(struct bus_type *bus, 65 static inline void pm_clk_add_notifier(struct bus_type *bus, in pm_clk_add_notifier()
|
D | dma-debug.h | 27 struct bus_type; 31 extern void dma_debug_add_bus(struct bus_type *bus); 88 static inline void dma_debug_add_bus(struct bus_type *bus) in dma_debug_add_bus()
|
/linux-3.4.99/drivers/staging/usbip/userspace/src/ |
D | usbip_bind.c | 51 char bus_type[] = "usb"; in bind_usbip() local 70 sysfs_mntpath, SYSFS_BUS_NAME, bus_type, SYSFS_DRIVERS_NAME, in bind_usbip() 79 busid_dev = sysfs_open_device(bus_type, busid); in bind_usbip() 120 char bus_type[] = "usb"; in unbind_other() local 132 busid_dev = sysfs_open_device(bus_type, busid); in unbind_other() 155 intf_dev = sysfs_open_device(bus_type, intf_busid); in unbind_other() 176 intf_drv = sysfs_open_driver(bus_type, intf_dev->driver_name); in unbind_other()
|
D | usbip_list.c | 190 char bus_type[] = "usb"; in list_devices() local 203 ubus = sysfs_open_bus(bus_type); in list_devices() 205 err("could not open %s bus: %s", bus_type, strerror(errno)); in list_devices() 211 err("could not get %s bus devices: %s", bus_type, in list_devices() 240 intf = sysfs_open_device(bus_type, busid); in list_devices()
|
D | usbip_unbind.c | 43 char bus_type[] = "usb"; in unbind_device() local 58 usbip_host_drv = sysfs_open_driver(bus_type, USBIP_HOST_DRV_NAME); in unbind_device() 103 sysfs_mntpath, SYSFS_BUS_NAME, bus_type, SYSFS_DEVICES_NAME, in unbind_device()
|
D | utils.c | 30 char bus_type[] = "usb"; in modify_match_busid() local 50 "%s/%s/%s/%s/%s/%s", sysfs_mntpath, SYSFS_BUS_NAME, bus_type, in modify_match_busid()
|
/linux-3.4.99/Documentation/driver-model/ |
D | bus.txt | 6 See the kerneldoc for the struct bus_type. 8 int bus_register(struct bus_type * bus); 18 struct bus_type pci_bus_type = { 25 extern struct bus_type pci_bus_type; 71 int bus_for_each_dev(struct bus_type * bus, struct device * start, void * data, 74 int bus_for_each_drv(struct bus_type * bus, struct device_driver * start, 123 ssize_t (*show)(struct bus_type *, char * buf); 124 ssize_t (*store)(struct bus_type *, const char * buf, size_t count); 140 int bus_create_file(struct bus_type *, struct bus_attribute *); 141 void bus_remove_file(struct bus_type *, struct bus_attribute *);
|
D | porting.txt | 38 - Define a struct bus_type for the bus driver. 40 struct bus_type pci_bus_type = { 70 extern struct bus_type pci_bus_type; 148 belongs to. This should be set to the bus_type that was declared 338 Instead, a bus may supply a method in struct bus_type that does the 388 struct bus_type: 403 struct bus_type contains a list of all devices registered with the bus 410 int bus_for_each_dev(struct bus_type * bus, struct device * start, 416 struct bus_type also contains a list of all drivers registered with 422 int bus_for_each_drv(struct bus_type * bus, struct device_driver * start, [all …]
|
/linux-3.4.99/drivers/net/wireless/b43/ |
D | bus.h | 12 enum b43_bus_type bus_type; member 55 return (dev->bus_type == B43_BUS_SSB && in b43_bus_host_is_pcmcia() 60 return (dev->bus_type == B43_BUS_SSB && in b43_bus_host_is_sdio()
|
D | bus.c | 90 dev->bus_type = B43_BUS_BCMA; in b43_bus_dev_bcma_init() 191 dev->bus_type = B43_BUS_SSB; in b43_bus_dev_ssb_init() 230 switch (dev->bus_type) { in b43_bus_get_wldev() 245 switch (dev->bus_type) { in b43_bus_set_wldev()
|
/linux-3.4.99/arch/powerpc/platforms/ps3/ |
D | repository.c | 184 enum ps3_bus_type *bus_type) in ps3_repository_read_bus_type() argument 194 *bus_type = v1; in ps3_repository_read_bus_type() 331 __func__, __LINE__, tmp.bus_type, tmp.bus_index, tmp.bus_id, in ps3_repository_find_device() 392 result = ps3_repository_read_bus_type(tmp.bus_index, &tmp.bus_type); in ps3_repository_find_device_by_id() 434 __func__, __LINE__, tmp.bus_type, tmp.dev_type, tmp.bus_index, in ps3_repository_find_device_by_id() 440 int __devinit ps3_repository_find_devices(enum ps3_bus_type bus_type, in ps3_repository_find_devices() argument 446 pr_devel(" -> %s:%d: find bus_type %u\n", __func__, __LINE__, bus_type); in ps3_repository_find_devices() 448 repo.bus_type = bus_type; in ps3_repository_find_devices() 449 result = ps3_repository_find_bus(repo.bus_type, 0, &repo.bus_index); in ps3_repository_find_devices() 482 int ps3_repository_find_bus(enum ps3_bus_type bus_type, unsigned int from, in ps3_repository_find_bus() argument [all …]
|
D | platform.h | 97 enum ps3_bus_type *bus_type); 140 enum ps3_bus_type bus_type; member 149 int ps3_repository_find_devices(enum ps3_bus_type bus_type, 151 int ps3_repository_find_bus(enum ps3_bus_type bus_type, unsigned int from,
|
D | device-init.c | 136 BUG_ON(repo->bus_type != PS3_BUS_TYPE_SB); in ps3_setup_gelic_device() 207 BUG_ON(repo->bus_type != PS3_BUS_TYPE_SB); in ps3_setup_uhc_device() 912 static int __init ps3_start_probe_thread(enum ps3_bus_type bus_type) in ps3_start_probe_thread() argument 922 repo.bus_type = bus_type; in ps3_start_probe_thread() 924 result = ps3_repository_find_bus(repo.bus_type, 0, &repo.bus_index); in ps3_start_probe_thread() 940 "ps3-probe-%u", bus_type); in ps3_start_probe_thread()
|
/linux-3.4.99/drivers/edac/ |
D | edac_stub.c | 58 struct bus_type edac_subsys = { 65 struct bus_type *edac_get_sysfs_subsys(void) in edac_get_sysfs_subsys()
|
/linux-3.4.99/drivers/iommu/ |
D | iommu.c | 79 static void iommu_bus_init(struct bus_type *bus, struct iommu_ops *ops) in iommu_bus_init() 98 int bus_set_iommu(struct bus_type *bus, struct iommu_ops *ops) in bus_set_iommu() 112 bool iommu_present(struct bus_type *bus) in iommu_present() 138 struct iommu_domain *iommu_domain_alloc(struct bus_type *bus) in iommu_domain_alloc()
|
/linux-3.4.99/sound/soc/codecs/ |
D | cs4271.c | 158 enum snd_soc_control_type bus_type; member 494 if (cs4271->bus_type == SND_SOC_SPI) in cs4271_probe() 496 cs4271->bus_type); in cs4271_probe() 499 cs4271->bus_type); in cs4271_probe() 557 cs4271->bus_type = SND_SOC_SPI; in cs4271_spi_probe() 596 cs4271->bus_type = SND_SOC_I2C; in cs4271_i2c_probe()
|
D | wm8711.c | 35 enum snd_soc_control_type bus_type; member 359 ret = snd_soc_codec_set_cache_io(codec, 7, 9, wm8711->bus_type); in wm8711_probe() 422 wm8711->bus_type = SND_SOC_SPI; in wm8711_spi_probe() 461 wm8711->bus_type = SND_SOC_I2C; in wm8711_i2c_probe()
|
/linux-3.4.99/arch/arm/mach-s3c24xx/ |
D | s3c2410.c | 142 struct bus_type s3c2410_subsys = { 150 struct bus_type s3c2410a_subsys = {
|
D | s3c244x.c | 142 struct bus_type s3c2440_subsys = { 147 struct bus_type s3c2442_subsys = {
|
/linux-3.4.99/drivers/media/video/s5p-fimc/ |
D | fimc-reg.c | 617 if (cam->bus_type == FIMC_ITU_601 || cam->bus_type == FIMC_ITU_656) { in fimc_hw_set_camera_source() 633 if (cam->bus_type == FIMC_ITU_601) { in fimc_hw_set_camera_source() 639 } else if (cam->bus_type == FIMC_MIPI_CSI2) { in fimc_hw_set_camera_source() 685 if (cam->bus_type == FIMC_MIPI_CSI2) { in fimc_hw_set_camera_type() 710 } else if (cam->bus_type == FIMC_ITU_601 || in fimc_hw_set_camera_type() 711 cam->bus_type == FIMC_ITU_656) { in fimc_hw_set_camera_type() 714 } else if (cam->bus_type == FIMC_LCD_WB) { in fimc_hw_set_camera_type()
|
/linux-3.4.99/drivers/ide/ |
D | cmd640.c | 722 const char *bus_type, *port2; in cmd640x_init() local 727 bus_type = "VLB"; in cmd640x_init() 733 bus_type = "PCI (type1)"; in cmd640x_init() 735 bus_type = "PCI (type2)"; in cmd640x_init() 783 "\n", 'a' + cmd640_chip_version - 1, bus_type, cfr); in cmd640x_init()
|