| /kernel/linux/linux-5.10/sound/isa/sb/ |
| H A D | sb16_main.c | 14 * Note: Some chip revisions have hardware bug. Changing capture 16 * 16bit DMA transfers from DSP chip (capture) until 8bit transfer 17 * to DSP chip (playback) starts. This bug can be avoided with 41 static void snd_sb16_csp_playback_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_playback_prepare() argument 43 if (chip->hardware == SB_HW_16CSP) { in snd_sb16_csp_playback_prepare() 44 struct snd_sb_csp *csp = chip->csp; in snd_sb16_csp_playback_prepare() 74 if (csp->ops.csp_start(csp, (chip->mode & SB_MODE_PLAYBACK_16) ? in snd_sb16_csp_playback_prepare() 82 chip->open = SNDRV_SB_CSP_MODE_DSP_WRITE; 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() argument 91 if (chip in snd_sb16_csp_capture_prepare() 127 snd_sb16_csp_update(struct snd_sb *chip) snd_sb16_csp_update() argument 140 snd_sb16_csp_playback_open(struct snd_sb *chip, struct snd_pcm_runtime *runtime) snd_sb16_csp_playback_open() argument 159 snd_sb16_csp_playback_close(struct snd_sb *chip) snd_sb16_csp_playback_close() argument 171 snd_sb16_csp_capture_open(struct snd_sb *chip, struct snd_pcm_runtime *runtime) snd_sb16_csp_capture_open() argument 190 snd_sb16_csp_capture_close(struct snd_sb *chip) snd_sb16_csp_capture_close() argument 212 snd_sb16_setup_rate(struct snd_sb *chip, unsigned short rate, int channel) snd_sb16_setup_rate() argument 238 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_prepare() local 280 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_trigger() local 308 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_prepare() local 349 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_trigger() local 376 struct snd_sb *chip = dev_id; snd_sb16dsp_interrupt() local 428 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_pointer() local 439 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_pointer() local 495 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_open() local 557 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_close() local 570 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_open() local 632 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_close() local 646 snd_sb16_set_dma_mode(struct snd_sb *chip, int what) snd_sb16_set_dma_mode() argument 665 snd_sb16_get_dma_mode(struct snd_sb *chip) snd_sb16_get_dma_mode() argument 690 struct snd_sb *chip = snd_kcontrol_chip(kcontrol); snd_sb16_dma_control_get() local 701 struct snd_sb *chip = snd_kcontrol_chip(kcontrol); snd_sb16_dma_control_put() local 728 snd_sb16dsp_configure(struct snd_sb * chip) snd_sb16dsp_configure() argument 833 snd_sb16dsp_pcm(struct snd_sb *chip, int device) snd_sb16dsp_pcm() argument [all...] |
| /kernel/linux/linux-6.6/sound/isa/sb/ |
| H A D | sb16_main.c | 14 * Note: Some chip revisions have hardware bug. Changing capture 16 * 16bit DMA transfers from DSP chip (capture) until 8bit transfer 17 * to DSP chip (playback) starts. This bug can be avoided with 41 static void snd_sb16_csp_playback_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_playback_prepare() argument 43 if (chip->hardware == SB_HW_16CSP) { in snd_sb16_csp_playback_prepare() 44 struct snd_sb_csp *csp = chip->csp; in snd_sb16_csp_playback_prepare() 74 if (csp->ops.csp_start(csp, (chip->mode & SB_MODE_PLAYBACK_16) ? in snd_sb16_csp_playback_prepare() 82 chip->open = SNDRV_SB_CSP_MODE_DSP_WRITE; 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() argument 91 if (chip in snd_sb16_csp_capture_prepare() 127 snd_sb16_csp_update(struct snd_sb *chip) snd_sb16_csp_update() argument 140 snd_sb16_csp_playback_open(struct snd_sb *chip, struct snd_pcm_runtime *runtime) snd_sb16_csp_playback_open() argument 159 snd_sb16_csp_playback_close(struct snd_sb *chip) snd_sb16_csp_playback_close() argument 171 snd_sb16_csp_capture_open(struct snd_sb *chip, struct snd_pcm_runtime *runtime) snd_sb16_csp_capture_open() argument 190 snd_sb16_csp_capture_close(struct snd_sb *chip) snd_sb16_csp_capture_close() argument 212 snd_sb16_setup_rate(struct snd_sb *chip, unsigned short rate, int channel) snd_sb16_setup_rate() argument 238 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_prepare() local 280 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_trigger() local 308 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_prepare() local 349 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_trigger() local 376 struct snd_sb *chip = dev_id; snd_sb16dsp_interrupt() local 428 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_pointer() local 439 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_pointer() local 495 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_open() local 557 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_close() local 570 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_open() local 632 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_close() local 646 snd_sb16_set_dma_mode(struct snd_sb *chip, int what) snd_sb16_set_dma_mode() argument 665 snd_sb16_get_dma_mode(struct snd_sb *chip) snd_sb16_get_dma_mode() argument 690 struct snd_sb *chip = snd_kcontrol_chip(kcontrol); snd_sb16_dma_control_get() local 701 struct snd_sb *chip = snd_kcontrol_chip(kcontrol); snd_sb16_dma_control_put() local 729 snd_sb16dsp_configure(struct snd_sb * chip) snd_sb16dsp_configure() argument 834 snd_sb16dsp_pcm(struct snd_sb *chip, int device) snd_sb16dsp_pcm() argument [all...] |
| /kernel/linux/linux-5.10/drivers/staging/rts5208/ |
| H A D | spi.c | 19 static inline void spi_set_err_code(struct rtsx_chip *chip, u8 err_code) in spi_set_err_code() argument 21 struct spi_info *spi = &chip->spi; in spi_set_err_code() 26 static int spi_init(struct rtsx_chip *chip) in spi_init() argument 30 retval = rtsx_write_register(chip, SPI_CONTROL, 0xFF, in spi_init() 35 retval = rtsx_write_register(chip, SPI_TCTL, EDO_TIMING_MASK, in spi_init() 43 static int spi_set_init_para(struct rtsx_chip *chip) in spi_set_init_para() argument 45 struct spi_info *spi = &chip->spi; in spi_set_init_para() 48 retval = rtsx_write_register(chip, SPI_CLK_DIVIDER1, 0xFF, in spi_set_init_para() 52 retval = rtsx_write_register(chip, SPI_CLK_DIVIDER0, 0xFF, in spi_set_init_para() 57 retval = switch_clock(chip, sp in spi_set_init_para() 83 sf_polling_status(struct rtsx_chip *chip, int msec) sf_polling_status() argument 105 sf_enable_write(struct rtsx_chip *chip, u8 ins) sf_enable_write() argument 133 sf_disable_write(struct rtsx_chip *chip, u8 ins) sf_disable_write() argument 161 sf_program(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr, u16 len) sf_program() argument 185 sf_erase(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr) sf_erase() argument 219 spi_init_eeprom(struct rtsx_chip *chip) spi_init_eeprom() argument 267 spi_eeprom_program_enable(struct rtsx_chip *chip) spi_eeprom_program_enable() argument 287 spi_erase_eeprom_chip(struct rtsx_chip *chip) spi_erase_eeprom_chip() argument 321 spi_erase_eeprom_byte(struct rtsx_chip *chip, u16 addr) spi_erase_eeprom_byte() argument 357 spi_read_eeprom(struct rtsx_chip *chip, u16 addr, u8 *val) spi_read_eeprom() argument 399 spi_write_eeprom(struct rtsx_chip *chip, u16 addr, u8 val) spi_write_eeprom() argument 436 spi_get_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_get_status() argument 449 spi_set_parameter(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_set_parameter() argument 471 spi_read_flash_id(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_read_flash_id() argument 554 spi_read_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_read_flash() argument 647 spi_write_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_write_flash() argument 822 spi_erase_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_erase_flash() argument 865 spi_write_flash_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_write_flash_status() argument [all...] |
| H A D | xd.c | 23 static int xd_build_l2p_tbl(struct rtsx_chip *chip, int zone_no); 24 static int xd_init_page(struct rtsx_chip *chip, u32 phy_blk, u16 logoff, 27 static inline void xd_set_err_code(struct rtsx_chip *chip, u8 err_code) in xd_set_err_code() argument 29 struct xd_info *xd_card = &chip->xd_card; in xd_set_err_code() 34 static inline int xd_check_err_code(struct rtsx_chip *chip, u8 err_code) in xd_check_err_code() argument 36 struct xd_info *xd_card = &chip->xd_card; in xd_check_err_code() 41 static int xd_set_init_para(struct rtsx_chip *chip) in xd_set_init_para() argument 43 struct xd_info *xd_card = &chip->xd_card; in xd_set_init_para() 46 if (chip->asic_code) in xd_set_init_para() 51 retval = switch_clock(chip, xd_car in xd_set_init_para() 58 xd_switch_clock(struct rtsx_chip *chip) xd_switch_clock() argument 74 xd_read_id(struct rtsx_chip *chip, u8 id_cmd, u8 *id_buf, u8 buf_len) xd_read_id() argument 104 xd_assign_phy_addr(struct rtsx_chip *chip, u32 addr, u8 mode) xd_assign_phy_addr() argument 138 xd_read_redundant(struct rtsx_chip *chip, u32 page_addr, u8 *buf, int buf_len) xd_read_redundant() argument 175 xd_read_data_from_ppb(struct rtsx_chip *chip, int offset, u8 *buf, int buf_len) xd_read_data_from_ppb() argument 200 xd_read_cis(struct rtsx_chip *chip, u32 page_addr, u8 *buf, int buf_len) xd_read_cis() argument 303 xd_fill_pull_ctl_disable(struct rtsx_chip *chip) xd_fill_pull_ctl_disable() argument 332 xd_fill_pull_ctl_stage1_barossa(struct rtsx_chip *chip) xd_fill_pull_ctl_stage1_barossa() argument 342 xd_fill_pull_ctl_enable(struct rtsx_chip *chip) xd_fill_pull_ctl_enable() argument 371 xd_pull_ctl_disable(struct rtsx_chip *chip) xd_pull_ctl_disable() argument 439 reset_xd(struct rtsx_chip *chip) reset_xd() argument 786 xd_init_l2p_tbl(struct rtsx_chip *chip) xd_init_l2p_tbl() argument 831 xd_set_unused_block(struct rtsx_chip *chip, u32 phy_blk) xd_set_unused_block() argument 866 xd_get_unused_block(struct rtsx_chip *chip, int zone_no) xd_get_unused_block() argument 904 xd_set_l2p_tbl(struct rtsx_chip *chip, int zone_no, u16 log_off, u16 phy_off) xd_set_l2p_tbl() argument 914 xd_get_l2p_tbl(struct rtsx_chip *chip, int zone_no, u16 log_off) xd_get_l2p_tbl() argument 963 reset_xd_card(struct rtsx_chip *chip) reset_xd_card() argument 993 xd_mark_bad_block(struct rtsx_chip *chip, u32 phy_blk) xd_mark_bad_block() argument 1044 xd_init_page(struct rtsx_chip *chip, u32 phy_blk, u16 logoff, u8 start_page, u8 end_page) xd_init_page() argument 1098 xd_copy_page(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u8 start_page, u8 end_page) xd_copy_page() argument 1214 xd_reset_cmd(struct rtsx_chip *chip) xd_reset_cmd() argument 1239 xd_erase_block(struct rtsx_chip *chip, u32 phy_blk) xd_erase_block() argument 1293 xd_build_l2p_tbl(struct rtsx_chip *chip, int zone_no) xd_build_l2p_tbl() argument 1479 xd_send_cmd(struct rtsx_chip *chip, u8 cmd) xd_send_cmd() argument 1498 xd_read_multiple_pages(struct rtsx_chip *chip, u32 phy_blk, u32 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) xd_read_multiple_pages() argument 1624 xd_finish_write(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) xd_finish_write() argument 1683 xd_prepare_write(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) xd_prepare_write() argument 1700 xd_write_multiple_pages(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u32 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) xd_write_multiple_pages() argument 1802 xd_delay_write(struct rtsx_chip *chip) xd_delay_write() argument 1828 xd_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 start_sector, u16 sector_cnt) xd_rw() argument 2073 xd_free_l2p_tbl(struct rtsx_chip *chip) xd_free_l2p_tbl() argument 2090 xd_cleanup_work(struct rtsx_chip *chip) xd_cleanup_work() argument 2103 xd_power_off_card3v3(struct rtsx_chip *chip) xd_power_off_card3v3() argument 2136 release_xd_card(struct rtsx_chip *chip) release_xd_card() argument [all...] |
| /kernel/linux/linux-5.10/sound/pci/echoaudio/ |
| H A D | layla20_dsp.c | 32 static int read_dsp(struct echoaudio *chip, u32 *data); 33 static int set_professional_spdif(struct echoaudio *chip, char prof); 34 static int load_asic_generic(struct echoaudio *chip, u32 cmd, short asic); 35 static int check_asic_status(struct echoaudio *chip); 36 static int update_flags(struct echoaudio *chip); 39 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw() argument 46 if ((err = init_dsp_comm_page(chip))) { in init_hw() 47 dev_err(chip->card->dev, in init_hw() 52 chip->device_id = device_id; in init_hw() 53 chip in init_hw() 72 set_mixer_defaults(struct echoaudio *chip) set_mixer_defaults() argument 80 detect_input_clocks(const struct echoaudio *chip) detect_input_clocks() argument 111 check_asic_status(struct echoaudio *chip) check_asic_status() argument 141 load_asic(struct echoaudio *chip) load_asic() argument 159 set_sample_rate(struct echoaudio *chip, u32 rate) set_sample_rate() argument 186 set_input_clock(struct echoaudio *chip, u16 clock_source) set_input_clock() argument 226 set_output_clock(struct echoaudio *chip, u16 clock) set_output_clock() argument 252 set_input_gain(struct echoaudio *chip, u16 input, int gain) set_input_gain() argument 269 update_flags(struct echoaudio *chip) update_flags() argument 279 set_professional_spdif(struct echoaudio *chip, char prof) set_professional_spdif() argument [all...] |
| H A D | midi.c | 37 static int enable_midi_input(struct echoaudio *chip, char enable) in enable_midi_input() argument 39 dev_dbg(chip->card->dev, "enable_midi_input(%d)\n", enable); in enable_midi_input() 41 if (wait_handshake(chip)) in enable_midi_input() 45 chip->mtc_state = MIDI_IN_STATE_NORMAL; in enable_midi_input() 46 chip->comm_page->flags |= in enable_midi_input() 49 chip->comm_page->flags &= in enable_midi_input() 52 clear_handshake(chip); in enable_midi_input() 53 return send_vector(chip, DSP_VC_UPDATE_FLAGS); in enable_midi_input() 60 static int write_midi(struct echoaudio *chip, u8 *data, int bytes) in write_midi() argument 65 if (wait_handshake(chip)) in write_midi() 90 mtc_process_data(struct echoaudio *chip, short midi_byte) mtc_process_data() argument 116 midi_service_irq(struct echoaudio *chip) midi_service_irq() argument 157 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_input_open() local 168 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_input_trigger() local 182 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_input_close() local 192 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_output_open() local 204 struct echoaudio *chip = from_timer(chip, t, timer); snd_echo_midi_output_write() local 254 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_output_trigger() local 283 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_output_close() local 306 snd_echo_midi_create(struct snd_card *card, struct echoaudio *chip) snd_echo_midi_create() argument [all...] |
| H A D | gina20_dsp.c | 32 static int set_professional_spdif(struct echoaudio *chip, char prof); 33 static int update_flags(struct echoaudio *chip); 36 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw() argument 43 if ((err = init_dsp_comm_page(chip))) { in init_hw() 44 dev_err(chip->card->dev, in init_hw() 49 chip->device_id = device_id; in init_hw() 50 chip->subdevice_id = subdevice_id; in init_hw() 51 chip->bad_board = true; in init_hw() 52 chip->dsp_code_to_load = FW_GINA20_DSP; in init_hw() 53 chip in init_hw() 70 set_mixer_defaults(struct echoaudio *chip) set_mixer_defaults() argument 78 detect_input_clocks(const struct echoaudio *chip) detect_input_clocks() argument 97 load_asic(struct echoaudio *chip) load_asic() argument 104 set_sample_rate(struct echoaudio *chip, u32 rate) set_sample_rate() argument 149 set_input_clock(struct echoaudio *chip, u16 clock) set_input_clock() argument 178 set_input_gain(struct echoaudio *chip, u16 input, int gain) set_input_gain() argument 195 update_flags(struct echoaudio *chip) update_flags() argument 205 set_professional_spdif(struct echoaudio *chip, char prof) set_professional_spdif() argument [all...] |
| /kernel/linux/linux-6.6/drivers/staging/rts5208/ |
| H A D | spi.c | 19 static inline void spi_set_err_code(struct rtsx_chip *chip, u8 err_code) in spi_set_err_code() argument 21 struct spi_info *spi = &chip->spi; in spi_set_err_code() 26 static int spi_init(struct rtsx_chip *chip) in spi_init() argument 30 retval = rtsx_write_register(chip, SPI_CONTROL, 0xFF, in spi_init() 35 retval = rtsx_write_register(chip, SPI_TCTL, EDO_TIMING_MASK, in spi_init() 43 static int spi_set_init_para(struct rtsx_chip *chip) in spi_set_init_para() argument 45 struct spi_info *spi = &chip->spi; in spi_set_init_para() 48 retval = rtsx_write_register(chip, SPI_CLK_DIVIDER1, 0xFF, in spi_set_init_para() 52 retval = rtsx_write_register(chip, SPI_CLK_DIVIDER0, 0xFF, in spi_set_init_para() 57 retval = switch_clock(chip, sp in spi_set_init_para() 83 sf_polling_status(struct rtsx_chip *chip, int msec) sf_polling_status() argument 105 sf_enable_write(struct rtsx_chip *chip, u8 ins) sf_enable_write() argument 133 sf_disable_write(struct rtsx_chip *chip, u8 ins) sf_disable_write() argument 161 sf_program(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr, u16 len) sf_program() argument 185 sf_erase(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr) sf_erase() argument 219 spi_init_eeprom(struct rtsx_chip *chip) spi_init_eeprom() argument 267 spi_eeprom_program_enable(struct rtsx_chip *chip) spi_eeprom_program_enable() argument 287 spi_erase_eeprom_chip(struct rtsx_chip *chip) spi_erase_eeprom_chip() argument 321 spi_erase_eeprom_byte(struct rtsx_chip *chip, u16 addr) spi_erase_eeprom_byte() argument 357 spi_read_eeprom(struct rtsx_chip *chip, u16 addr, u8 *val) spi_read_eeprom() argument 399 spi_write_eeprom(struct rtsx_chip *chip, u16 addr, u8 val) spi_write_eeprom() argument 436 spi_get_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_get_status() argument 449 spi_set_parameter(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_set_parameter() argument 469 spi_read_flash_id(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_read_flash_id() argument 552 spi_read_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_read_flash() argument 645 spi_write_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_write_flash() argument 820 spi_erase_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_erase_flash() argument 863 spi_write_flash_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_write_flash_status() argument [all...] |
| H A D | xd.c | 23 static int xd_build_l2p_tbl(struct rtsx_chip *chip, int zone_no); 24 static int xd_init_page(struct rtsx_chip *chip, u32 phy_blk, u16 logoff, 27 static inline void xd_set_err_code(struct rtsx_chip *chip, u8 err_code) in xd_set_err_code() argument 29 struct xd_info *xd_card = &chip->xd_card; in xd_set_err_code() 34 static int xd_set_init_para(struct rtsx_chip *chip) in xd_set_init_para() argument 36 struct xd_info *xd_card = &chip->xd_card; in xd_set_init_para() 39 if (chip->asic_code) in xd_set_init_para() 44 retval = switch_clock(chip, xd_card->xd_clock); in xd_set_init_para() 51 static int xd_switch_clock(struct rtsx_chip *chip) in xd_switch_clock() argument 53 struct xd_info *xd_card = &chip in xd_switch_clock() 67 xd_read_id(struct rtsx_chip *chip, u8 id_cmd, u8 *id_buf, u8 buf_len) xd_read_id() argument 97 xd_assign_phy_addr(struct rtsx_chip *chip, u32 addr, u8 mode) xd_assign_phy_addr() argument 131 xd_read_redundant(struct rtsx_chip *chip, u32 page_addr, u8 *buf, int buf_len) xd_read_redundant() argument 168 xd_read_data_from_ppb(struct rtsx_chip *chip, int offset, u8 *buf, int buf_len) xd_read_data_from_ppb() argument 193 xd_read_cis(struct rtsx_chip *chip, u32 page_addr, u8 *buf, int buf_len) xd_read_cis() argument 296 xd_fill_pull_ctl_disable(struct rtsx_chip *chip) xd_fill_pull_ctl_disable() argument 325 xd_fill_pull_ctl_stage1_barossa(struct rtsx_chip *chip) xd_fill_pull_ctl_stage1_barossa() argument 335 xd_fill_pull_ctl_enable(struct rtsx_chip *chip) xd_fill_pull_ctl_enable() argument 364 xd_pull_ctl_disable(struct rtsx_chip *chip) xd_pull_ctl_disable() argument 432 reset_xd(struct rtsx_chip *chip) reset_xd() argument 779 xd_init_l2p_tbl(struct rtsx_chip *chip) xd_init_l2p_tbl() argument 824 xd_set_unused_block(struct rtsx_chip *chip, u32 phy_blk) xd_set_unused_block() argument 859 xd_get_unused_block(struct rtsx_chip *chip, int zone_no) xd_get_unused_block() argument 897 xd_set_l2p_tbl(struct rtsx_chip *chip, int zone_no, u16 log_off, u16 phy_off) xd_set_l2p_tbl() argument 907 xd_get_l2p_tbl(struct rtsx_chip *chip, int zone_no, u16 log_off) xd_get_l2p_tbl() argument 956 reset_xd_card(struct rtsx_chip *chip) reset_xd_card() argument 986 xd_mark_bad_block(struct rtsx_chip *chip, u32 phy_blk) xd_mark_bad_block() argument 1037 xd_init_page(struct rtsx_chip *chip, u32 phy_blk, u16 logoff, u8 start_page, u8 end_page) xd_init_page() argument 1091 xd_copy_page(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u8 start_page, u8 end_page) xd_copy_page() argument 1207 xd_reset_cmd(struct rtsx_chip *chip) xd_reset_cmd() argument 1232 xd_erase_block(struct rtsx_chip *chip, u32 phy_blk) xd_erase_block() argument 1286 xd_build_l2p_tbl(struct rtsx_chip *chip, int zone_no) xd_build_l2p_tbl() argument 1472 xd_send_cmd(struct rtsx_chip *chip, u8 cmd) xd_send_cmd() argument 1491 xd_read_multiple_pages(struct rtsx_chip *chip, u32 phy_blk, u32 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) xd_read_multiple_pages() argument 1617 xd_finish_write(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) xd_finish_write() argument 1675 xd_prepare_write(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) xd_prepare_write() argument 1692 xd_write_multiple_pages(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u32 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) xd_write_multiple_pages() argument 1794 xd_delay_write(struct rtsx_chip *chip) xd_delay_write() argument 1819 xd_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 start_sector, u16 sector_cnt) xd_rw() argument 2064 xd_free_l2p_tbl(struct rtsx_chip *chip) xd_free_l2p_tbl() argument 2081 xd_cleanup_work(struct rtsx_chip *chip) xd_cleanup_work() argument 2094 xd_power_off_card3v3(struct rtsx_chip *chip) xd_power_off_card3v3() argument 2127 release_xd_card(struct rtsx_chip *chip) release_xd_card() argument [all...] |
| /kernel/linux/linux-5.10/sound/pci/nm256/ |
| H A D | nm256.c | 106 #define NM_ACK_INT(chip, X) snd_nm256_writew(chip, NM_INT_REG, (X) << 1) 123 #define NM2_ACK_INT(chip, X) snd_nm256_writel(chip, NM_INT_REG, (X)) 175 struct nm256 *chip; member 180 u32 buf; /* offset from chip->buffer */ 266 snd_nm256_readb(struct nm256 *chip, int offset) in snd_nm256_readb() argument 268 return readb(chip->cport + offset); in snd_nm256_readb() 272 snd_nm256_readw(struct nm256 *chip, int offset) in snd_nm256_readw() argument 274 return readw(chip in snd_nm256_readw() 278 snd_nm256_readl(struct nm256 *chip, int offset) snd_nm256_readl() argument 284 snd_nm256_writeb(struct nm256 *chip, int offset, u8 val) snd_nm256_writeb() argument 290 snd_nm256_writew(struct nm256 *chip, int offset, u16 val) snd_nm256_writew() argument 296 snd_nm256_writel(struct nm256 *chip, int offset, u32 val) snd_nm256_writel() argument 302 snd_nm256_write_buffer(struct nm256 *chip, const void *src, int offset, int size) snd_nm256_write_buffer() argument 330 snd_nm256_load_one_coefficient(struct nm256 *chip, int stream, u32 port, int which) snd_nm256_load_one_coefficient() argument 345 snd_nm256_load_coefficient(struct nm256 *chip, int stream, int number) snd_nm256_load_coefficient() argument 415 snd_nm256_set_format(struct nm256 *chip, struct nm256_stream *s, struct snd_pcm_substream *substream) snd_nm256_set_format() argument 451 snd_nm256_acquire_irq(struct nm256 *chip) snd_nm256_acquire_irq() argument 471 snd_nm256_release_irq(struct nm256 *chip) snd_nm256_release_irq() argument 489 snd_nm256_pcm_mark(struct nm256 *chip, struct nm256_stream *s, int reg) snd_nm256_pcm_mark() argument 500 snd_nm256_playback_start(struct nm256 *chip, struct nm256_stream *s, struct snd_pcm_substream *substream) snd_nm256_playback_start() argument 517 snd_nm256_capture_start(struct nm256 *chip, struct nm256_stream *s, struct snd_pcm_substream *substream) snd_nm256_capture_start() argument 533 snd_nm256_playback_stop(struct nm256 *chip) snd_nm256_playback_stop() argument 543 snd_nm256_capture_stop(struct nm256 *chip) snd_nm256_capture_stop() argument 552 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_playback_trigger() local 590 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_capture_trigger() local 627 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_pcm_prepare() local 653 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_playback_pointer() local 667 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_capture_pointer() local 757 snd_nm256_playback_update(struct nm256 *chip) snd_nm256_playback_update() argument 772 snd_nm256_capture_update(struct nm256 *chip) snd_nm256_capture_update() argument 839 snd_nm256_setup_stream(struct nm256 *chip, struct nm256_stream *s, struct snd_pcm_substream *substream, const struct snd_pcm_hardware *hw_ptr) snd_nm256_setup_stream() argument 862 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_playback_open() local 874 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_capture_open() local 889 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_playback_close() local 899 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_capture_close() local 938 snd_nm256_pcm(struct nm256 *chip, int device) snd_nm256_pcm() argument 969 snd_nm256_init_chip(struct nm256 *chip) snd_nm256_init_chip() argument 981 snd_nm256_intr_check(struct nm256 *chip) snd_nm256_intr_check() argument 1018 struct nm256 *chip = dev_id; snd_nm256_interrupt() local 1084 struct nm256 *chip = dev_id; snd_nm256_interrupt_zx() local 1149 snd_nm256_ac97_ready(struct nm256 *chip) snd_nm256_ac97_ready() argument 1220 struct nm256 *chip = ac97->private_data; snd_nm256_ac97_read() local 1234 struct nm256 *chip = ac97->private_data; snd_nm256_ac97_write() local 1280 struct nm256 *chip = ac97->private_data; snd_nm256_ac97_reset() local 1307 snd_nm256_mixer(struct nm256 *chip) snd_nm256_mixer() argument 1348 snd_nm256_peek_for_sig(struct nm256 *chip) snd_nm256_peek_for_sig() argument 1399 struct nm256 *chip = card->private_data; nm256_suspend() local 1410 struct nm256 *chip = card->private_data; nm256_resume() local 1441 snd_nm256_free(struct nm256 *chip) snd_nm256_free() argument 1464 struct nm256 *chip = device->device_data; snd_nm256_dev_free() local 1472 struct nm256 *chip; snd_nm256_create() local 1652 struct nm256 *chip; snd_nm256_probe() local [all...] |
| /kernel/linux/linux-5.10/sound/pci/lx6464es/ |
| H A D | lx6464es.c | 94 static int lx_set_granularity(struct lx6464es *chip, u32 gran); 97 static int lx_hardware_open(struct lx6464es *chip, in lx_hardware_open() argument 107 dev_dbg(chip->card->dev, "allocating pipe for %d channels\n", channels); in lx_hardware_open() 108 err = lx_pipe_allocate(chip, 0, is_capture, channels); in lx_hardware_open() 110 dev_err(chip->card->dev, LXP "allocating pipe failed\n"); in lx_hardware_open() 114 err = lx_set_granularity(chip, period_size); in lx_hardware_open() 116 dev_err(chip->card->dev, "setting granularity to %ld failed\n", in lx_hardware_open() 124 static int lx_hardware_start(struct lx6464es *chip, in lx_hardware_start() argument 131 dev_dbg(chip->card->dev, "setting stream format\n"); in lx_hardware_start() 132 err = lx_stream_set_format(chip, runtim in lx_hardware_start() 156 lx_hardware_stop(struct lx6464es *chip, struct snd_pcm_substream *substream) lx_hardware_stop() argument 187 lx_hardware_close(struct lx6464es *chip, struct snd_pcm_substream *substream) lx_hardware_close() argument 206 struct lx6464es *chip = snd_pcm_substream_chip(substream); lx_pcm_open() local 271 struct lx6464es *chip = snd_pcm_substream_chip(substream); lx_pcm_stream_pointer() local 290 struct lx6464es *chip = snd_pcm_substream_chip(substream); lx_pcm_prepare() local 344 struct lx6464es *chip = snd_pcm_substream_chip(substream); lx_pcm_hw_params() local 373 struct lx6464es *chip = snd_pcm_substream_chip(substream); lx_pcm_hw_free() local 408 lx_trigger_start(struct lx6464es *chip, struct lx_stream *lx_stream) lx_trigger_start() argument 457 lx_trigger_stop(struct lx6464es *chip, struct lx_stream *lx_stream) lx_trigger_stop() argument 471 lx_trigger_dispatch_stream(struct lx6464es *chip, struct lx_stream *lx_stream) lx_trigger_dispatch_stream() argument 488 lx_pcm_trigger_dispatch(struct lx6464es *chip, struct lx_stream *lx_stream, int cmd) lx_pcm_trigger_dispatch() argument 519 struct lx6464es *chip = snd_pcm_substream_chip(substream); lx_pcm_trigger() local 529 snd_lx6464es_free(struct lx6464es *chip) snd_lx6464es_free() argument 555 lx_init_xilinx_reset(struct lx6464es *chip) lx_init_xilinx_reset() argument 597 lx_init_xilinx_test(struct lx6464es *chip) lx_init_xilinx_test() argument 627 lx_init_ethersound_config(struct lx6464es *chip) lx_init_ethersound_config() argument 667 lx_init_get_version_features(struct lx6464es *chip) lx_init_get_version_features() argument 704 lx_set_granularity(struct lx6464es *chip, u32 gran) lx_set_granularity() argument 736 lx_init_dsp(struct lx6464es *chip) lx_init_dsp() argument 811 lx_pcm_create(struct lx6464es *chip) lx_pcm_create() argument 861 struct lx6464es *chip = snd_kcontrol_chip(kcontrol); lx_control_playback_get() local 869 struct lx6464es *chip = snd_kcontrol_chip(kcontrol); lx_control_playback_put() local 900 struct lx6464es *chip = entry->private_data; lx_proc_levels_read() local 928 lx_proc_create(struct snd_card *card, struct lx6464es *chip) lx_proc_create() argument 938 struct lx6464es *chip; snd_lx6464es_create() local 1056 struct lx6464es *chip; snd_lx6464es_probe() local [all...] |
| /kernel/linux/linux-5.10/sound/pci/ |
| H A D | fm801.c | 66 #define fm801_writew(chip,reg,value) outw((value), chip->port + FM801_##reg) 67 #define fm801_readw(chip,reg) inw(chip->port + FM801_##reg) 69 #define fm801_writel(chip,reg,value) outl((value), chip->port + FM801_##reg) 146 * struct fm801 - describes FM801 chip 236 static inline void fm801_iowrite16(struct fm801 *chip, unsigned short offset, u16 value) in fm801_iowrite16() argument 238 outw(value, chip->port + offset); in fm801_iowrite16() 241 static inline u16 fm801_ioread16(struct fm801 *chip, unsigne argument 258 fm801_ac97_is_ready(struct fm801 *chip, unsigned int iterations) fm801_ac97_is_ready() argument 270 fm801_ac97_is_valid(struct fm801 *chip, unsigned int iterations) fm801_ac97_is_valid() argument 282 snd_fm801_update_bits(struct fm801 *chip, unsigned short reg, unsigned short mask, unsigned short value) snd_fm801_update_bits() argument 303 struct fm801 *chip = ac97->private_data; snd_fm801_codec_write() local 326 struct fm801 *chip = ac97->private_data; snd_fm801_codec_read() local 398 struct fm801 *chip = snd_pcm_substream_chip(substream); snd_fm801_playback_trigger() local 433 struct fm801 *chip = snd_pcm_substream_chip(substream); snd_fm801_capture_trigger() local 467 struct fm801 *chip = snd_pcm_substream_chip(substream); snd_fm801_playback_prepare() local 500 struct fm801 *chip = snd_pcm_substream_chip(substream); snd_fm801_capture_prepare() local 527 struct fm801 *chip = snd_pcm_substream_chip(substream); snd_fm801_playback_pointer() local 544 struct fm801 *chip = snd_pcm_substream_chip(substream); snd_fm801_capture_pointer() local 561 struct fm801 *chip = dev_id; snd_fm801_interrupt() local 650 struct fm801 *chip = snd_pcm_substream_chip(substream); snd_fm801_playback_open() local 671 struct fm801 *chip = snd_pcm_substream_chip(substream); snd_fm801_capture_open() local 686 struct fm801 *chip = snd_pcm_substream_chip(substream); snd_fm801_playback_close() local 694 struct fm801 *chip = snd_pcm_substream_chip(substream); snd_fm801_capture_close() local 716 snd_fm801_pcm(struct fm801 *chip, int device) snd_fm801_pcm() argument 765 struct fm801 *chip = tea->private_data; snd_fm801_tea575x_set_pins() local 783 struct fm801 *chip = tea->private_data; snd_fm801_tea575x_get_pins() local 798 struct fm801 *chip = tea->private_data; snd_fm801_tea575x_set_direction() local 864 struct fm801 *chip = snd_kcontrol_chip(kcontrol); snd_fm801_get_single() local 880 struct fm801 *chip = snd_kcontrol_chip(kcontrol); snd_fm801_put_single() local 920 struct fm801 *chip = snd_kcontrol_chip(kcontrol); snd_fm801_get_double() local 942 struct fm801 *chip = snd_kcontrol_chip(kcontrol); snd_fm801_put_double() local 974 struct fm801 *chip = snd_kcontrol_chip(kcontrol); snd_fm801_get_mux() local 987 struct fm801 *chip = snd_kcontrol_chip(kcontrol); snd_fm801_put_mux() local 1031 struct fm801 *chip = bus->private_data; snd_fm801_mixer_free_ac97_bus() local 1037 struct fm801 *chip = ac97->private_data; snd_fm801_mixer_free_ac97() local 1045 snd_fm801_mixer(struct fm801 *chip) snd_fm801_mixer() argument 1091 wait_for_codec(struct fm801 *chip, unsigned int codec_id, unsigned short reg, unsigned long waits) wait_for_codec() argument 1108 reset_codec(struct fm801 *chip) reset_codec() argument 1119 snd_fm801_chip_multichannel_init(struct fm801 *chip) snd_fm801_chip_multichannel_init() argument 1150 snd_fm801_chip_init(struct fm801 *chip) snd_fm801_chip_init() argument 1175 snd_fm801_free(struct fm801 *chip) snd_fm801_free() argument 1201 struct fm801 *chip = device->device_data; snd_fm801_dev_free() local 1211 struct fm801 *chip; snd_fm801_create() local 1317 struct fm801 *chip; snd_card_fm801_probe() local 1400 struct fm801 *chip = card->private_data; snd_fm801_suspend() local 1421 struct fm801 *chip = card->private_data; snd_fm801_resume() local [all...] |
| /kernel/linux/linux-6.6/sound/pci/echoaudio/ |
| H A D | midi.c | 37 static int enable_midi_input(struct echoaudio *chip, char enable) in enable_midi_input() argument 39 dev_dbg(chip->card->dev, "enable_midi_input(%d)\n", enable); in enable_midi_input() 41 if (wait_handshake(chip)) in enable_midi_input() 45 chip->mtc_state = MIDI_IN_STATE_NORMAL; in enable_midi_input() 46 chip->comm_page->flags |= in enable_midi_input() 49 chip->comm_page->flags &= in enable_midi_input() 52 clear_handshake(chip); in enable_midi_input() 53 return send_vector(chip, DSP_VC_UPDATE_FLAGS); in enable_midi_input() 60 static int write_midi(struct echoaudio *chip, u8 *data, int bytes) in write_midi() argument 65 if (wait_handshake(chip)) in write_midi() 90 mtc_process_data(struct echoaudio *chip, short midi_byte) mtc_process_data() argument 116 midi_service_irq(struct echoaudio *chip) midi_service_irq() argument 156 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_input_open() local 167 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_input_trigger() local 181 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_input_close() local 191 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_output_open() local 203 struct echoaudio *chip = from_timer(chip, t, timer); snd_echo_midi_output_write() local 253 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_output_trigger() local 282 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_output_close() local 305 snd_echo_midi_create(struct snd_card *card, struct echoaudio *chip) snd_echo_midi_create() argument [all...] |
| H A D | gina20_dsp.c | 32 static int set_professional_spdif(struct echoaudio *chip, char prof); 33 static int update_flags(struct echoaudio *chip); 36 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw() argument 43 err = init_dsp_comm_page(chip); in init_hw() 45 dev_err(chip->card->dev, in init_hw() 50 chip->device_id = device_id; in init_hw() 51 chip->subdevice_id = subdevice_id; in init_hw() 52 chip->bad_board = true; in init_hw() 53 chip->dsp_code_to_load = FW_GINA20_DSP; in init_hw() 54 chip in init_hw() 72 set_mixer_defaults(struct echoaudio *chip) set_mixer_defaults() argument 80 detect_input_clocks(const struct echoaudio *chip) detect_input_clocks() argument 99 load_asic(struct echoaudio *chip) load_asic() argument 106 set_sample_rate(struct echoaudio *chip, u32 rate) set_sample_rate() argument 151 set_input_clock(struct echoaudio *chip, u16 clock) set_input_clock() argument 180 set_input_gain(struct echoaudio *chip, u16 input, int gain) set_input_gain() argument 197 update_flags(struct echoaudio *chip) update_flags() argument 207 set_professional_spdif(struct echoaudio *chip, char prof) set_professional_spdif() argument [all...] |
| /kernel/linux/linux-6.6/sound/sh/ |
| H A D | sh_dac_audio.c | 53 static void dac_audio_start_timer(struct snd_sh_dac *chip) in dac_audio_start_timer() argument 55 hrtimer_start(&chip->hrtimer, chip->wakeups_per_second, in dac_audio_start_timer() 59 static void dac_audio_stop_timer(struct snd_sh_dac *chip) in dac_audio_stop_timer() argument 61 hrtimer_cancel(&chip->hrtimer); in dac_audio_stop_timer() 64 static void dac_audio_reset(struct snd_sh_dac *chip) in dac_audio_reset() argument 66 dac_audio_stop_timer(chip); in dac_audio_reset() 67 chip->buffer_begin = chip->buffer_end = chip in dac_audio_reset() 72 dac_audio_set_rate(struct snd_sh_dac *chip) dac_audio_set_rate() argument 100 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_open() local 117 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_close() local 129 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_prepare() local 140 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_trigger() local 164 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_copy() local 183 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_silence() local 199 struct snd_sh_dac *chip = snd_pcm_substream_chip(substream); snd_sh_dac_pcm_pointer() local 217 snd_sh_dac_pcm(struct snd_sh_dac *chip, int device) snd_sh_dac_pcm() argument 247 snd_sh_dac_free(struct snd_sh_dac *chip) snd_sh_dac_free() argument 258 struct snd_sh_dac *chip = device->device_data; snd_sh_dac_dev_free() local 265 struct snd_sh_dac *chip = container_of(handle, struct snd_sh_dac, sh_dac_audio_timer() local 301 struct snd_sh_dac *chip; snd_sh_dac_create() local 345 struct snd_sh_dac *chip; snd_sh_dac_probe() local [all...] |
| /kernel/linux/linux-5.10/sound/pci/ymfpci/ |
| H A D | ymfpci_main.c | 32 static void snd_ymfpci_irq_wait(struct snd_ymfpci *chip); 34 static inline u8 snd_ymfpci_readb(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readb() argument 36 return readb(chip->reg_area_virt + offset); in snd_ymfpci_readb() 39 static inline void snd_ymfpci_writeb(struct snd_ymfpci *chip, u32 offset, u8 val) in snd_ymfpci_writeb() argument 41 writeb(val, chip->reg_area_virt + offset); in snd_ymfpci_writeb() 44 static inline u16 snd_ymfpci_readw(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readw() argument 46 return readw(chip->reg_area_virt + offset); in snd_ymfpci_readw() 49 static inline void snd_ymfpci_writew(struct snd_ymfpci *chip, u32 offset, u16 val) in snd_ymfpci_writew() argument 51 writew(val, chip->reg_area_virt + offset); in snd_ymfpci_writew() 54 static inline u32 snd_ymfpci_readl(struct snd_ymfpci *chip, u3 argument 59 snd_ymfpci_writel(struct snd_ymfpci *chip, u32 offset, u32 val) snd_ymfpci_writel() argument 64 snd_ymfpci_codec_ready(struct snd_ymfpci *chip, int secondary) snd_ymfpci_codec_ready() argument 83 struct snd_ymfpci *chip = ac97->private_data; snd_ymfpci_codec_write() local 93 struct snd_ymfpci *chip = ac97->private_data; snd_ymfpci_codec_read() local 165 snd_ymfpci_hw_start(struct snd_ymfpci *chip) snd_ymfpci_hw_start() argument 179 snd_ymfpci_hw_stop(struct snd_ymfpci *chip) snd_ymfpci_hw_stop() argument 205 voice_alloc(struct snd_ymfpci *chip, enum snd_ymfpci_voice_type type, int pair, struct snd_ymfpci_voice **rvoice) voice_alloc() argument 243 snd_ymfpci_voice_alloc(struct snd_ymfpci *chip, enum snd_ymfpci_voice_type type, int pair, struct snd_ymfpci_voice **rvoice) snd_ymfpci_voice_alloc() argument 267 snd_ymfpci_voice_free(struct snd_ymfpci *chip, struct snd_ymfpci_voice *pvoice) snd_ymfpci_voice_free() argument 290 snd_ymfpci_pcm_interrupt(struct snd_ymfpci *chip, struct snd_ymfpci_voice *voice) snd_ymfpci_pcm_interrupt() argument 349 struct snd_ymfpci *chip = ypcm->chip; snd_ymfpci_pcm_capture_interrupt() local 380 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_trigger() local 425 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_trigger() local 589 snd_ymfpci_ac3_init(struct snd_ymfpci *chip) snd_ymfpci_ac3_init() argument 611 snd_ymfpci_ac3_done(struct snd_ymfpci *chip) snd_ymfpci_ac3_done() argument 640 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_hw_free() local 663 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_prepare() local 687 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_hw_free() local 696 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_prepare() local 740 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_pointer() local 752 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_pointer() local 761 snd_ymfpci_irq_wait(struct snd_ymfpci *chip) snd_ymfpci_irq_wait() argument 779 struct snd_ymfpci *chip = dev_id; snd_ymfpci_interrupt() local 878 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_open_1() local 906 ymfpci_open_extension(struct snd_ymfpci *chip) ymfpci_open_extension() argument 919 ymfpci_close_extension(struct snd_ymfpci *chip) ymfpci_close_extension() argument 932 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_open() local 955 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_spdif_open() local 984 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_4ch_open() local 1006 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_open() local 1053 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_close() local 1067 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_spdif_close() local 1084 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_4ch_close() local 1097 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_close() local 1127 snd_ymfpci_pcm(struct snd_ymfpci *chip, int device) snd_ymfpci_pcm() argument 1161 snd_ymfpci_pcm2(struct snd_ymfpci *chip, int device) snd_ymfpci_pcm2() argument 1195 snd_ymfpci_pcm_spdif(struct snd_ymfpci *chip, int device) snd_ymfpci_pcm_spdif() argument 1236 snd_ymfpci_pcm_4ch(struct snd_ymfpci *chip, int device) snd_ymfpci_pcm_4ch() argument 1270 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_default_get() local 1283 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_default_put() local 1317 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_mask_get() local 1345 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_stream_get() local 1358 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_stream_put() local 1392 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_drec_source_get() local 1407 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_drec_source_put() local 1445 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_get_single() local 1463 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_put_single() local 1511 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_get_double() local 1528 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_put_double() local 1552 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_put_nativedacvol() local 1576 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_get_dup4ch() local 1583 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_put_dup4ch() local 1634 snd_ymfpci_get_gpio_out(struct snd_ymfpci *chip, int pin) snd_ymfpci_get_gpio_out() argument 1654 snd_ymfpci_set_gpio_out(struct snd_ymfpci *chip, int pin, int enable) snd_ymfpci_set_gpio_out() argument 1675 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_gpio_sw_get() local 1683 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_gpio_sw_put() local 1720 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_pcm_vol_get() local 1731 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_pcm_vol_put() local 1775 struct snd_ymfpci *chip = bus->private_data; snd_ymfpci_mixer_free_ac97_bus() local 1781 struct snd_ymfpci *chip = ac97->private_data; snd_ymfpci_mixer_free_ac97() local 1785 snd_ymfpci_mixer(struct snd_ymfpci *chip, int rear_switch) snd_ymfpci_mixer() argument 1891 struct snd_ymfpci *chip; snd_ymfpci_timer_start() local 1916 struct snd_ymfpci *chip; snd_ymfpci_timer_stop() local 1943 snd_ymfpci_timer(struct snd_ymfpci *chip, int device) snd_ymfpci_timer() argument 1972 struct snd_ymfpci *chip = entry->private_data; snd_ymfpci_proc_read() local 1980 snd_ymfpci_proc_init(struct snd_card *card, struct snd_ymfpci *chip) snd_ymfpci_proc_init() argument 2007 snd_ymfpci_enable_dsp(struct snd_ymfpci *chip) snd_ymfpci_enable_dsp() argument 2012 snd_ymfpci_disable_dsp(struct snd_ymfpci *chip) snd_ymfpci_disable_dsp() argument 2027 snd_ymfpci_request_firmware(struct snd_ymfpci *chip) snd_ymfpci_request_firmware() argument 2066 snd_ymfpci_download_image(struct snd_ymfpci *chip) snd_ymfpci_download_image() argument 2099 snd_ymfpci_memalloc(struct snd_ymfpci *chip) snd_ymfpci_memalloc() argument 2199 snd_ymfpci_free(struct snd_ymfpci *chip) snd_ymfpci_free() argument 2256 struct snd_ymfpci *chip = device->device_data; snd_ymfpci_dev_free() local 2293 struct snd_ymfpci *chip = card->private_data; snd_ymfpci_suspend() local 2315 struct snd_ymfpci *chip = card->private_data; snd_ymfpci_resume() local 2352 struct snd_ymfpci *chip; snd_ymfpci_create() local [all...] |
| /kernel/linux/linux-5.10/sound/sparc/ |
| H A D | cs4231.c | 129 #define CS4231U(chip, x) ((chip)->port + ((c_d_c_CS4231##x) << 2)) 175 #define APC_CHIP_RESET 0x01 /* Reset the chip */ 278 static void snd_cs4231_ready(struct snd_cs4231 *chip) in snd_cs4231_ready() argument 283 int val = __cs4231_readb(chip, CS4231U(chip, REGSEL)); in snd_cs4231_ready() 290 static void snd_cs4231_dout(struct snd_cs4231 *chip, unsigned char reg, in snd_cs4231_dout() argument 293 snd_cs4231_ready(chip); in snd_cs4231_dout() 295 if (__cs4231_readb(chip, CS4231U(chip, REGSE in snd_cs4231_dout() 306 snd_cs4231_outm(struct snd_cs4231 *chip, unsigned char reg, unsigned char mask, unsigned char value) snd_cs4231_outm() argument 316 snd_cs4231_out(struct snd_cs4231 *chip, unsigned char reg, unsigned char value) snd_cs4231_out() argument 324 snd_cs4231_in(struct snd_cs4231 *chip, unsigned char reg) snd_cs4231_in() argument 341 snd_cs4231_busy_wait(struct snd_cs4231 *chip) snd_cs4231_busy_wait() argument 358 snd_cs4231_mce_up(struct snd_cs4231 *chip) snd_cs4231_mce_up() argument 381 snd_cs4231_mce_down(struct snd_cs4231 *chip) snd_cs4231_mce_down() argument 446 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); cs4231_dma_trigger() local 477 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_trigger() local 534 snd_cs4231_get_format(struct snd_cs4231 *chip, int format, int channels) snd_cs4231_get_format() argument 562 snd_cs4231_calibrate_mute(struct snd_cs4231 *chip, int mute) snd_cs4231_calibrate_mute() argument 602 snd_cs4231_playback_format(struct snd_cs4231 *chip, struct snd_pcm_hw_params *params, unsigned char pdfr) snd_cs4231_playback_format() argument 626 snd_cs4231_capture_format(struct snd_cs4231 *chip, struct snd_pcm_hw_params *params, unsigned char cdfr) snd_cs4231_capture_format() argument 662 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_resolution() local 671 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_start() local 696 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_stop() local 707 snd_cs4231_init(struct snd_cs4231 *chip) snd_cs4231_init() argument 771 snd_cs4231_open(struct snd_cs4231 *chip, unsigned int mode) snd_cs4231_open() argument 806 snd_cs4231_close(struct snd_cs4231 *chip, unsigned int mode) snd_cs4231_close() argument 860 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_open() local 867 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_close() local 890 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_hw_params() local 903 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_prepare() local 929 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_hw_params() local 942 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_prepare() local 956 snd_cs4231_overrange(struct snd_cs4231 *chip) snd_cs4231_overrange() argument 970 snd_cs4231_play_callback(struct snd_cs4231 *chip) snd_cs4231_play_callback() argument 979 snd_cs4231_capture_callback(struct snd_cs4231 *chip) snd_cs4231_capture_callback() argument 991 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_pointer() local 1007 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_pointer() local 1020 snd_cs4231_probe(struct snd_cs4231 *chip) snd_cs4231_probe() argument 1133 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_open() local 1152 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_open() local 1171 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_close() local 1181 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_close() local 1213 struct snd_cs4231 *chip = card->private_data; snd_cs4231_pcm() local 1241 struct snd_cs4231 *chip = card->private_data; snd_cs4231_timer() local 1280 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_get_mux() local 1296 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_put_mux() local 1338 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_get_single() local 1361 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_put_single() local 1403 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_get_double() local 1434 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_put_double() local 1523 struct snd_cs4231 *chip = card->private_data; snd_cs4231_mixer() local 1546 struct snd_cs4231 *chip; cs4231_attach_begin() local 1576 struct snd_cs4231 *chip = card->private_data; cs4231_attach_finish() local 1612 struct snd_cs4231 *chip = dev_id; snd_cs4231_sbus_interrupt() local 1754 snd_cs4231_sbus_free(struct snd_cs4231 *chip) snd_cs4231_sbus_free() argument 1782 struct snd_cs4231 *chip = card->private_data; snd_cs4231_sbus_create() local 1872 struct snd_cs4231 *chip = cookie; snd_cs4231_ebus_play_callback() local 1880 struct snd_cs4231 *chip = cookie; snd_cs4231_ebus_capture_callback() local 1914 snd_cs4231_ebus_free(struct snd_cs4231 *chip) snd_cs4231_ebus_free() argument 1948 struct snd_cs4231 *chip = card->private_data; snd_cs4231_ebus_create() local 2073 struct snd_cs4231 *chip = dev_get_drvdata(&op->dev); cs4231_remove() local [all...] |
| /kernel/linux/linux-6.6/sound/sparc/ |
| H A D | cs4231.c | 128 #define CS4231U(chip, x) ((chip)->port + ((c_d_c_CS4231##x) << 2)) 174 #define APC_CHIP_RESET 0x01 /* Reset the chip */ 277 static void snd_cs4231_ready(struct snd_cs4231 *chip) in snd_cs4231_ready() argument 282 int val = __cs4231_readb(chip, CS4231U(chip, REGSEL)); in snd_cs4231_ready() 289 static void snd_cs4231_dout(struct snd_cs4231 *chip, unsigned char reg, in snd_cs4231_dout() argument 292 snd_cs4231_ready(chip); in snd_cs4231_dout() 294 if (__cs4231_readb(chip, CS4231U(chip, REGSE in snd_cs4231_dout() 305 snd_cs4231_outm(struct snd_cs4231 *chip, unsigned char reg, unsigned char mask, unsigned char value) snd_cs4231_outm() argument 315 snd_cs4231_out(struct snd_cs4231 *chip, unsigned char reg, unsigned char value) snd_cs4231_out() argument 323 snd_cs4231_in(struct snd_cs4231 *chip, unsigned char reg) snd_cs4231_in() argument 340 snd_cs4231_busy_wait(struct snd_cs4231 *chip) snd_cs4231_busy_wait() argument 357 snd_cs4231_mce_up(struct snd_cs4231 *chip) snd_cs4231_mce_up() argument 380 snd_cs4231_mce_down(struct snd_cs4231 *chip) snd_cs4231_mce_down() argument 445 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); cs4231_dma_trigger() local 476 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_trigger() local 533 snd_cs4231_get_format(struct snd_cs4231 *chip, int format, int channels) snd_cs4231_get_format() argument 561 snd_cs4231_calibrate_mute(struct snd_cs4231 *chip, int mute) snd_cs4231_calibrate_mute() argument 601 snd_cs4231_playback_format(struct snd_cs4231 *chip, struct snd_pcm_hw_params *params, unsigned char pdfr) snd_cs4231_playback_format() argument 625 snd_cs4231_capture_format(struct snd_cs4231 *chip, struct snd_pcm_hw_params *params, unsigned char cdfr) snd_cs4231_capture_format() argument 661 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_resolution() local 670 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_start() local 695 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_stop() local 706 snd_cs4231_init(struct snd_cs4231 *chip) snd_cs4231_init() argument 770 snd_cs4231_open(struct snd_cs4231 *chip, unsigned int mode) snd_cs4231_open() argument 805 snd_cs4231_close(struct snd_cs4231 *chip, unsigned int mode) snd_cs4231_close() argument 859 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_open() local 866 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_close() local 889 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_hw_params() local 902 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_prepare() local 928 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_hw_params() local 941 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_prepare() local 955 snd_cs4231_overrange(struct snd_cs4231 *chip) snd_cs4231_overrange() argument 969 snd_cs4231_play_callback(struct snd_cs4231 *chip) snd_cs4231_play_callback() argument 978 snd_cs4231_capture_callback(struct snd_cs4231 *chip) snd_cs4231_capture_callback() argument 990 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_pointer() local 1006 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_pointer() local 1019 snd_cs4231_probe(struct snd_cs4231 *chip) snd_cs4231_probe() argument 1132 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_open() local 1151 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_open() local 1170 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_close() local 1180 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_close() local 1212 struct snd_cs4231 *chip = card->private_data; snd_cs4231_pcm() local 1240 struct snd_cs4231 *chip = card->private_data; snd_cs4231_timer() local 1279 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_get_mux() local 1295 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_put_mux() local 1337 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_get_single() local 1360 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_put_single() local 1402 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_get_double() local 1433 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_put_double() local 1522 struct snd_cs4231 *chip = card->private_data; snd_cs4231_mixer() local 1545 struct snd_cs4231 *chip; cs4231_attach_begin() local 1575 struct snd_cs4231 *chip = card->private_data; cs4231_attach_finish() local 1611 struct snd_cs4231 *chip = dev_id; snd_cs4231_sbus_interrupt() local 1753 snd_cs4231_sbus_free(struct snd_cs4231 *chip) snd_cs4231_sbus_free() argument 1781 struct snd_cs4231 *chip = card->private_data; snd_cs4231_sbus_create() local 1872 struct snd_cs4231 *chip = cookie; snd_cs4231_ebus_play_callback() local 1880 struct snd_cs4231 *chip = cookie; snd_cs4231_ebus_capture_callback() local 1914 snd_cs4231_ebus_free(struct snd_cs4231 *chip) snd_cs4231_ebus_free() argument 1948 struct snd_cs4231 *chip = card->private_data; snd_cs4231_ebus_create() local 2074 struct snd_cs4231 *chip = dev_get_drvdata(&op->dev); cs4231_remove() local [all...] |
| /kernel/linux/linux-5.10/sound/drivers/vx/ |
| H A 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() argument 51 if ((snd_vx_inb(chip, reg) & mask) == bit) in snd_vx_check_reg_bit() 55 snd_printd(KERN_DEBUG "vx_check_reg_bit: timeout, reg=%s, mask=0x%x, val=0x%x\n", reg_names[reg], mask, snd_vx_inb(chip, reg)); in snd_vx_check_reg_bit() 69 static int vx_send_irq_dsp(struct vx_core *chip, int num) in vx_send_irq_dsp() argument 74 if (snd_vx_check_reg_bit(chip, VX_CVR, CVR_HC, 0, 200) < 0) in vx_send_irq_dsp() 78 if (vx_has_new_dsp(chip)) in vx_send_irq_dsp() 80 vx_outb(chip, CVR, (nirq >> 1) | CVR_HC); in vx_send_irq_dsp() 90 static int vx_reset_chk(struct vx_core *chip) in vx_reset_chk() argument 93 if (vx_send_irq_dsp(chip, IRQ_RESET_CHK) < 0) in vx_reset_chk() 96 if (vx_check_isr(chip, ISR_CH in vx_reset_chk() 109 vx_transfer_end(struct vx_core *chip, int cmd) vx_transfer_end() argument 147 vx_read_status(struct vx_core *chip, struct vx_rmh *rmh) vx_read_status() argument 228 vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh) vx_send_msg_nolock() argument 333 vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh) vx_send_msg() argument 355 vx_send_rih_nolock(struct vx_core *chip, int cmd) vx_send_rih_nolock() argument 392 vx_send_rih(struct vx_core *chip, int cmd) vx_send_rih() argument 409 snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *boot) snd_vx_load_boot_image() argument 466 vx_test_irq_src(struct vx_core *chip, unsigned int *ret) vx_test_irq_src() argument 487 struct vx_core *chip = dev; snd_vx_threaded_irq_handler() local 535 struct vx_core *chip = dev; snd_vx_irq_handler() local 549 vx_reset_board(struct vx_core *chip, int cold_reset) vx_reset_board() argument 591 struct vx_core *chip = entry->private_data; vx_proc_read() local 632 vx_proc_init(struct vx_core *chip) vx_proc_init() argument 643 snd_vx_dsp_boot(struct vx_core *chip, const struct firmware *boot) snd_vx_dsp_boot() argument 665 snd_vx_dsp_load(struct vx_core *chip, const struct firmware *dsp) snd_vx_dsp_load() argument 718 snd_vx_suspend(struct vx_core *chip) snd_vx_suspend() argument 731 snd_vx_resume(struct vx_core *chip) snd_vx_resume() argument 774 struct vx_core *chip; snd_vx_create() local [all...] |
| /kernel/linux/linux-6.6/sound/drivers/vx/ |
| H A 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() argument 51 if ((snd_vx_inb(chip, reg) & mask) == bit) in snd_vx_check_reg_bit() 55 snd_printd(KERN_DEBUG "vx_check_reg_bit: timeout, reg=%s, mask=0x%x, val=0x%x\n", reg_names[reg], mask, snd_vx_inb(chip, reg)); in snd_vx_check_reg_bit() 69 static int vx_send_irq_dsp(struct vx_core *chip, int num) in vx_send_irq_dsp() argument 74 if (snd_vx_check_reg_bit(chip, VX_CVR, CVR_HC, 0, 200) < 0) in vx_send_irq_dsp() 78 if (vx_has_new_dsp(chip)) in vx_send_irq_dsp() 80 vx_outb(chip, CVR, (nirq >> 1) | CVR_HC); in vx_send_irq_dsp() 90 static int vx_reset_chk(struct vx_core *chip) in vx_reset_chk() argument 93 if (vx_send_irq_dsp(chip, IRQ_RESET_CHK) < 0) in vx_reset_chk() 96 if (vx_check_isr(chip, ISR_CH in vx_reset_chk() 109 vx_transfer_end(struct vx_core *chip, int cmd) vx_transfer_end() argument 152 vx_read_status(struct vx_core *chip, struct vx_rmh *rmh) vx_read_status() argument 233 vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh) vx_send_msg_nolock() argument 346 vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh) vx_send_msg() argument 368 vx_send_rih_nolock(struct vx_core *chip, int cmd) vx_send_rih_nolock() argument 409 vx_send_rih(struct vx_core *chip, int cmd) vx_send_rih() argument 426 snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *boot) snd_vx_load_boot_image() argument 483 vx_test_irq_src(struct vx_core *chip, unsigned int *ret) vx_test_irq_src() argument 504 struct vx_core *chip = dev; snd_vx_threaded_irq_handler() local 552 struct vx_core *chip = dev; snd_vx_irq_handler() local 566 vx_reset_board(struct vx_core *chip, int cold_reset) vx_reset_board() argument 608 struct vx_core *chip = entry->private_data; vx_proc_read() local 649 vx_proc_init(struct vx_core *chip) vx_proc_init() argument 660 snd_vx_dsp_boot(struct vx_core *chip, const struct firmware *boot) snd_vx_dsp_boot() argument 683 snd_vx_dsp_load(struct vx_core *chip, const struct firmware *dsp) snd_vx_dsp_load() argument 738 snd_vx_suspend(struct vx_core *chip) snd_vx_suspend() argument 751 snd_vx_resume(struct vx_core *chip) snd_vx_resume() argument 801 struct vx_core *chip; snd_vx_create() local [all...] |
| /kernel/linux/linux-5.10/drivers/usb/typec/ |
| H A D | stusb160x.c | 240 static bool stusb160x_get_vconn(struct stusb160x *chip) in stusb160x_get_vconn() argument 245 ret = regmap_read(chip->regmap, STUSB160X_CC_CAPABILITY_CTRL, &val); in stusb160x_get_vconn() 247 dev_err(chip->dev, "Unable to get Vconn status: %d\n", ret); in stusb160x_get_vconn() 254 static int stusb160x_set_vconn(struct stusb160x *chip, bool on) in stusb160x_set_vconn() argument 259 if (chip->vconn_supply) { in stusb160x_set_vconn() 261 ret = regulator_enable(chip->vconn_supply); in stusb160x_set_vconn() 263 dev_err(chip->dev, in stusb160x_set_vconn() 269 regulator_disable(chip->vconn_supply); in stusb160x_set_vconn() 274 ret = regmap_update_bits(chip->regmap, STUSB160X_VCONN_MONITORING_CTRL, in stusb160x_set_vconn() 283 if (chip in stusb160x_set_vconn() 289 stusb160x_get_pwr_opmode(struct stusb160x *chip) stusb160x_get_pwr_opmode() argument 327 stusb160x_set_data_role(struct stusb160x *chip, enum typec_data_role data_role, bool attached) stusb160x_set_data_role() argument 344 stusb160x_attach(struct stusb160x *chip, u32 status) stusb160x_attach() argument 386 stusb160x_detach(struct stusb160x *chip, u32 status) stusb160x_detach() argument 404 struct stusb160x *chip = data; stusb160x_irq_handler() local 436 stusb160x_irq_init(struct stusb160x *chip, int irq) stusb160x_irq_init() argument 475 stusb160x_chip_init(struct stusb160x *chip) stusb160x_chip_init() argument 533 stusb160x_get_fw_caps(struct stusb160x *chip, struct fwnode_handle *fwnode) stusb160x_get_fw_caps() argument 579 stusb160x_get_caps(struct stusb160x *chip) stusb160x_get_caps() argument 636 struct stusb160x *chip; stusb160x_probe() local 797 struct stusb160x *chip = i2c_get_clientdata(client); stusb160x_remove() local 823 struct stusb160x *chip = dev_get_drvdata(dev); stusb160x_suspend() local 833 struct stusb160x *chip = dev_get_drvdata(dev); stusb160x_resume() local [all...] |
| /kernel/linux/linux-6.6/drivers/usb/typec/ |
| H A D | stusb160x.c | 240 static bool stusb160x_get_vconn(struct stusb160x *chip) in stusb160x_get_vconn() argument 245 ret = regmap_read(chip->regmap, STUSB160X_CC_CAPABILITY_CTRL, &val); in stusb160x_get_vconn() 247 dev_err(chip->dev, "Unable to get Vconn status: %d\n", ret); in stusb160x_get_vconn() 254 static int stusb160x_set_vconn(struct stusb160x *chip, bool on) in stusb160x_set_vconn() argument 259 if (chip->vconn_supply) { in stusb160x_set_vconn() 261 ret = regulator_enable(chip->vconn_supply); in stusb160x_set_vconn() 263 dev_err(chip->dev, in stusb160x_set_vconn() 269 regulator_disable(chip->vconn_supply); in stusb160x_set_vconn() 274 ret = regmap_update_bits(chip->regmap, STUSB160X_VCONN_MONITORING_CTRL, in stusb160x_set_vconn() 283 if (chip in stusb160x_set_vconn() 289 stusb160x_get_pwr_opmode(struct stusb160x *chip) stusb160x_get_pwr_opmode() argument 327 stusb160x_set_data_role(struct stusb160x *chip, enum typec_data_role data_role, bool attached) stusb160x_set_data_role() argument 344 stusb160x_attach(struct stusb160x *chip, u32 status) stusb160x_attach() argument 386 stusb160x_detach(struct stusb160x *chip, u32 status) stusb160x_detach() argument 404 struct stusb160x *chip = data; stusb160x_irq_handler() local 436 stusb160x_irq_init(struct stusb160x *chip, int irq) stusb160x_irq_init() argument 475 stusb160x_chip_init(struct stusb160x *chip) stusb160x_chip_init() argument 533 stusb160x_get_fw_caps(struct stusb160x *chip, struct fwnode_handle *fwnode) stusb160x_get_fw_caps() argument 579 stusb160x_get_caps(struct stusb160x *chip) stusb160x_get_caps() argument 636 struct stusb160x *chip; stusb160x_probe() local 803 struct stusb160x *chip = i2c_get_clientdata(client); stusb160x_remove() local 827 struct stusb160x *chip = dev_get_drvdata(dev); stusb160x_suspend() local 837 struct stusb160x *chip = dev_get_drvdata(dev); stusb160x_resume() local [all...] |
| /kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
| H A D | nand_base.c | 100 static int check_offs_len(struct nand_chip *chip, loff_t ofs, uint64_t len) in check_offs_len() argument 105 if (ofs & ((1ULL << chip->phys_erase_shift) - 1)) { in check_offs_len() 111 if (len & ((1ULL << chip->phys_erase_shift) - 1)) { in check_offs_len() 165 * @chip: NAND chip object 166 * @cs: the CS line to select. Note that this CS id is always from the chip 169 * Select a NAND target so that further operations executed on @chip go to the 172 void nand_select_target(struct nand_chip *chip, unsigned int cs) in nand_select_target() argument 178 if (WARN_ON(cs > nanddev_ntargets(&chip->base))) in nand_select_target() 181 chip in nand_select_target() 195 nand_deselect_target(struct nand_chip *chip) nand_deselect_target() argument 210 nand_release_device(struct nand_chip *chip) nand_release_device() argument 226 nand_bbm_get_next_page(struct nand_chip *chip, int page) nand_bbm_get_next_page() argument 253 nand_block_bad(struct nand_chip *chip, loff_t ofs) nand_block_bad() argument 292 nand_region_is_secured(struct nand_chip *chip, loff_t offset, u64 size) nand_region_is_secured() argument 313 nand_isbad_bbm(struct nand_chip *chip, loff_t ofs) nand_isbad_bbm() argument 339 nand_get_device(struct nand_chip *chip) nand_get_device() argument 361 nand_check_wp(struct nand_chip *chip) nand_check_wp() argument 385 nand_fill_oob(struct nand_chip *chip, uint8_t *oob, size_t len, struct mtd_oob_ops *ops) nand_fill_oob() argument 424 nand_do_write_oob(struct nand_chip *chip, loff_t to, struct mtd_oob_ops *ops) nand_do_write_oob() argument 499 nand_default_block_markbad(struct nand_chip *chip, loff_t ofs) nand_default_block_markbad() argument 538 nand_markbad_bbm(struct nand_chip *chip, loff_t ofs) nand_markbad_bbm() argument 565 nand_block_markbad_lowlevel(struct nand_chip *chip, loff_t ofs) nand_block_markbad_lowlevel() argument 608 struct nand_chip *chip = mtd_to_nand(mtd); nand_block_isreserved() local 625 nand_block_checkbad(struct nand_chip *chip, loff_t ofs, int allowbbt) nand_block_checkbad() argument 651 nand_soft_waitrdy(struct nand_chip *chip, unsigned long timeout_ms) nand_soft_waitrdy() argument 719 nand_gpio_waitrdy(struct nand_chip *chip, struct gpio_desc *gpiod, unsigned long timeout_ms) nand_gpio_waitrdy() argument 750 panic_nand_wait(struct nand_chip *chip, unsigned long timeo) panic_nand_wait() argument 773 nand_supports_get_features(struct nand_chip *chip, int addr) nand_supports_get_features() argument 779 nand_supports_set_features(struct nand_chip *chip, int addr) nand_supports_set_features() argument 794 nand_reset_interface(struct nand_chip *chip, int chipnr) nand_reset_interface() argument 835 nand_setup_interface(struct nand_chip *chip, int chipnr) nand_setup_interface() argument 926 nand_choose_best_sdr_timings(struct nand_chip *chip, struct nand_interface_config *iface, struct nand_sdr_timings *spec_timings) nand_choose_best_sdr_timings() argument 977 nand_choose_best_nvddr_timings(struct nand_chip *chip, struct nand_interface_config *iface, struct nand_nvddr_timings *spec_timings) nand_choose_best_nvddr_timings() argument 1027 nand_choose_best_timings(struct nand_chip *chip, struct nand_interface_config *iface) nand_choose_best_timings() argument 1054 nand_choose_interface_config(struct nand_chip *chip) nand_choose_interface_config() argument 1089 nand_fill_column_cycles(struct nand_chip *chip, u8 *addrs, unsigned int offset_in_page) nand_fill_column_cycles() argument 1131 nand_sp_exec_read_page_op(struct nand_chip *chip, unsigned int page, unsigned int offset_in_page, void *buf, unsigned int len) nand_sp_exec_read_page_op() argument 1174 nand_lp_exec_read_page_op(struct nand_chip *chip, unsigned int page, unsigned int offset_in_page, void *buf, unsigned int len) nand_lp_exec_read_page_op() argument 1211 rawnand_cap_cont_reads(struct nand_chip *chip) rawnand_cap_cont_reads() argument 1228 nand_lp_exec_cont_read_page_op(struct nand_chip *chip, unsigned int page, unsigned int offset_in_page, void *buf, unsigned int len, bool check_only) nand_lp_exec_cont_read_page_op() argument 1303 rawnand_cont_read_ongoing(struct nand_chip *chip, unsigned int page) rawnand_cont_read_ongoing() argument 1321 nand_read_page_op(struct nand_chip *chip, unsigned int page, unsigned int offset_in_page, void *buf, unsigned int len) nand_read_page_op() argument 1368 nand_read_param_page_op(struct nand_chip *chip, u8 page, void *buf, unsigned int len) nand_read_param_page_op() argument 1417 nand_change_read_column_op(struct nand_chip *chip, unsigned int offset_in_page, void *buf, unsigned int len, bool force_8bit) nand_change_read_column_op() argument 1481 nand_read_oob_op(struct nand_chip *chip, unsigned int page, unsigned int offset_in_oob, void *buf, unsigned int len) nand_read_oob_op() argument 1505 nand_exec_prog_page_op(struct nand_chip *chip, unsigned int page, unsigned int offset_in_page, const void *buf, unsigned int len, bool prog) nand_exec_prog_page_op() argument 1584 nand_prog_page_begin_op(struct nand_chip *chip, unsigned int page, unsigned int offset_in_page, const void *buf, unsigned int len) nand_prog_page_begin_op() argument 1618 nand_prog_page_end_op(struct nand_chip *chip) nand_prog_page_end_op() argument 1670 nand_prog_page_op(struct nand_chip *chip, unsigned int page, unsigned int offset_in_page, const void *buf, unsigned int len) nand_prog_page_op() argument 1725 nand_change_write_column_op(struct nand_chip *chip, unsigned int offset_in_page, const void *buf, unsigned int len, bool force_8bit) nand_change_write_column_op() argument 1788 nand_readid_op(struct nand_chip *chip, u8 addr, void *buf, unsigned int len) nand_readid_op() argument 1854 nand_status_op(struct nand_chip *chip, u8 *status) nand_status_op() argument 1903 nand_exit_status_op(struct nand_chip *chip) nand_exit_status_op() argument 1931 nand_erase_op(struct nand_chip *chip, unsigned int eraseblock) nand_erase_op() argument 1992 nand_set_features_op(struct nand_chip *chip, u8 feature, const void *data) nand_set_features_op() argument 2042 nand_get_features_op(struct nand_chip *chip, u8 feature, void *data) nand_get_features_op() argument 2085 nand_wait_rdy_op(struct nand_chip *chip, unsigned int timeout_ms, unsigned int delay_ns) nand_wait_rdy_op() argument 2117 nand_reset_op(struct nand_chip *chip) nand_reset_op() argument 2154 nand_read_data_op(struct nand_chip *chip, void *buf, unsigned int len, bool force_8bit, bool check_only) nand_read_data_op() argument 2237 nand_write_data_op(struct nand_chip *chip, const void *buf, unsigned int len, bool force_8bit) nand_write_data_op() argument 2489 nand_op_parser_exec_op(struct nand_chip *chip, const struct nand_op_parser *parser, const struct nand_operation *op, bool check_only) nand_op_parser_exec_op() argument 2691 nand_reset(struct nand_chip *chip, int chipnr) nand_reset() argument 2727 nand_get_features(struct nand_chip *chip, int addr, u8 *subfeature_param) nand_get_features() argument 2748 nand_set_features(struct nand_chip *chip, int addr, u8 *subfeature_param) nand_set_features() argument 2900 nand_read_page_raw_notsupp(struct nand_chip *chip, u8 *buf, int oob_required, int page) nand_read_page_raw_notsupp() argument 2915 nand_read_page_raw(struct nand_chip *chip, uint8_t *buf, int oob_required, int page) nand_read_page_raw() argument 2951 nand_monolithic_read_page_raw(struct nand_chip *chip, u8 *buf, int oob_required, int page) nand_monolithic_read_page_raw() argument 2986 nand_read_page_raw_syndrome(struct nand_chip *chip, uint8_t *buf, int oob_required, int page) nand_read_page_raw_syndrome() argument 3048 nand_read_page_swecc(struct nand_chip *chip, uint8_t *buf, int oob_required, int page) nand_read_page_swecc() argument 3095 nand_read_subpage(struct nand_chip *chip, uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi, int page) nand_read_subpage() argument 3207 nand_read_page_hwecc(struct nand_chip *chip, uint8_t *buf, int oob_required, int page) nand_read_page_hwecc() argument 3280 nand_read_page_hwecc_oob_first(struct nand_chip *chip, uint8_t *buf, int oob_required, int page) nand_read_page_hwecc_oob_first() argument 3346 nand_read_page_syndrome(struct nand_chip *chip, uint8_t *buf, int oob_required, int page) nand_read_page_syndrome() argument 3435 nand_transfer_oob(struct nand_chip *chip, uint8_t *oob, struct mtd_oob_ops *ops, size_t len) nand_transfer_oob() argument 3460 rawnand_enable_cont_reads(struct nand_chip *chip, unsigned int page, u32 readlen, int col) rawnand_enable_cont_reads() argument 3490 rawnand_cont_read_skip_first_page(struct nand_chip *chip, unsigned int page) rawnand_cont_read_skip_first_page() argument 3511 nand_setup_read_retry(struct nand_chip *chip, int retry_mode) nand_setup_read_retry() argument 3524 nand_wait_readrdy(struct nand_chip *chip) nand_wait_readrdy() argument 3543 nand_do_read_ops(struct nand_chip *chip, loff_t from, struct mtd_oob_ops *ops) nand_do_read_ops() argument 3726 nand_read_oob_std(struct nand_chip *chip, int page) nand_read_oob_std() argument 3740 nand_read_oob_syndrome(struct nand_chip *chip, int page) nand_read_oob_syndrome() argument 3793 nand_write_oob_std(struct nand_chip *chip, int page) nand_write_oob_std() argument 3808 nand_write_oob_syndrome(struct nand_chip *chip, int page) nand_write_oob_syndrome() argument 3883 nand_do_read_oob(struct nand_chip *chip, loff_t from, struct mtd_oob_ops *ops) nand_do_read_oob() argument 3968 struct nand_chip *chip = mtd_to_nand(mtd); nand_read_oob() local 4008 nand_write_page_raw_notsupp(struct nand_chip *chip, const u8 *buf, int oob_required, int page) nand_write_page_raw_notsupp() argument 4023 nand_write_page_raw(struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) nand_write_page_raw() argument 4060 nand_monolithic_write_page_raw(struct nand_chip *chip, const u8 *buf, int oob_required, int page) nand_monolithic_write_page_raw() argument 4089 nand_write_page_raw_syndrome(struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) nand_write_page_raw_syndrome() argument 4151 nand_write_page_swecc(struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) nand_write_page_swecc() argument 4180 nand_write_page_hwecc(struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) nand_write_page_hwecc() argument 4226 nand_write_subpage_hwecc(struct nand_chip *chip, uint32_t offset, uint32_t data_len, const uint8_t *buf, int oob_required, int page) nand_write_subpage_hwecc() argument 4297 nand_write_page_syndrome(struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) nand_write_page_syndrome() argument 4367 nand_write_page(struct nand_chip *chip, uint32_t offset, int data_len, const uint8_t *buf, int oob_required, int page, int raw) nand_write_page() argument 4405 nand_do_write_ops(struct nand_chip *chip, loff_t to, struct mtd_oob_ops *ops) nand_do_write_ops() argument 4544 struct nand_chip *chip = mtd_to_nand(mtd); panic_nand_write() local 4574 struct nand_chip *chip = mtd_to_nand(mtd); nand_write_oob() local 4621 nand_erase_nand(struct nand_chip *chip, struct erase_info *instr, int allowbbt) nand_erase_nand() argument 4722 struct nand_chip *chip = mtd_to_nand(mtd); nand_sync() local 4739 struct nand_chip *chip = mtd_to_nand(mtd); nand_block_isbad() local 4784 struct nand_chip *chip = mtd_to_nand(mtd); nand_suspend() local 4803 struct nand_chip *chip = mtd_to_nand(mtd); nand_resume() local 4837 struct nand_chip *chip = mtd_to_nand(mtd); nand_lock() local 4853 struct nand_chip *chip = mtd_to_nand(mtd); nand_unlock() local 4862 nand_set_defaults(struct nand_chip *chip) nand_set_defaults() argument 4968 nand_decode_ext_id(struct nand_chip *chip) nand_decode_ext_id() argument 5006 nand_decode_id(struct nand_chip *chip, struct nand_flash_dev *type) nand_decode_id() argument 5029 nand_decode_bbm_options(struct nand_chip *chip) nand_decode_bbm_options() argument 5045 find_full_id_nand(struct nand_chip *chip, struct nand_flash_dev *type) find_full_id_nand() argument 5089 nand_manufacturer_detect(struct nand_chip *chip) nand_manufacturer_detect() argument 5115 nand_manufacturer_init(struct nand_chip *chip) nand_manufacturer_init() argument 5130 nand_manufacturer_cleanup(struct nand_chip *chip) nand_manufacturer_cleanup() argument 5144 rawnand_check_data_only_read_support(struct nand_chip *chip) rawnand_check_data_only_read_support() argument 5151 rawnand_early_check_supported_ops(struct nand_chip *chip) rawnand_early_check_supported_ops() argument 5162 rawnand_check_cont_read_support(struct nand_chip *chip) rawnand_check_cont_read_support() argument 5177 rawnand_late_check_supported_ops(struct nand_chip *chip) rawnand_late_check_supported_ops() argument 5199 nand_detect(struct nand_chip *chip, struct nand_flash_dev *type) nand_detect() argument 5470 of_get_nand_ecc_legacy_user_config(struct nand_chip *chip) of_get_nand_ecc_legacy_user_config() argument 5485 of_get_nand_bus_width(struct nand_chip *chip) of_get_nand_bus_width() argument 5505 of_get_nand_secure_regions(struct nand_chip *chip) of_get_nand_secure_regions() argument 5573 rawnand_dt_init(struct nand_chip *chip) rawnand_dt_init() argument 5633 nand_scan_ident(struct nand_chip *chip, unsigned int maxchips, struct nand_flash_dev *table) nand_scan_ident() argument 5714 nand_scan_ident_cleanup(struct nand_chip *chip) nand_scan_ident_cleanup() argument 5720 rawnand_sw_hamming_init(struct nand_chip *chip) rawnand_sw_hamming_init() argument 5750 rawnand_sw_hamming_calculate(struct nand_chip *chip, const unsigned char *buf, unsigned char *code) rawnand_sw_hamming_calculate() argument 5760 rawnand_sw_hamming_correct(struct nand_chip *chip, unsigned char *buf, unsigned char *read_ecc, unsigned char *calc_ecc) rawnand_sw_hamming_correct() argument 5771 rawnand_sw_hamming_cleanup(struct nand_chip *chip) rawnand_sw_hamming_cleanup() argument 5779 rawnand_sw_bch_init(struct nand_chip *chip) rawnand_sw_bch_init() argument 5804 rawnand_sw_bch_calculate(struct nand_chip *chip, const unsigned char *buf, unsigned char *code) rawnand_sw_bch_calculate() argument 5813 rawnand_sw_bch_correct(struct nand_chip *chip, unsigned char *buf, unsigned char *read_ecc, unsigned char *calc_ecc) rawnand_sw_bch_correct() argument 5822 rawnand_sw_bch_cleanup(struct nand_chip *chip) rawnand_sw_bch_cleanup() argument 5830 nand_set_ecc_on_host_ops(struct nand_chip *chip) nand_set_ecc_on_host_ops() argument 5889 nand_set_ecc_soft_ops(struct nand_chip *chip) nand_set_ecc_soft_ops() argument 5977 nand_check_ecc_caps(struct nand_chip *chip, const struct nand_ecc_caps *caps, int oobavail) nand_check_ecc_caps() argument 6031 nand_match_ecc_req(struct nand_chip *chip, const struct nand_ecc_caps *caps, int oobavail) nand_match_ecc_req() argument 6114 nand_maximize_ecc(struct nand_chip *chip, const struct nand_ecc_caps *caps, int oobavail) nand_maximize_ecc() argument 6192 nand_ecc_choose_conf(struct nand_chip *chip, const struct nand_ecc_caps *caps, int oobavail) nand_ecc_choose_conf() argument 6216 struct nand_chip *chip = container_of(nand, struct nand_chip, rawnand_erase() local 6233 struct nand_chip *chip = container_of(nand, struct nand_chip, rawnand_markbad() local 6241 struct nand_chip *chip = container_of(nand, struct nand_chip, rawnand_isbad() local 6266 nand_scan_tail(struct nand_chip *chip) nand_scan_tail() argument 6575 nand_attach(struct nand_chip *chip) nand_attach() argument 6583 nand_detach(struct nand_chip *chip) nand_detach() argument 6599 nand_scan_with_ids(struct nand_chip *chip, unsigned int maxchips, struct nand_flash_dev *ids) nand_scan_with_ids() argument 6634 nand_cleanup(struct nand_chip *chip) nand_cleanup() argument [all...] |
| /kernel/linux/linux-6.6/sound/pci/lx6464es/ |
| H A D | lx6464es.c | 92 static int lx_set_granularity(struct lx6464es *chip, u32 gran); 95 static int lx_hardware_open(struct lx6464es *chip, in lx_hardware_open() argument 105 dev_dbg(chip->card->dev, "allocating pipe for %d channels\n", channels); in lx_hardware_open() 106 err = lx_pipe_allocate(chip, 0, is_capture, channels); in lx_hardware_open() 108 dev_err(chip->card->dev, LXP "allocating pipe failed\n"); in lx_hardware_open() 112 err = lx_set_granularity(chip, period_size); in lx_hardware_open() 114 dev_err(chip->card->dev, "setting granularity to %ld failed\n", in lx_hardware_open() 122 static int lx_hardware_start(struct lx6464es *chip, in lx_hardware_start() argument 129 dev_dbg(chip->card->dev, "setting stream format\n"); in lx_hardware_start() 130 err = lx_stream_set_format(chip, runtim in lx_hardware_start() 154 lx_hardware_stop(struct lx6464es *chip, struct snd_pcm_substream *substream) lx_hardware_stop() argument 185 lx_hardware_close(struct lx6464es *chip, struct snd_pcm_substream *substream) lx_hardware_close() argument 204 struct lx6464es *chip = snd_pcm_substream_chip(substream); lx_pcm_open() local 269 struct lx6464es *chip = snd_pcm_substream_chip(substream); lx_pcm_stream_pointer() local 288 struct lx6464es *chip = snd_pcm_substream_chip(substream); lx_pcm_prepare() local 342 struct lx6464es *chip = snd_pcm_substream_chip(substream); lx_pcm_hw_params() local 371 struct lx6464es *chip = snd_pcm_substream_chip(substream); lx_pcm_hw_free() local 406 lx_trigger_start(struct lx6464es *chip, struct lx_stream *lx_stream) lx_trigger_start() argument 455 lx_trigger_stop(struct lx6464es *chip, struct lx_stream *lx_stream) lx_trigger_stop() argument 469 lx_trigger_dispatch_stream(struct lx6464es *chip, struct lx_stream *lx_stream) lx_trigger_dispatch_stream() argument 486 lx_pcm_trigger_dispatch(struct lx6464es *chip, struct lx_stream *lx_stream, int cmd) lx_pcm_trigger_dispatch() argument 517 struct lx6464es *chip = snd_pcm_substream_chip(substream); lx_pcm_trigger() local 529 struct lx6464es *chip = card->private_data; snd_lx6464es_free() local 535 lx_init_xilinx_reset(struct lx6464es *chip) lx_init_xilinx_reset() argument 577 lx_init_xilinx_test(struct lx6464es *chip) lx_init_xilinx_test() argument 607 lx_init_ethersound_config(struct lx6464es *chip) lx_init_ethersound_config() argument 647 lx_init_get_version_features(struct lx6464es *chip) lx_init_get_version_features() argument 684 lx_set_granularity(struct lx6464es *chip, u32 gran) lx_set_granularity() argument 716 lx_init_dsp(struct lx6464es *chip) lx_init_dsp() argument 791 lx_pcm_create(struct lx6464es *chip) lx_pcm_create() argument 841 struct lx6464es *chip = snd_kcontrol_chip(kcontrol); lx_control_playback_get() local 849 struct lx6464es *chip = snd_kcontrol_chip(kcontrol); lx_control_playback_put() local 880 struct lx6464es *chip = entry->private_data; lx_proc_levels_read() local 908 lx_proc_create(struct snd_card *card, struct lx6464es *chip) lx_proc_create() argument 917 struct lx6464es *chip = card->private_data; snd_lx6464es_create() local 1001 struct lx6464es *chip; snd_lx6464es_probe() local [all...] |
| /kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
| H A D | phy.c | 13 #include "chip.h" 16 int mv88e6165_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_read() argument 19 return mv88e6xxx_read(chip, addr, reg, val); in mv88e6165_phy_read() 22 int mv88e6165_phy_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_write() argument 25 return mv88e6xxx_write(chip, addr, reg, val); in mv88e6165_phy_write() 28 int mv88e6xxx_phy_read(struct mv88e6xxx_chip *chip, int phy, int reg, u16 *val) in mv88e6xxx_phy_read() argument 33 bus = mv88e6xxx_default_mdio_bus(chip); in mv88e6xxx_phy_read() 37 if (!chip->info->ops->phy_read) in mv88e6xxx_phy_read() 40 return chip->info->ops->phy_read(chip, bu in mv88e6xxx_phy_read() 43 mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy, int reg, u16 val) mv88e6xxx_phy_write() argument 58 mv88e6xxx_phy_page_get(struct mv88e6xxx_chip *chip, int phy, u8 page) mv88e6xxx_phy_page_get() argument 63 mv88e6xxx_phy_page_put(struct mv88e6xxx_chip *chip, int phy) mv88e6xxx_phy_page_put() argument 79 mv88e6xxx_phy_page_read(struct mv88e6xxx_chip *chip, int phy, u8 page, int reg, u16 *val) mv88e6xxx_phy_page_read() argument 97 mv88e6xxx_phy_page_write(struct mv88e6xxx_chip *chip, int phy, u8 page, int reg, u16 val) mv88e6xxx_phy_page_write() argument 118 mv88e6xxx_phy_ppu_disable(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_ppu_disable() argument 126 mv88e6xxx_phy_ppu_enable(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_ppu_enable() argument 136 struct mv88e6xxx_chip *chip; mv88e6xxx_phy_ppu_reenable_work() local 153 struct mv88e6xxx_chip *chip = from_timer(chip, t, ppu_timer); mv88e6xxx_phy_ppu_reenable_timer() local 158 mv88e6xxx_phy_ppu_access_get(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_ppu_access_get() argument 184 mv88e6xxx_phy_ppu_access_put(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_ppu_access_put() argument 191 mv88e6xxx_phy_ppu_state_init(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_ppu_state_init() argument 198 mv88e6xxx_phy_ppu_state_destroy(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_ppu_state_destroy() argument 203 mv88e6185_phy_ppu_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus, int addr, int reg, u16 *val) mv88e6185_phy_ppu_read() argument 217 mv88e6185_phy_ppu_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus, int addr, int reg, u16 val) mv88e6185_phy_ppu_write() argument 231 mv88e6xxx_phy_init(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_init() argument 237 mv88e6xxx_phy_destroy(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_destroy() argument 243 mv88e6xxx_phy_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_phy_setup() argument [all...] |