/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 61 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_direction_input() local 70 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_direction_output() local 79 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_request() local 92 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_free() local 101 struct ssb_bus *bus = irq_data_get_irq_chip_data(d); in ssb_gpio_irq_chipco_mask() local 109 struct ssb_bus *bus = irq_data_get_irq_chip_data(d); in ssb_gpio_irq_chipco_unmask() local 125 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/core/ |
H A D | controller.c | 15 static void azx_clear_corbrp(struct hdac_bus *bus) in azx_clear_corbrp() argument 43 snd_hdac_bus_init_cmd_io(struct hdac_bus * bus) snd_hdac_bus_init_cmd_io() argument 94 hdac_wait_for_cmd_dmas(struct hdac_bus * bus) hdac_wait_for_cmd_dmas() argument 113 snd_hdac_bus_stop_cmd_io(struct hdac_bus * bus) snd_hdac_bus_stop_cmd_io() argument 140 snd_hdac_bus_wait_for_pio_response(struct hdac_bus * bus,unsigned int addr) snd_hdac_bus_wait_for_pio_response() argument 170 snd_hdac_bus_send_cmd_pio(struct hdac_bus * bus,unsigned int val) snd_hdac_bus_send_cmd_pio() argument 210 snd_hdac_bus_get_response_pio(struct hdac_bus * bus,unsigned int addr,unsigned int * res) snd_hdac_bus_get_response_pio() argument 226 snd_hdac_bus_send_cmd_corb(struct hdac_bus * bus,unsigned int val) snd_hdac_bus_send_cmd_corb() argument 270 snd_hdac_bus_update_rirb(struct hdac_bus * bus) snd_hdac_bus_update_rirb() argument 324 snd_hdac_bus_get_response_rirb(struct hdac_bus * bus,unsigned int addr,unsigned int * res) snd_hdac_bus_get_response_rirb() argument 384 snd_hdac_bus_send_cmd(struct hdac_bus * bus,unsigned int val) snd_hdac_bus_send_cmd() argument 401 snd_hdac_bus_get_response(struct hdac_bus * bus,unsigned int addr,unsigned int * res) snd_hdac_bus_get_response() argument 418 snd_hdac_bus_parse_capabilities(struct hdac_bus * bus) snd_hdac_bus_parse_capabilities() argument 502 snd_hdac_bus_enter_link_reset(struct hdac_bus * bus) snd_hdac_bus_enter_link_reset() argument 522 snd_hdac_bus_exit_link_reset(struct hdac_bus * bus) snd_hdac_bus_exit_link_reset() argument 535 snd_hdac_bus_reset_link(struct hdac_bus * bus,bool full_reset) snd_hdac_bus_reset_link() argument 576 azx_int_enable(struct hdac_bus * bus) azx_int_enable() argument 585 azx_int_disable(struct hdac_bus * bus) azx_int_disable() argument 598 azx_int_clear(struct hdac_bus * bus) azx_int_clear() argument 621 snd_hdac_bus_init_chip(struct hdac_bus * bus,bool full_reset) snd_hdac_bus_init_chip() argument 654 snd_hdac_bus_stop_chip(struct hdac_bus * bus) snd_hdac_bus_stop_chip() argument 684 snd_hdac_bus_handle_stream_irq(struct hdac_bus * bus,unsigned int status,void (* ack)(struct hdac_bus *,struct hdac_stream *)) snd_hdac_bus_handle_stream_irq() argument 715 snd_hdac_bus_alloc_stream_pages(struct hdac_bus * bus) snd_hdac_bus_alloc_stream_pages() argument 750 snd_hdac_bus_free_stream_pages(struct hdac_bus * bus) snd_hdac_bus_free_stream_pages() argument [all...] |
H A D | stream.c | 55 int snd_hdac_get_stream_stripe_ctl(struct hdac_bus *bus, in snd_hdac_get_stream_stripe_ctl() argument 94 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev, in snd_hdac_stream_init() argument 132 struct hdac_bus *bus = azx_dev->bus; snd_hdac_stream_start() local 197 snd_hdac_stop_streams(struct hdac_bus * bus) snd_hdac_stop_streams() argument 210 snd_hdac_stop_streams_and_chip(struct hdac_bus * bus) snd_hdac_stop_streams_and_chip() argument 259 struct hdac_bus *bus = azx_dev->bus; snd_hdac_stream_setup() local 361 snd_hdac_stream_assign(struct hdac_bus * bus,struct snd_pcm_substream * substream) snd_hdac_stream_assign() argument 420 struct hdac_bus *bus = azx_dev->bus; snd_hdac_stream_release() local 436 snd_hdac_get_stream(struct hdac_bus * bus,int dir,int stream_tag) snd_hdac_get_stream() argument 453 setup_bdle(struct hdac_bus * bus,struct snd_dma_buffer * dmab,struct hdac_stream * azx_dev,__le32 ** bdlp,int ofs,int size,int with_ioc) setup_bdle() argument 506 struct hdac_bus *bus = azx_dev->bus; snd_hdac_stream_setup_bdle() local 686 struct hdac_bus *bus = azx_dev->bus; snd_hdac_stream_timecounter_init() local 721 struct hdac_bus *bus = azx_dev->bus; snd_hdac_stream_sync_trigger() local 747 struct hdac_bus *bus = azx_dev->bus; snd_hdac_stream_sync() local 789 snd_hdac_stream_spbcap_enable(struct hdac_bus * bus,bool enable,int index) snd_hdac_stream_spbcap_enable() argument 814 snd_hdac_stream_set_spib(struct hdac_bus * bus,struct hdac_stream * azx_dev,u32 value) snd_hdac_stream_set_spib() argument 834 snd_hdac_stream_drsm_enable(struct hdac_bus * bus,bool enable,int index) snd_hdac_stream_drsm_enable() argument 861 struct hdac_bus *bus = azx_dev->bus; snd_hdac_stream_wait_drsm() local 881 snd_hdac_stream_set_dpibr(struct hdac_bus * bus,struct hdac_stream * azx_dev,u32 value) snd_hdac_stream_set_dpibr() argument 922 struct hdac_bus *bus = azx_dev->bus; snd_hdac_dsp_prepare() local 991 struct hdac_bus *bus = azx_dev->bus; snd_hdac_dsp_cleanup() local [all...] |
H A D | bus.c | 31 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, in snd_hdac_bus_init() argument 70 snd_hdac_bus_exit(struct hdac_bus * bus) snd_hdac_bus_exit() argument 87 snd_hdac_bus_exec_verb(struct hdac_bus * bus,unsigned int addr,unsigned int cmd,unsigned int * res) snd_hdac_bus_exec_verb() argument 107 snd_hdac_bus_exec_verb_unlocked(struct hdac_bus * bus,unsigned int addr,unsigned int cmd,unsigned int * res) snd_hdac_bus_exec_verb_unlocked() argument 148 snd_hdac_bus_queue_event(struct hdac_bus * bus,u32 res,u32 res_ex) snd_hdac_bus_queue_event() argument 171 struct hdac_bus *bus = container_of(work, struct hdac_bus, unsol_work); snd_hdac_bus_process_unsol_events() local 206 snd_hdac_bus_add_device(struct hdac_bus * bus,struct hdac_device * codec) snd_hdac_bus_add_device() argument 226 snd_hdac_bus_remove_device(struct hdac_bus * bus,struct hdac_device * codec) snd_hdac_bus_remove_device() argument 271 struct hdac_bus *bus = codec->bus; snd_hdac_codec_link_up() local 282 struct hdac_bus *bus = codec->bus; snd_hdac_codec_link_down() local [all...] |
/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() argument 219 struct hdac_bus *bus in hda_codec_probe_bus() local 244 struct hdac_bus *bus = sof_to_bus(sdev); hda_codec_check_for_state_change() local 257 struct hdac_bus *bus = sof_to_bus(sdev); hda_codec_detect_mask() local 282 struct hdac_bus *bus = sof_to_bus(sdev); hda_codec_init_cmd_io() local 295 struct hdac_bus *bus = sof_to_bus(sdev); hda_codec_resume_cmd_io() local 309 struct hdac_bus *bus = sof_to_bus(sdev); hda_codec_stop_cmd_io() local 322 struct hdac_bus *bus = sof_to_bus(sdev); hda_codec_suspend_cmd_io() local 337 struct hdac_bus *bus = sof_to_bus(sdev); hda_codec_rirb_status_clear() local 350 struct hdac_bus *bus = sof_to_bus(sdev); hda_codec_set_codec_wakeup() local 361 struct hdac_bus *bus = sof_to_bus(sdev); hda_codec_check_rirb_status() local 388 struct hdac_bus *bus = sof_to_bus(sdev); hda_codec_device_remove() local 405 struct hdac_bus *bus = sof_to_bus(sdev); hda_codec_i915_display_power() local 420 struct hdac_bus *bus = sof_to_bus(sdev); hda_codec_i915_init() local 441 struct hdac_bus *bus = sof_to_bus(sdev); hda_codec_i915_exit() local [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 | 599 static inline void npcm_i2c_select_bank(struct npcm_i2c *bus, in npcm_i2c_select_bank() 611 static void npcm_i2c_init_params(struct npcm_i2c *bus) in npcm_i2c_init_params() 628 static inline void npcm_i2c_wr_byte(struct npcm_i2c *bus, u8 data) in npcm_i2c_wr_byte() 633 static inline u8 npcm_i2c_rd_byte(struct npcm_i2c *bus) in npcm_i2c_rd_byte() 640 struct npcm_i2c *bus = container_of(_adap, struct npcm_i2c, adap); in npcm_i2c_get_SCL() local 647 struct npcm_i2c *bus = container_of(_adap, struct npcm_i2c, adap); in npcm_i2c_get_SDA() local 652 static inline u16 npcm_i2c_get_index(struct npcm_i2c *bus) in npcm_i2c_get_index() 662 static inline bool npcm_i2c_is_quick(struct npcm_i2c *bus) in npcm_i2c_is_quick() 667 static void npcm_i2c_disable(struct npcm_i2c *bus) in npcm_i2c_disable() 687 static void npcm_i2c_enable(struct npcm_i2c *bus) in npcm_i2c_enable() [all …]
|
/linux/drivers/net/wireless/silabs/wfx/ |
H A D | bus_sdio.c | 55 struct wfx_sdio_priv *bus = priv; in wfx_sdio_copy_from_io() local 75 struct wfx_sdio_priv *bus = priv; in wfx_sdio_copy_to_io() local 96 struct wfx_sdio_priv *bus = priv; in wfx_sdio_lock() local 103 struct wfx_sdio_priv *bus = priv; in wfx_sdio_unlock() local 110 struct wfx_sdio_priv *bus = sdio_get_drvdata(func); in wfx_sdio_irq_handler() local 117 struct wfx_sdio_priv *bus = priv; in wfx_sdio_irq_handler_ext() local 127 struct wfx_sdio_priv *bus = priv; in wfx_sdio_irq_subscribe() local 158 struct wfx_sdio_priv *bus = priv; in wfx_sdio_irq_unsubscribe() local 171 struct wfx_sdio_priv *bus = priv; in wfx_sdio_align_size() local 178 struct wfx_sdio_priv *bus = priv; in wfx_sdio_set_wakeup() local [all …]
|
/linux/drivers/soundwire/ |
H A D | intel_auxdevice.c | 83 static int generic_bpt_send_async(struct sdw_bus *bus, struct sdw_slave *slave, in generic_bpt_send_async() 94 static int generic_bpt_wait(struct sdw_bus *bus, struct sdw_slave *slave, struct sdw_bpt_msg *msg) in generic_bpt_wait() 104 static int generic_pre_bank_switch(struct sdw_bus *bus) in generic_pre_bank_switch() 112 static int generic_post_bank_switch(struct sdw_bus *bus) in generic_post_bank_switch() 120 static void generic_new_peripheral_assigned(struct sdw_bus *bus, in generic_new_peripheral_assigned() 149 static int sdw_master_read_intel_prop(struct sdw_bus *bus) in sdw_master_read_intel_prop() 245 static int intel_prop_read(struct sdw_bus *bus) in intel_prop_read() 258 static int intel_get_device_num_ida(struct sdw_bus *bus, struct sdw_slave *slave) in intel_get_device_num_ida() 274 static void intel_put_device_num_ida(struct sdw_bus *bus, struct sdw_slave *slave) in intel_put_device_num_ida() 308 struct sdw_bus *bus; in intel_link_probe() 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/soc/intel/avs/ |
H A D | core.c | 42 avs_hda_update_config_dword(struct hdac_bus * bus,u32 reg,u32 mask,u32 value) avs_hda_update_config_dword() argument 61 avs_hdac_clock_gating_enable(struct hdac_bus * bus,bool enable) avs_hdac_clock_gating_enable() argument 89 avs_hdac_bus_init_streams(struct hdac_bus * bus) avs_hdac_bus_init_streams() argument 105 avs_hdac_bus_init_chip(struct hdac_bus * bus,bool full_reset) avs_hdac_bus_init_chip() argument 129 probe_codec(struct hdac_bus * bus,int addr) probe_codec() argument 168 avs_hdac_bus_probe_codecs(struct hdac_bus * bus) avs_hdac_bus_probe_codecs() argument 204 struct hdac_bus *bus = &adev->base.core; avs_hda_probe_work() local 254 hdac_update_stream(struct hdac_bus * bus,struct hdac_stream * stream) hdac_update_stream() argument 266 avs_hda_interrupt(struct hdac_bus * bus) avs_hda_interrupt() argument 291 struct hdac_bus *bus = dev_id; avs_hda_irq_handler() local 306 struct hdac_bus *bus = dev_id; avs_hda_irq_thread() local 329 struct hdac_bus *bus = &adev->base.core; avs_dsp_irq_thread() local 344 struct hdac_bus *bus = &adev->base.core; avs_hdac_acquire_irq() local 380 struct hda_bus *bus = &adev->base; avs_bus_init() local 426 struct hdac_bus *bus; avs_pci_probe() local 526 struct hdac_bus *bus = pci_get_drvdata(pci); avs_pci_shutdown() local 548 struct hdac_bus *bus = pci_get_drvdata(pci); avs_pci_remove() local 604 struct hdac_bus *bus = &adev->base.core; avs_suspend_standby() local 620 struct hdac_bus *bus = &adev->base.core; avs_suspend_common() local 665 struct hdac_bus *bus = &adev->base.core; avs_resume_standby() local 681 struct hdac_bus *bus = &adev->base.core; avs_resume_common() local [all...] |
/linux/drivers/net/phy/ |
H A D | mdio_bus.c | 103 static struct mdio_device *mdiobus_find_device(struct mii_bus *bus, int addr) in mdiobus_find_device() 113 struct phy_device *mdiobus_get_phy(struct mii_bus *bus, int addr) in mdiobus_get_phy() 128 bool mdiobus_is_registered_device(struct mii_bus *bus, int addr) in mdiobus_is_registered_device() 143 struct mii_bus *bus = to_mii_bus(d); in mdiobus_release() local 176 static u64 mdio_bus_get_global_stat(struct mii_bus *bus, unsigned int offset) in mdio_bus_get_global_stat() 191 struct mii_bus *bus = to_mii_bus(dev); in mdio_bus_stat_field_show() local 213 struct mii_bus *bus = mdiodev->bus; in mdio_bus_device_stat_field_show() local 443 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in __mdiobus_read() 475 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in __mdiobus_write() 509 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in __mdiobus_modify_changed() [all …]
|
/linux/sound/hda/core/ext/ |
H A D | controller.c | 28 void snd_hdac_ext_bus_ppcap_enable(struct hdac_bus *bus, bool enable) in snd_hdac_ext_bus_ppcap_enable() argument 50 void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_bus *bus, boo argument 80 snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus * bus) snd_hdac_ext_bus_get_ml_capabilities() argument 124 snd_hdac_ext_link_free_all(struct hdac_bus * bus) snd_hdac_ext_link_free_all() argument 136 snd_hdac_ext_bus_get_hlink_by_id(struct hdac_bus * bus,u32 id) snd_hdac_ext_bus_get_hlink_by_id() argument 154 snd_hdac_ext_bus_get_hlink_by_addr(struct hdac_bus * bus,int addr) snd_hdac_ext_bus_get_hlink_by_addr() argument 170 snd_hdac_ext_bus_get_hlink_by_name(struct hdac_bus * bus,const char * codec_name) snd_hdac_ext_bus_get_hlink_by_name() argument 239 snd_hdac_ext_bus_link_power_up_all(struct hdac_bus * bus) snd_hdac_ext_bus_link_power_up_all() argument 258 snd_hdac_ext_bus_link_power_down_all(struct hdac_bus * bus) snd_hdac_ext_bus_link_power_down_all() argument 297 snd_hdac_ext_bus_link_get(struct hdac_bus * bus,struct hdac_ext_link * hlink) snd_hdac_ext_bus_link_get() argument 339 snd_hdac_ext_bus_link_put(struct hdac_bus * bus,struct hdac_ext_link * hlink) snd_hdac_ext_bus_link_put() argument 399 struct hdac_bus *bus = codec->bus; snd_hdac_ext_bus_link_power() 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 …]
|
/linux/drivers/spmi/ |
H A D | spmi-pmic-arb.c | 294 struct spmi_pmic_arb_bus *bus = spmi_controller_get_drvdata(ctrl); in pmic_arb_wait_for_done() local 344 struct spmi_pmic_arb_bus *bus = spmi_controller_get_drvdata(ctrl); in pmic_arb_non_data_cmd_v1() local 387 static int pmic_arb_fmt_read_cmd(struct spmi_pmic_arb_bus *bus, u8 opc, u8 sid, in pmic_arb_fmt_read_cmd() 425 struct spmi_pmic_arb_bus *bus = spmi_controller_get_drvdata(ctrl); in pmic_arb_read_cmd_unlocked() local 448 struct spmi_pmic_arb_bus *bus = spmi_controller_get_drvdata(ctrl); in pmic_arb_read_cmd() local 465 static int pmic_arb_fmt_write_cmd(struct spmi_pmic_arb_bus *bus, u8 opc, in pmic_arb_fmt_write_cmd() 506 struct spmi_pmic_arb_bus *bus = spmi_controller_get_drvdata(ctrl); in pmic_arb_write_cmd_unlocked() local 526 struct spmi_pmic_arb_bus *bus = spmi_controller_get_drvdata(ctrl); in pmic_arb_write_cmd() local 547 struct spmi_pmic_arb_bus *bus = spmi_controller_get_drvdata(ctrl); in pmic_arb_masked_write() local 601 struct spmi_pmic_arb_bus *bus = irq_data_get_irq_chip_data(d); in qpnpint_spmi_write() local [all …]
|