/Linux-v5.4/drivers/char/tpm/ |
D | tpm-chip.c | 35 static int tpm_request_locality(struct tpm_chip *chip) in tpm_request_locality() 50 static void tpm_relinquish_locality(struct tpm_chip *chip) in tpm_relinquish_locality() 64 static int tpm_cmd_ready(struct tpm_chip *chip) in tpm_cmd_ready() 72 static int tpm_go_idle(struct tpm_chip *chip) in tpm_go_idle() 80 static void tpm_clk_enable(struct tpm_chip *chip) in tpm_clk_enable() 86 static void tpm_clk_disable(struct tpm_chip *chip) in tpm_clk_disable() 100 int tpm_chip_start(struct tpm_chip *chip) in tpm_chip_start() 133 void tpm_chip_stop(struct tpm_chip *chip) in tpm_chip_stop() 152 int tpm_try_get_ops(struct tpm_chip *chip) in tpm_try_get_ops() 184 void tpm_put_ops(struct tpm_chip *chip) in tpm_put_ops() [all …]
|
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/ |
D | global1.c | 16 int mv88e6xxx_g1_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g1_read() 23 int mv88e6xxx_g1_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g1_write() 30 int mv88e6xxx_g1_wait_bit(struct mv88e6xxx_chip *chip, int reg, int in mv88e6xxx_g1_wait_bit() 37 int mv88e6xxx_g1_wait_mask(struct mv88e6xxx_chip *chip, int reg, in mv88e6xxx_g1_wait_mask() 46 static int mv88e6185_g1_wait_ppu_disabled(struct mv88e6xxx_chip *chip) in mv88e6185_g1_wait_ppu_disabled() 53 static int mv88e6185_g1_wait_ppu_polling(struct mv88e6xxx_chip *chip) in mv88e6185_g1_wait_ppu_polling() 60 static int mv88e6352_g1_wait_ppu_polling(struct mv88e6xxx_chip *chip) in mv88e6352_g1_wait_ppu_polling() 67 static int mv88e6xxx_g1_wait_init_ready(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_wait_init_ready() 82 int mv88e6xxx_g1_set_switch_mac(struct mv88e6xxx_chip *chip, u8 *addr) in mv88e6xxx_g1_set_switch_mac() 107 int mv88e6185_g1_reset(struct mv88e6xxx_chip *chip) in mv88e6185_g1_reset() [all …]
|
D | global2.c | 19 int mv88e6xxx_g2_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g2_read() 24 int mv88e6xxx_g2_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g2_write() 29 int mv88e6xxx_g2_wait_bit(struct mv88e6xxx_chip *chip, int reg, int in mv88e6xxx_g2_wait_bit() 38 static int mv88e6xxx_g2_int_source(struct mv88e6xxx_chip *chip, u16 *src) in mv88e6xxx_g2_int_source() 46 static int mv88e6xxx_g2_int_mask(struct mv88e6xxx_chip *chip, u16 mask) in mv88e6xxx_g2_int_mask() 53 static int mv88e6xxx_g2_mgmt_enable_2x(struct mv88e6xxx_chip *chip, u16 en2x) in mv88e6xxx_g2_mgmt_enable_2x() 60 static int mv88e6xxx_g2_mgmt_enable_0x(struct mv88e6xxx_chip *chip, u16 en0x) in mv88e6xxx_g2_mgmt_enable_0x() 67 static int mv88e6xxx_g2_switch_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip, in mv88e6xxx_g2_switch_mgmt_rsvd2cpu() 85 int mv88e6185_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip) in mv88e6185_g2_mgmt_rsvd2cpu() 99 int mv88e6352_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip) in mv88e6352_g2_mgmt_rsvd2cpu() [all …]
|
D | chip.c | 44 static void assert_reg_lock(struct mv88e6xxx_chip *chip) in assert_reg_lock() 52 int mv88e6xxx_read(struct mv88e6xxx_chip *chip, int addr, int reg, u16 *val) in mv88e6xxx_read() 68 int mv88e6xxx_write(struct mv88e6xxx_chip *chip, int addr, int reg, u16 val) in mv88e6xxx_write() 84 int mv88e6xxx_wait_mask(struct mv88e6xxx_chip *chip, int addr, int reg, in mv88e6xxx_wait_mask() 107 int mv88e6xxx_wait_bit(struct mv88e6xxx_chip *chip, int addr, int reg, in mv88e6xxx_wait_bit() 114 struct mii_bus *mv88e6xxx_default_mdio_bus(struct mv88e6xxx_chip *chip) in mv88e6xxx_default_mdio_bus() 128 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); in mv88e6xxx_g1_irq_mask() local 136 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); in mv88e6xxx_g1_irq_unmask() local 142 static irqreturn_t mv88e6xxx_g1_irq_thread_work(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_irq_thread_work() 186 struct mv88e6xxx_chip *chip = dev_id; in mv88e6xxx_g1_irq_thread_fn() local [all …]
|
D | phy.c | 16 int mv88e6165_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_read() 22 int mv88e6165_phy_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_write() 28 int mv88e6xxx_phy_read(struct mv88e6xxx_chip *chip, int phy, int reg, u16 *val) in mv88e6xxx_phy_read() 43 int mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy, int reg, u16 val) in mv88e6xxx_phy_write() 58 static int mv88e6xxx_phy_page_get(struct mv88e6xxx_chip *chip, int phy, u8 page) in mv88e6xxx_phy_page_get() 63 static void mv88e6xxx_phy_page_put(struct mv88e6xxx_chip *chip, int phy) in mv88e6xxx_phy_page_put() 79 int mv88e6xxx_phy_page_read(struct mv88e6xxx_chip *chip, int phy, in mv88e6xxx_phy_page_read() 97 int mv88e6xxx_phy_page_write(struct mv88e6xxx_chip *chip, int phy, in mv88e6xxx_phy_page_write() 118 static int mv88e6xxx_phy_ppu_disable(struct mv88e6xxx_chip *chip) in mv88e6xxx_phy_ppu_disable() 126 static int mv88e6xxx_phy_ppu_enable(struct mv88e6xxx_chip *chip) in mv88e6xxx_phy_ppu_enable() [all …]
|
D | global1_vtu.c | 19 static int mv88e6xxx_g1_vtu_fid_read(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_fid_read() 34 static int mv88e6xxx_g1_vtu_fid_write(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_fid_write() 44 static int mv88e6xxx_g1_vtu_sid_read(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_sid_read() 59 static int mv88e6xxx_g1_vtu_sid_write(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_sid_write() 69 static int mv88e6xxx_g1_vtu_op_wait(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_vtu_op_wait() 76 static int mv88e6xxx_g1_vtu_op(struct mv88e6xxx_chip *chip, u16 op) in mv88e6xxx_g1_vtu_op() 90 static int mv88e6xxx_g1_vtu_vid_read(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_vid_read() 110 static int mv88e6xxx_g1_vtu_vid_write(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_vid_write() 129 static int mv88e6185_g1_vtu_data_read(struct mv88e6xxx_chip *chip, in mv88e6185_g1_vtu_data_read() 157 static int mv88e6185_g1_vtu_data_write(struct mv88e6xxx_chip *chip, in mv88e6185_g1_vtu_data_write() [all …]
|
D | port.c | 20 int mv88e6xxx_port_read(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_read() 28 int mv88e6xxx_port_write(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_write() 41 int mv88e6185_port_set_pause(struct mv88e6xxx_chip *chip, int port, in mv88e6185_port_set_pause() 68 static int mv88e6xxx_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_port_set_rgmii_delay() 109 int mv88e6352_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6352_port_set_rgmii_delay() 118 int mv88e6390_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6390_port_set_rgmii_delay() 127 int mv88e6xxx_port_set_link(struct mv88e6xxx_chip *chip, int port, int link) in mv88e6xxx_port_set_link() 165 int mv88e6xxx_port_set_duplex(struct mv88e6xxx_chip *chip, int port, int dup) in mv88e6xxx_port_set_duplex() 203 static int mv88e6xxx_port_set_speed(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_port_set_speed() 269 int mv88e6065_port_set_speed(struct mv88e6xxx_chip *chip, int port, int speed) in mv88e6065_port_set_speed() [all …]
|
/Linux-v5.4/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_chip.c | 22 void zd_chip_init(struct zd_chip *chip, in zd_chip_init() 32 void zd_chip_clear(struct zd_chip *chip) in zd_chip_clear() 41 static int scnprint_mac_oui(struct zd_chip *chip, char *buffer, size_t size) in scnprint_mac_oui() 48 static int scnprint_id(struct zd_chip *chip, char *buffer, size_t size) in scnprint_id() 68 static void print_id(struct zd_chip *chip) in print_id() 92 int zd_ioread32v_locked(struct zd_chip *chip, u32 *values, const zd_addr_t *addr, in zd_ioread32v_locked() 131 static int _zd_iowrite32v_async_locked(struct zd_chip *chip, in _zd_iowrite32v_async_locked() 170 int _zd_iowrite32v_locked(struct zd_chip *chip, const struct zd_ioreq32 *ioreqs, in _zd_iowrite32v_locked() 184 int zd_iowrite16a_locked(struct zd_chip *chip, in zd_iowrite16a_locked() 222 int zd_iowrite32a_locked(struct zd_chip *chip, in zd_iowrite32a_locked() [all …]
|
/Linux-v5.4/sound/pci/echoaudio/ |
D | echoaudio_dsp.c | 42 static int wait_handshake(struct echoaudio *chip) in wait_handshake() 66 static int send_vector(struct echoaudio *chip, u32 command) in send_vector() 91 static int write_dsp(struct echoaudio *chip, u32 data) in write_dsp() 115 static int read_dsp(struct echoaudio *chip, u32 *data) in read_dsp() 145 static int read_sn(struct echoaudio *chip) in read_sn() 167 static inline int check_asic_status(struct echoaudio *chip) in check_asic_status() 180 static int load_asic_generic(struct echoaudio *chip, u32 cmd, short asic) in load_asic_generic() 227 static int install_resident_loader(struct echoaudio *chip) in install_resident_loader() 335 static int load_dsp(struct echoaudio *chip, u16 *code) in load_dsp() 488 static int load_firmware(struct echoaudio *chip) in load_firmware() [all …]
|
/Linux-v5.4/sound/pci/oxygen/ |
D | oxygen.c | 142 static void ak4396_write(struct oxygen *chip, unsigned int codec, in ak4396_write() 160 static void ak4396_write_cached(struct oxygen *chip, unsigned int codec, in ak4396_write_cached() 169 static void wm8785_write(struct oxygen *chip, u8 reg, unsigned int value) in wm8785_write() 183 static void ak4396_registers_init(struct oxygen *chip) in ak4396_registers_init() 202 static void ak4396_init(struct oxygen *chip) in ak4396_init() 213 static void ak5385_init(struct oxygen *chip) in ak5385_init() 220 static void wm8785_registers_init(struct oxygen *chip) in wm8785_registers_init() 229 static void wm8785_init(struct oxygen *chip) in wm8785_init() 240 static void generic_init(struct oxygen *chip) in generic_init() 246 static void meridian_init(struct oxygen *chip) in meridian_init() [all …]
|
D | xonar_pcm179x.c | 232 static inline void pcm1796_write_spi(struct oxygen *chip, unsigned int codec, in pcm1796_write_spi() 247 static inline void pcm1796_write_i2c(struct oxygen *chip, unsigned int codec, in pcm1796_write_i2c() 253 static void pcm1796_write(struct oxygen *chip, unsigned int codec, in pcm1796_write() 268 static void pcm1796_write_cached(struct oxygen *chip, unsigned int codec, in pcm1796_write_cached() 277 static void cs2000_write(struct oxygen *chip, u8 reg, u8 value) in cs2000_write() 285 static void cs2000_write_cached(struct oxygen *chip, u8 reg, u8 value) in cs2000_write_cached() 293 static void pcm1796_registers_init(struct oxygen *chip) in pcm1796_registers_init() 318 static void pcm1796_init(struct oxygen *chip) in pcm1796_init() 334 static void xonar_d2_init(struct oxygen *chip) in xonar_d2_init() 356 static void xonar_d2x_init(struct oxygen *chip) in xonar_d2x_init() [all …]
|
D | oxygen_io.c | 16 u8 oxygen_read8(struct oxygen *chip, unsigned int reg) in oxygen_read8() 22 u16 oxygen_read16(struct oxygen *chip, unsigned int reg) in oxygen_read16() 28 u32 oxygen_read32(struct oxygen *chip, unsigned int reg) in oxygen_read32() 34 void oxygen_write8(struct oxygen *chip, unsigned int reg, u8 value) in oxygen_write8() 41 void oxygen_write16(struct oxygen *chip, unsigned int reg, u16 value) in oxygen_write16() 48 void oxygen_write32(struct oxygen *chip, unsigned int reg, u32 value) in oxygen_write32() 55 void oxygen_write8_masked(struct oxygen *chip, unsigned int reg, in oxygen_write8_masked() 66 void oxygen_write16_masked(struct oxygen *chip, unsigned int reg, in oxygen_write16_masked() 77 void oxygen_write32_masked(struct oxygen *chip, unsigned int reg, in oxygen_write32_masked() 88 static int oxygen_ac97_wait(struct oxygen *chip, unsigned int mask) in oxygen_ac97_wait() [all …]
|
D | xonar_cs43xx.c | 66 static void cs4398_write(struct oxygen *chip, u8 reg, u8 value) in cs4398_write() 75 static void cs4398_write_cached(struct oxygen *chip, u8 reg, u8 value) in cs4398_write_cached() 83 static void cs4362a_write(struct oxygen *chip, u8 reg, u8 value) in cs4362a_write() 92 static void cs4362a_write_cached(struct oxygen *chip, u8 reg, u8 value) in cs4362a_write_cached() 100 static void cs43xx_registers_init(struct oxygen *chip) in cs43xx_registers_init() 127 static void xonar_d1_init(struct oxygen *chip) in xonar_d1_init() 175 static void xonar_dx_init(struct oxygen *chip) in xonar_dx_init() 186 static void xonar_d1_cleanup(struct oxygen *chip) in xonar_d1_cleanup() 193 static void xonar_d1_suspend(struct oxygen *chip) in xonar_d1_suspend() 198 static void xonar_d1_resume(struct oxygen *chip) in xonar_d1_resume() [all …]
|
/Linux-v5.4/drivers/staging/rts5208/ |
D | rtsx_chip.c | 23 static void rtsx_calibration(struct rtsx_chip *chip) in rtsx_calibration() 35 void rtsx_enable_card_int(struct rtsx_chip *chip) in rtsx_enable_card_int() 54 void rtsx_enable_bus_int(struct rtsx_chip *chip) in rtsx_enable_bus_int() 93 void rtsx_disable_bus_int(struct rtsx_chip *chip) in rtsx_disable_bus_int() 98 static int rtsx_pre_handle_sdio_old(struct rtsx_chip *chip) in rtsx_pre_handle_sdio_old() 142 static int rtsx_pre_handle_sdio_new(struct rtsx_chip *chip) in rtsx_pre_handle_sdio_new() 248 static int rtsx_reset_aspm(struct rtsx_chip *chip) in rtsx_reset_aspm() 287 static int rtsx_enable_pcie_intr(struct rtsx_chip *chip) in rtsx_enable_pcie_intr() 334 int rtsx_reset_chip(struct rtsx_chip *chip) in rtsx_reset_chip() 635 static int rts5208_init(struct rtsx_chip *chip) in rts5208_init() [all …]
|
D | rtsx_card.c | 23 void do_remaining_work(struct rtsx_chip *chip) in do_remaining_work() 81 void try_to_switch_sdio_ctrl(struct rtsx_chip *chip) in try_to_switch_sdio_ctrl() 99 void dynamic_configure_sdio_aspm(struct rtsx_chip *chip) in dynamic_configure_sdio_aspm() 138 void do_reset_sd_card(struct rtsx_chip *chip) in do_reset_sd_card() 192 void do_reset_xd_card(struct rtsx_chip *chip) in do_reset_xd_card() 240 void do_reset_ms_card(struct rtsx_chip *chip) in do_reset_ms_card() 288 static void release_sdio(struct rtsx_chip *chip) in release_sdio() 308 void rtsx_power_off_card(struct rtsx_chip *chip) in rtsx_power_off_card() 326 void rtsx_release_cards(struct rtsx_chip *chip) in rtsx_release_cards() 349 void rtsx_reset_cards(struct rtsx_chip *chip) in rtsx_reset_cards() [all …]
|
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | nand_legacy.c | 28 static uint8_t nand_read_byte(struct nand_chip *chip) in nand_read_byte() 40 static uint8_t nand_read_byte16(struct nand_chip *chip) in nand_read_byte16() 52 static void nand_select_chip(struct nand_chip *chip, int chipnr) in nand_select_chip() 74 static void nand_write_byte(struct nand_chip *chip, uint8_t byte) in nand_write_byte() 86 static void nand_write_byte16(struct nand_chip *chip, uint8_t byte) in nand_write_byte16() 117 static void nand_write_buf(struct nand_chip *chip, const uint8_t *buf, int len) in nand_write_buf() 130 static void nand_read_buf(struct nand_chip *chip, uint8_t *buf, int len) in nand_read_buf() 143 static void nand_write_buf16(struct nand_chip *chip, const uint8_t *buf, in nand_write_buf16() 159 static void nand_read_buf16(struct nand_chip *chip, uint8_t *buf, int len) in nand_read_buf16() 174 static void panic_nand_wait_ready(struct nand_chip *chip, unsigned long timeo) in panic_nand_wait_ready() [all …]
|
/Linux-v5.4/sound/isa/sb/ |
D | sb16_main.c | 41 static void snd_sb16_csp_playback_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_playback_prepare() 89 static void snd_sb16_csp_capture_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_capture_prepare() 127 static void snd_sb16_csp_update(struct snd_sb *chip) in snd_sb16_csp_update() 140 static void snd_sb16_csp_playback_open(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_playback_open() 159 static void snd_sb16_csp_playback_close(struct snd_sb *chip) in snd_sb16_csp_playback_close() 171 static void snd_sb16_csp_capture_open(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_capture_open() 190 static void snd_sb16_csp_capture_close(struct snd_sb *chip) in snd_sb16_csp_capture_close() 202 #define snd_sb16_csp_playback_prepare(chip, runtime) /*nop*/ argument 203 #define snd_sb16_csp_capture_prepare(chip, runtime) /*nop*/ argument 204 #define snd_sb16_csp_update(chip) /*nop*/ argument [all …]
|
/Linux-v5.4/sound/isa/wss/ |
D | wss_lib.c | 151 static inline void wss_outb(struct snd_wss *chip, u8 offset, u8 val) in wss_outb() 156 static inline u8 wss_inb(struct snd_wss *chip, u8 offset) in wss_inb() 161 static void snd_wss_wait(struct snd_wss *chip) in snd_wss_wait() 171 static void snd_wss_dout(struct snd_wss *chip, unsigned char reg, in snd_wss_dout() 185 void snd_wss_out(struct snd_wss *chip, unsigned char reg, unsigned char value) in snd_wss_out() 202 unsigned char snd_wss_in(struct snd_wss *chip, unsigned char reg) in snd_wss_in() 216 void snd_cs4236_ext_out(struct snd_wss *chip, unsigned char reg, in snd_cs4236_ext_out() 230 unsigned char snd_cs4236_ext_in(struct snd_wss *chip, unsigned char reg) in snd_cs4236_ext_in() 346 static void snd_wss_busy_wait(struct snd_wss *chip) in snd_wss_busy_wait() 360 void snd_wss_mce_up(struct snd_wss *chip) in snd_wss_mce_up() [all …]
|
/Linux-v5.4/sound/pci/ |
D | ad1889.c | 98 ad1889_readw(struct snd_ad1889 *chip, unsigned reg) in ad1889_readw() 104 ad1889_writew(struct snd_ad1889 *chip, unsigned reg, u16 val) in ad1889_writew() 110 ad1889_readl(struct snd_ad1889 *chip, unsigned reg) in ad1889_readl() 116 ad1889_writel(struct snd_ad1889 *chip, unsigned reg, u32 val) in ad1889_writel() 122 ad1889_unmute(struct snd_ad1889 *chip) in ad1889_unmute() 132 ad1889_mute(struct snd_ad1889 *chip) in ad1889_mute() 141 ad1889_load_adc_buffer_address(struct snd_ad1889 *chip, u32 address) in ad1889_load_adc_buffer_address() 148 ad1889_load_adc_buffer_count(struct snd_ad1889 *chip, u32 count) in ad1889_load_adc_buffer_count() 155 ad1889_load_adc_interrupt_count(struct snd_ad1889 *chip, u32 count) in ad1889_load_adc_interrupt_count() 162 ad1889_load_wave_buffer_address(struct snd_ad1889 *chip, u32 address) in ad1889_load_wave_buffer_address() [all …]
|
/Linux-v5.4/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 74 static unsigned short snd_cs46xx_codec_read(struct snd_cs46xx *chip, in snd_cs46xx_codec_read() 204 struct snd_cs46xx *chip = ac97->private_data; in snd_cs46xx_ac97_read() local 218 static void snd_cs46xx_codec_write(struct snd_cs46xx *chip, in snd_cs46xx_codec_write() 289 struct snd_cs46xx *chip = ac97->private_data; in snd_cs46xx_ac97_write() local 304 int snd_cs46xx_download(struct snd_cs46xx *chip, in snd_cs46xx_download() 382 static int load_firmware(struct snd_cs46xx *chip, in load_firmware() 468 int snd_cs46xx_clear_BA1(struct snd_cs46xx *chip, in snd_cs46xx_clear_BA1() 501 static int load_firmware(struct snd_cs46xx *chip) in load_firmware() 534 int snd_cs46xx_download_image(struct snd_cs46xx *chip) in snd_cs46xx_download_image() 557 static void snd_cs46xx_reset(struct snd_cs46xx *chip) in snd_cs46xx_reset() [all …]
|
/Linux-v5.4/sound/ppc/ |
D | pmac.c | 50 static int snd_pmac_dbdma_alloc(struct snd_pmac *chip, struct pmac_dbdma *rec, int size) in snd_pmac_dbdma_alloc() 66 static void snd_pmac_dbdma_free(struct snd_pmac *chip, struct pmac_dbdma *rec) in snd_pmac_dbdma_free() 84 unsigned int snd_pmac_rate_index(struct snd_pmac *chip, struct pmac_stream *rec, unsigned int rate) in snd_pmac_rate_index() 131 static struct pmac_stream *snd_pmac_get_stream(struct snd_pmac *chip, int stream) in snd_pmac_get_stream() 159 static void snd_pmac_pcm_set_format(struct snd_pmac *chip) in snd_pmac_pcm_set_format() 197 static int snd_pmac_pcm_prepare(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_subs… in snd_pmac_pcm_prepare() 261 static int snd_pmac_pcm_trigger(struct snd_pmac *chip, struct pmac_stream *rec, in snd_pmac_pcm_trigger() 308 static snd_pcm_uframes_t snd_pmac_pcm_pointer(struct snd_pmac *chip, in snd_pmac_pcm_pointer() 335 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_prepare() local 342 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_trigger() local [all …]
|
/Linux-v5.4/sound/pci/vx222/ |
D | vx222_ops.c | 76 struct snd_vx222 *chip = to_vx222(_chip); in vx2_reg_addr() local 85 static unsigned char vx2_inb(struct vx_core *chip, int offset) in vx2_inb() 96 static void vx2_outb(struct vx_core *chip, int offset, unsigned char val) in vx2_outb() 109 static unsigned int vx2_inl(struct vx_core *chip, int offset) in vx2_inl() 120 static void vx2_outl(struct vx_core *chip, int offset, unsigned int val) in vx2_outl() 132 #define vx_inb(chip,reg) vx2_inb((struct vx_core*)(chip), VX_##reg) argument 134 #define vx_outb(chip,reg,val) vx2_outb((struct vx_core*)(chip), VX_##reg, val) argument 136 #define vx_inl(chip,reg) vx2_inl((struct vx_core*)(chip), VX_##reg) argument 138 #define vx_outl(chip,reg,val) vx2_outl((struct vx_core*)(chip), VX_##reg, val) argument 149 struct snd_vx222 *chip = to_vx222(_chip); in vx2_reset_dsp() local [all …]
|
/Linux-v5.4/sound/drivers/vx/ |
D | vx_core.c | 39 int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int time) in snd_vx_check_reg_bit() 69 static int vx_send_irq_dsp(struct vx_core *chip, int num) in vx_send_irq_dsp() 90 static int vx_reset_chk(struct vx_core *chip) in vx_reset_chk() 109 static int vx_transfer_end(struct vx_core *chip, int cmd) in vx_transfer_end() 147 static int vx_read_status(struct vx_core *chip, struct vx_rmh *rmh) in vx_read_status() 228 int vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh) in vx_send_msg_nolock() 333 int vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh) in vx_send_msg() 355 int vx_send_rih_nolock(struct vx_core *chip, int cmd) in vx_send_rih_nolock() 392 int vx_send_rih(struct vx_core *chip, int cmd) in vx_send_rih() 409 int snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *boot) in snd_vx_load_boot_image() [all …]
|
/Linux-v5.4/arch/mips/alchemy/common/ |
D | gpiolib.c | 40 static int gpio2_get(struct gpio_chip *chip, unsigned offset) in gpio2_get() 45 static void gpio2_set(struct gpio_chip *chip, unsigned offset, int value) in gpio2_set() 50 static int gpio2_direction_input(struct gpio_chip *chip, unsigned offset) in gpio2_direction_input() 55 static int gpio2_direction_output(struct gpio_chip *chip, unsigned offset, in gpio2_direction_output() 62 static int gpio2_to_irq(struct gpio_chip *chip, unsigned offset) in gpio2_to_irq() 68 static int gpio1_get(struct gpio_chip *chip, unsigned offset) in gpio1_get() 73 static void gpio1_set(struct gpio_chip *chip, in gpio1_set() 79 static int gpio1_direction_input(struct gpio_chip *chip, unsigned offset) in gpio1_direction_input() 84 static int gpio1_direction_output(struct gpio_chip *chip, in gpio1_direction_output() 91 static int gpio1_to_irq(struct gpio_chip *chip, unsigned offset) in gpio1_to_irq() [all …]
|
/Linux-v5.4/sound/pcmcia/vx/ |
D | vxp_ops.c | 40 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reg_addr() local 48 static unsigned char vxp_inb(struct vx_core *chip, int offset) in vxp_inb() 58 static void vxp_outb(struct vx_core *chip, int offset, unsigned char val) in vxp_outb() 67 #define vx_inb(chip,reg) vxp_inb((struct vx_core *)(chip), VX_##reg) argument 69 #define vx_outb(chip,reg,val) vxp_outb((struct vx_core *)(chip), VX_##reg,val) argument 77 static int vx_check_magic(struct vx_core *chip) in vx_check_magic() 100 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_dsp() local 118 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_codec() local 137 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_load_xilinx_binary() local 270 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_test_and_ack() local [all …]
|