Home
last modified time | relevance | path

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

1234

/include/sound/
Dhda-mlink.h14 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);
18 void hdac_bus_eml_enable_interrupt(struct hdac_bus *bus, bool alt, int elid, bool enable);
19 bool hdac_bus_eml_check_interrupt(struct hdac_bus *bus, bool alt, int elid);
21 int hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus *bus, bool alt, int elid, u32 syncprd);
22 int hdac_bus_eml_sdw_set_syncprd_unlocked(struct hdac_bus *bus, u32 syncprd);
24 int hdac_bus_eml_wait_syncpu_unlocked(struct hdac_bus *bus, bool alt, int elid);
25 int hdac_bus_eml_sdw_wait_syncpu_unlocked(struct hdac_bus *bus);
27 void hdac_bus_eml_sync_arm_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink);
[all …]
Di2c.h12 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 …]
Dhda_i915.h11 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()
Dhda_component.h14 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
Dhdaudio_ext.h7 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);
25 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_addr(struct hdac_bus *bus, int addr);
26 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_name(struct hdac_bus *bus,
73 int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx,
75 void snd_hdac_ext_stream_free_all(struct hdac_bus *bus);
76 void snd_hdac_ext_link_free_all(struct hdac_bus *bus);
77 struct hdac_ext_stream *snd_hdac_ext_stream_assign(struct hdac_bus *bus,
[all …]
Dhdaudio.h55 struct hdac_bus *bus; member
121 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus,
245 int (*command)(struct hdac_bus *bus, unsigned int cmd);
247 int (*get_response)(struct hdac_bus *bus, unsigned int addr,
385 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev,
387 void snd_hdac_bus_exit(struct hdac_bus *bus);
388 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr,
394 int snd_hdac_bus_send_cmd(struct hdac_bus *bus, unsigned int val);
395 int snd_hdac_bus_get_response(struct hdac_bus *bus, unsigned int addr,
397 int snd_hdac_bus_parse_capabilities(struct hdac_bus *bus);
[all …]
Dtea6330t.h12 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/
Dbus.h113 int __must_check bus_register(const struct bus_type *bus);
115 void bus_unregister(const struct bus_type *bus);
117 int __must_check bus_rescan_devices(const struct bus_type *bus);
121 ssize_t (*show)(const struct bus_type *bus, char *buf);
122 ssize_t (*store)(const struct bus_type *bus, const char *buf, size_t count);
132 int __must_check bus_create_file(const struct bus_type *bus, struct bus_attribute *attr);
133 void bus_remove_file(const struct bus_type *bus, struct bus_attribute *attr);
148 int bus_for_each_dev(const struct bus_type *bus, struct device *start, void *data,
150 struct device *bus_find_device(const struct bus_type *bus, struct device *start,
159 static inline struct device *bus_find_device_by_name(const struct bus_type *bus, in bus_find_device_by_name() argument
[all …]
/include/linux/ssb/
Dssb_embedded.h9 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);
Dssb_driver_gige.h62 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/fsl/
Denetc_mdio.h40 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/linux/
Dpci-acpi.h34 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);
101 static inline void acpi_pci_slot_enumerate(struct pci_bus *bus) { } in acpi_pci_slot_enumerate() argument
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);
112 static inline void acpiphp_enumerate_slots(struct pci_bus *bus) { } in acpiphp_enumerate_slots() argument
[all …]
Dmdio-bitbang.h41 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);
Dsfp.h544 void (*attach)(void *priv, struct sfp_bus *bus);
545 void (*detach)(void *priv, struct sfp_bus *bus);
557 int sfp_parse_port(struct sfp_bus *bus, const struct sfp_eeprom_id *id,
559 bool sfp_may_have_phy(struct sfp_bus *bus, const struct sfp_eeprom_id *id);
560 void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id,
562 phy_interface_t sfp_select_interface(struct sfp_bus *bus,
565 int sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo);
566 int sfp_get_module_eeprom(struct sfp_bus *bus, struct ethtool_eeprom *ee,
568 int sfp_get_module_eeprom_by_page(struct sfp_bus *bus,
571 void sfp_upstream_start(struct sfp_bus *bus);
[all …]
Dmdio.h31 struct mii_bus *bus; member
92 struct mdio_device *mdio_device_create(struct mii_bus *bus, int addr);
592 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum);
593 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val);
594 int __mdiobus_modify(struct mii_bus *bus, int addr, u32 regnum, u16 mask,
596 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum,
599 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum);
600 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum);
601 int mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val);
602 int mdiobus_write_nested(struct mii_bus *bus, int addr, u32 regnum, u16 val);
[all …]
Dmcb.h65 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);
Dpci.h72 #define PCI_DEVID(bus, devfn) ((((u16)(bus)) << 8) | (devfn)) argument
78 struct pci_bus *bus; /* Bus this slot is on */ member
327 struct pci_bus *bus; /* Bus this device is on */ member
557 struct pci_dev *pci_alloc_dev(struct pci_bus *bus);
579 struct pci_bus *bus; /* Root bus */ member
634 struct pci_host_bridge *pci_find_host_bridge(struct pci_bus *bus);
710 return PCI_DEVID(dev->bus->number, dev->devfn); in pci_dev_id()
764 #define for_each_pci_bridge(dev, bus) \ argument
765 list_for_each_entry(dev, &bus->devices, bus_list) \
771 if (pci_is_root_bus(dev->bus)) in pci_upstream_bridge()
[all …]
/include/trace/events/
Dfsi_master_i2cr.h15 __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;
45 TP_printk("%d-%02x command:{ %*ph } { %*ph }", __entry->bus, __entry->addr,
54 __field(int, bus)
59 __entry->bus = client->adapter->nr;
62 TP_printk("%d-%02x %016llx", __entry->bus, __entry->addr, __entry->status)
72 __field(int, bus)
[all …]
Dmdio.h12 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/
Dtopology.h55 #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/
Dphysdev.h128 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/soundwire/
Dsdw.h464 int sdw_master_read_prop(struct sdw_bus *bus);
672 struct sdw_bus *bus; member
700 struct sdw_bus *bus; member
726 int sdw_handle_slave_status(struct sdw_bus *bus,
808 int (*dpn_set_port_params)(struct sdw_bus *bus,
811 int (*dpn_set_port_transport_params)(struct sdw_bus *bus,
814 int (*dpn_port_prep)(struct sdw_bus *bus,
816 int (*dpn_port_enable_ch)(struct sdw_bus *bus,
851 int (*read_prop)(struct sdw_bus *bus);
853 (struct sdw_bus *bus, u64 addr);
[all …]
/include/linux/bcma/
Dbcma.h268 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 …]
Dbcma_soc.h8 struct bcma_bus bus; member
15 int bcma_bus_register(struct bcma_bus *bus);
/include/linux/platform_data/x86/
Dp2sb.h17 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

1234