/Linux-v5.15/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() 78 void mv88e6xxx_g1_wait_eeprom_done(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_wait_eeprom_done() 113 int mv88e6xxx_g1_set_switch_mac(struct mv88e6xxx_chip *chip, u8 *addr) in mv88e6xxx_g1_set_switch_mac() [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 | 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 | chip.c | 46 static void assert_reg_lock(struct mv88e6xxx_chip *chip) in assert_reg_lock() 54 int mv88e6xxx_read(struct mv88e6xxx_chip *chip, int addr, int reg, u16 *val) in mv88e6xxx_read() 70 int mv88e6xxx_write(struct mv88e6xxx_chip *chip, int addr, int reg, u16 val) in mv88e6xxx_write() 86 int mv88e6xxx_wait_mask(struct mv88e6xxx_chip *chip, int addr, int reg, in mv88e6xxx_wait_mask() 109 int mv88e6xxx_wait_bit(struct mv88e6xxx_chip *chip, int addr, int reg, in mv88e6xxx_wait_bit() 116 struct mii_bus *mv88e6xxx_default_mdio_bus(struct mv88e6xxx_chip *chip) in mv88e6xxx_default_mdio_bus() 130 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); in mv88e6xxx_g1_irq_mask() local 138 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); in mv88e6xxx_g1_irq_unmask() local 144 static irqreturn_t mv88e6xxx_g1_irq_thread_work(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_irq_thread_work() 188 struct mv88e6xxx_chip *chip = dev_id; in mv88e6xxx_g1_irq_thread_fn() local [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() 128 static int mv88e6185_g1_vtu_stu_data_read(struct mv88e6xxx_chip *chip, in mv88e6185_g1_vtu_stu_data_read() 146 static int mv88e6185_g1_vtu_data_read(struct mv88e6xxx_chip *chip, in mv88e6185_g1_vtu_data_read() [all …]
|
D | port.c | 21 int mv88e6xxx_port_read(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_read() 29 int mv88e6xxx_port_wait_bit(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_wait_bit() 37 int mv88e6xxx_port_write(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_write() 50 int mv88e6185_port_set_pause(struct mv88e6xxx_chip *chip, int port, in mv88e6185_port_set_pause() 77 static int mv88e6xxx_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_port_set_rgmii_delay() 118 int mv88e6352_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6352_port_set_rgmii_delay() 127 int mv88e6390_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6390_port_set_rgmii_delay() 136 int mv88e6xxx_port_set_link(struct mv88e6xxx_chip *chip, int port, int link) in mv88e6xxx_port_set_link() 174 int mv88e6xxx_port_sync_link(struct mv88e6xxx_chip *chip, int port, unsigned int mode, bool isup) in mv88e6xxx_port_sync_link() 191 int mv88e6185_port_sync_link(struct mv88e6xxx_chip *chip, int port, unsigned int mode, bool isup) in mv88e6185_port_sync_link() [all …]
|
D | serdes.c | 20 static int mv88e6352_serdes_read(struct mv88e6xxx_chip *chip, int reg, in mv88e6352_serdes_read() 28 static int mv88e6352_serdes_write(struct mv88e6xxx_chip *chip, int reg, in mv88e6352_serdes_write() 36 static int mv88e6390_serdes_read(struct mv88e6xxx_chip *chip, in mv88e6390_serdes_read() 44 static int mv88e6390_serdes_write(struct mv88e6xxx_chip *chip, in mv88e6390_serdes_write() 52 static int mv88e6xxx_serdes_pcs_get_state(struct mv88e6xxx_chip *chip, in mv88e6xxx_serdes_pcs_get_state() 98 int mv88e6352_serdes_power(struct mv88e6xxx_chip *chip, int port, int lane, in mv88e6352_serdes_power() 119 int mv88e6352_serdes_pcs_config(struct mv88e6xxx_chip *chip, int port, in mv88e6352_serdes_pcs_config() 168 int mv88e6352_serdes_pcs_get_state(struct mv88e6xxx_chip *chip, int port, in mv88e6352_serdes_pcs_get_state() 189 int mv88e6352_serdes_pcs_an_restart(struct mv88e6xxx_chip *chip, int port, in mv88e6352_serdes_pcs_an_restart() 202 int mv88e6352_serdes_pcs_link_up(struct mv88e6xxx_chip *chip, int port, in mv88e6352_serdes_pcs_link_up() [all …]
|
/Linux-v5.15/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.15/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.15/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() 489 static int load_firmware(struct echoaudio *chip) in load_firmware() [all …]
|
/Linux-v5.15/sound/pci/oxygen/ |
D | oxygen.c | 139 static void ak4396_write(struct oxygen *chip, unsigned int codec, in ak4396_write() 157 static void ak4396_write_cached(struct oxygen *chip, unsigned int codec, in ak4396_write_cached() 166 static void wm8785_write(struct oxygen *chip, u8 reg, unsigned int value) in wm8785_write() 180 static void ak4396_registers_init(struct oxygen *chip) in ak4396_registers_init() 199 static void ak4396_init(struct oxygen *chip) in ak4396_init() 210 static void ak5385_init(struct oxygen *chip) in ak5385_init() 217 static void wm8785_registers_init(struct oxygen *chip) in wm8785_registers_init() 226 static void wm8785_init(struct oxygen *chip) in wm8785_init() 237 static void generic_init(struct oxygen *chip) in generic_init() 243 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 …]
|
/Linux-v5.15/drivers/staging/rts5208/ |
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 …]
|
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 …]
|
/Linux-v5.15/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() 113 static struct pmac_stream *snd_pmac_get_stream(struct snd_pmac *chip, int stream) in snd_pmac_get_stream() 141 static void snd_pmac_pcm_set_format(struct snd_pmac *chip) in snd_pmac_pcm_set_format() 179 static int snd_pmac_pcm_prepare(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_subs… in snd_pmac_pcm_prepare() 243 static int snd_pmac_pcm_trigger(struct snd_pmac *chip, struct pmac_stream *rec, in snd_pmac_pcm_trigger() 290 static snd_pcm_uframes_t snd_pmac_pcm_pointer(struct snd_pmac *chip, in snd_pmac_pcm_pointer() 317 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_prepare() local 324 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_trigger() local [all …]
|
/Linux-v5.15/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.15/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.15/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.15/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.15/sound/pci/ |
D | ad1889.c | 97 ad1889_readw(struct snd_ad1889 *chip, unsigned reg) in ad1889_readw() 103 ad1889_writew(struct snd_ad1889 *chip, unsigned reg, u16 val) in ad1889_writew() 109 ad1889_readl(struct snd_ad1889 *chip, unsigned reg) in ad1889_readl() 115 ad1889_writel(struct snd_ad1889 *chip, unsigned reg, u32 val) in ad1889_writel() 121 ad1889_unmute(struct snd_ad1889 *chip) in ad1889_unmute() 131 ad1889_mute(struct snd_ad1889 *chip) in ad1889_mute() 140 ad1889_load_adc_buffer_address(struct snd_ad1889 *chip, u32 address) in ad1889_load_adc_buffer_address() 147 ad1889_load_adc_buffer_count(struct snd_ad1889 *chip, u32 count) in ad1889_load_adc_buffer_count() 154 ad1889_load_adc_interrupt_count(struct snd_ad1889 *chip, u32 count) in ad1889_load_adc_interrupt_count() 161 ad1889_load_wave_buffer_address(struct snd_ad1889 *chip, u32 address) in ad1889_load_wave_buffer_address() [all …]
|
/Linux-v5.15/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.15/sound/pci/ymfpci/ |
D | ymfpci_main.c | 34 static inline u8 snd_ymfpci_readb(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readb() 39 static inline void snd_ymfpci_writeb(struct snd_ymfpci *chip, u32 offset, u8 val) in snd_ymfpci_writeb() 44 static inline u16 snd_ymfpci_readw(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readw() 49 static inline void snd_ymfpci_writew(struct snd_ymfpci *chip, u32 offset, u16 val) in snd_ymfpci_writew() 54 static inline u32 snd_ymfpci_readl(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readl() 59 static inline void snd_ymfpci_writel(struct snd_ymfpci *chip, u32 offset, u32 val) in snd_ymfpci_writel() 64 static int snd_ymfpci_codec_ready(struct snd_ymfpci *chip, int secondary) in snd_ymfpci_codec_ready() 83 struct snd_ymfpci *chip = ac97->private_data; in snd_ymfpci_codec_write() local 93 struct snd_ymfpci *chip = ac97->private_data; in snd_ymfpci_codec_read() local 165 static void snd_ymfpci_hw_start(struct snd_ymfpci *chip) in snd_ymfpci_hw_start() [all …]
|
/Linux-v5.15/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.15/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 20 static inline int snd_ad1816a_busy_wait(struct snd_ad1816a *chip) in snd_ad1816a_busy_wait() 32 static inline unsigned char snd_ad1816a_in(struct snd_ad1816a *chip, unsigned char reg) in snd_ad1816a_in() 38 static inline void snd_ad1816a_out(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_out() 45 static inline void snd_ad1816a_out_mask(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_out_mask() 52 static unsigned short snd_ad1816a_read(struct snd_ad1816a *chip, unsigned char reg) in snd_ad1816a_read() 59 static void snd_ad1816a_write(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_write() 67 static void snd_ad1816a_write_mask(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_write_mask() 75 static unsigned char snd_ad1816a_get_format(struct snd_ad1816a *chip, in snd_ad1816a_get_format() 97 static int snd_ad1816a_open(struct snd_ad1816a *chip, unsigned int mode) in snd_ad1816a_open() 133 static void snd_ad1816a_close(struct snd_ad1816a *chip, unsigned int mode) in snd_ad1816a_close() [all …]
|