/linux/drivers/net/phy/ |
H A D | sfp-bus.c | 49 int sfp_parse_port(struct sfp_bus *bus, const struct sfp_eeprom_id *id, in sfp_parse_port() 118 bool sfp_may_have_phy(struct sfp_bus *bus, const struct sfp_eeprom_id *id) in sfp_may_have_phy() 148 void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id, in sfp_parse_support() 357 phy_interface_t sfp_select_interface(struct sfp_bus *bus, in sfp_select_interface() 399 static const struct sfp_upstream_ops *sfp_get_upstream_ops(struct sfp_bus *bus) in sfp_get_upstream_ops() 437 struct sfp_bus *bus = container_of(kref, struct sfp_bus, kref); in sfp_bus_release() local 451 void sfp_bus_put(struct sfp_bus *bus) in sfp_bus_put() 458 static int sfp_register_bus(struct sfp_bus *bus) in sfp_register_bus() 480 static void sfp_unregister_bus(struct sfp_bus *bus) in sfp_unregister_bus() 505 int sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo) in sfp_get_module_info() [all …]
|
H A D | mdio_bus.c | 108 static struct mdio_device *mdiobus_find_device(struct mii_bus *bus, int addr) in mdiobus_find_device() 118 struct phy_device *mdiobus_get_phy(struct mii_bus *bus, int addr) in mdiobus_get_phy() 133 bool mdiobus_is_registered_device(struct mii_bus *bus, int addr) in mdiobus_is_registered_device() 149 struct mii_bus *bus; in mdiobus_alloc_size() local 187 struct mii_bus *bus = to_mii_bus(d); in mdiobus_release() local 220 static u64 mdio_bus_get_global_stat(struct mii_bus *bus, unsigned int offset) in mdio_bus_get_global_stat() 235 struct mii_bus *bus = to_mii_bus(dev); in mdio_bus_stat_field_show() local 257 struct mii_bus *bus = mdiodev->bus; in mdio_bus_device_stat_field_show() local 504 static void of_mdiobus_link_mdiodev(struct mii_bus *bus, in of_mdiobus_link_mdiodev() 529 static int mdiobus_create_device(struct mii_bus *bus, in mdiobus_create_device() [all …]
|
/linux/drivers/ssb/ |
H A D | driver_gpio.c | 28 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_to_irq() local 43 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_get_value() local 51 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_set_value() local 59 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_direction_input() local 68 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_direction_output() local 77 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_request() local 90 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_free() local 99 struct ssb_bus *bus = irq_data_get_irq_chip_data(d); in ssb_gpio_irq_chipco_mask() local 107 struct ssb_bus *bus = irq_data_get_irq_chip_data(d); in ssb_gpio_irq_chipco_unmask() local 123 struct ssb_bus *bus = dev_id; in ssb_gpio_irq_chipco_handler() local [all …]
|
H A D | ssb_private.h | 29 static inline int ssb_pci_switch_core(struct ssb_bus *bus, in ssb_pci_switch_core() 34 static inline int ssb_pci_switch_coreidx(struct ssb_bus *bus, in ssb_pci_switch_coreidx() 39 static inline int ssb_pci_xtal(struct ssb_bus *bus, u32 what, in ssb_pci_xtal() 44 static inline void ssb_pci_exit(struct ssb_bus *bus) in ssb_pci_exit() 47 static inline int ssb_pci_init(struct ssb_bus *bus) in ssb_pci_init() 69 static inline int ssb_pcmcia_switch_coreidx(struct ssb_bus *bus, in ssb_pcmcia_switch_coreidx() 74 static inline int ssb_pcmcia_switch_segment(struct ssb_bus *bus, in ssb_pcmcia_switch_segment() 79 static inline int ssb_pcmcia_hardware_setup(struct ssb_bus *bus) in ssb_pcmcia_hardware_setup() 83 static inline void ssb_pcmcia_exit(struct ssb_bus *bus) in ssb_pcmcia_exit() 86 static inline int ssb_pcmcia_init(struct ssb_bus *bus) in ssb_pcmcia_init() [all …]
|
H A D | sdio.c | 104 static inline struct device *ssb_sdio_dev(struct ssb_bus *bus) in ssb_sdio_dev() 110 static int ssb_sdio_writeb(struct ssb_bus *bus, unsigned int addr, u8 val) in ssb_sdio_writeb() 140 static int ssb_sdio_set_sbaddr_window(struct ssb_bus *bus, u32 address) in ssb_sdio_set_sbaddr_window() 167 u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset) in ssb_sdio_scan_read32() 184 int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx) in ssb_sdio_scan_switch_coreidx() 203 static int ssb_sdio_switch_core(struct ssb_bus *bus, struct ssb_device *dev) in ssb_sdio_switch_core() 231 struct ssb_bus *bus = dev->bus; in ssb_sdio_read8() local 253 struct ssb_bus *bus = dev->bus; in ssb_sdio_read16() local 275 struct ssb_bus *bus = dev->bus; in ssb_sdio_read32() local 301 struct ssb_bus *bus = dev->bus; in ssb_sdio_block_read() local [all …]
|
H A D | pcmcia.c | 71 static int ssb_pcmcia_cfg_write(struct ssb_bus *bus, u8 offset, u8 value) in ssb_pcmcia_cfg_write() 83 static int ssb_pcmcia_cfg_read(struct ssb_bus *bus, u8 offset, u8 *value) in ssb_pcmcia_cfg_read() 94 int ssb_pcmcia_switch_coreidx(struct ssb_bus *bus, in ssb_pcmcia_switch_coreidx() 150 static int ssb_pcmcia_switch_core(struct ssb_bus *bus, struct ssb_device *dev) in ssb_pcmcia_switch_core() 166 int ssb_pcmcia_switch_segment(struct ssb_bus *bus, u8 seg) in ssb_pcmcia_switch_segment() 199 struct ssb_bus *bus = dev->bus; in select_core_and_segment() local 225 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_read8() local 241 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_read16() local 257 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_read32() local 277 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_block_read() local [all …]
|
H A D | pci.c | 32 int ssb_pci_switch_coreidx(struct ssb_bus *bus, u8 coreidx) in ssb_pci_switch_coreidx() 63 int ssb_pci_switch_core(struct ssb_bus *bus, in ssb_pci_switch_core() 84 int ssb_pci_xtal(struct ssb_bus *bus, u32 what, int turn_on) in ssb_pci_xtal() 271 static int sprom_do_read(struct ssb_bus *bus, u16 *sprom) in sprom_do_read() 281 static int sprom_do_write(struct ssb_bus *bus, const u16 *sprom) in sprom_do_write() 811 static int sprom_extract(struct ssb_bus *bus, struct ssb_sprom *out, in sprom_extract() 857 static int ssb_pci_sprom_get(struct ssb_bus *bus, in ssb_pci_sprom_get() 926 static void ssb_pci_get_boardinfo(struct ssb_bus *bus, in ssb_pci_get_boardinfo() 933 int ssb_pci_get_invariants(struct ssb_bus *bus, in ssb_pci_get_invariants() 947 static int ssb_pci_assert_buspower(struct ssb_bus *bus) in ssb_pci_assert_buspower() [all …]
|
H A D | main.c | 60 struct ssb_bus *bus; in ssb_pci_dev_to_bus() local 79 struct ssb_bus *bus; in ssb_pcmcia_dev_to_bus() local 96 int (*func)(struct ssb_bus *bus, unsigned long data)) in ssb_for_each_bus_call() 98 struct ssb_bus *bus; in ssb_for_each_bus_call() local 161 int ssb_bus_resume(struct ssb_bus *bus) in ssb_bus_resume() 188 int ssb_bus_suspend(struct ssb_bus *bus) in ssb_bus_suspend() 207 int ssb_devices_freeze(struct ssb_bus *bus, struct ssb_freeze_context *ctx) in ssb_devices_freeze() 243 struct ssb_bus *bus = ctx->bus; in ssb_devices_thaw() local 415 static void ssb_devices_unregister(struct ssb_bus *bus) in ssb_devices_unregister() 432 void ssb_bus_unregister(struct ssb_bus *bus) in ssb_bus_unregister() [all …]
|
H A D | embedded.c | 23 int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks) in ssb_watchdog_timer_set() 37 int ssb_watchdog_register(struct ssb_bus *bus) in ssb_watchdog_register() 69 u32 ssb_gpio_in(struct ssb_bus *bus, u32 mask) in ssb_gpio_in() 87 u32 ssb_gpio_out(struct ssb_bus *bus, u32 mask, u32 value) in ssb_gpio_out() 105 u32 ssb_gpio_outen(struct ssb_bus *bus, u32 mask, u32 value) in ssb_gpio_outen() 123 u32 ssb_gpio_control(struct ssb_bus *bus, u32 mask, u32 value) in ssb_gpio_control() 137 u32 ssb_gpio_intmask(struct ssb_bus *bus, u32 mask, u32 value) in ssb_gpio_intmask() 155 u32 ssb_gpio_polarity(struct ssb_bus *bus, u32 mask, u32 value) in ssb_gpio_polarity() 174 static int gige_pci_init_callback(struct ssb_bus *bus, unsigned long data) in gige_pci_init_callback() 216 static int gige_map_irq_callback(struct ssb_bus *bus, unsigned long data) in gige_map_irq_callback()
|
/linux/sound/hda/ |
H A D | hdac_controller.c | 15 static void azx_clear_corbrp(struct hdac_bus *bus) in azx_clear_corbrp() 43 void snd_hdac_bus_init_cmd_io(struct hdac_bus *bus) in snd_hdac_bus_init_cmd_io() 94 static void hdac_wait_for_cmd_dmas(struct hdac_bus *bus) in hdac_wait_for_cmd_dmas() 113 void snd_hdac_bus_stop_cmd_io(struct hdac_bus *bus) in snd_hdac_bus_stop_cmd_io() 140 static int snd_hdac_bus_wait_for_pio_response(struct hdac_bus *bus, in snd_hdac_bus_wait_for_pio_response() 170 static int snd_hdac_bus_send_cmd_pio(struct hdac_bus *bus, unsigned int val) in snd_hdac_bus_send_cmd_pio() 210 static int snd_hdac_bus_get_response_pio(struct hdac_bus *bus, in snd_hdac_bus_get_response_pio() 226 static int snd_hdac_bus_send_cmd_corb(struct hdac_bus *bus, unsigned int val) in snd_hdac_bus_send_cmd_corb() 270 void snd_hdac_bus_update_rirb(struct hdac_bus *bus) in snd_hdac_bus_update_rirb() 324 static int snd_hdac_bus_get_response_rirb(struct hdac_bus *bus, in snd_hdac_bus_get_response_rirb() [all …]
|
H A D | hdac_bus.c | 31 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, in snd_hdac_bus_init() 70 void snd_hdac_bus_exit(struct hdac_bus *bus) in snd_hdac_bus_exit() 87 int snd_hdac_bus_exec_verb(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_exec_verb() 107 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_exec_verb_unlocked() 148 void snd_hdac_bus_queue_event(struct hdac_bus *bus, u32 res, u32 res_ex) in snd_hdac_bus_queue_event() 171 struct hdac_bus *bus = container_of(work, struct hdac_bus, unsol_work); in snd_hdac_bus_process_unsol_events() local 206 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) in snd_hdac_bus_add_device() 226 void snd_hdac_bus_remove_device(struct hdac_bus *bus, in snd_hdac_bus_remove_device() 271 struct hdac_bus *bus = codec->bus; in snd_hdac_codec_link_up() local 282 struct hdac_bus *bus = codec->bus; in snd_hdac_codec_link_down() local
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | bit.c | 32 nvkm_i2c_drive_scl(struct nvkm_i2c_bus *bus, int state) in nvkm_i2c_drive_scl() 38 nvkm_i2c_drive_sda(struct nvkm_i2c_bus *bus, int state) in nvkm_i2c_drive_sda() 44 nvkm_i2c_sense_scl(struct nvkm_i2c_bus *bus) in nvkm_i2c_sense_scl() 50 nvkm_i2c_sense_sda(struct nvkm_i2c_bus *bus) in nvkm_i2c_sense_sda() 56 nvkm_i2c_delay(struct nvkm_i2c_bus *bus, u32 nsec) in nvkm_i2c_delay() 62 nvkm_i2c_raise_scl(struct nvkm_i2c_bus *bus) in nvkm_i2c_raise_scl() 75 i2c_start(struct nvkm_i2c_bus *bus) in i2c_start() 95 i2c_stop(struct nvkm_i2c_bus *bus) in i2c_stop() 108 i2c_bitw(struct nvkm_i2c_bus *bus, int sda) in i2c_bitw() 123 i2c_bitr(struct nvkm_i2c_bus *bus) in i2c_bitr() [all …]
|
H A D | bus.c | 35 struct nvkm_i2c_bus *bus = container_of(adap, typeof(*bus), i2c); in nvkm_i2c_bus_pre_xfer() local 42 struct nvkm_i2c_bus *bus = container_of(adap, typeof(*bus), i2c); in nvkm_i2c_bus_post_xfer() local 49 struct nvkm_i2c_bus *bus = data; in nvkm_i2c_bus_setscl() local 56 struct nvkm_i2c_bus *bus = data; in nvkm_i2c_bus_setsda() local 63 struct nvkm_i2c_bus *bus = data; in nvkm_i2c_bus_getscl() local 70 struct nvkm_i2c_bus *bus = data; in nvkm_i2c_bus_getsda() local 80 struct nvkm_i2c_bus *bus = container_of(adap, typeof(*bus), i2c); in nvkm_i2c_bus_xfer() local 108 nvkm_i2c_bus_init(struct nvkm_i2c_bus *bus) in nvkm_i2c_bus_init() 120 nvkm_i2c_bus_fini(struct nvkm_i2c_bus *bus) in nvkm_i2c_bus_fini() 129 nvkm_i2c_bus_release(struct nvkm_i2c_bus *bus) in nvkm_i2c_bus_release() [all …]
|
/linux/sound/i2c/ |
H A D | i2c.c | 34 static int snd_i2c_bus_free(struct snd_i2c_bus *bus) in snd_i2c_bus_free() 61 struct snd_i2c_bus *bus = device->device_data; in snd_i2c_bus_dev_free() local 68 struct snd_i2c_bus *bus; in snd_i2c_bus_create() local 99 int snd_i2c_device_create(struct snd_i2c_bus *bus, const char *name, in snd_i2c_device_create() 146 int snd_i2c_probeaddr(struct snd_i2c_bus *bus, unsigned short addr) in snd_i2c_probeaddr() 157 static inline void snd_i2c_bit_hw_start(struct snd_i2c_bus *bus) in snd_i2c_bit_hw_start() 163 static inline void snd_i2c_bit_hw_stop(struct snd_i2c_bus *bus) in snd_i2c_bit_hw_stop() 169 static void snd_i2c_bit_direction(struct snd_i2c_bus *bus, int clock, int data) in snd_i2c_bit_direction() 175 static void snd_i2c_bit_set(struct snd_i2c_bus *bus, int clock, int data) in snd_i2c_bit_set() 189 static int snd_i2c_bit_data(struct snd_i2c_bus *bus, int ack) in snd_i2c_bit_data() [all …]
|
/linux/sound/soc/sof/intel/ |
H A D | hda-codec.c | 79 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_jack_wake_enable() local 127 #define is_generic_config(bus) \ argument 133 static struct hda_codec *hda_codec_device_init(struct hdac_bus *bus, int addr, int type) in hda_codec_device_init() 219 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_probe_bus() local 244 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_check_for_state_change() local 257 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_detect_mask() local 282 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_init_cmd_io() local 295 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_resume_cmd_io() local 309 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_stop_cmd_io() local 322 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_suspend_cmd_io() local [all …]
|
H A D | hda-mlink.c | 378 static int hda_ml_alloc_h2link(struct hdac_bus *bus, int index) in hda_ml_alloc_h2link() 415 int hda_bus_ml_init(struct hdac_bus *bus) in hda_bus_ml_init() 439 void hda_bus_ml_free(struct hdac_bus *bus) in hda_bus_ml_free() 458 find_ext2_link(struct hdac_bus *bus, bool alt, int elid) in find_ext2_link() 472 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_get_count() 484 void hdac_bus_eml_enable_interrupt_unlocked(struct hdac_bus *bus, bool alt, int elid, bool enable) in hdac_bus_eml_enable_interrupt_unlocked() 502 void hdac_bus_eml_enable_interrupt(struct hdac_bus *bus, bool alt, int elid, bool enable) in hdac_bus_eml_enable_interrupt() 524 bool hdac_bus_eml_check_interrupt(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_check_interrupt() 542 int hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus *bus, bool alt, int elid, u32 syncprd) in hdac_bus_eml_set_syncprd_unlocked() 562 int hdac_bus_eml_sdw_set_syncprd_unlocked(struct hdac_bus *bus, u32 syncprd) in hdac_bus_eml_sdw_set_syncprd_unlocked() [all …]
|
/linux/arch/powerpc/platforms/pasemi/ |
H A D | gpio_mdio.c | 34 #define MDC_PIN(bus) (((struct gpio_priv *)bus->priv)->mdc_pin) argument 35 #define MDIO_PIN(bus) (((struct gpio_priv *)bus->priv)->mdio_pin) argument 37 static inline void mdio_lo(struct mii_bus *bus) in mdio_lo() 42 static inline void mdio_hi(struct mii_bus *bus) in mdio_hi() 47 static inline void mdc_lo(struct mii_bus *bus) in mdc_lo() 52 static inline void mdc_hi(struct mii_bus *bus) in mdc_hi() 57 static inline void mdio_active(struct mii_bus *bus) in mdio_active() 62 static inline void mdio_tristate(struct mii_bus *bus) in mdio_tristate() 67 static inline int mdio_read(struct mii_bus *bus) in mdio_read() 72 static void clock_out(struct mii_bus *bus, int bit) in clock_out() [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-npcm7xx.c | 340 static inline void npcm_i2c_select_bank(struct npcm_i2c *bus, in npcm_i2c_select_bank() 352 static void npcm_i2c_init_params(struct npcm_i2c *bus) in npcm_i2c_init_params() 369 static inline void npcm_i2c_wr_byte(struct npcm_i2c *bus, u8 data) in npcm_i2c_wr_byte() 374 static inline u8 npcm_i2c_rd_byte(struct npcm_i2c *bus) in npcm_i2c_rd_byte() 381 struct npcm_i2c *bus = container_of(_adap, struct npcm_i2c, adap); in npcm_i2c_get_SCL() local 388 struct npcm_i2c *bus = container_of(_adap, struct npcm_i2c, adap); in npcm_i2c_get_SDA() local 393 static inline u16 npcm_i2c_get_index(struct npcm_i2c *bus) in npcm_i2c_get_index() 403 static inline bool npcm_i2c_is_quick(struct npcm_i2c *bus) in npcm_i2c_is_quick() 408 static void npcm_i2c_disable(struct npcm_i2c *bus) in npcm_i2c_disable() 428 static void npcm_i2c_enable(struct npcm_i2c *bus) in npcm_i2c_enable() [all …]
|
/linux/sound/soc/intel/avs/ |
H A D | core.c | 42 avs_hda_update_config_dword(struct hdac_bus *bus, u32 reg, u32 mask, u32 value) in avs_hda_update_config_dword() 60 static void avs_hdac_clock_gating_enable(struct hdac_bus *bus, bool enable) in avs_hdac_clock_gating_enable() 84 static int avs_hdac_bus_init_streams(struct hdac_bus *bus) in avs_hdac_bus_init_streams() 100 static bool avs_hdac_bus_init_chip(struct hdac_bus *bus, bool full_reset) in avs_hdac_bus_init_chip() 122 static int probe_codec(struct hdac_bus *bus, int addr) in probe_codec() 161 static void avs_hdac_bus_probe_codecs(struct hdac_bus *bus) in avs_hdac_bus_probe_codecs() 197 struct hdac_bus *bus = &adev->base.core; in avs_hda_probe_work() local 248 static void hdac_update_stream(struct hdac_bus *bus, struct hdac_stream *stream) in hdac_update_stream() 260 static irqreturn_t avs_hda_interrupt(struct hdac_bus *bus) in avs_hda_interrupt() 285 struct hdac_bus *bus = dev_id; in avs_hda_irq_handler() local [all …]
|
/linux/drivers/bcma/ |
H A D | scan.c | 144 static u32 bcma_scan_read32(struct bcma_bus *bus, u16 offset) in bcma_scan_read32() 149 static void bcma_scan_switch_core(struct bcma_bus *bus, u32 addr) in bcma_scan_switch_core() 156 static u32 bcma_erom_get_ent(struct bcma_bus *bus, u32 __iomem **eromptr) in bcma_erom_get_ent() 168 static s32 bcma_erom_get_ci(struct bcma_bus *bus, u32 __iomem **eromptr) in bcma_erom_get_ci() 178 static bool bcma_erom_is_end(struct bcma_bus *bus, u32 __iomem **eromptr) in bcma_erom_is_end() 185 static bool bcma_erom_is_bridge(struct bcma_bus *bus, u32 __iomem **eromptr) in bcma_erom_is_bridge() 194 static void bcma_erom_skip_component(struct bcma_bus *bus, u32 __iomem **eromptr) in bcma_erom_skip_component() 208 static s32 bcma_erom_get_mst_port(struct bcma_bus *bus, u32 __iomem **eromptr) in bcma_erom_get_mst_port() 218 static u32 bcma_erom_get_addr_desc(struct bcma_bus *bus, u32 __iomem **eromptr, in bcma_erom_get_addr_desc() 246 static struct bcma_device *bcma_find_core_by_index(struct bcma_bus *bus, in bcma_find_core_by_index() [all …]
|
/linux/sound/hda/ext/ |
H A D | hdac_ext_controller.c | 27 void snd_hdac_ext_bus_ppcap_enable(struct hdac_bus *bus, bool enable) in snd_hdac_ext_bus_ppcap_enable() 49 void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_bus *bus, bool enable) in snd_hdac_ext_bus_ppcap_int_enable() 79 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus) in snd_hdac_ext_bus_get_ml_capabilities() 116 void snd_hdac_ext_link_free_all(struct hdac_bus *bus) in snd_hdac_ext_link_free_all() 135 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_addr(struct hdac_bus *bus, int addr) in snd_hdac_ext_bus_get_hlink_by_addr() 151 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_name(struct hdac_bus *bus, in snd_hdac_ext_bus_get_hlink_by_name() 220 int snd_hdac_ext_bus_link_power_up_all(struct hdac_bus *bus) in snd_hdac_ext_bus_link_power_up_all() 239 int snd_hdac_ext_bus_link_power_down_all(struct hdac_bus *bus) in snd_hdac_ext_bus_link_power_down_all() 278 int snd_hdac_ext_bus_link_get(struct hdac_bus *bus, in snd_hdac_ext_bus_link_get() 320 int snd_hdac_ext_bus_link_put(struct hdac_bus *bus, in snd_hdac_ext_bus_link_put() [all …]
|
/linux/drivers/net/wireless/silabs/wfx/ |
H A D | bus_sdio.c | 54 struct wfx_sdio_priv *bus = priv; in wfx_sdio_copy_from_io() local 74 struct wfx_sdio_priv *bus = priv; in wfx_sdio_copy_to_io() local 95 struct wfx_sdio_priv *bus = priv; in wfx_sdio_lock() local 102 struct wfx_sdio_priv *bus = priv; in wfx_sdio_unlock() local 109 struct wfx_sdio_priv *bus = sdio_get_drvdata(func); in wfx_sdio_irq_handler() local 116 struct wfx_sdio_priv *bus = priv; in wfx_sdio_irq_handler_ext() local 126 struct wfx_sdio_priv *bus = priv; in wfx_sdio_irq_subscribe() local 157 struct wfx_sdio_priv *bus = priv; in wfx_sdio_irq_unsubscribe() local 170 struct wfx_sdio_priv *bus = priv; in wfx_sdio_align_size() local 198 struct wfx_sdio_priv *bus; in wfx_sdio_probe() local [all …]
|
/linux/drivers/devfreq/ |
H A D | exynos-bus.c | 63 static int exynos_bus_get_event(struct exynos_bus *bus, in exynos_bus_get_event() 95 struct exynos_bus *bus = dev_get_drvdata(dev); in exynos_bus_target() local 122 struct exynos_bus *bus = dev_get_drvdata(dev); in exynos_bus_get_dev_status() local 153 struct exynos_bus *bus = dev_get_drvdata(dev); in exynos_bus_exit() local 168 struct exynos_bus *bus = dev_get_drvdata(dev); in exynos_bus_passive_exit() local 176 struct exynos_bus *bus) in exynos_bus_parent_parse_of() 240 struct exynos_bus *bus) in exynos_bus_parse_of() 279 static int exynos_bus_profile_init(struct exynos_bus *bus, in exynos_bus_profile_init() 340 static int exynos_bus_profile_init_passive(struct exynos_bus *bus, in exynos_bus_profile_init_passive() 379 struct exynos_bus *bus; in exynos_bus_probe() local [all …]
|
/linux/arch/x86/include/asm/ |
H A D | pci.h | 35 static inline struct pci_sysdata *to_pci_sysdata(const struct pci_bus *bus) in to_pci_sysdata() 43 static inline int pci_domain_nr(struct pci_bus *bus) in pci_domain_nr() 48 static inline int pci_proc_domain(struct pci_bus *bus) in pci_proc_domain() 55 static inline void *_pci_root_bus_fwnode(struct pci_bus *bus) in _pci_root_bus_fwnode() 64 static inline bool is_vmd(struct pci_bus *bus) in is_vmd() 69 #define is_vmd(bus) false argument 110 static inline int __pcibus_to_node(const struct pci_bus *bus) in __pcibus_to_node() 116 cpumask_of_pcibus(const struct pci_bus *bus) in cpumask_of_pcibus()
|
/linux/drivers/mcb/ |
H A D | mcb-core.c | 108 struct mcb_bus *bus = to_mcb_bus(dev); in revision_show() local 117 struct mcb_bus *bus = to_mcb_bus(dev); in model_show() local 126 struct mcb_bus *bus = to_mcb_bus(dev); in minor_show() local 135 struct mcb_bus *bus = to_mcb_bus(dev); in name_show() local 223 int mcb_device_register(struct mcb_bus *bus, struct mcb_device *dev) in mcb_device_register() 257 struct mcb_bus *bus = to_mcb_bus(dev); in mcb_free_bus() local 272 struct mcb_bus *bus; in mcb_alloc_bus() local 314 static void mcb_devices_unregister(struct mcb_bus *bus) in mcb_devices_unregister() 324 void mcb_release_bus(struct mcb_bus *bus) in mcb_release_bus() 336 struct mcb_bus *mcb_bus_get(struct mcb_bus *bus) in mcb_bus_get() [all …]
|