Home
last modified time | relevance | path

Searched refs:vx_core (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/include/sound/
Dvx_core.h72 struct vx_core;
76 unsigned char (*in8)(struct vx_core *chip, int reg);
77 unsigned int (*in32)(struct vx_core *chip, int reg);
78 void (*out8)(struct vx_core *chip, int reg, unsigned char val);
79 void (*out32)(struct vx_core *chip, int reg, unsigned int val);
81 int (*test_and_ack)(struct vx_core *chip);
82 void (*validate_irq)(struct vx_core *chip, int enable);
84 void (*write_codec)(struct vx_core *chip, int codec, unsigned int data);
85 void (*akm_write)(struct vx_core *chip, int reg, unsigned int data);
86 void (*reset_codec)(struct vx_core *chip);
[all …]
/linux-5.19.10/sound/pci/vx222/
Dvx222_ops.c74 static inline unsigned long vx2_reg_addr(struct vx_core *_chip, int reg) in vx2_reg_addr()
85 static unsigned char vx2_inb(struct vx_core *chip, int offset) in vx2_inb()
96 static void vx2_outb(struct vx_core *chip, int offset, unsigned char val) in vx2_outb()
109 static unsigned int vx2_inl(struct vx_core *chip, int offset) in vx2_inl()
120 static void vx2_outl(struct vx_core *chip, int offset, unsigned int val) in vx2_outl()
132 #define vx_inb(chip,reg) vx2_inb((struct vx_core*)(chip), VX_##reg)
134 #define vx_outb(chip,reg,val) vx2_outb((struct vx_core*)(chip), VX_##reg, val)
136 #define vx_inl(chip,reg) vx2_inl((struct vx_core*)(chip), VX_##reg)
138 #define vx_outl(chip,reg,val) vx2_outl((struct vx_core*)(chip), VX_##reg, val)
147 static void vx2_reset_dsp(struct vx_core *_chip) in vx2_reset_dsp()
[all …]
Dvx222.c107 struct vx_core *chip; in snd_vx222_create()
120 sizeof(struct snd_vx222) - sizeof(struct vx_core)); in snd_vx222_create()
Dvx222.h15 struct vx_core core;
/linux-5.19.10/sound/pcmcia/vx/
Dvxp_ops.c38 static inline unsigned long vxp_reg_addr(struct vx_core *_chip, int reg) in vxp_reg_addr()
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)
69 #define vx_outb(chip,reg,val) vxp_outb((struct vx_core *)(chip), VX_##reg,val)
77 static int vx_check_magic(struct vx_core *chip) in vx_check_magic()
98 static void vxp_reset_dsp(struct vx_core *_chip) in vxp_reset_dsp()
116 static void vxp_reset_codec(struct vx_core *_chip) in vxp_reset_codec()
135 static int vxp_load_xilinx_binary(struct vx_core *_chip, const struct firmware *fw) in vxp_load_xilinx_binary()
233 static int vxp_load_dsp(struct vx_core *vx, int index, const struct firmware *fw) in vxp_load_dsp()
[all …]
Dvxpocket.h18 struct vx_core core;
37 void vx_set_mic_boost(struct vx_core *chip, int boost);
38 void vx_set_mic_level(struct vx_core *chip, int level);
40 int vxp_add_mic_controls(struct vx_core *chip);
Dvxpocket.c110 struct vx_core *chip; in snd_vxpocket_new()
114 sizeof(struct snd_vxpocket) - sizeof(struct vx_core)); in snd_vxpocket_new()
148 static int snd_vxpocket_assign_resources(struct vx_core *chip, int port, int irq) in snd_vxpocket_assign_resources()
178 struct vx_core *chip = link->priv; in vxpocket_config()
227 struct vx_core *chip = link->priv; in vxp_suspend()
240 struct vx_core *chip = link->priv; in vxp_resume()
304 struct vx_core *chip; in vxpocket_detach()
310 chip = (struct vx_core *)vxp; in vxpocket_detach()
Dvxp_mixer.c32 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_get()
40 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_put()
77 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_boost_get()
85 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_boost_put()
108 int vxp_add_mic_controls(struct vx_core *_chip) in vxp_add_mic_controls()
/linux-5.19.10/sound/drivers/vx/
Dvx_uer.c20 static int vx_modify_board_clock(struct vx_core *chip, int sync) in vx_modify_board_clock()
34 static int vx_modify_board_inputs(struct vx_core *chip) in vx_modify_board_inputs()
48 static int vx_read_one_cbit(struct vx_core *chip, int index) in vx_read_one_cbit()
71 static void vx_write_one_cbit(struct vx_core *chip, int index, int val) in vx_write_one_cbit()
92 static int vx_read_uer_status(struct vx_core *chip, unsigned int *mode) in vx_read_uer_status()
148 static int vx_calc_clock_from_freq(struct vx_core *chip, int freq) in vx_calc_clock_from_freq()
177 static void vx_change_clock_source(struct vx_core *chip, int source) in vx_change_clock_source()
193 void vx_set_internal_clock(struct vx_core *chip, unsigned int freq) in vx_set_internal_clock()
216 void vx_set_iec958_status(struct vx_core *chip, unsigned int bits) in vx_set_iec958_status()
231 int vx_set_clock(struct vx_core *chip, unsigned int freq) in vx_set_clock()
[all …]
Dvx_mixer.c20 static void vx_write_codec_reg(struct vx_core *chip, int codec, unsigned int data) in vx_write_codec_reg()
74 static void vx_set_codec_reg(struct vx_core *chip, int codec, int reg, int val) in vx_set_codec_reg()
91 static void vx_set_analog_output_level(struct vx_core *chip, int codec, int left, int right) in vx_set_analog_output_level()
115 void vx_toggle_dac_mute(struct vx_core *chip, int mute) in vx_toggle_dac_mute()
130 void vx_reset_codec(struct vx_core *chip, int cold_reset) in vx_reset_codec()
164 static void vx_change_audio_source(struct vx_core *chip, int src) in vx_change_audio_source()
179 int vx_sync_audio_source(struct vx_core *chip) in vx_sync_audio_source()
204 static int vx_adjust_audio_level(struct vx_core *chip, int audio, int capture, in vx_adjust_audio_level()
243 static int vx_read_audio_level(struct vx_core *chip, int audio, int capture,
270 int vx_set_monitor_level(struct vx_core *chip, int audio, int level, int active) in vx_set_monitor_level()
[all …]
Dvx_core.c39 int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int time) in snd_vx_check_reg_bit()
69 static int vx_send_irq_dsp(struct vx_core *chip, int num) in vx_send_irq_dsp()
90 static int vx_reset_chk(struct vx_core *chip) in vx_reset_chk()
109 static int vx_transfer_end(struct vx_core *chip, int cmd) in vx_transfer_end()
152 static int vx_read_status(struct vx_core *chip, struct vx_rmh *rmh) in vx_read_status()
233 int vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh) in vx_send_msg_nolock()
346 int vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh) in vx_send_msg()
368 int vx_send_rih_nolock(struct vx_core *chip, int cmd) in vx_send_rih_nolock()
409 int vx_send_rih(struct vx_core *chip, int cmd) in vx_send_rih()
426 int snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *boot) in snd_vx_load_boot_image()
[all …]
Dvx_pcm.c45 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 …]
Dvx_hwdep.c33 int snd_vx_setup_firmware(struct vx_core *chip) in snd_vx_setup_firmware()
102 void snd_vx_free_firmware(struct vx_core *chip) in snd_vx_free_firmware()
DMakefile7 snd-vx-lib-objs := vx_core.o vx_hwdep.o vx_pcm.o vx_mixer.o vx_cmd.o vx_uer.o