| /kernel/linux/linux-5.10/sound/pcmcia/vx/ |
| H A D | vxp_ops.c | 40 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reg_addr() local 41 return chip->port + vxp_reg_offset[reg]; in vxp_reg_addr() 48 static unsigned char vxp_inb(struct vx_core *chip, int offset) in vxp_inb() argument 50 return inb(vxp_reg_addr(chip, offset)); in vxp_inb() 58 static void vxp_outb(struct vx_core *chip, int offset, unsigned char val) in vxp_outb() argument 60 outb(val, vxp_reg_addr(chip, offset)); in vxp_outb() 67 #define vx_inb(chip,reg) vxp_inb((struct vx_core *)(chip), VX_##reg) 69 #define vx_outb(chip,reg,val) vxp_outb((struct vx_core *)(chip), VX 77 vx_check_magic(struct vx_core *chip) vx_check_magic() argument 100 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_reset_dsp() local 118 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_reset_codec() local 137 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_load_xilinx_binary() local 270 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_test_and_ack() local 297 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_validate_irq() local 313 struct snd_vxpocket *chip = to_vxpocket(_chip); vx_setup_pseudo_dma() local 333 struct snd_vxpocket *chip = to_vxpocket(_chip); vx_release_pseudo_dma() local 351 vxp_dma_write(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe, int count) vxp_dma_write() argument 390 vxp_dma_read(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe, int count) vxp_dma_read() argument 432 vxp_write_codec_reg(struct vx_core *chip, int codec, unsigned int data) vxp_write_codec_reg() argument 455 vx_set_mic_boost(struct vx_core *chip, int boost) vx_set_mic_boost() argument 497 vx_set_mic_level(struct vx_core *chip, int level) vx_set_mic_level() argument 518 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_change_audio_source() local 558 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_set_clock_source() local 573 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_reset_board() local [all...] |
| /kernel/linux/linux-6.6/sound/pcmcia/vx/ |
| H A D | vxp_ops.c | 40 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reg_addr() local 41 return chip->port + vxp_reg_offset[reg]; in vxp_reg_addr() 48 static unsigned char vxp_inb(struct vx_core *chip, int offset) in vxp_inb() argument 50 return inb(vxp_reg_addr(chip, offset)); in vxp_inb() 58 static void vxp_outb(struct vx_core *chip, int offset, unsigned char val) in vxp_outb() argument 60 outb(val, vxp_reg_addr(chip, offset)); in vxp_outb() 67 #define vx_inb(chip,reg) vxp_inb((struct vx_core *)(chip), VX_##reg) 69 #define vx_outb(chip,reg,val) vxp_outb((struct vx_core *)(chip), VX 77 vx_check_magic(struct vx_core *chip) vx_check_magic() argument 100 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_reset_dsp() local 118 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_reset_codec() local 137 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_load_xilinx_binary() local 272 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_test_and_ack() local 299 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_validate_irq() local 315 struct snd_vxpocket *chip = to_vxpocket(_chip); vx_setup_pseudo_dma() local 335 struct snd_vxpocket *chip = to_vxpocket(_chip); vx_release_pseudo_dma() local 353 vxp_dma_write(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe, int count) vxp_dma_write() argument 392 vxp_dma_read(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe, int count) vxp_dma_read() argument 434 vxp_write_codec_reg(struct vx_core *chip, int codec, unsigned int data) vxp_write_codec_reg() argument 457 vx_set_mic_boost(struct vx_core *chip, int boost) vx_set_mic_boost() argument 499 vx_set_mic_level(struct vx_core *chip, int level) vx_set_mic_level() argument 520 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_change_audio_source() local 560 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_set_clock_source() local 575 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_reset_board() local [all...] |
| /kernel/linux/linux-5.10/drivers/staging/rts5208/ |
| H A D | rtsx_scsi.c | 22 void scsi_show_command(struct rtsx_chip *chip) in scsi_show_command() argument 24 struct scsi_cmnd *srb = chip->srb; in scsi_show_command() 304 dev_dbg(rtsx_dev(chip), "Command %s (%d bytes)\n", in scsi_show_command() 309 dev_dbg(rtsx_dev(chip), "%*ph\n", len, srb->cmnd); in scsi_show_command() 313 void set_sense_type(struct rtsx_chip *chip, unsigned int lun, int sense_type) in set_sense_type() argument 317 set_sense_data(chip, lun, CUR_ERR, 0x06, 0, 0x28, 0, 0, 0); in set_sense_type() 321 set_sense_data(chip, lun, CUR_ERR, 0x02, 0, 0x3A, 0, 0, 0); in set_sense_type() 325 set_sense_data(chip, lun, CUR_ERR, 0x05, 0, 0x21, 0, 0, 0); in set_sense_type() 329 set_sense_data(chip, lun, CUR_ERR, 0x05, 0, 0x25, 0, 0, 0); in set_sense_type() 333 set_sense_data(chip, lu in set_sense_type() 388 set_sense_data(struct rtsx_chip *chip, unsigned int lun, u8 err_code, u8 sense_key, u32 info, u8 asc, u8 ascq, u8 sns_key_info0, u16 sns_key_info1) set_sense_data() argument 411 test_unit_ready(struct scsi_cmnd *srb, struct rtsx_chip *chip) test_unit_ready() argument 463 inquiry(struct scsi_cmnd *srb, struct rtsx_chip *chip) inquiry() argument 548 start_stop_unit(struct scsi_cmnd *srb, struct rtsx_chip *chip) start_stop_unit() argument 581 allow_medium_removal(struct scsi_cmnd *srb, struct rtsx_chip *chip) allow_medium_removal() argument 598 request_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) request_sense() argument 643 ms_mode_sense(struct rtsx_chip *chip, u8 cmd, int lun, u8 *buf, int buf_len) ms_mode_sense() argument 736 mode_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) mode_sense() argument 833 read_write(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_write() argument 968 read_format_capacity(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_format_capacity() argument 1046 read_capacity(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_capacity() argument 1086 read_eeprom(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_eeprom() argument 1133 write_eeprom(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_eeprom() argument 1188 read_mem(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_mem() argument 1241 write_mem(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_mem() argument 1294 get_sd_csd(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_sd_csd() argument 1315 toggle_gpio_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) toggle_gpio_cmd() argument 1334 read_host_reg(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_host_reg() argument 1365 write_host_reg(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_host_reg() argument 1393 set_variable(struct scsi_cmnd *srb, struct rtsx_chip *chip) set_variable() argument 1455 get_variable(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_variable() argument 1497 dma_access_ring_buffer(struct scsi_cmnd *srb, struct rtsx_chip *chip) dma_access_ring_buffer() argument 1537 get_dev_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_dev_status() argument 1668 set_chip_mode(struct scsi_cmnd *srb, struct rtsx_chip *chip) set_chip_mode() argument 1719 rw_mem_cmd_buf(struct scsi_cmnd *srb, struct rtsx_chip *chip) rw_mem_cmd_buf() argument 1781 suit_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) suit_cmd() argument 1794 read_phy_register(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_phy_register() argument 1853 write_phy_register(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_phy_register() argument 1910 erase_eeprom2(struct scsi_cmnd *srb, struct rtsx_chip *chip) erase_eeprom2() argument 1956 read_eeprom2(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_eeprom2() argument 2004 write_eeprom2(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_eeprom2() argument 2051 read_efuse(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_efuse() argument 2099 write_efuse(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_efuse() argument 2210 read_cfg_byte(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_cfg_byte() argument 2265 write_cfg_byte(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_cfg_byte() argument 2319 app_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) app_cmd() argument 2407 read_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_status() argument 2536 get_card_bus_width(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_card_bus_width() argument 2560 spi_vendor_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_vendor_cmd() argument 2628 vendor_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) vendor_cmnd() argument 2683 led_shine(struct scsi_cmnd *srb, struct rtsx_chip *chip) led_shine() argument 2707 ms_format_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) ms_format_cmnd() argument 2771 get_ms_information(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_ms_information() argument 2865 ms_sp_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) ms_sp_cmnd() argument 2880 sd_extension_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) sd_extension_cmnd() argument 2939 mg_report_key(struct scsi_cmnd *srb, struct rtsx_chip *chip) mg_report_key() argument 3038 mg_send_key(struct scsi_cmnd *srb, struct rtsx_chip *chip) mg_send_key() argument 3157 rtsx_scsi_handler(struct scsi_cmnd *srb, struct rtsx_chip *chip) rtsx_scsi_handler() argument [all...] |
| /kernel/linux/linux-6.6/drivers/staging/rts5208/ |
| H A D | rtsx_scsi.c | 22 void scsi_show_command(struct rtsx_chip *chip) in scsi_show_command() argument 24 struct scsi_cmnd *srb = chip->srb; in scsi_show_command() 304 dev_dbg(rtsx_dev(chip), "Command %s (%d bytes)\n", in scsi_show_command() 309 dev_dbg(rtsx_dev(chip), "%*ph\n", len, srb->cmnd); in scsi_show_command() 313 void set_sense_type(struct rtsx_chip *chip, unsigned int lun, int sense_type) in set_sense_type() argument 317 set_sense_data(chip, lun, CUR_ERR, 0x06, 0, 0x28, 0, 0, 0); in set_sense_type() 321 set_sense_data(chip, lun, CUR_ERR, 0x02, 0, 0x3A, 0, 0, 0); in set_sense_type() 325 set_sense_data(chip, lun, CUR_ERR, 0x05, 0, 0x21, 0, 0, 0); in set_sense_type() 329 set_sense_data(chip, lun, CUR_ERR, 0x05, 0, 0x25, 0, 0, 0); in set_sense_type() 333 set_sense_data(chip, lu in set_sense_type() 388 set_sense_data(struct rtsx_chip *chip, unsigned int lun, u8 err_code, u8 sense_key, u32 info, u8 asc, u8 ascq, u8 sns_key_info0, u16 sns_key_info1) set_sense_data() argument 411 test_unit_ready(struct scsi_cmnd *srb, struct rtsx_chip *chip) test_unit_ready() argument 463 inquiry(struct scsi_cmnd *srb, struct rtsx_chip *chip) inquiry() argument 548 start_stop_unit(struct scsi_cmnd *srb, struct rtsx_chip *chip) start_stop_unit() argument 581 allow_medium_removal(struct scsi_cmnd *srb, struct rtsx_chip *chip) allow_medium_removal() argument 598 request_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) request_sense() argument 643 ms_mode_sense(struct rtsx_chip *chip, u8 cmd, int lun, u8 *buf, int buf_len) ms_mode_sense() argument 736 mode_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) mode_sense() argument 833 read_write(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_write() argument 968 read_format_capacity(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_format_capacity() argument 1046 read_capacity(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_capacity() argument 1086 read_eeprom(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_eeprom() argument 1133 write_eeprom(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_eeprom() argument 1188 read_mem(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_mem() argument 1241 write_mem(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_mem() argument 1294 get_sd_csd(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_sd_csd() argument 1315 toggle_gpio_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) toggle_gpio_cmd() argument 1334 read_host_reg(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_host_reg() argument 1365 write_host_reg(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_host_reg() argument 1393 set_variable(struct scsi_cmnd *srb, struct rtsx_chip *chip) set_variable() argument 1455 get_variable(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_variable() argument 1497 dma_access_ring_buffer(struct scsi_cmnd *srb, struct rtsx_chip *chip) dma_access_ring_buffer() argument 1537 get_dev_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_dev_status() argument 1668 set_chip_mode(struct scsi_cmnd *srb, struct rtsx_chip *chip) set_chip_mode() argument 1719 rw_mem_cmd_buf(struct scsi_cmnd *srb, struct rtsx_chip *chip) rw_mem_cmd_buf() argument 1781 suit_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) suit_cmd() argument 1794 read_phy_register(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_phy_register() argument 1853 write_phy_register(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_phy_register() argument 1910 erase_eeprom2(struct scsi_cmnd *srb, struct rtsx_chip *chip) erase_eeprom2() argument 1956 read_eeprom2(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_eeprom2() argument 2004 write_eeprom2(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_eeprom2() argument 2051 read_efuse(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_efuse() argument 2099 write_efuse(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_efuse() argument 2210 read_cfg_byte(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_cfg_byte() argument 2265 write_cfg_byte(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_cfg_byte() argument 2319 app_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) app_cmd() argument 2407 read_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_status() argument 2536 get_card_bus_width(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_card_bus_width() argument 2560 spi_vendor_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_vendor_cmd() argument 2628 vendor_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) vendor_cmnd() argument 2683 led_shine(struct scsi_cmnd *srb, struct rtsx_chip *chip) led_shine() argument 2707 ms_format_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) ms_format_cmnd() argument 2771 get_ms_information(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_ms_information() argument 2865 ms_sp_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) ms_sp_cmnd() argument 2880 sd_extension_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) sd_extension_cmnd() argument 2939 mg_report_key(struct scsi_cmnd *srb, struct rtsx_chip *chip) mg_report_key() argument 3038 mg_send_key(struct scsi_cmnd *srb, struct rtsx_chip *chip) mg_send_key() argument 3157 rtsx_scsi_handler(struct scsi_cmnd *srb, struct rtsx_chip *chip) rtsx_scsi_handler() argument [all...] |
| /kernel/linux/linux-6.6/sound/pci/cs46xx/ |
| H A D | cs46xx_lib.c | 58 static void amp_voyetra(struct snd_cs46xx *chip, int change); 74 static unsigned short snd_cs46xx_codec_read(struct snd_cs46xx *chip, in snd_cs46xx_codec_read() argument 86 chip->active_ctrl(chip, 1); in snd_cs46xx_codec_read() 100 snd_cs46xx_peekBA0(chip, BA0_ACSDA + offset); in snd_cs46xx_codec_read() 102 tmp = snd_cs46xx_peekBA0(chip, BA0_ACCTL); in snd_cs46xx_codec_read() 104 dev_warn(chip->card->dev, "ACCTL_VFRM not set 0x%x\n", tmp); in snd_cs46xx_codec_read() 105 snd_cs46xx_pokeBA0(chip, BA0_ACCTL, (tmp & (~ACCTL_ESYN)) | ACCTL_VFRM ); in snd_cs46xx_codec_read() 107 tmp = snd_cs46xx_peekBA0(chip, BA0_ACCTL + offset); in snd_cs46xx_codec_read() 108 snd_cs46xx_pokeBA0(chip, BA0_ACCT in snd_cs46xx_codec_read() 204 struct snd_cs46xx *chip = ac97->private_data; snd_cs46xx_ac97_read() local 218 snd_cs46xx_codec_write(struct snd_cs46xx *chip, unsigned short reg, unsigned short val, int codec_index) snd_cs46xx_codec_write() argument 289 struct snd_cs46xx *chip = ac97->private_data; snd_cs46xx_ac97_write() local 304 snd_cs46xx_download(struct snd_cs46xx *chip, u32 *src, unsigned long offset, unsigned long len) snd_cs46xx_download() argument 382 load_firmware(struct snd_cs46xx *chip, struct dsp_module_desc **module_ret, const char *fw_name) load_firmware() argument 468 snd_cs46xx_clear_BA1(struct snd_cs46xx *chip, unsigned long offset, unsigned long len) snd_cs46xx_clear_BA1() argument 501 load_firmware(struct snd_cs46xx *chip) load_firmware() argument 534 snd_cs46xx_download_image(struct snd_cs46xx *chip) snd_cs46xx_download_image() argument 557 snd_cs46xx_reset(struct snd_cs46xx *chip) snd_cs46xx_reset() argument 586 cs46xx_wait_for_fifo(struct snd_cs46xx * chip,int retry_timeout) cs46xx_wait_for_fifo() argument 610 snd_cs46xx_clear_serial_FIFOs(struct snd_cs46xx *chip) snd_cs46xx_clear_serial_FIFOs() argument 666 snd_cs46xx_proc_start(struct snd_cs46xx *chip) snd_cs46xx_proc_start() argument 693 snd_cs46xx_proc_stop(struct snd_cs46xx *chip) snd_cs46xx_proc_stop() argument 708 snd_cs46xx_set_play_sample_rate(struct snd_cs46xx *chip, unsigned int rate) snd_cs46xx_set_play_sample_rate() argument 754 snd_cs46xx_set_capture_sample_rate(struct snd_cs46xx *chip, unsigned int rate) snd_cs46xx_set_capture_sample_rate() argument 883 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_cp_trans_copy() local 891 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_transfer() local 898 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_direct_pointer() local 916 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_indirect_pointer() local 933 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_direct_pointer() local 940 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_indirect_pointer() local 948 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_trigger() local 1013 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_trigger() local 1041 _cs46xx_adjust_sample_rate(struct snd_cs46xx *chip, struct snd_cs46xx_pcm *cpcm, int sample_rate) _cs46xx_adjust_sample_rate() argument 1086 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_hw_params() local 1203 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_prepare() local 1273 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_hw_params() local 1299 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_hw_free() local 1311 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_prepare() local 1326 struct snd_cs46xx *chip = dev_id; snd_cs46xx_interrupt() local 1479 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); _cs46xx_playback_open_channel() local 1540 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_open_iec958() local 1556 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_close_iec958() local 1572 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_open() local 1595 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_close() local 1624 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_close() local 1747 snd_cs46xx_pcm(struct snd_cs46xx *chip, int device) snd_cs46xx_pcm() argument 1775 snd_cs46xx_pcm_rear(struct snd_cs46xx *chip, int device) snd_cs46xx_pcm_rear() argument 1800 snd_cs46xx_pcm_center_lfe(struct snd_cs46xx *chip, int device) snd_cs46xx_pcm_center_lfe() argument 1825 snd_cs46xx_pcm_iec958(struct snd_cs46xx *chip, int device) snd_cs46xx_pcm_iec958() argument 1856 struct snd_cs46xx *chip = ac97->private_data; snd_cs46xx_mixer_free_ac97() local 1882 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_vol_get() local 1892 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_vol_put() local 1910 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_vol_dac_get() local 1920 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_vol_dac_put() local 1966 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_iec958_get() local 1980 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_iec958_put() local 2017 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_adc_capture_get() local 2031 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_adc_capture_put() local 2048 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_pcm_capture_get() local 2063 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_pcm_capture_put() local 2081 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_herc_spdif_select_get() local 2099 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_herc_spdif_select_put() local 2131 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_spdif_default_get() local 2147 struct snd_cs46xx * chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_spdif_default_put() local 2184 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_spdif_stream_get() local 2200 struct snd_cs46xx * chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_spdif_stream_put() local 2326 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_front_dup_get() local 2336 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_front_dup_put() local 2415 cs46xx_detect_codec(struct snd_cs46xx *chip, int codec) cs46xx_detect_codec() argument 2449 snd_cs46xx_mixer(struct snd_cs46xx *chip, int spdif_device) snd_cs46xx_mixer() argument 2523 snd_cs46xx_midi_reset(struct snd_cs46xx *chip) snd_cs46xx_midi_reset() argument 2532 struct snd_cs46xx *chip = substream->rmidi->private_data; snd_cs46xx_midi_input_open() local 2550 struct snd_cs46xx *chip = substream->rmidi->private_data; snd_cs46xx_midi_input_close() local 2568 struct snd_cs46xx *chip = substream->rmidi->private_data; snd_cs46xx_midi_output_open() local 2587 struct snd_cs46xx *chip = substream->rmidi->private_data; snd_cs46xx_midi_output_close() local 2606 struct snd_cs46xx *chip = substream->rmidi->private_data; snd_cs46xx_midi_input_trigger() local 2626 struct snd_cs46xx *chip = substream->rmidi->private_data; snd_cs46xx_midi_output_trigger() local 2667 snd_cs46xx_midi(struct snd_cs46xx *chip, int device) snd_cs46xx_midi() argument 2693 struct snd_cs46xx *chip = gameport_get_port_data(gameport); snd_cs46xx_gameport_trigger() local 2702 struct snd_cs46xx *chip = gameport_get_port_data(gameport); snd_cs46xx_gameport_read() local 2711 struct snd_cs46xx *chip = gameport_get_port_data(gameport); snd_cs46xx_gameport_cooked_read() local 2746 snd_cs46xx_gameport(struct snd_cs46xx *chip) snd_cs46xx_gameport() argument 2775 snd_cs46xx_remove_gameport(struct snd_cs46xx *chip) snd_cs46xx_remove_gameport() argument 2783 snd_cs46xx_gameport(struct snd_cs46xx *chip) snd_cs46xx_gameport() argument 2784 snd_cs46xx_remove_gameport(struct snd_cs46xx *chip) snd_cs46xx_remove_gameport() argument 2808 snd_cs46xx_proc_init(struct snd_card *card, struct snd_cs46xx *chip) snd_cs46xx_proc_init() argument 2829 snd_cs46xx_proc_done(struct snd_cs46xx *chip) snd_cs46xx_proc_done() argument 2844 snd_cs46xx_hw_stop(struct snd_cs46xx *chip) snd_cs46xx_hw_stop() argument 2893 struct snd_cs46xx *chip = card->private_data; snd_cs46xx_free() local 2928 snd_cs46xx_chip_init(struct snd_cs46xx *chip) snd_cs46xx_chip_init() argument 3165 cs46xx_enable_stream_irqs(struct snd_cs46xx *chip) cs46xx_enable_stream_irqs() argument 3181 snd_cs46xx_start_dsp(struct snd_cs46xx *chip) snd_cs46xx_start_dsp() argument 3264 amp_none(struct snd_cs46xx *chip, int change) amp_none() argument 3269 voyetra_setup_eapd_slot(struct snd_cs46xx *chip) voyetra_setup_eapd_slot() argument 3392 amp_voyetra(struct snd_cs46xx *chip, int change) amp_voyetra() argument 3428 hercules_init(struct snd_cs46xx *chip) hercules_init() argument 3439 amp_hercules(struct snd_cs46xx *chip, int change) amp_hercules() argument 3460 voyetra_mixer_init(struct snd_cs46xx *chip) voyetra_mixer_init() argument 3469 hercules_mixer_init(struct snd_cs46xx *chip) hercules_mixer_init() argument 3537 clkrun_hack(struct snd_cs46xx *chip, int change) clkrun_hack() argument 3562 clkrun_init(struct snd_cs46xx *chip) clkrun_init() argument 3721 struct snd_cs46xx *chip = card->private_data; snd_cs46xx_suspend() local 3749 struct snd_cs46xx *chip = card->private_data; snd_cs46xx_resume() local 3823 struct snd_cs46xx *chip = card->private_data; snd_cs46xx_create() local [all...] |
| /kernel/linux/linux-6.6/drivers/gpio/ |
| H A D | gpio-ml-ioh.c | 95 struct ioh_gpio *chip = gpiochip_get_data(gpio); in ioh_gpio_set() local 98 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_set() 99 reg_val = ioread32(&chip->reg->regs[chip->ch].po); in ioh_gpio_set() 105 iowrite32(reg_val, &chip->reg->regs[chip->ch].po); in ioh_gpio_set() 106 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_set() 111 struct ioh_gpio *chip = gpiochip_get_data(gpio); in ioh_gpio_get() local 113 return !!(ioread32(&chip->reg->regs[chip in ioh_gpio_get() 119 struct ioh_gpio *chip = gpiochip_get_data(gpio); ioh_gpio_direction_output() local 144 struct ioh_gpio *chip = gpiochip_get_data(gpio); ioh_gpio_direction_input() local 161 ioh_gpio_save_reg_conf(struct ioh_gpio *chip) ioh_gpio_save_reg_conf() argument 187 ioh_gpio_restore_reg_conf(struct ioh_gpio *chip) ioh_gpio_restore_reg_conf() argument 212 struct ioh_gpio *chip = gpiochip_get_data(gpio); ioh_gpio_to_irq() local 216 ioh_gpio_setup(struct ioh_gpio *chip, int num_port) ioh_gpio_setup() argument 244 struct ioh_gpio *chip = gc->private; ioh_irq_type() local 305 struct ioh_gpio *chip = gc->private; ioh_irq_unmask() local 314 struct ioh_gpio *chip = gc->private; ioh_irq_mask() local 323 struct ioh_gpio *chip = gc->private; ioh_irq_disable() local 337 struct ioh_gpio *chip = gc->private; ioh_irq_enable() local 350 struct ioh_gpio *chip = dev_id; ioh_gpio_handler() local 372 ioh_gpio_alloc_generic_chip(struct ioh_gpio *chip, unsigned int irq_start, unsigned int num) ioh_gpio_alloc_generic_chip() argument 407 struct ioh_gpio *chip; ioh_gpio_probe() local 482 struct ioh_gpio *chip = dev_get_drvdata(dev); ioh_gpio_suspend() local 494 struct ioh_gpio *chip = dev_get_drvdata(dev); ioh_gpio_resume() local [all...] |
| /kernel/linux/linux-5.10/sound/pci/echoaudio/ |
| H A D | echo3g_dsp.c | 31 static int load_asic(struct echoaudio *chip); 32 static int dsp_set_digital_mode(struct echoaudio *chip, u8 mode); 33 static int set_digital_mode(struct echoaudio *chip, u8 mode); 34 static int check_asic_status(struct echoaudio *chip); 35 static int set_sample_rate(struct echoaudio *chip, u32 rate); 36 static int set_input_clock(struct echoaudio *chip, u16 clock); 37 static int set_professional_spdif(struct echoaudio *chip, char prof); 38 static int set_phantom_power(struct echoaudio *chip, char on); 39 static int write_control_reg(struct echoaudio *chip, u32 ctl, u32 frq, 44 static int init_hw(struct echoaudio *chip, u1 argument 106 set_mixer_defaults(struct echoaudio *chip) set_mixer_defaults() argument 118 set_phantom_power(struct echoaudio *chip, char on) set_phantom_power() argument [all...] |
| /kernel/linux/linux-6.6/sound/pci/echoaudio/ |
| H A D | echo3g_dsp.c | 31 static int load_asic(struct echoaudio *chip); 32 static int dsp_set_digital_mode(struct echoaudio *chip, u8 mode); 33 static int set_digital_mode(struct echoaudio *chip, u8 mode); 34 static int check_asic_status(struct echoaudio *chip); 35 static int set_sample_rate(struct echoaudio *chip, u32 rate); 36 static int set_input_clock(struct echoaudio *chip, u16 clock); 37 static int set_professional_spdif(struct echoaudio *chip, char prof); 38 static int set_phantom_power(struct echoaudio *chip, char on); 39 static int write_control_reg(struct echoaudio *chip, u32 ctl, u32 frq, 44 static int init_hw(struct echoaudio *chip, u1 argument 107 set_mixer_defaults(struct echoaudio *chip) set_mixer_defaults() argument 119 set_phantom_power(struct echoaudio *chip, char on) set_phantom_power() argument [all...] |
| H A D | echoaudio.c | 32 struct echoaudio *chip, const short fw_index) in get_firmware() 38 if (chip->fw_cache[fw_index]) { in get_firmware() 39 dev_dbg(chip->card->dev, in get_firmware() 42 *fw_entry = chip->fw_cache[fw_index]; in get_firmware() 47 dev_dbg(chip->card->dev, in get_firmware() 50 err = request_firmware(fw_entry, name, &chip->pci->dev); in get_firmware() 52 dev_err(chip->card->dev, in get_firmware() 56 chip->fw_cache[fw_index] = *fw_entry; in get_firmware() 64 struct echoaudio *chip) in free_firmware() 67 dev_dbg(chip in free_firmware() 31 get_firmware(const struct firmware **fw_entry, struct echoaudio *chip, const short fw_index) get_firmware() argument 63 free_firmware(const struct firmware *fw_entry, struct echoaudio *chip) free_firmware() argument 75 free_firmware_cache(struct echoaudio *chip) free_firmware_cache() argument 246 struct echoaudio *chip = rule->private; hw_rule_sample_rate() local 268 struct echoaudio *chip; pcm_open() local 362 struct echoaudio *chip = snd_pcm_substream_chip(substream); pcm_analog_in_open() local 389 struct echoaudio *chip = snd_pcm_substream_chip(substream); pcm_analog_out_open() local 424 struct echoaudio *chip = snd_pcm_substream_chip(substream); pcm_digital_in_open() local 463 struct echoaudio *chip = snd_pcm_substream_chip(substream); pcm_digital_out_open() local 506 struct echoaudio *chip = snd_pcm_substream_chip(substream); pcm_close() local 540 struct echoaudio *chip; init_engine() local 624 struct echoaudio *chip = snd_pcm_substream_chip(substream); pcm_analog_in_hw_params() local 646 struct echoaudio *chip = snd_pcm_substream_chip(substream); pcm_digital_in_hw_params() local 658 struct echoaudio *chip = snd_pcm_substream_chip(substream); pcm_digital_out_hw_params() local 671 struct echoaudio *chip; pcm_hw_free() local 693 struct echoaudio *chip = snd_pcm_substream_chip(substream); pcm_prepare() local 751 struct echoaudio *chip = snd_pcm_substream_chip(substream); pcm_trigger() local 911 snd_echo_new_pcm(struct echoaudio *chip) snd_echo_new_pcm() argument 1001 struct echoaudio *chip; snd_echo_output_gain_info() local 1014 struct echoaudio *chip; snd_echo_output_gain_get() local 1026 struct echoaudio *chip; snd_echo_output_gain_put() local 1082 struct echoaudio *chip; snd_echo_input_gain_info() local 1095 struct echoaudio *chip; snd_echo_input_gain_get() local 1107 struct echoaudio *chip; snd_echo_input_gain_put() local 1151 struct echoaudio *chip; snd_echo_output_nominal_info() local 1164 struct echoaudio *chip; snd_echo_output_nominal_get() local 1176 struct echoaudio *chip; snd_echo_output_nominal_put() local 1213 struct echoaudio *chip; snd_echo_input_nominal_info() local 1226 struct echoaudio *chip; snd_echo_input_nominal_get() local 1239 struct echoaudio *chip; snd_echo_input_nominal_put() local 1289 struct echoaudio *chip = snd_kcontrol_chip(kcontrol); snd_echo_mixer_get() local 1303 struct echoaudio *chip; snd_echo_mixer_put() local 1356 struct echoaudio *chip; snd_echo_vmixer_get() local 1368 struct echoaudio *chip; snd_echo_vmixer_put() local 1413 struct echoaudio *chip; snd_echo_digital_mode_info() local 1422 struct echoaudio *chip; snd_echo_digital_mode_get() local 1438 struct echoaudio *chip; snd_echo_digital_mode_put() local 1504 struct echoaudio *chip; snd_echo_spdif_mode_get() local 1514 struct echoaudio *chip; snd_echo_spdif_mode_put() local 1550 struct echoaudio *chip; snd_echo_clock_source_info() local 1559 struct echoaudio *chip; snd_echo_clock_source_get() local 1575 struct echoaudio *chip; snd_echo_clock_source_put() local 1622 struct echoaudio *chip = snd_kcontrol_chip(kcontrol); snd_echo_phantom_power_get() local 1631 struct echoaudio *chip = snd_kcontrol_chip(kcontrol); snd_echo_phantom_power_put() local 1665 struct echoaudio *chip = snd_kcontrol_chip(kcontrol); snd_echo_automute_get() local 1674 struct echoaudio *chip = snd_kcontrol_chip(kcontrol); snd_echo_automute_put() local 1706 struct echoaudio *chip; snd_echo_vumeters_switch_put() local 1739 struct echoaudio *chip; snd_echo_vumeters_get() local 1773 struct echoaudio *chip; snd_echo_channels_info_get() local 1846 struct echoaudio *chip = dev_id; snd_echo_interrupt() local 1887 struct echoaudio *chip = card->private_data; snd_echo_free() local 1903 struct echoaudio *chip = card->private_data; snd_echo_create() local 1978 struct echoaudio *chip; __snd_echo_probe() local 2153 struct echoaudio *chip = dev_get_drvdata(dev); snd_echo_suspend() local 2184 struct echoaudio *chip = dev_get_drvdata(dev); snd_echo_resume() local [all...] |
| 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 err = init_dsp_comm_page(chip); in init_hw() 48 dev_err(chip->card->dev, in init_hw() 53 chip->device_id = device_id; in init_hw() 54 chip in init_hw() 74 set_mixer_defaults(struct echoaudio *chip) set_mixer_defaults() argument 82 detect_input_clocks(const struct echoaudio *chip) detect_input_clocks() argument 113 check_asic_status(struct echoaudio *chip) check_asic_status() argument 143 load_asic(struct echoaudio *chip) load_asic() argument 161 set_sample_rate(struct echoaudio *chip, u32 rate) set_sample_rate() argument 188 set_input_clock(struct echoaudio *chip, u16 clock_source) set_input_clock() argument 228 set_output_clock(struct echoaudio *chip, u16 clock) set_output_clock() argument 254 set_input_gain(struct echoaudio *chip, u16 input, int gain) set_input_gain() argument 271 update_flags(struct echoaudio *chip) update_flags() argument 281 set_professional_spdif(struct echoaudio *chip, char prof) set_professional_spdif() argument [all...] |
| /kernel/linux/linux-5.10/sound/pci/ |
| H A D | atiixp.c | 220 void (*enable_dma)(struct atiixp *chip, int on); 222 void (*enable_transfer)(struct atiixp *chip, int on); 224 void (*flush_dma)(struct atiixp *chip); 245 * ATI IXP chip 299 static int snd_atiixp_update_bits(struct atiixp *chip, unsigned int reg, in snd_atiixp_update_bits() argument 302 void __iomem *addr = chip->remap_addr + reg; in snd_atiixp_update_bits() 316 #define atiixp_write(chip,reg,value) \ 317 writel(value, chip->remap_addr + ATI_REG_##reg) 318 #define atiixp_read(chip,reg) \ 319 readl(chip 342 atiixp_build_dma_packets(struct atiixp *chip, struct atiixp_dma *dma, struct snd_pcm_substream *substream, unsigned int periods, unsigned int period_bytes) atiixp_build_dma_packets() argument 402 atiixp_clear_dma_packets(struct atiixp *chip, struct atiixp_dma *dma, struct snd_pcm_substream *substream) atiixp_clear_dma_packets() argument 415 snd_atiixp_acquire_codec(struct atiixp *chip) snd_atiixp_acquire_codec() argument 429 snd_atiixp_codec_read(struct atiixp *chip, unsigned short codec, unsigned short reg) snd_atiixp_codec_read() argument 457 snd_atiixp_codec_write(struct atiixp *chip, unsigned short codec, unsigned short reg, unsigned short val) snd_atiixp_codec_write() argument 474 struct atiixp *chip = ac97->private_data; snd_atiixp_ac97_read() local 482 struct atiixp *chip = ac97->private_data; snd_atiixp_ac97_write() local 489 snd_atiixp_aclink_reset(struct atiixp *chip) snd_atiixp_aclink_reset() argument 525 snd_atiixp_aclink_down(struct atiixp *chip) snd_atiixp_aclink_down() argument 564 snd_atiixp_codec_detect(struct atiixp *chip) snd_atiixp_codec_detect() argument 598 snd_atiixp_chip_start(struct atiixp *chip) snd_atiixp_chip_start() argument 628 snd_atiixp_chip_stop(struct atiixp *chip) snd_atiixp_chip_stop() argument 649 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_pcm_pointer() local 672 snd_atiixp_xrun_dma(struct atiixp *chip, struct atiixp_dma *dma) snd_atiixp_xrun_dma() argument 683 snd_atiixp_update_dma(struct atiixp *chip, struct atiixp_dma *dma) snd_atiixp_update_dma() argument 692 snd_atiixp_check_bus_busy(struct atiixp *chip) snd_atiixp_check_bus_busy() argument 709 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_pcm_trigger() local 763 atiixp_out_flush_dma(struct atiixp *chip) atiixp_out_flush_dma() argument 769 atiixp_out_enable_dma(struct atiixp *chip, int on) atiixp_out_enable_dma() argument 784 atiixp_out_enable_transfer(struct atiixp *chip, int on) atiixp_out_enable_transfer() argument 791 atiixp_in_enable_dma(struct atiixp *chip, int on) atiixp_in_enable_dma() argument 798 atiixp_in_enable_transfer(struct atiixp *chip, int on) atiixp_in_enable_transfer() argument 817 atiixp_in_flush_dma(struct atiixp *chip) atiixp_in_flush_dma() argument 823 atiixp_spdif_enable_dma(struct atiixp *chip, int on) atiixp_spdif_enable_dma() argument 830 atiixp_spdif_enable_transfer(struct atiixp *chip, int on) atiixp_spdif_enable_transfer() argument 842 atiixp_spdif_flush_dma(struct atiixp *chip) atiixp_spdif_flush_dma() argument 863 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_spdif_prepare() local 890 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_playback_prepare() local 935 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_capture_prepare() local 951 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_pcm_hw_params() local 985 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_pcm_hw_free() local 1024 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_pcm_open() local 1059 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_pcm_close() local 1075 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_playback_open() local 1093 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_playback_close() local 1103 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_capture_open() local 1109 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_capture_close() local 1115 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_spdif_open() local 1128 struct atiixp *chip = snd_pcm_substream_chip(substream); snd_atiixp_spdif_close() local 1236 snd_atiixp_pcm_new(struct atiixp *chip) snd_atiixp_pcm_new() argument 1332 struct atiixp *chip = dev_id; snd_atiixp_interrupt() local 1399 snd_atiixp_mixer_new(struct atiixp *chip, int clock, const char *quirk_override) snd_atiixp_mixer_new() argument 1462 struct atiixp *chip = card->private_data; snd_atiixp_suspend() local 1476 struct atiixp *chip = card->private_data; snd_atiixp_resume() local 1514 struct atiixp *chip = entry->private_data; snd_atiixp_proc_read() local 1521 snd_atiixp_proc_init(struct atiixp *chip) snd_atiixp_proc_init() argument 1531 snd_atiixp_free(struct atiixp *chip) snd_atiixp_free() argument 1549 struct atiixp *chip = device->device_data; snd_atiixp_dev_free() local 1563 struct atiixp *chip; snd_atiixp_create() local 1617 struct atiixp *chip; snd_atiixp_probe() local [all...] |
| H A D | es1968.c | 18 * A working Maestro setup contains the Maestro chip wired to a 438 /* chip type */ 576 static void __maestro_write(struct es1968 *chip, u16 reg, u16 data) in __maestro_write() argument 578 outw(reg, chip->io_port + ESM_INDEX); in __maestro_write() 579 outw(data, chip->io_port + ESM_DATA); in __maestro_write() 580 chip->maestro_map[reg] = data; in __maestro_write() 583 static inline void maestro_write(struct es1968 *chip, u16 reg, u16 data) in maestro_write() argument 586 spin_lock_irqsave(&chip->reg_lock, flags); in maestro_write() 587 __maestro_write(chip, reg, data); in maestro_write() 588 spin_unlock_irqrestore(&chip in maestro_write() 592 __maestro_read(struct es1968 *chip, u16 reg) __maestro_read() argument 601 maestro_read(struct es1968 *chip, u16 reg) maestro_read() argument 612 snd_es1968_ac97_wait(struct es1968 *chip) snd_es1968_ac97_wait() argument 625 snd_es1968_ac97_wait_poll(struct es1968 *chip) snd_es1968_ac97_wait_poll() argument 639 struct es1968 *chip = ac97->private_data; snd_es1968_ac97_write() local 653 struct es1968 *chip = ac97->private_data; snd_es1968_ac97_read() local 669 apu_index_set(struct es1968 *chip, u16 index) apu_index_set() argument 680 apu_data_set(struct es1968 *chip, u16 data) apu_data_set() argument 692 __apu_set_register(struct es1968 *chip, u16 channel, u8 reg, u16 data) __apu_set_register() argument 704 apu_set_register(struct es1968 *chip, u16 channel, u8 reg, u16 data) apu_set_register() argument 712 __apu_get_register(struct es1968 *chip, u16 channel, u8 reg) __apu_get_register() argument 721 apu_get_register(struct es1968 *chip, u16 channel, u8 reg) apu_get_register() argument 758 wave_set_register(struct es1968 *chip, u16 reg, u16 value) wave_set_register() argument 768 wave_get_register(struct es1968 *chip, u16 reg) wave_get_register() argument 785 snd_es1968_bob_stop(struct es1968 *chip) snd_es1968_bob_stop() argument 797 snd_es1968_bob_start(struct es1968 *chip) snd_es1968_bob_start() argument 837 snd_es1968_bob_inc(struct es1968 *chip, int freq) snd_es1968_bob_inc() argument 851 snd_es1968_bob_dec(struct es1968 *chip) snd_es1968_bob_dec() argument 873 snd_es1968_calc_bob_rate(struct es1968 *chip, struct esschan *es, struct snd_pcm_runtime *runtime) snd_es1968_calc_bob_rate() argument 895 snd_es1968_compute_rate(struct es1968 *chip, u32 freq) snd_es1968_compute_rate() argument 907 snd_es1968_get_dma_ptr(struct es1968 *chip, struct esschan *es) snd_es1968_get_dma_ptr() argument 918 snd_es1968_apu_set_freq(struct es1968 *chip, int apu, int freq) snd_es1968_apu_set_freq() argument 935 snd_es1968_pcm_start(struct es1968 *chip, struct esschan *es) snd_es1968_pcm_start() argument 955 snd_es1968_pcm_stop(struct es1968 *chip, struct esschan *es) snd_es1968_pcm_stop() argument 968 snd_es1968_program_wavecache(struct es1968 *chip, struct esschan *es, int channel, u32 addr, int capture) snd_es1968_program_wavecache() argument 989 snd_es1968_playback_setup(struct es1968 *chip, struct esschan *es, struct snd_pcm_runtime *runtime) snd_es1968_playback_setup() argument 1092 init_capture_apu(struct es1968 *chip, struct esschan *es, int channel, unsigned int pa, unsigned int bsize, int mode, int route) init_capture_apu() argument 1137 snd_es1968_capture_setup(struct es1968 *chip, struct esschan *es, struct snd_pcm_runtime *runtime) snd_es1968_capture_setup() argument 1208 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_pcm_prepare() local 1240 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_pcm_trigger() local 1270 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_pcm_pointer() local 1328 calc_available_memory_size(struct es1968 *chip) calc_available_memory_size() argument 1345 snd_es1968_new_memory(struct es1968 *chip, int size) snd_es1968_new_memory() argument 1379 snd_es1968_free_memory(struct es1968 *chip, struct esm_memory *buf) snd_es1968_free_memory() argument 1405 snd_es1968_free_dmabuf(struct es1968 *chip) snd_es1968_free_dmabuf() argument 1420 snd_es1968_init_dmabuf(struct es1968 *chip) snd_es1968_init_dmabuf() argument 1463 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_hw_params() local 1488 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_hw_free() local 1506 snd_es1968_alloc_apu_pair(struct es1968 *chip, int type) snd_es1968_alloc_apu_pair() argument 1523 snd_es1968_free_apu_pair(struct es1968 *chip, int apu) snd_es1968_free_apu_pair() argument 1535 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_playback_open() local 1574 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_capture_open() local 1630 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_playback_close() local 1647 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_capture_close() local 1690 es1968_measure_clock(struct es1968 *chip) es1968_measure_clock() argument 1792 snd_es1968_pcm(struct es1968 *chip, int device) snd_es1968_pcm() argument 1829 snd_es1968_suppress_jitter(struct es1968 *chip, struct esschan *es) snd_es1968_suppress_jitter() argument 1846 snd_es1968_update_pcm(struct es1968 *chip, struct esschan *es) snd_es1968_update_pcm() argument 1877 struct es1968 *chip = container_of(work, struct es1968, hwvol_work); es1968_update_hw_volume() local 1957 struct es1968 *chip = dev_id; snd_es1968_interrupt() local 2002 snd_es1968_mixer(struct es1968 *chip) snd_es1968_mixer() argument 2043 snd_es1968_ac97_reset(struct es1968 *chip) snd_es1968_ac97_reset() argument 2148 snd_es1968_reset(struct es1968 *chip) snd_es1968_reset() argument 2161 snd_es1968_chip_init(struct es1968 *chip) snd_es1968_chip_init() argument 2352 snd_es1968_start_irq(struct es1968 *chip) snd_es1968_start_irq() argument 2369 struct es1968 *chip = card->private_data; es1968_suspend() local 2385 struct es1968 *chip = card->private_data; es1968_resume() local 2432 snd_es1968_create_gameport(struct es1968 *chip, int dev) snd_es1968_create_gameport() argument 2467 snd_es1968_free_gameport(struct es1968 *chip) snd_es1968_free_gameport() argument 2479 snd_es1968_create_gameport(struct es1968 *chip, int dev) snd_es1968_create_gameport() argument 2480 snd_es1968_free_gameport(struct es1968 *chip) snd_es1968_free_gameport() argument 2484 snd_es1968_input_register(struct es1968 *chip) snd_es1968_input_register() argument 2543 struct es1968 *chip = tea->private_data; snd_es1968_tea575x_set_pins() local 2556 struct es1968 *chip = tea->private_data; snd_es1968_tea575x_get_pins() local 2571 struct es1968 *chip = tea->private_data; snd_es1968_tea575x_set_direction() local 2596 snd_es1968_free(struct es1968 *chip) snd_es1968_free() argument 2625 struct es1968 *chip = device->device_data; snd_es1968_dev_free() local 2662 struct es1968 *chip; snd_es1968_create() local 2792 struct es1968 *chip; snd_es1968_probe() local [all...] |
| /kernel/linux/linux-5.10/sound/pcmcia/pdaudiocf/ |
| H A D | pdaudiocf_core.c | 20 struct snd_pdacf *chip = private_data; in pdacf_ak4117_read() local 25 spin_lock_irqsave(&chip->ak4117_lock, flags); in pdacf_ak4117_read() 27 while (pdacf_reg_read(chip, PDAUDIOCF_REG_SCR) & PDAUDIOCF_AK_SBP) { in pdacf_ak4117_read() 30 spin_unlock_irqrestore(&chip->ak4117_lock, flags); in pdacf_ak4117_read() 35 pdacf_reg_write(chip, PDAUDIOCF_REG_AK_IFR, (u16)reg << 8); in pdacf_ak4117_read() 37 while (pdacf_reg_read(chip, PDAUDIOCF_REG_SCR) & PDAUDIOCF_AK_SBP) { in pdacf_ak4117_read() 40 spin_unlock_irqrestore(&chip->ak4117_lock, flags); in pdacf_ak4117_read() 45 res = (unsigned char)pdacf_reg_read(chip, PDAUDIOCF_REG_AK_IFR); in pdacf_ak4117_read() 46 spin_unlock_irqrestore(&chip->ak4117_lock, flags); in pdacf_ak4117_read() 52 struct snd_pdacf *chip in pdacf_ak4117_write() local 91 pdacf_reset(struct snd_pdacf *chip, int powerdown) pdacf_reset() argument 114 pdacf_reinit(struct snd_pdacf *chip, int resume) pdacf_reinit() argument 127 struct snd_pdacf *chip = entry->private_data; pdacf_proc_read() local 136 pdacf_proc_init(struct snd_pdacf *chip) pdacf_proc_init() argument 143 struct snd_pdacf *chip; snd_pdacf_create() local 159 struct snd_pdacf *chip = ak4117->change_callback_private; snd_pdacf_ak4117_change() local 174 snd_pdacf_ak4117_create(struct snd_pdacf *chip) snd_pdacf_ak4117_create() argument 230 snd_pdacf_powerdown(struct snd_pdacf *chip) snd_pdacf_powerdown() argument 247 snd_pdacf_suspend(struct snd_pdacf *chip) snd_pdacf_suspend() argument 261 check_signal(struct snd_pdacf *chip) check_signal() argument 266 snd_pdacf_resume(struct snd_pdacf *chip) snd_pdacf_resume() argument [all...] |
| /kernel/linux/linux-6.6/sound/pcmcia/pdaudiocf/ |
| H A D | pdaudiocf_core.c | 20 struct snd_pdacf *chip = private_data; in pdacf_ak4117_read() local 25 spin_lock_irqsave(&chip->ak4117_lock, flags); in pdacf_ak4117_read() 27 while (pdacf_reg_read(chip, PDAUDIOCF_REG_SCR) & PDAUDIOCF_AK_SBP) { in pdacf_ak4117_read() 30 spin_unlock_irqrestore(&chip->ak4117_lock, flags); in pdacf_ak4117_read() 35 pdacf_reg_write(chip, PDAUDIOCF_REG_AK_IFR, (u16)reg << 8); in pdacf_ak4117_read() 37 while (pdacf_reg_read(chip, PDAUDIOCF_REG_SCR) & PDAUDIOCF_AK_SBP) { in pdacf_ak4117_read() 40 spin_unlock_irqrestore(&chip->ak4117_lock, flags); in pdacf_ak4117_read() 45 res = (unsigned char)pdacf_reg_read(chip, PDAUDIOCF_REG_AK_IFR); in pdacf_ak4117_read() 46 spin_unlock_irqrestore(&chip->ak4117_lock, flags); in pdacf_ak4117_read() 52 struct snd_pdacf *chip in pdacf_ak4117_write() local 91 pdacf_reset(struct snd_pdacf *chip, int powerdown) pdacf_reset() argument 114 pdacf_reinit(struct snd_pdacf *chip, int resume) pdacf_reinit() argument 127 struct snd_pdacf *chip = entry->private_data; pdacf_proc_read() local 136 pdacf_proc_init(struct snd_pdacf *chip) pdacf_proc_init() argument 143 struct snd_pdacf *chip; snd_pdacf_create() local 159 struct snd_pdacf *chip = ak4117->change_callback_private; snd_pdacf_ak4117_change() local 174 snd_pdacf_ak4117_create(struct snd_pdacf *chip) snd_pdacf_ak4117_create() argument 230 snd_pdacf_powerdown(struct snd_pdacf *chip) snd_pdacf_powerdown() argument 247 snd_pdacf_suspend(struct snd_pdacf *chip) snd_pdacf_suspend() argument 261 check_signal(struct snd_pdacf *chip) check_signal() argument 266 snd_pdacf_resume(struct snd_pdacf *chip) snd_pdacf_resume() argument [all...] |
| /third_party/backends/backend/ |
| H A D | mustek_usb2_asic.c | 53 WriteIOControl (PAsic chip, unsigned short wValue, unsigned short wIndex, unsigned short wLength, in WriteIOControl() argument 59 sanei_usb_control_msg (chip->fd, 0x40, 0x01, wValue, wIndex, wLength, in WriteIOControl() 71 ReadIOControl (PAsic chip, unsigned short wValue, unsigned short wIndex, unsigned short wLength, in ReadIOControl() argument 77 sanei_usb_control_msg (chip->fd, 0xc0, 0x01, wValue, wIndex, wLength, in ReadIOControl() 89 Mustek_ClearFIFO (PAsic chip) in Mustek_ClearFIFO() argument 99 status = WriteIOControl (chip, 0x05, 0, 4, (SANE_Byte *) (buf)); in Mustek_ClearFIFO() 103 status = WriteIOControl (chip, 0xc0, 0, 4, (SANE_Byte *) (buf)); in Mustek_ClearFIFO() 114 Mustek_SendData (PAsic chip, unsigned short reg, SANE_Byte data) in Mustek_SendData() argument 130 WriteIOControl (chip, 0xb0, 0, 4, buf); in Mustek_SendData() 146 WriteIOControl (chip, in Mustek_SendData() 177 Mustek_ReceiveData(PAsic chip, SANE_Byte * reg) Mustek_ReceiveData() argument 191 Mustek_WriteAddressLineForRegister(PAsic chip, SANE_Byte x) Mustek_WriteAddressLineForRegister() argument 210 SetRWSize(PAsic chip, SANE_Byte ReadWrite, unsigned int size) SetRWSize() argument 251 Mustek_DMARead(PAsic chip, unsigned int size, SANE_Byte * lpdata) Mustek_DMARead() argument 307 Mustek_DMAWrite(PAsic chip, unsigned int size, SANE_Byte * lpdata) Mustek_DMAWrite() argument 366 Mustek_SendData2Byte(PAsic chip, unsigned short reg, SANE_Byte data) Mustek_SendData2Byte() argument 436 LLFRamAccess(PAsic chip, LLF_RAMACCESS * RamAccess) LLFRamAccess() argument 503 LLFSetMotorCurrentAndPhase(PAsic chip, LLF_MOTOR_CURRENT_AND_PHASE * MotorCurrentAndPhase) LLFSetMotorCurrentAndPhase() argument 1562 LLFStopMotorMove(PAsic chip) LLFStopMotorMove() argument 1577 LLFSetMotorTable(PAsic chip, LLF_SETMOTORTABLE * LLF_SetMotorTable) LLFSetMotorTable() argument 1613 LLFMotorMove(PAsic chip, LLF_MOTORMOVE * LLF_MotorMove) LLFMotorMove() argument 1755 SetMotorStepTable(PAsic chip, LLF_MOTORMOVE * MotorStepsTable, unsigned short wStartY, unsigned int dwScanImageSteps, unsigned short wYResolution) SetMotorStepTable() argument 2089 SetMotorCurrent(PAsic chip, unsigned short dwMotorSpeed, LLF_MOTOR_CURRENT_AND_PHASE * CurrentPhase) SetMotorCurrent() argument 2139 MotorBackHome(PAsic chip, SANE_Byte WaitOrNoWait) MotorBackHome() argument 2188 LLFSetRamAddress(PAsic chip, unsigned int dwStartAddr, unsigned int dwEndAddr, SANE_Byte byAccessTarget) LLFSetRamAddress() argument 2223 InitTiming(PAsic chip) InitTiming() argument 2271 OpenScanChip(PAsic chip) OpenScanChip() argument 2314 CloseScanChip(PAsic chip) CloseScanChip() argument 2357 SafeInitialChip(PAsic chip) SafeInitialChip() argument 2389 DRAM_Test(PAsic chip) DRAM_Test() argument 2536 SetPowerSave(PAsic chip) SetPowerSave() argument 2556 SetLineTimeAndExposure(PAsic chip) SetLineTimeAndExposure() argument 2588 CCDTiming(PAsic chip) CCDTiming() argument 2705 IsCarriageHome(PAsic chip, SANE_Bool * LampHome, SANE_Bool * TAHome) IsCarriageHome() argument 2736 GetChipStatus(PAsic chip, SANE_Byte Selector, SANE_Byte * ChipStatus) GetChipStatus() argument 2759 SetAFEGainOffset(PAsic chip) SetAFEGainOffset() argument 2922 SetLEDTime(PAsic chip) SetLEDTime() argument 2959 SetScanMode(PAsic chip, SANE_Byte bScanBits) SetScanMode() argument 3023 SetPackAddress(PAsic chip, unsigned short wXResolution, unsigned short wWidth, unsigned short wX, double XRatioAdderDouble, double XRatioTypeDouble, SANE_Byte byClear_Pulse_Width, unsigned short * PValidPixelNumber) SetPackAddress() argument 3406 SetExtraSetting(PAsic chip, unsigned short wXResolution, unsigned short wCCD_PixelNumber, SANE_Bool isCaribrate) SetExtraSetting() argument 3536 Asic_Open(PAsic chip, SANE_Byte *pDeviceName) Asic_Open() argument 3623 Asic_Close(PAsic chip) Asic_Close() argument 3659 Asic_TurnLamp(PAsic chip, SANE_Bool isLampOn) Asic_TurnLamp() argument 3697 Asic_TurnTA(PAsic chip, SANE_Bool isTAOn) Asic_TurnTA() argument 3731 Asic_WaitUnitReady(PAsic chip) Asic_WaitUnitReady() argument 3770 Asic_Release(PAsic chip) Asic_Release() argument 3786 Asic_Initialize(PAsic chip) Asic_Initialize() argument 3818 Asic_SetWindow(PAsic chip, SANE_Byte bScanBits, unsigned short wXResolution, unsigned short wYResolution, unsigned short wX, unsigned short wY, unsigned short wWidth, unsigned short wLength) Asic_SetWindow() argument 4273 Asic_Reset(PAsic chip) Asic_Reset() argument 4301 Asic_SetSource(PAsic chip, LIGHTSOURCE lsLightSource) Asic_SetSource() argument 4327 Asic_ScanStart(PAsic chip) Asic_ScanStart() argument 4351 Asic_ScanStop(PAsic chip) Asic_ScanStop() argument 4407 Asic_ReadImage(PAsic chip, SANE_Byte * pBuffer, unsigned short LinesCount) Asic_ReadImage() argument 4447 Asic_CheckFunctionKey(PAsic chip, SANE_Byte * key) Asic_CheckFunctionKey() argument 4490 Asic_IsTAConnected(PAsic chip, SANE_Bool * hasTA) Asic_IsTAConnected() argument 4517 Asic_DownloadGammaTable(PAsic chip, void * lpBuffer) Asic_DownloadGammaTable() argument 4530 Asic_ReadCalibrationData(PAsic chip, void * pBuffer, unsigned int dwXferBytes, SANE_Byte bScanBits) Asic_ReadCalibrationData() argument 4596 Asic_SetMotorType(PAsic chip, SANE_Bool isMotorMove, SANE_Bool isUniformSpeed) Asic_SetMotorType() argument 4615 Asic_MotorMove(PAsic chip, SANE_Bool isForward, unsigned int dwTotalSteps) Asic_MotorMove() argument 4679 Asic_CarriageHome(PAsic chip, SANE_Bool isTA) Asic_CarriageHome() argument 4698 Asic_SetShadingTable(PAsic chip, unsigned short * lpWhiteShading, unsigned short * lpDarkShading, unsigned short wXResolution, unsigned short wWidth, unsigned short wX) Asic_SetShadingTable() argument 4804 Asic_WaitCarriageHome(PAsic chip, SANE_Bool isTA) Asic_WaitCarriageHome() argument 4834 Asic_SetCalibrate(PAsic chip, SANE_Byte bScanBits, unsigned short wXResolution, unsigned short wYResolution, unsigned short wX, unsigned short wY, unsigned short wWidth, unsigned short wLength, SANE_Bool isShading) Asic_SetCalibrate() argument 5245 Asic_SetAFEGainOffset(PAsic chip) Asic_SetAFEGainOffset() argument [all...] |
| /kernel/linux/linux-6.6/drivers/usb/typec/tcpm/ |
| H A D | fusb302.c | 38 * for the current capability offered by the SRC. As FUSB302 chip fires 92 /* lock for sharing chip states */ 95 /* chip status */ 127 static bool fusb302_log_full(struct fusb302_chip *chip) in fusb302_log_full() argument 129 return chip->logbuffer_tail == in fusb302_log_full() 130 (chip->logbuffer_head + 1) % LOG_BUFFER_ENTRIES; in fusb302_log_full() 134 static void _fusb302_log(struct fusb302_chip *chip, const char *fmt, in _fusb302_log() argument 141 if (!chip->logbuffer[chip->logbuffer_head]) { in _fusb302_log() 142 chip in _fusb302_log() 182 fusb302_log(struct fusb302_chip *chip, const char *fmt, ...) fusb302_log() argument 193 struct fusb302_chip *chip = s->private; fusb302_debug_show() local 210 fusb302_debugfs_init(struct fusb302_chip *chip) fusb302_debugfs_init() argument 221 fusb302_debugfs_exit(struct fusb302_chip *chip) fusb302_debugfs_exit() argument 228 fusb302_log(const struct fusb302_chip *chip, const char *fmt, ...) fusb302_log() argument 230 fusb302_debugfs_init(const struct fusb302_chip *chip) fusb302_debugfs_init() argument 231 fusb302_debugfs_exit(const struct fusb302_chip *chip) fusb302_debugfs_exit() argument 235 fusb302_i2c_write(struct fusb302_chip *chip, u8 address, u8 data) fusb302_i2c_write() argument 248 fusb302_i2c_block_write(struct fusb302_chip *chip, u8 address, u8 length, const u8 *data) fusb302_i2c_block_write() argument 265 fusb302_i2c_read(struct fusb302_chip *chip, u8 address, u8 *data) fusb302_i2c_read() argument 278 fusb302_i2c_block_read(struct fusb302_chip *chip, u8 address, u8 length, u8 *data) fusb302_i2c_block_read() argument 303 fusb302_i2c_mask_write(struct fusb302_chip *chip, u8 address, u8 mask, u8 value) fusb302_i2c_mask_write() argument 321 fusb302_i2c_set_bits(struct fusb302_chip *chip, u8 address, u8 set_bits) fusb302_i2c_set_bits() argument 327 fusb302_i2c_clear_bits(struct fusb302_chip *chip, u8 address, u8 clear_bits) fusb302_i2c_clear_bits() argument 333 fusb302_sw_reset(struct fusb302_chip *chip) fusb302_sw_reset() argument 347 fusb302_enable_tx_auto_retries(struct fusb302_chip *chip, u8 retry_count) fusb302_enable_tx_auto_retries() argument 361 fusb302_init_interrupt(struct fusb302_chip *chip) fusb302_init_interrupt() argument 383 fusb302_set_power_mode(struct fusb302_chip *chip, u8 power_mode) fusb302_set_power_mode() argument 394 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_init() local 425 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_get_vbus() local 438 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_get_current_limit() local 468 fusb302_set_src_current(struct fusb302_chip *chip, enum src_current_status status) fusb302_set_src_current() argument 497 fusb302_set_toggling(struct fusb302_chip *chip, enum toggling_mode mode) fusb302_set_toggling() argument 599 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_set_cc() local 706 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_get_cc() local 727 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_set_vconn() local 758 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_set_vbus() local 790 fusb302_pd_tx_flush(struct fusb302_chip *chip) fusb302_pd_tx_flush() argument 796 fusb302_pd_rx_flush(struct fusb302_chip *chip) fusb302_pd_rx_flush() argument 802 fusb302_pd_set_auto_goodcrc(struct fusb302_chip *chip, bool on) fusb302_pd_set_auto_goodcrc() argument 811 fusb302_pd_set_interrupts(struct fusb302_chip *chip, bool on) fusb302_pd_set_interrupts() argument 839 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_set_pd_rx() local 886 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_set_roles() local 918 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_start_toggling() local 955 fusb302_pd_send_message(struct fusb302_chip *chip, const struct pd_message *msg) fusb302_pd_send_message() argument 1004 fusb302_pd_send_hardreset(struct fusb302_chip *chip) fusb302_pd_send_hardreset() argument 1024 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_pd_transmit() local 1072 struct fusb302_chip *chip = container_of(work, struct fusb302_chip, fusb302_bc_lvl_handler_work() local 1139 fusb302_set_cc_polarity_and_pull(struct fusb302_chip *chip, enum typec_cc_polarity cc_polarity, bool pull_up, bool pull_down) fusb302_set_cc_polarity_and_pull() argument 1180 fusb302_handle_togdone_snk(struct fusb302_chip *chip, u8 togdone_result) fusb302_handle_togdone_snk() argument 1243 fusb302_get_src_cc_status(struct fusb302_chip *chip, enum typec_cc_polarity cc_polarity, enum typec_cc_status *cc) fusb302_get_src_cc_status() argument 1298 fusb302_handle_togdone_src(struct fusb302_chip *chip, u8 togdone_result) fusb302_handle_togdone_src() argument 1384 fusb302_handle_togdone(struct fusb302_chip *chip) fusb302_handle_togdone() argument 1416 fusb302_pd_reset(struct fusb302_chip *chip) fusb302_pd_reset() argument 1422 fusb302_pd_read_message(struct fusb302_chip *chip, struct pd_message *msg) fusb302_pd_read_message() argument 1477 struct fusb302_chip *chip = dev_id; fusb302_irq_intn() local 1495 struct fusb302_chip *chip = container_of(work, struct fusb302_chip, fusb302_irq_work() local 1628 init_gpio(struct fusb302_chip *chip) init_gpio() argument 1682 struct fusb302_chip *chip; fusb302_probe() local 1774 struct fusb302_chip *chip = i2c_get_clientdata(client); fusb302_remove() local 1788 struct fusb302_chip *chip = dev->driver_data; fusb302_pm_suspend() local 1802 struct fusb302_chip *chip = dev->driver_data; fusb302_pm_resume() local [all...] |
| /kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
| H A D | global1_atu.c | 13 #include "chip.h" 18 static int mv88e6xxx_g1_atu_fid_write(struct mv88e6xxx_chip *chip, u16 fid) in mv88e6xxx_g1_atu_fid_write() argument 20 return mv88e6xxx_g1_write(chip, MV88E6352_G1_ATU_FID, fid & 0xfff); in mv88e6xxx_g1_atu_fid_write() 25 int mv88e6xxx_g1_atu_set_learn2all(struct mv88e6xxx_chip *chip, bool learn2all) in mv88e6xxx_g1_atu_set_learn2all() argument 30 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_CTL, &val); in mv88e6xxx_g1_atu_set_learn2all() 39 return mv88e6xxx_g1_write(chip, MV88E6XXX_G1_ATU_CTL, val); in mv88e6xxx_g1_atu_set_learn2all() 42 int mv88e6xxx_g1_atu_set_age_time(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_atu_set_age_time() argument 45 const unsigned int coeff = chip->info->age_time_coeff; in mv88e6xxx_g1_atu_set_age_time() 58 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_CTL, &val); in mv88e6xxx_g1_atu_set_age_time() 66 err = mv88e6xxx_g1_write(chip, MV88E6XXX_G1_ATU_CT in mv88e6xxx_g1_atu_set_age_time() 76 mv88e6165_g1_atu_get_hash(struct mv88e6xxx_chip *chip, u8 *hash) mv88e6165_g1_atu_get_hash() argument 90 mv88e6165_g1_atu_set_hash(struct mv88e6xxx_chip *chip, u8 hash) mv88e6165_g1_atu_set_hash() argument 110 mv88e6xxx_g1_atu_op_wait(struct mv88e6xxx_chip *chip) mv88e6xxx_g1_atu_op_wait() argument 117 mv88e6xxx_g1_atu_op(struct mv88e6xxx_chip *chip, u16 fid, u16 op) mv88e6xxx_g1_atu_op() argument 157 mv88e6xxx_g1_atu_get_next(struct mv88e6xxx_chip *chip, u16 fid) mv88e6xxx_g1_atu_get_next() argument 164 mv88e6xxx_g1_atu_data_read(struct mv88e6xxx_chip *chip, struct mv88e6xxx_atu_entry *entry) mv88e6xxx_g1_atu_data_read() argument 183 mv88e6xxx_g1_atu_data_write(struct mv88e6xxx_chip *chip, struct mv88e6xxx_atu_entry *entry) mv88e6xxx_g1_atu_data_write() argument 203 mv88e6xxx_g1_atu_mac_read(struct mv88e6xxx_chip *chip, struct mv88e6xxx_atu_entry *entry) mv88e6xxx_g1_atu_mac_read() argument 221 mv88e6xxx_g1_atu_mac_write(struct mv88e6xxx_chip *chip, struct mv88e6xxx_atu_entry *entry) mv88e6xxx_g1_atu_mac_write() argument 239 mv88e6xxx_g1_atu_getnext(struct mv88e6xxx_chip *chip, u16 fid, struct mv88e6xxx_atu_entry *entry) mv88e6xxx_g1_atu_getnext() argument 266 mv88e6xxx_g1_atu_loadpurge(struct mv88e6xxx_chip *chip, u16 fid, struct mv88e6xxx_atu_entry *entry) mv88e6xxx_g1_atu_loadpurge() argument 286 mv88e6xxx_g1_atu_flushmove(struct mv88e6xxx_chip *chip, u16 fid, struct mv88e6xxx_atu_entry *entry, bool all) mv88e6xxx_g1_atu_flushmove() argument 314 mv88e6xxx_g1_atu_flush(struct mv88e6xxx_chip *chip, u16 fid, bool all) mv88e6xxx_g1_atu_flush() argument 323 mv88e6xxx_g1_atu_move(struct mv88e6xxx_chip *chip, u16 fid, int from_port, int to_port, bool all) mv88e6xxx_g1_atu_move() argument 343 mv88e6xxx_g1_atu_remove(struct mv88e6xxx_chip *chip, u16 fid, int port, bool all) mv88e6xxx_g1_atu_remove() argument 354 struct mv88e6xxx_chip *chip = dev_id; mv88e6xxx_g1_atu_prob_irq_thread_fn() local 419 mv88e6xxx_g1_atu_prob_irq_setup(struct mv88e6xxx_chip *chip) mv88e6xxx_g1_atu_prob_irq_setup() argument 441 mv88e6xxx_g1_atu_prob_irq_free(struct mv88e6xxx_chip *chip) mv88e6xxx_g1_atu_prob_irq_free() argument [all...] |
| /kernel/linux/linux-5.10/drivers/usb/typec/tcpm/ |
| H A D | fusb302.c | 38 * for the current capability offered by the SRC. As FUSB302 chip fires 92 /* lock for sharing chip states */ 95 /* chip status */ 127 static bool fusb302_log_full(struct fusb302_chip *chip) in fusb302_log_full() argument 129 return chip->logbuffer_tail == in fusb302_log_full() 130 (chip->logbuffer_head + 1) % LOG_BUFFER_ENTRIES; in fusb302_log_full() 134 static void _fusb302_log(struct fusb302_chip *chip, const char *fmt, in _fusb302_log() argument 141 if (!chip->logbuffer[chip->logbuffer_head]) { in _fusb302_log() 142 chip in _fusb302_log() 182 fusb302_log(struct fusb302_chip *chip, const char *fmt, ...) fusb302_log() argument 193 struct fusb302_chip *chip = (struct fusb302_chip *)s->private; fusb302_debug_show() local 210 fusb302_debugfs_init(struct fusb302_chip *chip) fusb302_debugfs_init() argument 220 fusb302_debugfs_exit(struct fusb302_chip *chip) fusb302_debugfs_exit() argument 227 fusb302_log(const struct fusb302_chip *chip, const char *fmt, ...) fusb302_log() argument 229 fusb302_debugfs_init(const struct fusb302_chip *chip) fusb302_debugfs_init() argument 230 fusb302_debugfs_exit(const struct fusb302_chip *chip) fusb302_debugfs_exit() argument 234 fusb302_i2c_write(struct fusb302_chip *chip, u8 address, u8 data) fusb302_i2c_write() argument 247 fusb302_i2c_block_write(struct fusb302_chip *chip, u8 address, u8 length, const u8 *data) fusb302_i2c_block_write() argument 264 fusb302_i2c_read(struct fusb302_chip *chip, u8 address, u8 *data) fusb302_i2c_read() argument 277 fusb302_i2c_block_read(struct fusb302_chip *chip, u8 address, u8 length, u8 *data) fusb302_i2c_block_read() argument 302 fusb302_i2c_mask_write(struct fusb302_chip *chip, u8 address, u8 mask, u8 value) fusb302_i2c_mask_write() argument 320 fusb302_i2c_set_bits(struct fusb302_chip *chip, u8 address, u8 set_bits) fusb302_i2c_set_bits() argument 326 fusb302_i2c_clear_bits(struct fusb302_chip *chip, u8 address, u8 clear_bits) fusb302_i2c_clear_bits() argument 332 fusb302_sw_reset(struct fusb302_chip *chip) fusb302_sw_reset() argument 346 fusb302_enable_tx_auto_retries(struct fusb302_chip *chip) fusb302_enable_tx_auto_retries() argument 361 fusb302_init_interrupt(struct fusb302_chip *chip) fusb302_init_interrupt() argument 383 fusb302_set_power_mode(struct fusb302_chip *chip, u8 power_mode) fusb302_set_power_mode() argument 394 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_init() local 425 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_get_vbus() local 438 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_get_current_limit() local 468 fusb302_set_src_current(struct fusb302_chip *chip, enum src_current_status status) fusb302_set_src_current() argument 497 fusb302_set_toggling(struct fusb302_chip *chip, enum toggling_mode mode) fusb302_set_toggling() argument 599 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_set_cc() local 706 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_get_cc() local 727 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_set_vconn() local 758 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_set_vbus() local 790 fusb302_pd_tx_flush(struct fusb302_chip *chip) fusb302_pd_tx_flush() argument 796 fusb302_pd_rx_flush(struct fusb302_chip *chip) fusb302_pd_rx_flush() argument 802 fusb302_pd_set_auto_goodcrc(struct fusb302_chip *chip, bool on) fusb302_pd_set_auto_goodcrc() argument 811 fusb302_pd_set_interrupts(struct fusb302_chip *chip, bool on) fusb302_pd_set_interrupts() argument 839 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_set_pd_rx() local 886 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_set_roles() local 918 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_start_toggling() local 955 fusb302_pd_send_message(struct fusb302_chip *chip, const struct pd_message *msg) fusb302_pd_send_message() argument 1004 fusb302_pd_send_hardreset(struct fusb302_chip *chip) fusb302_pd_send_hardreset() argument 1024 struct fusb302_chip *chip = container_of(dev, struct fusb302_chip, tcpm_pd_transmit() local 1065 struct fusb302_chip *chip = container_of(work, struct fusb302_chip, fusb302_bc_lvl_handler_work() local 1132 fusb302_set_cc_polarity_and_pull(struct fusb302_chip *chip, enum typec_cc_polarity cc_polarity, bool pull_up, bool pull_down) fusb302_set_cc_polarity_and_pull() argument 1173 fusb302_handle_togdone_snk(struct fusb302_chip *chip, u8 togdone_result) fusb302_handle_togdone_snk() argument 1236 fusb302_get_src_cc_status(struct fusb302_chip *chip, enum typec_cc_polarity cc_polarity, enum typec_cc_status *cc) fusb302_get_src_cc_status() argument 1291 fusb302_handle_togdone_src(struct fusb302_chip *chip, u8 togdone_result) fusb302_handle_togdone_src() argument 1377 fusb302_handle_togdone(struct fusb302_chip *chip) fusb302_handle_togdone() argument 1409 fusb302_pd_reset(struct fusb302_chip *chip) fusb302_pd_reset() argument 1415 fusb302_pd_read_message(struct fusb302_chip *chip, struct pd_message *msg) fusb302_pd_read_message() argument 1470 struct fusb302_chip *chip = dev_id; fusb302_irq_intn() local 1488 struct fusb302_chip *chip = container_of(work, struct fusb302_chip, fusb302_irq_work() local 1621 init_gpio(struct fusb302_chip *chip) init_gpio() argument 1676 struct fusb302_chip *chip; fusb302_probe() local 1769 struct fusb302_chip *chip = i2c_get_clientdata(client); fusb302_remove() local 1785 struct fusb302_chip *chip = dev->driver_data; fusb302_pm_suspend() local 1799 struct fusb302_chip *chip = dev->driver_data; fusb302_pm_resume() local [all...] |
| /kernel/linux/linux-5.10/sound/drivers/vx/ |
| H A D | vx_uer.c | 20 static int vx_modify_board_clock(struct vx_core *chip, int sync) in vx_modify_board_clock() argument 28 return vx_send_msg(chip, &rmh); in vx_modify_board_clock() 34 static int vx_modify_board_inputs(struct vx_core *chip) in vx_modify_board_inputs() argument 40 return vx_send_msg(chip, &rmh); in vx_modify_board_inputs() 48 static int vx_read_one_cbit(struct vx_core *chip, int index) in vx_read_one_cbit() argument 52 mutex_lock(&chip->lock); in vx_read_one_cbit() 53 if (chip->type >= VX_TYPE_VXPOCKET) { in vx_read_one_cbit() 54 vx_outb(chip, CSUER, 1); /* read */ in vx_read_one_cbit() 55 vx_outb(chip, RUER, index & XX_UER_CBITS_OFFSET_MASK); in vx_read_one_cbit() 56 val = (vx_inb(chip, RUE in vx_read_one_cbit() 71 vx_write_one_cbit(struct vx_core *chip, int index, int val) vx_write_one_cbit() argument 92 vx_read_uer_status(struct vx_core *chip, unsigned int *mode) vx_read_uer_status() argument 148 vx_calc_clock_from_freq(struct vx_core *chip, int freq) vx_calc_clock_from_freq() argument 177 vx_change_clock_source(struct vx_core *chip, int source) vx_change_clock_source() argument 193 vx_set_internal_clock(struct vx_core *chip, unsigned int freq) vx_set_internal_clock() argument 216 vx_set_iec958_status(struct vx_core *chip, unsigned int bits) vx_set_iec958_status() argument 231 vx_set_clock(struct vx_core *chip, unsigned int freq) vx_set_clock() argument 273 vx_change_frequency(struct vx_core *chip) vx_change_frequency() argument [all...] |
| /kernel/linux/linux-6.6/sound/drivers/vx/ |
| H A D | vx_uer.c | 20 static int vx_modify_board_clock(struct vx_core *chip, int sync) in vx_modify_board_clock() argument 28 return vx_send_msg(chip, &rmh); in vx_modify_board_clock() 34 static int vx_modify_board_inputs(struct vx_core *chip) in vx_modify_board_inputs() argument 40 return vx_send_msg(chip, &rmh); in vx_modify_board_inputs() 48 static int vx_read_one_cbit(struct vx_core *chip, int index) in vx_read_one_cbit() argument 52 mutex_lock(&chip->lock); in vx_read_one_cbit() 53 if (chip->type >= VX_TYPE_VXPOCKET) { in vx_read_one_cbit() 54 vx_outb(chip, CSUER, 1); /* read */ in vx_read_one_cbit() 55 vx_outb(chip, RUER, index & XX_UER_CBITS_OFFSET_MASK); in vx_read_one_cbit() 56 val = (vx_inb(chip, RUE in vx_read_one_cbit() 71 vx_write_one_cbit(struct vx_core *chip, int index, int val) vx_write_one_cbit() argument 92 vx_read_uer_status(struct vx_core *chip, unsigned int *mode) vx_read_uer_status() argument 148 vx_calc_clock_from_freq(struct vx_core *chip, int freq) vx_calc_clock_from_freq() argument 177 vx_change_clock_source(struct vx_core *chip, int source) vx_change_clock_source() argument 193 vx_set_internal_clock(struct vx_core *chip, unsigned int freq) vx_set_internal_clock() argument 216 vx_set_iec958_status(struct vx_core *chip, unsigned int bits) vx_set_iec958_status() argument 231 vx_set_clock(struct vx_core *chip, unsigned int freq) vx_set_clock() argument 273 vx_change_frequency(struct vx_core *chip) vx_change_frequency() argument [all...] |
| /kernel/linux/linux-6.6/drivers/char/tpm/ |
| H A D | tpm-interface.c | 17 * Note, the TPM chip is not interrupt driven (only polling) 44 * @chip: TPM chip to use. 47 * The function returns the maximum amount of time the chip could take 52 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm_calc_ordinal_duration() argument 54 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_calc_ordinal_duration() 55 return tpm2_calc_ordinal_duration(chip, ordinal); in tpm_calc_ordinal_duration() 57 return tpm1_calc_ordinal_duration(chip, ordinal); in tpm_calc_ordinal_duration() 61 static ssize_t tpm_try_transmit(struct tpm_chip *chip, void *buf, size_t bufsiz) in tpm_try_transmit() argument 80 dev_err(&chip in tpm_try_transmit() 153 tpm_transmit(struct tpm_chip *chip, u8 *buf, size_t bufsiz) tpm_transmit() argument 213 tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf, size_t min_rsp_body_length, const char *desc) tpm_transmit_cmd() argument 239 tpm_get_timeouts(struct tpm_chip *chip) tpm_get_timeouts() argument 260 tpm_is_tpm2(struct tpm_chip *chip) tpm_is_tpm2() argument 284 tpm_pcr_read(struct tpm_chip *chip, u32 pcr_idx, struct tpm_digest *digest) tpm_pcr_read() argument 314 tpm_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, struct tpm_digest *digests) tpm_pcr_extend() argument 353 tpm_send(struct tpm_chip *chip, void *cmd, size_t buflen) tpm_send() argument 370 tpm_auto_startup(struct tpm_chip *chip) tpm_auto_startup() argument 391 struct tpm_chip *chip = dev_get_drvdata(dev); tpm_pm_suspend() local 429 struct tpm_chip *chip = dev_get_drvdata(dev); tpm_pm_resume() local 454 tpm_get_random(struct tpm_chip *chip, u8 *out, size_t max) tpm_get_random() argument [all...] |
| /kernel/linux/linux-5.10/sound/pci/oxygen/ |
| H A D | xonar_pcm179x.c | 232 static inline void pcm1796_write_spi(struct oxygen *chip, unsigned int codec, in pcm1796_write_spi() argument 239 oxygen_write_spi(chip, OXYGEN_SPI_TRIGGER | in pcm1796_write_spi() 247 static inline void pcm1796_write_i2c(struct oxygen *chip, unsigned int codec, in pcm1796_write_i2c() argument 250 oxygen_write_i2c(chip, I2C_DEVICE_PCM1796(codec), reg, value); in pcm1796_write_i2c() 253 static void pcm1796_write(struct oxygen *chip, unsigned int codec, in pcm1796_write() argument 256 struct xonar_pcm179x *data = chip->model_data; in pcm1796_write() 258 if ((chip->model.function_flags & OXYGEN_FUNCTION_2WIRE_SPI_MASK) == in pcm1796_write() 260 pcm1796_write_spi(chip, codec, reg, value); in pcm1796_write() 262 pcm1796_write_i2c(chip, codec, reg, value); in pcm1796_write() 268 static void pcm1796_write_cached(struct oxygen *chip, unsigne argument 277 cs2000_write(struct oxygen *chip, u8 reg, u8 value) cs2000_write() argument 285 cs2000_write_cached(struct oxygen *chip, u8 reg, u8 value) cs2000_write_cached() argument 293 pcm1796_registers_init(struct oxygen *chip) pcm1796_registers_init() argument 318 pcm1796_init(struct oxygen *chip) pcm1796_init() argument 334 xonar_d2_init(struct oxygen *chip) xonar_d2_init() argument 356 xonar_d2x_init(struct oxygen *chip) xonar_d2x_init() argument 368 xonar_hdav_init(struct oxygen *chip) xonar_hdav_init() argument 400 xonar_st_init_i2c(struct oxygen *chip) xonar_st_init_i2c() argument 408 xonar_st_init_common(struct oxygen *chip) xonar_st_init_common() argument 432 cs2000_registers_init(struct oxygen *chip) cs2000_registers_init() argument 457 xonar_st_init(struct oxygen *chip) xonar_st_init() argument 482 xonar_stx_init(struct oxygen *chip) xonar_stx_init() argument 495 xonar_xense_init(struct oxygen *chip) xonar_xense_init() argument 540 xonar_d2_cleanup(struct oxygen *chip) xonar_d2_cleanup() argument 545 xonar_hdav_cleanup(struct oxygen *chip) xonar_hdav_cleanup() argument 552 xonar_st_cleanup(struct oxygen *chip) xonar_st_cleanup() argument 557 xonar_d2_suspend(struct oxygen *chip) xonar_d2_suspend() argument 562 xonar_hdav_suspend(struct oxygen *chip) xonar_hdav_suspend() argument 567 xonar_st_suspend(struct oxygen *chip) xonar_st_suspend() argument 572 xonar_d2_resume(struct oxygen *chip) xonar_d2_resume() argument 578 xonar_hdav_resume(struct oxygen *chip) xonar_hdav_resume() argument 587 xonar_stx_resume(struct oxygen *chip) xonar_stx_resume() argument 593 xonar_st_resume(struct oxygen *chip) xonar_st_resume() argument 599 update_pcm1796_oversampling(struct oxygen *chip) update_pcm1796_oversampling() argument 613 update_pcm1796_deemph(struct oxygen *chip) update_pcm1796_deemph() argument 630 set_pcm1796_params(struct oxygen *chip, struct snd_pcm_hw_params *params) set_pcm1796_params() argument 641 update_pcm1796_volume(struct oxygen *chip) update_pcm1796_volume() argument 657 update_pcm1796_mute(struct oxygen *chip) update_pcm1796_mute() argument 672 update_cs2000_rate(struct oxygen *chip, unsigned int rate) update_cs2000_rate() argument 709 set_st_params(struct oxygen *chip, struct snd_pcm_hw_params *params) set_st_params() argument 716 set_hdav_params(struct oxygen *chip, struct snd_pcm_hw_params *params) set_hdav_params() argument 747 struct oxygen *chip = ctl->private_data; rolloff_get() local 759 struct oxygen *chip = ctl->private_data; rolloff_put() local 792 struct oxygen *chip = ctl->private_data; deemph_get() local 803 struct oxygen *chip = ctl->private_data; deemph_put() local 854 struct oxygen *chip = ctl->private_data; st_output_switch_get() local 871 struct oxygen *chip = ctl->private_data; st_output_switch_put() local 909 struct oxygen *chip = ctl->private_data; st_hp_volume_offset_get() local 930 struct oxygen *chip = ctl->private_data; st_hp_volume_offset_put() local 968 struct oxygen *chip = ctl->private_data; xense_output_switch_get() local 984 struct oxygen *chip = ctl->private_data; xense_output_switch_put() local 1026 xonar_line_mic_ac97_switch(struct oxygen *chip, unsigned int reg, unsigned int mute) xonar_line_mic_ac97_switch() argument 1056 add_pcm1796_controls(struct oxygen *chip) add_pcm1796_controls() argument 1074 xonar_d2_mixer_init(struct oxygen *chip) xonar_d2_mixer_init() argument 1087 xonar_hdav_mixer_init(struct oxygen *chip) xonar_hdav_mixer_init() argument 1100 xonar_st_mixer_init(struct oxygen *chip) xonar_st_mixer_init() argument 1117 xonar_xense_mixer_init(struct oxygen *chip) xonar_xense_mixer_init() argument 1134 dump_pcm1796_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_pcm1796_registers() argument 1149 dump_cs2000_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_cs2000_registers() argument 1166 dump_st_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_st_registers() argument 1275 get_xonar_pcm179x_model(struct oxygen *chip, const struct pci_device_id *id) get_xonar_pcm179x_model() argument [all...] |
| /kernel/linux/linux-6.6/sound/pci/oxygen/ |
| H A D | xonar_pcm179x.c | 232 static inline void pcm1796_write_spi(struct oxygen *chip, unsigned int codec, in pcm1796_write_spi() argument 239 oxygen_write_spi(chip, OXYGEN_SPI_TRIGGER | in pcm1796_write_spi() 247 static inline void pcm1796_write_i2c(struct oxygen *chip, unsigned int codec, in pcm1796_write_i2c() argument 250 oxygen_write_i2c(chip, I2C_DEVICE_PCM1796(codec), reg, value); in pcm1796_write_i2c() 253 static void pcm1796_write(struct oxygen *chip, unsigned int codec, in pcm1796_write() argument 256 struct xonar_pcm179x *data = chip->model_data; in pcm1796_write() 258 if ((chip->model.function_flags & OXYGEN_FUNCTION_2WIRE_SPI_MASK) == in pcm1796_write() 260 pcm1796_write_spi(chip, codec, reg, value); in pcm1796_write() 262 pcm1796_write_i2c(chip, codec, reg, value); in pcm1796_write() 268 static void pcm1796_write_cached(struct oxygen *chip, unsigne argument 277 cs2000_write(struct oxygen *chip, u8 reg, u8 value) cs2000_write() argument 285 cs2000_write_cached(struct oxygen *chip, u8 reg, u8 value) cs2000_write_cached() argument 293 pcm1796_registers_init(struct oxygen *chip) pcm1796_registers_init() argument 318 pcm1796_init(struct oxygen *chip) pcm1796_init() argument 334 xonar_d2_init(struct oxygen *chip) xonar_d2_init() argument 356 xonar_d2x_init(struct oxygen *chip) xonar_d2x_init() argument 368 xonar_hdav_init(struct oxygen *chip) xonar_hdav_init() argument 400 xonar_st_init_i2c(struct oxygen *chip) xonar_st_init_i2c() argument 408 xonar_st_init_common(struct oxygen *chip) xonar_st_init_common() argument 432 cs2000_registers_init(struct oxygen *chip) cs2000_registers_init() argument 457 xonar_st_init(struct oxygen *chip) xonar_st_init() argument 482 xonar_stx_init(struct oxygen *chip) xonar_stx_init() argument 495 xonar_xense_init(struct oxygen *chip) xonar_xense_init() argument 540 xonar_d2_cleanup(struct oxygen *chip) xonar_d2_cleanup() argument 545 xonar_hdav_cleanup(struct oxygen *chip) xonar_hdav_cleanup() argument 552 xonar_st_cleanup(struct oxygen *chip) xonar_st_cleanup() argument 557 xonar_d2_suspend(struct oxygen *chip) xonar_d2_suspend() argument 562 xonar_hdav_suspend(struct oxygen *chip) xonar_hdav_suspend() argument 567 xonar_st_suspend(struct oxygen *chip) xonar_st_suspend() argument 572 xonar_d2_resume(struct oxygen *chip) xonar_d2_resume() argument 578 xonar_hdav_resume(struct oxygen *chip) xonar_hdav_resume() argument 587 xonar_stx_resume(struct oxygen *chip) xonar_stx_resume() argument 593 xonar_st_resume(struct oxygen *chip) xonar_st_resume() argument 599 update_pcm1796_oversampling(struct oxygen *chip) update_pcm1796_oversampling() argument 613 update_pcm1796_deemph(struct oxygen *chip) update_pcm1796_deemph() argument 630 set_pcm1796_params(struct oxygen *chip, struct snd_pcm_hw_params *params) set_pcm1796_params() argument 641 update_pcm1796_volume(struct oxygen *chip) update_pcm1796_volume() argument 657 update_pcm1796_mute(struct oxygen *chip) update_pcm1796_mute() argument 672 update_cs2000_rate(struct oxygen *chip, unsigned int rate) update_cs2000_rate() argument 709 set_st_params(struct oxygen *chip, struct snd_pcm_hw_params *params) set_st_params() argument 716 set_hdav_params(struct oxygen *chip, struct snd_pcm_hw_params *params) set_hdav_params() argument 747 struct oxygen *chip = ctl->private_data; rolloff_get() local 759 struct oxygen *chip = ctl->private_data; rolloff_put() local 792 struct oxygen *chip = ctl->private_data; deemph_get() local 803 struct oxygen *chip = ctl->private_data; deemph_put() local 854 struct oxygen *chip = ctl->private_data; st_output_switch_get() local 871 struct oxygen *chip = ctl->private_data; st_output_switch_put() local 909 struct oxygen *chip = ctl->private_data; st_hp_volume_offset_get() local 930 struct oxygen *chip = ctl->private_data; st_hp_volume_offset_put() local 968 struct oxygen *chip = ctl->private_data; xense_output_switch_get() local 984 struct oxygen *chip = ctl->private_data; xense_output_switch_put() local 1026 xonar_line_mic_ac97_switch(struct oxygen *chip, unsigned int reg, unsigned int mute) xonar_line_mic_ac97_switch() argument 1056 add_pcm1796_controls(struct oxygen *chip) add_pcm1796_controls() argument 1074 xonar_d2_mixer_init(struct oxygen *chip) xonar_d2_mixer_init() argument 1087 xonar_hdav_mixer_init(struct oxygen *chip) xonar_hdav_mixer_init() argument 1100 xonar_st_mixer_init(struct oxygen *chip) xonar_st_mixer_init() argument 1117 xonar_xense_mixer_init(struct oxygen *chip) xonar_xense_mixer_init() argument 1134 dump_pcm1796_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_pcm1796_registers() argument 1149 dump_cs2000_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_cs2000_registers() argument 1166 dump_st_registers(struct oxygen *chip, struct snd_info_buffer *buffer) dump_st_registers() argument 1275 get_xonar_pcm179x_model(struct oxygen *chip, const struct pci_device_id *id) get_xonar_pcm179x_model() argument [all...] |
| /kernel/linux/linux-5.10/drivers/gpio/ |
| H A D | gpio-pch.c | 101 struct pch_gpio *chip = gpiochip_get_data(gpio); in pch_gpio_set() local 104 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_set() 105 reg_val = ioread32(&chip->reg->po); in pch_gpio_set() 111 iowrite32(reg_val, &chip->reg->po); in pch_gpio_set() 112 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_set() 117 struct pch_gpio *chip = gpiochip_get_data(gpio); in pch_gpio_get() local 119 return !!(ioread32(&chip->reg->pi) & BIT(nr)); in pch_gpio_get() 125 struct pch_gpio *chip = gpiochip_get_data(gpio); in pch_gpio_direction_output() local 130 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_direction_output() 132 reg_val = ioread32(&chip in pch_gpio_direction_output() 151 struct pch_gpio *chip = gpiochip_get_data(gpio); pch_gpio_direction_input() local 168 pch_gpio_save_reg_conf(struct pch_gpio *chip) pch_gpio_save_reg_conf() argument 184 pch_gpio_restore_reg_conf(struct pch_gpio *chip) pch_gpio_restore_reg_conf() argument 201 struct pch_gpio *chip = gpiochip_get_data(gpio); pch_gpio_to_irq() local 206 pch_gpio_setup(struct pch_gpio *chip) pch_gpio_setup() argument 226 struct pch_gpio *chip = gc->private; pch_irq_type() local 281 struct pch_gpio *chip = gc->private; pch_irq_unmask() local 289 struct pch_gpio *chip = gc->private; pch_irq_mask() local 297 struct pch_gpio *chip = gc->private; pch_irq_ack() local 304 struct pch_gpio *chip = dev_id; pch_gpio_handler() local 318 pch_gpio_alloc_generic_chip(struct pch_gpio *chip, unsigned int irq_start, unsigned int num) pch_gpio_alloc_generic_chip() argument 350 struct pch_gpio *chip; pch_gpio_probe() local 415 struct pch_gpio *chip = dev_get_drvdata(dev); pch_gpio_suspend() local 427 struct pch_gpio *chip = dev_get_drvdata(dev); pch_gpio_resume() local [all...] |
| /kernel/linux/linux-6.6/tools/testing/selftests/gpio/ |
| H A D | gpio-sim.sh | 46 rmdir $CONFIGFS_DIR/$CHIP || fail "Unable to remove the chip" 73 echo $LABEL > $CONFIGFS_DIR/$CHIP/$BANK/label || fail "Unable to set the chip label" 99 echo 1 > $CONFIGFS_DIR/$CHIP/live || fail "Unable to enable the chip" 105 echo 0 > $CONFIGFS_DIR/$CHIP/live || fail "Unable to disable the chip" 113 fail "unable to read the chip name from configfs" 127 $BASE_DIR/gpio-chip-info /dev/`configfs_chip_name $CHIP $BANK` num-lines || \ 135 $BASE_DIR/gpio-chip-info /dev/`configfs_chip_name $CHIP $BANK` label || \ 136 fail "unable to read the chip label from the character device" 180 create_chip chip 181 create_bank chip ban [all...] |