Home
last modified time | relevance | path

Searched refs:bus (Results 1 – 25 of 38) sorted by relevance

12

/include/sound/
Di2c.h28 struct snd_i2c_bus *bus; /* I2C bus */ member
40 void (*start)(struct snd_i2c_bus *bus); /* transfer start */
41 void (*stop)(struct snd_i2c_bus *bus); /* transfer stop */
42 …void (*direction)(struct snd_i2c_bus *bus, int clock, int data); /* set line direction (0 = write…
43 void (*setlines)(struct snd_i2c_bus *bus, int clock, int data);
44 int (*getclock)(struct snd_i2c_bus *bus);
45 int (*getdata)(struct snd_i2c_bus *bus, int ack);
51 int (*probeaddr)(struct snd_i2c_bus *bus, unsigned short addr);
73 void (*private_free)(struct snd_i2c_bus *bus);
80 int snd_i2c_device_create(struct snd_i2c_bus *bus, const char *name,
[all …]
Dtea6330t.h27 int snd_tea6330t_detect(struct snd_i2c_bus *bus, int equalizer);
28 int snd_tea6330t_update_mixer(struct snd_card *card, struct snd_i2c_bus *bus,
Dac97_codec.h443 void (*private_free) (struct snd_ac97_bus *bus);
481 struct snd_ac97_bus *bus; member
554 int snd_ac97_mixer(struct snd_ac97_bus *bus, struct snd_ac97_template *template,
617 struct snd_ac97_bus *bus; member
Dcs8427.h191 int snd_cs8427_create(struct snd_i2c_bus *bus, unsigned char addr,
/include/asm-generic/
Dtopology.h50 #define pcibus_to_node(bus) ((void)(bus), -1) argument
54 #define pcibus_to_cpumask(bus) (pcibus_to_node(bus) == -1 ? \ argument
56 node_to_cpumask(pcibus_to_node(bus)) \
61 #define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ argument
63 cpumask_of_node(pcibus_to_node(bus)))
Ddma-mapping.h22 BUG_ON(dev->bus != &pci_bus_type); in dma_supported()
30 BUG_ON(dev->bus != &pci_bus_type); in dma_set_mask()
39 BUG_ON(dev->bus != &pci_bus_type); in dma_alloc_coherent()
48 BUG_ON(dev->bus != &pci_bus_type); in dma_free_coherent()
57 BUG_ON(dev->bus != &pci_bus_type); in dma_map_single()
66 BUG_ON(dev->bus != &pci_bus_type); in dma_unmap_single()
76 BUG_ON(dev->bus != &pci_bus_type); in dma_map_page()
85 BUG_ON(dev->bus != &pci_bus_type); in dma_unmap_page()
94 BUG_ON(dev->bus != &pci_bus_type); in dma_map_sg()
103 BUG_ON(dev->bus != &pci_bus_type); in dma_unmap_sg()
[all …]
/include/linux/ssb/
Dssb_embedded.h8 extern int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks);
11 u32 ssb_gpio_in(struct ssb_bus *bus, u32 mask);
12 u32 ssb_gpio_out(struct ssb_bus *bus, u32 mask, u32 value);
13 u32 ssb_gpio_outen(struct ssb_bus *bus, u32 mask, u32 value);
14 u32 ssb_gpio_control(struct ssb_bus *bus, u32 mask, u32 value);
15 u32 ssb_gpio_intmask(struct ssb_bus *bus, u32 mask, u32 value);
16 u32 ssb_gpio_polarity(struct ssb_bus *bus, u32 mask, u32 value);
Dssb.h142 struct ssb_bus *bus; member
320 typedef int (*ssb_invariants_func_t)(struct ssb_bus *bus,
327 extern int ssb_bus_ssbbus_register(struct ssb_bus *bus,
331 extern int ssb_bus_pcibus_register(struct ssb_bus *bus,
335 extern int ssb_bus_pcmciabus_register(struct ssb_bus *bus,
340 extern void ssb_bus_unregister(struct ssb_bus *bus);
344 extern int ssb_bus_suspend(struct ssb_bus *bus);
347 extern int ssb_bus_resume(struct ssb_bus *bus);
349 extern u32 ssb_clockspeed(struct ssb_bus *bus);
422 "unsupported bustype %d\n", dev->bus->bustype); in __ssb_dma_not_implemented()
[all …]
Dssb_driver_gige.h60 return container_of(pdev->bus->ops, struct ssb_gige, pci_ops); in pdev_to_ssb_gige()
75 return !!(dev->dev->bus->sprom.boardflags_lo & in ssb_gige_have_roboswitch()
85 return ((dev->dev->bus->chip_id == 0x4785) && in ssb_gige_one_dma_at_once()
86 (dev->dev->bus->chip_rev < 2)); in ssb_gige_one_dma_at_once()
95 return (dev->dev->bus->chip_id == 0x4785); in ssb_gige_must_flush_posted_writes()
/include/linux/
Dphy.h92 int (*read)(struct mii_bus *bus, int phy_id, int regnum);
93 int (*write)(struct mii_bus *bus, int phy_id, int regnum, u16 val);
94 int (*reset)(struct mii_bus *bus);
126 int mdiobus_register(struct mii_bus *bus);
127 void mdiobus_unregister(struct mii_bus *bus);
128 void mdiobus_free(struct mii_bus *bus);
129 struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr);
130 int mdiobus_read(struct mii_bus *bus, int addr, u16 regnum);
131 int mdiobus_write(struct mii_bus *bus, int addr, u16 regnum, u16 val);
267 struct mii_bus *bus; member
[all …]
Dpci-acpi.h57 while (pdev->bus->self) in acpi_find_root_bridge_handle()
58 pdev = pdev->bus->self; in acpi_find_root_bridge_handle()
60 return acpi_get_pci_rootbridge_handle(pci_domain_nr(pdev->bus), in acpi_find_root_bridge_handle()
61 pdev->bus->number); in acpi_find_root_bridge_handle()
Dpci.h61 struct pci_bus *bus; /* The bus this slot is on */ member
189 struct pci_bus *bus; /* bus this device is on */ member
367 int (*read)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val);
368 int (*write)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val);
375 extern int raw_pci_read(unsigned int domain, unsigned int bus,
377 extern int raw_pci_write(unsigned int domain, unsigned int bus,
531 void pci_bus_add_devices(struct pci_bus *bus);
532 struct pci_bus *pci_scan_bus_parented(struct device *parent, int bus,
534 static inline struct pci_bus * __devinit pci_scan_bus(int bus, struct pci_ops *ops, in pci_scan_bus() argument
538 root_bus = pci_scan_bus_parented(NULL, bus, ops, sysdata); in pci_scan_bus()
[all …]
Dsuperhyway.h69 struct superhyway_bus *bus; member
85 return dev->bus->ops->read_vcr(base, vcr); in superhyway_read_vcr()
92 return dev->bus->ops->write_vcr(base, vcr); in superhyway_write_vcr()
101 int superhyway_add_devices(struct superhyway_bus *bus, struct superhyway_device **devices, int nr_d…
Dof_platform.h51 struct bus_type *bus);
58 extern int of_bus_type_init(struct bus_type *bus, const char *name);
Ddevice.h40 ssize_t (*show)(struct bus_type *bus, char *buf);
41 ssize_t (*store)(struct bus_type *bus, const char *buf, size_t count);
73 extern int __must_check bus_register(struct bus_type *bus);
74 extern void bus_unregister(struct bus_type *bus);
76 extern int __must_check bus_rescan_devices(struct bus_type *bus);
80 int bus_for_each_dev(struct bus_type *bus, struct device *start, void *data,
82 struct device *bus_find_device(struct bus_type *bus, struct device *start,
85 struct device *bus_find_device_by_name(struct bus_type *bus,
89 int __must_check bus_for_each_drv(struct bus_type *bus,
93 void bus_sort_breadthfirst(struct bus_type *bus,
[all …]
Dmdio-bitbang.h40 void free_mdio_bitbang(struct mii_bus *bus);
Ducb1400.h98 return ac97->bus->ops->read(ac97, reg); in ucb1400_reg_read()
103 ac97->bus->ops->write(ac97, reg, val); in ucb1400_reg_write()
Dtc.h82 struct tc_bus *bus; /* Bus this device is on. */ member
Dmca.h133 extern int mca_register_device(int bus, struct mca_device *mca_dev);
Dkvm_host.h58 void kvm_io_bus_init(struct kvm_io_bus *bus);
59 void kvm_io_bus_destroy(struct kvm_io_bus *bus);
60 struct kvm_io_device *kvm_io_bus_find_dev(struct kvm_io_bus *bus,
62 void kvm_io_bus_register_dev(struct kvm_io_bus *bus,
Dedd.h93 __u8 bus; member
/include/acpi/
Dacpi_drivers.h84 int acpi_pci_irq_add_prt(acpi_handle handle, int segment, int bus);
85 void acpi_pci_irq_del_prt(int segment, int bus);
94 struct pci_bus *bus);
99 int bus);
/include/scsi/
Dfc_transport_fcoe.h24 struct bus_type *bus; member
/include/linux/usb/
Dotg.h134 extern int usb_bus_start_enum(struct usb_bus *bus, unsigned port_num);
/include/linux/uwb/
Dumc.h147 if (umc_dev->dev.parent->bus == &pci_bus_type) in umc_parent_pci_dev()

12