/include/sound/ |
D | i2c.h | 12 struct snd_i2c_bus *bus; /* I2C bus */ member 24 void (*start)(struct snd_i2c_bus *bus); /* transfer start */ 25 void (*stop)(struct snd_i2c_bus *bus); /* transfer stop */ 26 …void (*direction)(struct snd_i2c_bus *bus, int clock, int data); /* set line direction (0 = write… 27 void (*setlines)(struct snd_i2c_bus *bus, int clock, int data); 28 int (*getclock)(struct snd_i2c_bus *bus); 29 int (*getdata)(struct snd_i2c_bus *bus, int ack); 35 int (*probeaddr)(struct snd_i2c_bus *bus, unsigned short addr); 57 void (*private_free)(struct snd_i2c_bus *bus); 64 int snd_i2c_device_create(struct snd_i2c_bus *bus, const char *name, [all …]
|
D | hda_i915.h | 11 void snd_hdac_i915_set_bclk(struct hdac_bus *bus); 12 int snd_hdac_i915_init(struct hdac_bus *bus); 14 static inline void snd_hdac_i915_set_bclk(struct hdac_bus *bus) in snd_hdac_i915_set_bclk() argument 17 static inline int snd_hdac_i915_init(struct hdac_bus *bus) in snd_hdac_i915_init() argument 22 static inline int snd_hdac_i915_exit(struct hdac_bus *bus) in snd_hdac_i915_exit() argument 24 return snd_hdac_acomp_exit(bus); in snd_hdac_i915_exit()
|
D | hda_component.h | 14 int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable); 15 void snd_hdac_display_power(struct hdac_bus *bus, unsigned int idx, 21 int snd_hdac_acomp_init(struct hdac_bus *bus, 25 int snd_hdac_acomp_exit(struct hdac_bus *bus); 26 int snd_hdac_acomp_register_notifier(struct hdac_bus *bus, 29 static inline int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable) in snd_hdac_set_codec_wakeup() argument 33 static inline void snd_hdac_display_power(struct hdac_bus *bus, in snd_hdac_display_power() argument 48 static inline int snd_hdac_acomp_init(struct hdac_bus *bus, in snd_hdac_acomp_init() argument 56 static inline int snd_hdac_acomp_exit(struct hdac_bus *bus) in snd_hdac_acomp_exit() argument 60 static inline int snd_hdac_acomp_register_notifier(struct hdac_bus *bus, in snd_hdac_acomp_register_notifier() argument
|
D | hdaudio_ext.h | 7 int snd_hdac_ext_bus_init(struct hdac_bus *bus, struct device *dev, 11 void snd_hdac_ext_bus_exit(struct hdac_bus *bus); 12 int snd_hdac_ext_bus_device_init(struct hdac_bus *bus, int addr, 15 void snd_hdac_ext_bus_device_remove(struct hdac_bus *bus); 30 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus); 31 struct hdac_ext_link *snd_hdac_ext_bus_get_link(struct hdac_bus *bus, 80 void snd_hdac_ext_stream_init(struct hdac_bus *bus, 83 int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx, 85 void snd_hdac_stream_free_all(struct hdac_bus *bus); 86 void snd_hdac_link_free_all(struct hdac_bus *bus); [all …]
|
D | hdaudio.h | 52 struct hdac_bus *bus; member 117 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus, 240 int (*command)(struct hdac_bus *bus, unsigned int cmd); 242 int (*get_response)(struct hdac_bus *bus, unsigned int addr, 375 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, 377 void snd_hdac_bus_exit(struct hdac_bus *bus); 378 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr, 383 set_bit(codec->addr, &codec->bus->codec_powered); in snd_hdac_codec_link_up() 388 clear_bit(codec->addr, &codec->bus->codec_powered); in snd_hdac_codec_link_down() 391 int snd_hdac_bus_send_cmd(struct hdac_bus *bus, unsigned int val); [all …]
|
D | tea6330t.h | 12 int snd_tea6330t_detect(struct snd_i2c_bus *bus, int equalizer); 13 int snd_tea6330t_update_mixer(struct snd_card *card, struct snd_i2c_bus *bus,
|
/include/linux/device/ |
D | bus.h | 122 extern int __must_check bus_register(struct bus_type *bus); 124 extern void bus_unregister(struct bus_type *bus); 126 extern int __must_check bus_rescan_devices(struct bus_type *bus); 130 ssize_t (*show)(struct bus_type *bus, char *buf); 131 ssize_t (*store)(struct bus_type *bus, const char *buf, size_t count); 165 int bus_for_each_dev(struct bus_type *bus, struct device *start, void *data, 167 struct device *bus_find_device(struct bus_type *bus, struct device *start, 177 static inline struct device *bus_find_device_by_name(struct bus_type *bus, in bus_find_device_by_name() argument 181 return bus_find_device(bus, start, name, device_match_name); in bus_find_device_by_name() 191 bus_find_device_by_of_node(struct bus_type *bus, const struct device_node *np) in bus_find_device_by_of_node() argument [all …]
|
/include/linux/ssb/ |
D | ssb_embedded.h | 9 extern int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks); 12 u32 ssb_gpio_in(struct ssb_bus *bus, u32 mask); 13 u32 ssb_gpio_out(struct ssb_bus *bus, u32 mask, u32 value); 14 u32 ssb_gpio_outen(struct ssb_bus *bus, u32 mask, u32 value); 15 u32 ssb_gpio_control(struct ssb_bus *bus, u32 mask, u32 value); 16 u32 ssb_gpio_intmask(struct ssb_bus *bus, u32 mask, u32 value); 17 u32 ssb_gpio_polarity(struct ssb_bus *bus, u32 mask, u32 value);
|
D | ssb_driver_gige.h | 62 return container_of(pdev->bus->ops, struct ssb_gige, pci_ops); in pdev_to_ssb_gige() 77 return !!(dev->dev->bus->sprom.boardflags_lo & in ssb_gige_have_roboswitch() 87 return ((dev->dev->bus->chip_id == 0x4785) && in ssb_gige_one_dma_at_once() 88 (dev->dev->bus->chip_rev < 2)); in ssb_gige_one_dma_at_once() 97 return (dev->dev->bus->chip_id == 0x4785); in ssb_gige_must_flush_posted_writes() 108 memcpy(macaddr, dev->dev->bus->sprom.et0mac, 6); in ssb_gige_get_macaddr() 119 return dev->dev->bus->sprom.et0phyaddr; in ssb_gige_get_phyaddr()
|
D | ssb.h | 275 struct ssb_bus *bus; member 523 typedef int (*ssb_invariants_func_t)(struct ssb_bus *bus, 527 extern int ssb_bus_host_soc_register(struct ssb_bus *bus, 530 extern int ssb_bus_pcibus_register(struct ssb_bus *bus, 534 extern int ssb_bus_pcmciabus_register(struct ssb_bus *bus, 539 extern int ssb_bus_sdiobus_register(struct ssb_bus *bus, 545 extern void ssb_bus_unregister(struct ssb_bus *bus); 548 extern bool ssb_is_sprom_available(struct ssb_bus *bus); 553 int (*sprom_callback)(struct ssb_bus *bus, 558 extern int ssb_bus_suspend(struct ssb_bus *bus); [all …]
|
/include/linux/ |
D | pci-acpi.h | 34 struct pci_bus *pbus = pdev->bus; in acpi_find_root_bridge_handle() 84 void acpi_pci_add_bus(struct pci_bus *bus); 85 void acpi_pci_remove_bus(struct pci_bus *bus); 89 void acpi_pci_slot_enumerate(struct pci_bus *bus); 90 void acpi_pci_slot_remove(struct pci_bus *bus); 93 static inline void acpi_pci_slot_enumerate(struct pci_bus *bus) { } in acpi_pci_slot_enumerate() argument 94 static inline void acpi_pci_slot_remove(struct pci_bus *bus) { } in acpi_pci_slot_remove() argument 99 void acpiphp_enumerate_slots(struct pci_bus *bus); 100 void acpiphp_remove_slots(struct pci_bus *bus); 104 static inline void acpiphp_enumerate_slots(struct pci_bus *bus) { } in acpiphp_enumerate_slots() argument [all …]
|
D | mdio.h | 37 struct mii_bus *bus; member 94 struct mdio_device *mdio_device_create(struct mii_bus *bus, int addr); 328 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum); 329 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val); 330 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, 333 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum); 334 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum); 335 int mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val); 336 int mdiobus_write_nested(struct mii_bus *bus, int addr, u32 regnum, u16 val); 337 int mdiobus_modify(struct mii_bus *bus, int addr, u32 regnum, u16 mask, [all …]
|
D | mcb.h | 65 struct mcb_bus *bus; member 123 extern void mcb_bus_add_devices(const struct mcb_bus *bus); 124 extern int mcb_device_register(struct mcb_bus *bus, struct mcb_device *dev); 126 extern struct mcb_bus *mcb_bus_get(struct mcb_bus *bus); 127 extern void mcb_bus_put(struct mcb_bus *bus); 128 extern struct mcb_device *mcb_alloc_dev(struct mcb_bus *bus); 130 extern void mcb_release_bus(struct mcb_bus *bus);
|
D | sfp.h | 521 void (*attach)(void *priv, struct sfp_bus *bus); 522 void (*detach)(void *priv, struct sfp_bus *bus); 534 int sfp_parse_port(struct sfp_bus *bus, const struct sfp_eeprom_id *id, 536 bool sfp_may_have_phy(struct sfp_bus *bus, const struct sfp_eeprom_id *id); 537 void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id, 539 phy_interface_t sfp_select_interface(struct sfp_bus *bus, 542 int sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo); 543 int sfp_get_module_eeprom(struct sfp_bus *bus, struct ethtool_eeprom *ee, 545 void sfp_upstream_start(struct sfp_bus *bus); 546 void sfp_upstream_stop(struct sfp_bus *bus); [all …]
|
D | pci.h | 65 #define PCI_DEVID(bus, devfn) ((((u16)(bus)) << 8) | (devfn)) argument 71 struct pci_bus *bus; /* Bus this slot is on */ member 314 struct pci_bus *bus; /* Bus this device is on */ member 522 struct pci_dev *pci_alloc_dev(struct pci_bus *bus); 534 struct pci_bus *bus; /* Root bus */ member 586 struct pci_host_bridge *pci_find_host_bridge(struct pci_bus *bus); 662 return PCI_DEVID(dev->bus->number, dev->devfn); in pci_dev_id() 691 #define for_each_pci_bridge(dev, bus) \ argument 692 list_for_each_entry(dev, &bus->devices, bus_list) \ 698 if (pci_is_root_bus(dev->bus)) in pci_upstream_bridge() [all …]
|
D | superhyway.h | 69 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…
|
/include/asm-generic/ |
D | topology.h | 55 #define pcibus_to_node(bus) ((void)(bus), -1) argument 59 #define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ argument 61 cpumask_of_node(pcibus_to_node(bus)))
|
/include/xen/interface/ |
D | physdev.h | 146 int bus; member 171 uint8_t bus; member 178 uint8_t bus; member 185 uint8_t bus; member 190 uint8_t bus; member 255 uint8_t bus; member 259 uint8_t bus; member 280 uint8_t bus; member 294 uint8_t bus; member
|
/include/linux/soundwire/ |
D | sdw.h | 424 int sdw_master_read_prop(struct sdw_bus *bus); 636 struct sdw_bus *bus; member 664 struct sdw_bus *bus; member 692 int sdw_handle_slave_status(struct sdw_bus *bus, 774 int (*dpn_set_port_params)(struct sdw_bus *bus, 777 int (*dpn_set_port_transport_params)(struct sdw_bus *bus, 780 int (*dpn_port_prep)(struct sdw_bus *bus, 782 int (*dpn_port_enable_ch)(struct sdw_bus *bus, 811 int (*read_prop)(struct sdw_bus *bus); 814 (struct sdw_bus *bus, struct sdw_msg *msg); [all …]
|
/include/linux/fsl/ |
D | enetc_mdio.h | 40 int enetc_mdio_read(struct mii_bus *bus, int phy_id, int regnum); 41 int enetc_mdio_write(struct mii_bus *bus, int phy_id, int regnum, u16 value); 46 static inline int enetc_mdio_read(struct mii_bus *bus, int phy_id, int regnum) in enetc_mdio_read() argument 48 static inline int enetc_mdio_write(struct mii_bus *bus, int phy_id, int regnum, in enetc_mdio_write() argument
|
/include/linux/bcma/ |
D | bcma.h | 268 struct bcma_bus *bus; member 331 int (*sprom_callback)(struct bcma_bus *bus, 369 return core->bus->ops->read8(core, offset); in bcma_read8() 373 return core->bus->ops->read16(core, offset); in bcma_read16() 377 return core->bus->ops->read32(core, offset); in bcma_read32() 382 core->bus->ops->write8(core, offset, value); in bcma_write8() 387 core->bus->ops->write16(core, offset, value); in bcma_write16() 392 core->bus->ops->write32(core, offset, value); in bcma_write32() 398 core->bus->ops->block_read(core, buffer, count, offset, reg_width); in bcma_block_read() 404 core->bus->ops->block_write(core, buffer, count, offset, reg_width); in bcma_block_write() [all …]
|
D | bcma_soc.h | 8 struct bcma_bus bus; member 15 int bcma_bus_register(struct bcma_bus *bus);
|
/include/trace/events/ |
D | devlink.h | 24 __string(bus_name, devlink->dev->bus->name) 34 __assign_str(bus_name, devlink->dev->bus->name); 58 __string(bus_name, devlink->dev->bus->name) 66 __assign_str(bus_name, devlink->dev->bus->name); 88 __string(bus_name, devlink->dev->bus->name) 96 __assign_str(bus_name, devlink->dev->bus->name); 119 __string(bus_name, devlink->dev->bus->name) 128 __assign_str(bus_name, devlink->dev->bus->name); 153 __string(bus_name, devlink->dev->bus->name) 161 __assign_str(bus_name, devlink->dev->bus->name); [all …]
|
D | mdio.h | 12 TP_PROTO(struct mii_bus *bus, char read, 15 TP_ARGS(bus, read, addr, regnum, val, err), 28 strncpy(__entry->busid, bus->id, MII_BUS_ID_SIZE);
|
/include/linux/usb/ |
D | hcd.h | 249 static inline struct usb_hcd *bus_to_hcd(struct usb_bus *bus) in bus_to_hcd() argument 251 return container_of(bus, struct usb_hcd, self); in bus_to_hcd() 511 void *hcd_buffer_alloc(struct usb_bus *bus, size_t size, 513 void hcd_buffer_free(struct usb_bus *bus, size_t size, 529 extern void usb_hcd_start_port_resume(struct usb_bus *bus, int portnum); 530 extern void usb_hcd_end_port_resume(struct usb_bus *bus, int portnum); 714 void (*urb_submit)(struct usb_bus *bus, struct urb *urb); 715 void (*urb_submit_error)(struct usb_bus *bus, struct urb *urb, int err); 716 void (*urb_complete)(struct usb_bus *bus, struct urb *urb, int status); 722 static inline void usbmon_urb_submit(struct usb_bus *bus, struct urb *urb) in usbmon_urb_submit() argument [all …]
|