| /include/sound/ |
| A D | hda-mlink.h | 14 int hda_bus_ml_init(struct hdac_bus *bus); 15 void hda_bus_ml_free(struct hdac_bus *bus); 17 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid); 26 int hdac_bus_eml_sdw_wait_syncpu_unlocked(struct hdac_bus *bus); 32 int hdac_bus_eml_sdw_sync_go_unlocked(struct hdac_bus *bus); 52 void hda_bus_ml_put_all(struct hdac_bus *bus); 53 void hda_bus_ml_reset_losidv(struct hdac_bus *bus); 54 int hda_bus_ml_resume(struct hdac_bus *bus); 55 int hda_bus_ml_suspend(struct hdac_bus *bus); 74 hda_bus_ml_init(struct hdac_bus *bus) { return 0; } in hda_bus_ml_init() argument [all …]
|
| A D | i2c.h | 12 struct snd_i2c_bus *bus; /* I2C bus */ member 25 void (*stop)(struct snd_i2c_bus *bus); /* transfer stop */ 28 int (*getclock)(struct snd_i2c_bus *bus); 29 int (*getdata)(struct snd_i2c_bus *bus, int ack); 57 void (*private_free)(struct snd_i2c_bus *bus); 70 if (bus->master) in snd_i2c_lock() 71 mutex_lock(&bus->master->lock_mutex); in snd_i2c_lock() 73 mutex_lock(&bus->lock_mutex); in snd_i2c_lock() 78 if (bus->master) in snd_i2c_unlock() 79 mutex_unlock(&bus->master->lock_mutex); in snd_i2c_unlock() [all …]
|
| A 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()
|
| A 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
|
| A 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 void snd_hdac_ext_bus_device_remove(struct hdac_bus *bus); 24 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus); 76 void snd_hdac_ext_stream_free_all(struct hdac_bus *bus); 77 void snd_hdac_ext_link_free_all(struct hdac_bus *bus); 84 void snd_hdac_ext_stream_decouple_locked(struct hdac_bus *bus, 86 void snd_hdac_ext_stream_decouple(struct hdac_bus *bus, 96 struct hdac_bus *bus; member 114 int snd_hdac_ext_bus_link_power_up_all(struct hdac_bus *bus); [all …]
|
| A D | hdaudio.h | 55 struct hdac_bus *bus; member 387 void snd_hdac_bus_exit(struct hdac_bus *bus); 420 #define snd_hdac_aligned_mmio(bus) (bus)->aligned_mmio argument 422 #define snd_hdac_aligned_mmio(bus) false argument 430 if (snd_hdac_aligned_mmio(bus)) in snd_hdac_reg_writeb() 439 if (snd_hdac_aligned_mmio(bus)) in snd_hdac_reg_writew() 447 return snd_hdac_aligned_mmio(bus) ? in snd_hdac_reg_readb() 453 return snd_hdac_aligned_mmio(bus) ? in snd_hdac_reg_readw() 458 #define snd_hdac_reg_readl(bus, addr) readl(addr) argument 514 struct hdac_bus *bus; member [all …]
|
| A 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/ |
| A D | bus.h | 110 int __must_check bus_register(const struct bus_type *bus); 112 void bus_unregister(const struct bus_type *bus); 114 int __must_check bus_rescan_devices(const struct bus_type *bus); 118 ssize_t (*show)(const struct bus_type *bus, char *buf); 164 return bus_find_device(bus, start, name, device_match_name); in bus_find_device_by_name() 176 return bus_find_device(bus, NULL, np, device_match_of_node); in bus_find_device_by_of_node() 200 return bus_find_device(bus, NULL, &devt, device_match_devt); in bus_find_device_by_devt() 212 return bus_find_device(bus, cur, NULL, device_match_any); in bus_find_next_device() 239 void bus_sort_breadthfirst(const struct bus_type *bus, 283 struct kset *bus_get_kset(const struct bus_type *bus); [all …]
|
| /include/linux/ssb/ |
| A 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);
|
| A 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()
|
| /include/linux/ |
| A 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); 97 void acpi_pci_slot_enumerate(struct pci_bus *bus); 98 void acpi_pci_slot_remove(struct pci_bus *bus); 102 static inline void acpi_pci_slot_remove(struct pci_bus *bus) { } in acpi_pci_slot_remove() argument 107 void acpiphp_enumerate_slots(struct pci_bus *bus); 108 void acpiphp_remove_slots(struct pci_bus *bus); 113 static inline void acpiphp_remove_slots(struct pci_bus *bus) { } in acpiphp_remove_slots() argument 137 static inline void acpi_pci_add_bus(struct pci_bus *bus) { } in acpi_pci_add_bus() argument [all …]
|
| A D | mdio-bitbang.h | 41 int mdiobb_read_c22(struct mii_bus *bus, int phy, int reg); 42 int mdiobb_write_c22(struct mii_bus *bus, int phy, int reg, u16 val); 43 int mdiobb_read_c45(struct mii_bus *bus, int devad, int phy, int reg); 44 int mdiobb_write_c45(struct mii_bus *bus, int devad, int phy, int reg, u16 val); 50 void free_mdio_bitbang(struct mii_bus *bus);
|
| A D | mdio.h | 31 struct mii_bus *bus; member 92 struct mdio_device *mdio_device_create(struct mii_bus *bus, int addr); 572 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum); 579 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum); 580 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum); 605 return __mdiobus_read(mdiodev->bus, mdiodev->addr, regnum); in __mdiodev_read() 611 return __mdiobus_write(mdiodev->bus, mdiodev->addr, regnum, val); in __mdiodev_write() 629 return mdiobus_read(mdiodev->bus, mdiodev->addr, regnum); in mdiodev_read() 635 return mdiobus_write(mdiodev->bus, mdiodev->addr, regnum, val); in mdiodev_write() 681 bool mdiobus_is_registered_device(struct mii_bus *bus, int addr); [all …]
|
| A D | sfp.h | 544 void (*attach)(void *priv, struct sfp_bus *bus); 545 void (*detach)(void *priv, struct sfp_bus *bus); 568 int sfp_get_module_eeprom_by_page(struct sfp_bus *bus, 571 void sfp_upstream_start(struct sfp_bus *bus); 572 void sfp_upstream_stop(struct sfp_bus *bus); 574 void sfp_bus_put(struct sfp_bus *bus); 578 void sfp_bus_del_upstream(struct sfp_bus *bus); 579 const char *sfp_get_name(struct sfp_bus *bus); 581 static inline int sfp_parse_port(struct sfp_bus *bus, in sfp_parse_port() argument 588 static inline bool sfp_may_have_phy(struct sfp_bus *bus, in sfp_may_have_phy() argument [all …]
|
| A D | mcb.h | 65 struct mcb_bus *bus; member 117 extern void mcb_bus_add_devices(const struct mcb_bus *bus); 118 extern int mcb_device_register(struct mcb_bus *bus, struct mcb_device *dev); 120 extern struct mcb_bus *mcb_bus_get(struct mcb_bus *bus); 121 extern void mcb_bus_put(struct mcb_bus *bus); 122 extern struct mcb_device *mcb_alloc_dev(struct mcb_bus *bus); 124 extern void mcb_release_bus(struct mcb_bus *bus);
|
| A D | pci.h | 71 #define PCI_DEVID(bus, devfn) ((((u16)(bus)) << 8) | (devfn)) argument 595 struct pci_bus *bus; /* Root bus */ member 775 if (pci_is_root_bus(dev->bus)) in pci_upstream_bridge() 778 return dev->bus->self; in pci_upstream_bridge() 826 int (*add_bus)(struct pci_bus *bus); 827 void (*remove_bus)(struct pci_bus *bus); 1579 (bus, res, __VA_ARGS__) 1972 return bus->domain_nr; in pci_domain_nr() 2192 #define pci_root_bus_fwnode(bus) NULL argument 2686 return bus ? bus->dev.of_node : NULL; in pci_bus_to_OF_node() [all …]
|
| /include/linux/fsl/ |
| A D | enetc_mdio.h | 40 int enetc_mdio_read_c22(struct mii_bus *bus, int phy_id, int regnum); 41 int enetc_mdio_write_c22(struct mii_bus *bus, int phy_id, int regnum, 43 int enetc_mdio_read_c45(struct mii_bus *bus, int phy_id, int devad, int regnum); 44 int enetc_mdio_write_c45(struct mii_bus *bus, int phy_id, int devad, int regnum, 50 static inline int enetc_mdio_read_c22(struct mii_bus *bus, int phy_id, in enetc_mdio_read_c22() argument 53 static inline int enetc_mdio_write_c22(struct mii_bus *bus, int phy_id, in enetc_mdio_write_c22() argument 56 static inline int enetc_mdio_read_c45(struct mii_bus *bus, int phy_id, in enetc_mdio_read_c45() argument 59 static inline int enetc_mdio_write_c45(struct mii_bus *bus, int phy_id, in enetc_mdio_write_c45() argument
|
| /include/trace/events/ |
| A D | fsi_master_i2cr.h | 15 __field(int, bus) 21 __entry->bus = client->adapter->nr; 26 TP_printk("%d-%02x command:{ %*ph } rc:%d", __entry->bus, __entry->addr, 34 __field(int, bus) 40 __entry->bus = client->adapter->nr; 54 __field(int, bus) 59 __entry->bus = client->adapter->nr; 72 __field(int, bus) 79 __entry->bus = client->adapter->nr; 90 __field(int, bus) [all …]
|
| A D | mdio.h | 12 TP_PROTO(struct mii_bus *bus, char read, 15 TP_ARGS(bus, read, addr, regnum, val, err), 28 strscpy(__entry->busid, bus->id, MII_BUS_ID_SIZE);
|
| /include/asm-generic/ |
| A 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/linux/soundwire/ |
| A D | sdw.h | 459 int sdw_master_read_prop(struct sdw_bus *bus); 670 struct sdw_bus *bus; member 699 struct sdw_bus *bus; member 813 int (*dpn_port_enable_ch)(struct sdw_bus *bus, 861 int (*read_prop)(struct sdw_bus *bus); 865 int (*set_bus_conf)(struct sdw_bus *bus, 867 int (*pre_bank_switch)(struct sdw_bus *bus); 868 int (*post_bank_switch)(struct sdw_bus *bus); 869 u32 (*read_ping_status)(struct sdw_bus *bus); 1054 int sdw_stream_add_master(struct sdw_bus *bus, [all …]
|
| /include/xen/interface/ |
| A D | physdev.h | 128 int bus; member 153 uint8_t bus; member 160 uint8_t bus; member 167 uint8_t bus; member 172 uint8_t bus; member 237 uint8_t bus; member 241 uint8_t bus; member 269 uint8_t bus; member 293 uint8_t bus; member
|
| /include/linux/bcma/ |
| A 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() 409 return core->bus->ops->aread32(core, offset); in bcma_aread32() 449 return bcma_find_core_unit(bus, coreid, 0); in bcma_find_core() [all …]
|
| A D | bcma_soc.h | 8 struct bcma_bus bus; member 15 int bcma_bus_register(struct bcma_bus *bus);
|
| /include/linux/platform_data/x86/ |
| A D | p2sb.h | 17 int p2sb_bar(struct pci_bus *bus, unsigned int devfn, struct resource *mem); 21 static inline int p2sb_bar(struct pci_bus *bus, unsigned int devfn, struct resource *mem) in p2sb_bar() argument
|