| /OK3568_Linux_fs/kernel/sound/isa/ad1816a/ |
| H A D | ad1816a_lib.c | 20 static inline int snd_ad1816a_busy_wait(struct snd_ad1816a *chip) in snd_ad1816a_busy_wait() 32 static inline unsigned char snd_ad1816a_in(struct snd_ad1816a *chip, unsigned char reg) in snd_ad1816a_in() 38 static inline void snd_ad1816a_out(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_out() 45 static inline void snd_ad1816a_out_mask(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_out_mask() 52 static unsigned short snd_ad1816a_read(struct snd_ad1816a *chip, unsigned char reg) in snd_ad1816a_read() 59 static void snd_ad1816a_write(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_write() 67 static void snd_ad1816a_write_mask(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_write_mask() 75 static unsigned char snd_ad1816a_get_format(struct snd_ad1816a *chip, in snd_ad1816a_get_format() 97 static int snd_ad1816a_open(struct snd_ad1816a *chip, unsigned int mode) in snd_ad1816a_open() 133 static void snd_ad1816a_close(struct snd_ad1816a *chip, unsigned int mode) in snd_ad1816a_close() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/hda/ |
| H A D | hda_intel.c | 280 #define azx_get_snoop_type(chip) \ argument 361 #define use_vga_switcheroo(chip) ((chip)->use_vga_switcheroo) argument 362 #define needs_eld_notify_link(chip) ((chip)->bus.keep_power) argument 364 #define use_vga_switcheroo(chip) 0 argument 365 #define needs_eld_notify_link(chip) false argument 418 static void azx_init_pci(struct azx *chip) in azx_init_pci() 485 static void bxt_reduce_dma_latency(struct azx *chip) in bxt_reduce_dma_latency() 503 static int intel_get_lctl_scf(struct azx *chip) in intel_get_lctl_scf() 522 static int intel_ml_lctl_set_power(struct azx *chip, int state) in intel_ml_lctl_set_power() 549 static void intel_init_lctl(struct azx *chip) in intel_init_lctl() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/echoaudio/ |
| H A D | echoaudio.c | 33 struct echoaudio *chip, const short fw_index) in get_firmware() 65 struct echoaudio *chip) in free_firmware() 76 static void free_firmware_cache(struct echoaudio *chip) in free_firmware_cache() 247 struct echoaudio *chip = rule->private; in hw_rule_sample_rate() local 269 struct echoaudio *chip; in pcm_open() local 359 struct echoaudio *chip = snd_pcm_substream_chip(substream); in pcm_analog_in_open() local 383 struct echoaudio *chip = snd_pcm_substream_chip(substream); in pcm_analog_out_open() local 415 struct echoaudio *chip = snd_pcm_substream_chip(substream); in pcm_digital_in_open() local 452 struct echoaudio *chip = snd_pcm_substream_chip(substream); in pcm_digital_out_open() local 493 struct echoaudio *chip = snd_pcm_substream_chip(substream); in pcm_close() local [all …]
|
| H A D | layla20_dsp.c | 39 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) in init_hw() 72 static int set_mixer_defaults(struct echoaudio *chip) in set_mixer_defaults() 80 static u32 detect_input_clocks(const struct echoaudio *chip) in detect_input_clocks() 111 static int check_asic_status(struct echoaudio *chip) in check_asic_status() 141 static int load_asic(struct echoaudio *chip) in load_asic() 159 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate() 186 static int set_input_clock(struct echoaudio *chip, u16 clock_source) in set_input_clock() 226 static int set_output_clock(struct echoaudio *chip, u16 clock) in set_output_clock() 252 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) in set_input_gain() 269 static int update_flags(struct echoaudio *chip) in update_flags() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/oxygen/ |
| H A D | xonar_cs43xx.c | 66 static void cs4398_write(struct oxygen *chip, u8 reg, u8 value) in cs4398_write() 75 static void cs4398_write_cached(struct oxygen *chip, u8 reg, u8 value) in cs4398_write_cached() 83 static void cs4362a_write(struct oxygen *chip, u8 reg, u8 value) in cs4362a_write() 92 static void cs4362a_write_cached(struct oxygen *chip, u8 reg, u8 value) in cs4362a_write_cached() 100 static void cs43xx_registers_init(struct oxygen *chip) in cs43xx_registers_init() 127 static void xonar_d1_init(struct oxygen *chip) in xonar_d1_init() 175 static void xonar_dx_init(struct oxygen *chip) in xonar_dx_init() 186 static void xonar_d1_cleanup(struct oxygen *chip) in xonar_d1_cleanup() 193 static void xonar_d1_suspend(struct oxygen *chip) in xonar_d1_suspend() 198 static void xonar_d1_resume(struct oxygen *chip) in xonar_d1_resume() [all …]
|
| H A D | oxygen_lib.c | 29 static inline int oxygen_uart_input_ready(struct oxygen *chip) in oxygen_uart_input_ready() 34 static void oxygen_read_uart(struct oxygen *chip) in oxygen_read_uart() 55 struct oxygen *chip = dev_id; in oxygen_interrupt() local 120 struct oxygen *chip = container_of(work, struct oxygen, in oxygen_spdif_input_bits_changed() local 181 struct oxygen *chip = container_of(work, struct oxygen, gpio_work); in oxygen_gpio_changed() local 190 struct oxygen *chip = entry->private_data; in oxygen_proc_read() local 233 static void oxygen_proc_init(struct oxygen *chip) in oxygen_proc_init() 239 oxygen_search_pci_id(struct oxygen *chip, const struct pci_device_id ids[]) in oxygen_search_pci_id() 269 static void oxygen_restore_eeprom(struct oxygen *chip, in oxygen_restore_eeprom() 353 static void oxygen_init(struct oxygen *chip) in oxygen_init() [all …]
|
| H A D | xonar_wm87x6.c | 90 static void wm8776_write_spi(struct oxygen *chip, in wm8776_write_spi() 101 static void wm8776_write_i2c(struct oxygen *chip, in wm8776_write_i2c() 108 static void wm8776_write(struct oxygen *chip, in wm8776_write() 126 static void wm8776_write_cached(struct oxygen *chip, in wm8776_write_cached() 136 static void wm8766_write(struct oxygen *chip, in wm8766_write() 156 static void wm8766_write_cached(struct oxygen *chip, in wm8766_write_cached() 166 static void wm8776_registers_init(struct oxygen *chip) in wm8776_registers_init() 191 static void wm8766_registers_init(struct oxygen *chip) in wm8766_registers_init() 208 static void wm8776_init(struct oxygen *chip) in wm8776_init() 225 static void wm8766_init(struct oxygen *chip) in wm8766_init() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pcmcia/vx/ |
| H A D | vxp_ops.c | 40 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reg_addr() local 48 static unsigned char vxp_inb(struct vx_core *chip, int offset) in vxp_inb() 58 static void vxp_outb(struct vx_core *chip, int offset, unsigned char val) in vxp_outb() 67 #define vx_inb(chip,reg) vxp_inb((struct vx_core *)(chip), VX_##reg) argument 69 #define vx_outb(chip,reg,val) vxp_outb((struct vx_core *)(chip), VX_##reg,val) argument 77 static int vx_check_magic(struct vx_core *chip) in vx_check_magic() 100 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_dsp() local 118 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_codec() local 137 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_load_xilinx_binary() local 270 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_test_and_ack() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/dsa/mv88e6xxx/ |
| H A D | global1_atu.c | 18 static int mv88e6xxx_g1_atu_fid_write(struct mv88e6xxx_chip *chip, u16 fid) 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() 42 int mv88e6xxx_g1_atu_set_age_time(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_atu_set_age_time() 76 int mv88e6165_g1_atu_get_hash(struct mv88e6xxx_chip *chip, u8 *hash) in mv88e6165_g1_atu_get_hash() 90 int mv88e6165_g1_atu_set_hash(struct mv88e6xxx_chip *chip, u8 hash) in mv88e6165_g1_atu_set_hash() 110 static int mv88e6xxx_g1_atu_op_wait(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_atu_op_wait() 117 static int mv88e6xxx_g1_atu_op(struct mv88e6xxx_chip *chip, u16 fid, u16 op) in mv88e6xxx_g1_atu_op() 157 int mv88e6xxx_g1_atu_get_next(struct mv88e6xxx_chip *chip, u16 fid) in mv88e6xxx_g1_atu_get_next() 164 static int mv88e6xxx_g1_atu_data_read(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_atu_data_read() 183 static int mv88e6xxx_g1_atu_data_write(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_atu_data_write() [all …]
|
| H A D | global2_avb.c | 32 static int mv88e6xxx_g2_avb_wait(struct mv88e6xxx_chip *chip) in mv88e6xxx_g2_avb_wait() 39 static int mv88e6xxx_g2_avb_read(struct mv88e6xxx_chip *chip, u16 readop, in mv88e6xxx_g2_avb_read() 73 static int mv88e6xxx_g2_avb_write(struct mv88e6xxx_chip *chip, u16 writeop, in mv88e6xxx_g2_avb_write() 92 static int mv88e6352_g2_avb_port_ptp_read(struct mv88e6xxx_chip *chip, in mv88e6352_g2_avb_port_ptp_read() 104 static int mv88e6352_g2_avb_port_ptp_write(struct mv88e6xxx_chip *chip, in mv88e6352_g2_avb_port_ptp_write() 113 static int mv88e6352_g2_avb_ptp_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_ptp_read() 121 static int mv88e6352_g2_avb_ptp_write(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_ptp_write() 129 static int mv88e6352_g2_avb_tai_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_tai_read() 137 static int mv88e6352_g2_avb_tai_write(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_tai_write() 154 static int mv88e6165_g2_avb_tai_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6165_g2_avb_tai_read() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-s3c/ |
| H A D | gpio-samsung.c | 40 int samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip, in samsung_gpio_setpull_updown() 55 samsung_gpio_pull_t samsung_gpio_getpull_updown(struct samsung_gpio_chip *chip, in samsung_gpio_getpull_updown() 68 int s3c2443_gpio_setpull(struct samsung_gpio_chip *chip, in s3c2443_gpio_setpull() 85 samsung_gpio_pull_t s3c2443_gpio_getpull(struct samsung_gpio_chip *chip, in s3c2443_gpio_getpull() 108 static int s3c24xx_gpio_setpull_1(struct samsung_gpio_chip *chip, in s3c24xx_gpio_setpull_1() 126 static samsung_gpio_pull_t s3c24xx_gpio_getpull_1(struct samsung_gpio_chip *chip, in s3c24xx_gpio_getpull_1() 137 samsung_gpio_pull_t s3c24xx_gpio_getpull_1up(struct samsung_gpio_chip *chip, in s3c24xx_gpio_getpull_1up() 143 int s3c24xx_gpio_setpull_1up(struct samsung_gpio_chip *chip, in s3c24xx_gpio_setpull_1up() 149 samsung_gpio_pull_t s3c24xx_gpio_getpull_1down(struct samsung_gpio_chip *chip, in s3c24xx_gpio_getpull_1down() 155 int s3c24xx_gpio_setpull_1down(struct samsung_gpio_chip *chip, in s3c24xx_gpio_setpull_1down() [all …]
|
| /OK3568_Linux_fs/kernel/sound/drivers/vx/ |
| H A D | vx_pcm.c | 45 static void vx_pcm_read_per_bytes(struct vx_core *chip, struct snd_pcm_runtime *runtime, in vx_pcm_read_per_bytes() 72 static void vx_set_pcx_time(struct vx_core *chip, pcx_time_t *pc_time, in vx_set_pcx_time() 89 static int vx_set_differed_time(struct vx_core *chip, struct vx_rmh *rmh, in vx_set_differed_time() 123 static int vx_set_stream_format(struct vx_core *chip, struct vx_pipe *pipe, in vx_set_stream_format() 150 static int vx_set_format(struct vx_core *chip, struct vx_pipe *pipe, in vx_set_format() 179 static int vx_set_ibl(struct vx_core *chip, struct vx_ibl_info *info) in vx_set_ibl() 209 static int vx_get_pipe_state(struct vx_core *chip, struct vx_pipe *pipe, int *state) in vx_get_pipe_state() 234 static int vx_query_hbuffer_size(struct vx_core *chip, struct vx_pipe *pipe) in vx_query_hbuffer_size() 258 static int vx_pipe_can_start(struct vx_core *chip, struct vx_pipe *pipe) in vx_pipe_can_start() 279 static int vx_conf_pipe(struct vx_core *chip, struct vx_pipe *pipe) in vx_conf_pipe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/ |
| H A D | fusb302.c | 128 static bool fusb302_log_full(struct fusb302_chip *chip) in fusb302_log_full() 135 static void _fusb302_log(struct fusb302_chip *chip, const char *fmt, in _fusb302_log() 183 static void fusb302_log(struct fusb302_chip *chip, const char *fmt, ...) in fusb302_log() 194 struct fusb302_chip *chip = (struct fusb302_chip *)s->private; in fusb302_debug_show() local 211 static void fusb302_debugfs_init(struct fusb302_chip *chip) in fusb302_debugfs_init() 221 static void fusb302_debugfs_exit(struct fusb302_chip *chip) in fusb302_debugfs_exit() 228 static void fusb302_log(const struct fusb302_chip *chip, in fusb302_log() 230 static void fusb302_debugfs_init(const struct fusb302_chip *chip) { } in fusb302_debugfs_init() 231 static void fusb302_debugfs_exit(const struct fusb302_chip *chip) { } in fusb302_debugfs_exit() 235 static int fusb302_i2c_write(struct fusb302_chip *chip, in fusb302_i2c_write() [all …]
|
| /OK3568_Linux_fs/kernel/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() 26 static int spi_init(struct rtsx_chip *chip) in spi_init() 43 static int spi_set_init_para(struct rtsx_chip *chip) in spi_set_init_para() 83 static int sf_polling_status(struct rtsx_chip *chip, int msec) in sf_polling_status() 105 static int sf_enable_write(struct rtsx_chip *chip, u8 ins) in sf_enable_write() 133 static int sf_disable_write(struct rtsx_chip *chip, u8 ins) in sf_disable_write() 161 static void sf_program(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr, in sf_program() 185 static int sf_erase(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr) in sf_erase() 219 static int spi_init_eeprom(struct rtsx_chip *chip) in spi_init_eeprom() 267 static int spi_eeprom_program_enable(struct rtsx_chip *chip) in spi_eeprom_program_enable() [all …]
|
| H A D | rtsx_scsi.c | 22 void scsi_show_command(struct rtsx_chip *chip) in scsi_show_command() 313 void set_sense_type(struct rtsx_chip *chip, unsigned int lun, int sense_type) in set_sense_type() 388 void set_sense_data(struct rtsx_chip *chip, unsigned int lun, u8 err_code, in set_sense_data() 411 static int test_unit_ready(struct scsi_cmnd *srb, struct rtsx_chip *chip) in test_unit_ready() 463 static int inquiry(struct scsi_cmnd *srb, struct rtsx_chip *chip) in inquiry() 548 static int start_stop_unit(struct scsi_cmnd *srb, struct rtsx_chip *chip) in start_stop_unit() 581 static int allow_medium_removal(struct scsi_cmnd *srb, struct rtsx_chip *chip) in allow_medium_removal() 598 static int request_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) in request_sense() 643 static void ms_mode_sense(struct rtsx_chip *chip, u8 cmd, in ms_mode_sense() 736 static int mode_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) in mode_sense() [all …]
|
| H A D | sd.c | 46 static inline void sd_set_err_code(struct rtsx_chip *chip, u8 err_code) in sd_set_err_code() 53 static inline void sd_clr_err_code(struct rtsx_chip *chip) in sd_clr_err_code() 60 static inline int sd_check_err_code(struct rtsx_chip *chip, u8 err_code) in sd_check_err_code() 67 static void sd_init_reg_addr(struct rtsx_chip *chip) in sd_init_reg_addr() 95 static int sd_check_data0_status(struct rtsx_chip *chip) in sd_check_data0_status() 112 static int sd_send_cmd_get_rsp(struct rtsx_chip *chip, u8 cmd_idx, 260 static int sd_read_data(struct rtsx_chip *chip, 327 static int sd_write_data(struct rtsx_chip *chip, u8 trans_mode, 393 static int sd_check_csd(struct rtsx_chip *chip, char check_wp) 497 static int sd_set_sample_push_timing(struct rtsx_chip *chip) [all …]
|
| H A D | ms.c | 20 static inline void ms_set_err_code(struct rtsx_chip *chip, u8 err_code) in ms_set_err_code() 27 static inline int ms_check_err_code(struct rtsx_chip *chip, u8 err_code) in ms_check_err_code() 34 static int ms_parse_err_code(struct rtsx_chip *chip) in ms_parse_err_code() 39 static int ms_transfer_tpc(struct rtsx_chip *chip, u8 trans_mode, in ms_transfer_tpc() 95 static int ms_transfer_data(struct rtsx_chip *chip, u8 trans_mode, in ms_transfer_data() 162 static int ms_write_bytes(struct rtsx_chip *chip, in ms_write_bytes() 226 static int ms_read_bytes(struct rtsx_chip *chip, in ms_read_bytes() 302 static int ms_set_rw_reg_addr(struct rtsx_chip *chip, u8 read_start, in ms_set_rw_reg_addr() 324 static int ms_send_cmd(struct rtsx_chip *chip, u8 cmd, u8 cfg) in ms_send_cmd() 334 static int ms_set_init_para(struct rtsx_chip *chip) in ms_set_init_para() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/lx6464es/ |
| H A D | lx6464es.c | 97 static int lx_hardware_open(struct lx6464es *chip, in lx_hardware_open() 124 static int lx_hardware_start(struct lx6464es *chip, in lx_hardware_start() 156 static int lx_hardware_stop(struct lx6464es *chip, in lx_hardware_stop() 187 static int lx_hardware_close(struct lx6464es *chip, in lx_hardware_close() 206 struct lx6464es *chip = snd_pcm_substream_chip(substream); in lx_pcm_open() local 271 struct lx6464es *chip = snd_pcm_substream_chip(substream); in lx_pcm_stream_pointer() local 290 struct lx6464es *chip = snd_pcm_substream_chip(substream); in lx_pcm_prepare() local 344 struct lx6464es *chip = snd_pcm_substream_chip(substream); in lx_pcm_hw_params() local 373 struct lx6464es *chip = snd_pcm_substream_chip(substream); in lx_pcm_hw_free() local 408 static void lx_trigger_start(struct lx6464es *chip, struct lx_stream *lx_stream) in lx_trigger_start() [all …]
|
| H A D | lx_core.c | 55 static void __iomem *lx_dsp_register(struct lx6464es *chip, int port) in lx_dsp_register() 61 unsigned long lx_dsp_reg_read(struct lx6464es *chip, int port) in lx_dsp_reg_read() 67 static void lx_dsp_reg_readbuf(struct lx6464es *chip, int port, u32 *data, in lx_dsp_reg_readbuf() 79 void lx_dsp_reg_write(struct lx6464es *chip, int port, unsigned data) in lx_dsp_reg_write() 85 static void lx_dsp_reg_writebuf(struct lx6464es *chip, int port, in lx_dsp_reg_writebuf() 112 static void __iomem *lx_plx_register(struct lx6464es *chip, int port) in lx_plx_register() 118 unsigned long lx_plx_reg_read(struct lx6464es *chip, int port) in lx_plx_reg_read() 124 void lx_plx_reg_write(struct lx6464es *chip, int port, u32 data) in lx_plx_reg_write() 256 static int lx_message_send_atomic(struct lx6464es *chip, struct lx_rmh *rmh) in lx_message_send_atomic() 317 int lx_dsp_get_version(struct lx6464es *chip, u32 *rdsp_version) in lx_dsp_get_version() [all …]
|
| /OK3568_Linux_fs/kernel/sound/drivers/pcsp/ |
| H A D | pcsp_lib.c | 44 static u64 pcsp_timer_update(struct snd_pcsp *chip) in pcsp_timer_update() 88 static void pcsp_pointer_update(struct snd_pcsp *chip) in pcsp_pointer_update() 129 struct snd_pcsp *chip = container_of(handle, struct snd_pcsp, timer); in pcsp_do_timer() local 151 static int pcsp_start_playing(struct snd_pcsp *chip) in pcsp_start_playing() 172 static void pcsp_stop_playing(struct snd_pcsp *chip) in pcsp_stop_playing() 191 void pcsp_sync_stop(struct snd_pcsp *chip) in pcsp_sync_stop() 202 struct snd_pcsp *chip = snd_pcm_substream_chip(substream); in snd_pcsp_playback_close() local 214 struct snd_pcsp *chip = snd_pcm_substream_chip(substream); in snd_pcsp_playback_hw_params() local 221 struct snd_pcsp *chip = snd_pcm_substream_chip(substream); in snd_pcsp_playback_hw_free() local 231 struct snd_pcsp *chip = snd_pcm_substream_chip(substream); in snd_pcsp_playback_prepare() local [all …]
|
| /OK3568_Linux_fs/kernel/sound/pcmcia/pdaudiocf/ |
| H A D | pdaudiocf_core.c | 20 struct snd_pdacf *chip = private_data; in pdacf_ak4117_read() local 52 struct snd_pdacf *chip = private_data; in pdacf_ak4117_write() local 91 static int pdacf_reset(struct snd_pdacf *chip, int powerdown) in pdacf_reset() 114 void pdacf_reinit(struct snd_pdacf *chip, int resume) in pdacf_reinit() 127 struct snd_pdacf *chip = entry->private_data; in pdacf_proc_read() local 136 static void pdacf_proc_init(struct snd_pdacf *chip) in pdacf_proc_init() 143 struct snd_pdacf *chip; in snd_pdacf_create() local 159 struct snd_pdacf *chip = ak4117->change_callback_private; in snd_pdacf_ak4117_change() local 174 int snd_pdacf_ak4117_create(struct snd_pdacf *chip) in snd_pdacf_ak4117_create() 230 void snd_pdacf_powerdown(struct snd_pdacf *chip) in snd_pdacf_powerdown() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/lola/ |
| H A D | lola_mixer.c | 18 static int lola_init_pin(struct lola *chip, struct lola_pin *pin, in lola_init_pin() 81 int lola_init_pins(struct lola *chip, int dir, int *nidp) in lola_init_pins() 96 void lola_free_mixer(struct lola *chip) in lola_free_mixer() 101 int lola_init_mixer_widget(struct lola *chip, int nid) in lola_init_mixer_widget() 208 static int lola_mixer_set_src_gain(struct lola *chip, unsigned int id, in lola_mixer_set_src_gain() 268 static int lola_mixer_set_mapping_gain(struct lola *chip, in lola_mixer_set_mapping_gain() 320 int lola_setup_all_analog_gains(struct lola *chip, int dir, bool mute) in lola_setup_all_analog_gains() 337 void lola_save_mixer(struct lola *chip) in lola_save_mixer() 348 void lola_restore_mixer(struct lola *chip) in lola_restore_mixer() 383 static int set_analog_volume(struct lola *chip, int dir, in set_analog_volume() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/power/power_delivery/ |
| H A D | fusb302.c | 81 static int fusb302_i2c_write(struct fusb302_chip *chip, in fusb302_i2c_write() 94 static int fusb302_i2c_block_write(struct fusb302_chip *chip, u8 address, in fusb302_i2c_block_write() 110 static int fusb302_i2c_read(struct fusb302_chip *chip, in fusb302_i2c_read() 123 static int fusb302_i2c_block_read(struct fusb302_chip *chip, u8 address, in fusb302_i2c_block_read() 138 static int fusb302_i2c_mask_write(struct fusb302_chip *chip, u8 address, in fusb302_i2c_mask_write() 156 static int fusb302_i2c_set_bits(struct fusb302_chip *chip, u8 address, in fusb302_i2c_set_bits() 162 static int fusb302_i2c_clear_bits(struct fusb302_chip *chip, u8 address, in fusb302_i2c_clear_bits() 168 static int fusb302_sw_reset(struct fusb302_chip *chip) in fusb302_sw_reset() 182 static int fusb302_enable_tx_auto_retries(struct fusb302_chip *chip, u8 retry_count) in fusb302_enable_tx_auto_retries() 195 static int fusb302_mask_interrupt(struct fusb302_chip *chip) in fusb302_mask_interrupt() [all …]
|
| /OK3568_Linux_fs/kernel/sound/isa/es1688/ |
| H A D | es1688_lib.c | 24 static int snd_es1688_dsp_command(struct snd_es1688 *chip, unsigned char val) in snd_es1688_dsp_command() 39 static int snd_es1688_dsp_get_byte(struct snd_es1688 *chip) in snd_es1688_dsp_get_byte() 50 static int snd_es1688_write(struct snd_es1688 *chip, in snd_es1688_write() 58 static int snd_es1688_read(struct snd_es1688 *chip, unsigned char reg) in snd_es1688_read() 68 void snd_es1688_mixer_write(struct snd_es1688 *chip, in snd_es1688_mixer_write() 77 static unsigned char snd_es1688_mixer_read(struct snd_es1688 *chip, unsigned char reg) in snd_es1688_mixer_read() 88 int snd_es1688_reset(struct snd_es1688 *chip) in snd_es1688_reset() 106 static int snd_es1688_probe(struct snd_es1688 *chip) in snd_es1688_probe() 181 static int snd_es1688_init(struct snd_es1688 * chip, int enable) in snd_es1688_init() 296 static void snd_es1688_set_rate(struct snd_es1688 *chip, struct snd_pcm_substream *substream) in snd_es1688_set_rate() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/cs46xx/ |
| H A D | dsp_spos_scb_lib.c | 27 struct snd_cs46xx *chip; member 30 static void remove_symbol (struct snd_cs46xx * chip, struct dsp_symbol_entry * symbol) in remove_symbol() 62 struct snd_cs46xx *chip = scb_info->chip; in cs46xx_dsp_proc_scb_info_read() local 98 static void _dsp_unlink_scb (struct snd_cs46xx *chip, struct dsp_scb_descriptor * scb) in _dsp_unlink_scb() 148 static void _dsp_clear_sample_buffer (struct snd_cs46xx *chip, u32 sample_buffer_addr, in _dsp_clear_sample_buffer() 160 void cs46xx_dsp_remove_scb (struct snd_cs46xx *chip, struct dsp_scb_descriptor * scb) in cs46xx_dsp_remove_scb() 219 struct snd_cs46xx *chip = scb_info->chip; in cs46xx_dsp_proc_free_scb_desc() local 232 void cs46xx_dsp_proc_register_scb_desc (struct snd_cs46xx *chip, in cs46xx_dsp_proc_register_scb_desc() 265 _dsp_create_generic_scb (struct snd_cs46xx *chip, char * name, u32 * scb_data, u32 dest, in _dsp_create_generic_scb() 343 cs46xx_dsp_create_generic_scb (struct snd_cs46xx *chip, char * name, u32 * scb_data, in cs46xx_dsp_create_generic_scb() [all …]
|