Home
last modified time | relevance | path

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

/linux-3.4.99/include/sound/
Dvx_core.h93 struct vx_core;
97 unsigned char (*in8)(struct vx_core *chip, int reg);
98 unsigned int (*in32)(struct vx_core *chip, int reg);
99 void (*out8)(struct vx_core *chip, int reg, unsigned char val);
100 void (*out32)(struct vx_core *chip, int reg, unsigned int val);
102 int (*test_and_ack)(struct vx_core *chip);
103 void (*validate_irq)(struct vx_core *chip, int enable);
105 void (*write_codec)(struct vx_core *chip, int codec, unsigned int data);
106 void (*akm_write)(struct vx_core *chip, int reg, unsigned int data);
107 void (*reset_codec)(struct vx_core *chip);
[all …]
/linux-3.4.99/sound/pci/vx222/
Dvx222_ops.c87 static inline unsigned long vx2_reg_addr(struct vx_core *_chip, int reg) in vx2_reg_addr()
97 static unsigned char vx2_inb(struct vx_core *chip, int offset) in vx2_inb()
107 static void vx2_outb(struct vx_core *chip, int offset, unsigned char val) in vx2_outb()
119 static unsigned int vx2_inl(struct vx_core *chip, int offset) in vx2_inl()
129 static void vx2_outl(struct vx_core *chip, int offset, unsigned int val) in vx2_outl()
141 #define vx_inb(chip,reg) vx2_inb((struct vx_core*)(chip), VX_##reg)
143 #define vx_outb(chip,reg,val) vx2_outb((struct vx_core*)(chip), VX_##reg, val)
145 #define vx_inl(chip,reg) vx2_inl((struct vx_core*)(chip), VX_##reg)
147 #define vx_outl(chip,reg,val) vx2_outl((struct vx_core*)(chip), VX_##reg, val)
156 static void vx2_reset_dsp(struct vx_core *_chip) in vx2_reset_dsp()
[all …]
Dvx222.c117 static int snd_vx222_free(struct vx_core *chip) in snd_vx222_free()
132 struct vx_core *chip = device->device_data; in snd_vx222_dev_free()
141 struct vx_core *chip; in snd_vx222_create()
156 sizeof(struct snd_vx222) - sizeof(struct vx_core)); in snd_vx222_create()
Dvx222.h28 struct vx_core core;
/linux-3.4.99/sound/pcmcia/vx/
Dvxp_ops.c51 static inline unsigned long vxp_reg_addr(struct vx_core *_chip, int reg) in vxp_reg_addr()
61 static unsigned char vxp_inb(struct vx_core *chip, int offset) in vxp_inb()
71 static void vxp_outb(struct vx_core *chip, int offset, unsigned char val) in vxp_outb()
80 #define vx_inb(chip,reg) vxp_inb((struct vx_core *)(chip), VX_##reg)
82 #define vx_outb(chip,reg,val) vxp_outb((struct vx_core *)(chip), VX_##reg,val)
90 static int vx_check_magic(struct vx_core *chip) in vx_check_magic()
111 static void vxp_reset_dsp(struct vx_core *_chip) in vxp_reset_dsp()
129 static void vxp_reset_codec(struct vx_core *_chip) in vxp_reset_codec()
148 static int vxp_load_xilinx_binary(struct vx_core *_chip, const struct firmware *fw) in vxp_load_xilinx_binary()
246 static int vxp_load_dsp(struct vx_core *vx, int index, const struct firmware *fw) in vxp_load_dsp()
[all …]
Dvxpocket.h31 struct vx_core core;
48 void vx_set_mic_boost(struct vx_core *chip, int boost);
49 void vx_set_mic_level(struct vx_core *chip, int level);
51 int vxp_add_mic_controls(struct vx_core *chip);
Dvxpocket.c73 struct vx_core *chip = device->device_data; in snd_vxpocket_dev_free()
138 struct vx_core *chip; in snd_vxpocket_new()
146 sizeof(struct snd_vxpocket) - sizeof(struct vx_core)); in snd_vxpocket_new()
184 static int snd_vxpocket_assign_resources(struct vx_core *chip, int port, int irq) in snd_vxpocket_assign_resources()
212 struct vx_core *chip = link->priv; in vxpocket_config()
258 struct vx_core *chip = link->priv; in vxp_suspend()
271 struct vx_core *chip = link->priv; in vxp_resume()
334 struct vx_core *chip; in vxpocket_detach()
340 chip = (struct vx_core *)vxp; in vxpocket_detach()
Dvxp_mixer.c45 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_get()
53 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_put()
90 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_boost_get()
98 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_boost_put()
121 int vxp_add_mic_controls(struct vx_core *_chip) in vxp_add_mic_controls()
/linux-3.4.99/sound/drivers/vx/
Dvx_uer.c33 static int vx_modify_board_clock(struct vx_core *chip, int sync) in vx_modify_board_clock()
47 static int vx_modify_board_inputs(struct vx_core *chip) in vx_modify_board_inputs()
61 static int vx_read_one_cbit(struct vx_core *chip, int index) in vx_read_one_cbit()
84 static void vx_write_one_cbit(struct vx_core *chip, int index, int val) in vx_write_one_cbit()
106 static int vx_read_uer_status(struct vx_core *chip, unsigned int *mode) in vx_read_uer_status()
162 static int vx_calc_clock_from_freq(struct vx_core *chip, int freq) in vx_calc_clock_from_freq()
191 static void vx_change_clock_source(struct vx_core *chip, int source) in vx_change_clock_source()
209 void vx_set_internal_clock(struct vx_core *chip, unsigned int freq) in vx_set_internal_clock()
232 void vx_set_iec958_status(struct vx_core *chip, unsigned int bits) in vx_set_iec958_status()
247 int vx_set_clock(struct vx_core *chip, unsigned int freq) in vx_set_clock()
[all …]
Dvx_core.c52 int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int time) in snd_vx_check_reg_bit()
83 static int vx_send_irq_dsp(struct vx_core *chip, int num) in vx_send_irq_dsp()
104 static int vx_reset_chk(struct vx_core *chip) in vx_reset_chk()
123 static int vx_transfer_end(struct vx_core *chip, int cmd) in vx_transfer_end()
161 static int vx_read_status(struct vx_core *chip, struct vx_rmh *rmh) in vx_read_status()
242 int vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh) in vx_send_msg_nolock()
347 int vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh) in vx_send_msg()
370 int vx_send_rih_nolock(struct vx_core *chip, int cmd) in vx_send_rih_nolock()
407 int vx_send_rih(struct vx_core *chip, int cmd) in vx_send_rih()
424 int snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *boot) in snd_vx_load_boot_image()
[all …]
Dvx_pcm.c60 static void vx_pcm_read_per_bytes(struct vx_core *chip, struct snd_pcm_runtime *runtime, in vx_pcm_read_per_bytes()
88 static void vx_set_pcx_time(struct vx_core *chip, pcx_time_t *pc_time, in vx_set_pcx_time()
105 static int vx_set_differed_time(struct vx_core *chip, struct vx_rmh *rmh, in vx_set_differed_time()
139 static int vx_set_stream_format(struct vx_core *chip, struct vx_pipe *pipe, in vx_set_stream_format()
166 static int vx_set_format(struct vx_core *chip, struct vx_pipe *pipe, in vx_set_format()
195 static int vx_set_ibl(struct vx_core *chip, struct vx_ibl_info *info) in vx_set_ibl()
225 static int vx_get_pipe_state(struct vx_core *chip, struct vx_pipe *pipe, int *state) in vx_get_pipe_state()
250 static int vx_query_hbuffer_size(struct vx_core *chip, struct vx_pipe *pipe) in vx_query_hbuffer_size()
274 static int vx_pipe_can_start(struct vx_core *chip, struct vx_pipe *pipe) in vx_pipe_can_start()
295 static int vx_conf_pipe(struct vx_core *chip, struct vx_pipe *pipe) in vx_conf_pipe()
[all …]
Dvx_mixer.c33 static void vx_write_codec_reg(struct vx_core *chip, int codec, unsigned int data) in vx_write_codec_reg()
89 static void vx_set_codec_reg(struct vx_core *chip, int codec, int reg, int val) in vx_set_codec_reg()
106 static void vx_set_analog_output_level(struct vx_core *chip, int codec, int left, int right) in vx_set_analog_output_level()
130 void vx_toggle_dac_mute(struct vx_core *chip, int mute) in vx_toggle_dac_mute()
145 void vx_reset_codec(struct vx_core *chip, int cold_reset) in vx_reset_codec()
179 static void vx_change_audio_source(struct vx_core *chip, int src) in vx_change_audio_source()
196 int vx_sync_audio_source(struct vx_core *chip) in vx_sync_audio_source()
221 static int vx_adjust_audio_level(struct vx_core *chip, int audio, int capture, in vx_adjust_audio_level()
260 static int vx_read_audio_level(struct vx_core *chip, int audio, int capture,
287 int vx_set_monitor_level(struct vx_core *chip, int audio, int level, int active) in vx_set_monitor_level()
[all …]
Dvx_hwdep.c48 int snd_vx_setup_firmware(struct vx_core *chip) in snd_vx_setup_firmware()
113 void snd_vx_free_firmware(struct vx_core *chip) in snd_vx_free_firmware()
134 struct vx_core *vx = hw->private_data; in vx_hwdep_dsp_status()
160 struct vx_core *vx = hw->private_data; in vx_hwdep_dsp_load()
228 int snd_vx_setup_firmware(struct vx_core *chip) in snd_vx_setup_firmware()
248 void snd_vx_free_firmware(struct vx_core *chip) in snd_vx_free_firmware()
DMakefile6 snd-vx-lib-objs := vx_core.o vx_hwdep.o vx_pcm.o vx_mixer.o vx_cmd.o vx_uer.o