Home
last modified time | relevance | path

Searched refs:comm_page (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.10/sound/pci/echoaudio/
Dechoaudio_dsp.c50 if (chip->comm_page->handshake) { in wait_handshake()
493 if (snd_BUG_ON(!chip->comm_page)) in load_firmware()
540 chip->comm_page->nominal_level_mask |= cpu_to_le32(1 << index); in set_nominal_level()
542 chip->comm_page->nominal_level_mask &= ~cpu_to_le32(1 << index); in set_nominal_level()
562 chip->comm_page->line_out_level[channel] = gain; in set_output_gain()
581 chip->comm_page->monitors[monitor_index(chip, output, input)] = gain; in set_monitor_gain()
619 memset((s8 *)chip->comm_page->vu_meter, ECHOGAIN_MUTED, in set_meters_on()
621 memset((s8 *)chip->comm_page->peak_meter, ECHOGAIN_MUTED, in set_meters_on()
644 meters[n++] = chip->comm_page->vu_meter[m]; in get_audio_meters()
645 meters[n++] = chip->comm_page->peak_meter[m]; in get_audio_meters()
[all …]
Dgina20_dsp.c84 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in detect_input_clocks()
131 chip->comm_page->sample_rate = cpu_to_le32(rate); in set_sample_rate()
132 chip->comm_page->gd_clock_state = clock_state; in set_sample_rate()
133 chip->comm_page->gd_spdif_status = spdif_status; in set_sample_rate()
134 chip->comm_page->gd_resampler_state = 3; /* magic number - should always be 3 */ in set_sample_rate()
161 chip->comm_page->gd_clock_state = GD_CLOCK_SPDIFIN; in set_input_clock()
162 chip->comm_page->gd_spdif_status = GD_SPDIF_STATUS_NOCHANGE; in set_input_clock()
188 chip->comm_page->line_in_level[input] = gain; in set_input_gain()
208 chip->comm_page->flags |= in set_professional_spdif()
211 chip->comm_page->flags &= in set_professional_spdif()
Dechoaudio_3g.c43 chip->comm_page->ext_box_status = cpu_to_le32(E3G_ASIC_NOT_LOADED); in check_asic_status()
53 box_status = le32_to_cpu(chip->comm_page->ext_box_status); in check_asic_status()
66 return le32_to_cpu(chip->comm_page->e3g_frq_register); in get_frq_reg()
87 if (ctl_reg != chip->comm_page->control_register || in write_control_reg()
88 frq_reg != chip->comm_page->e3g_frq_register || force) { in write_control_reg()
89 chip->comm_page->e3g_frq_register = frq_reg; in write_control_reg()
90 chip->comm_page->control_register = ctl_reg; in write_control_reg()
181 control_reg = le32_to_cpu(chip->comm_page->control_register); in set_professional_spdif()
199 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in detect_input_clocks()
267 chip->comm_page->sample_rate = cpu_to_le32(rate); in set_sample_rate()
[all …]
Dlayla24_dsp.c92 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in detect_input_clocks()
170 chip->comm_page->sample_rate = cpu_to_le32(rate); in set_sample_rate()
176 control_reg = le32_to_cpu(chip->comm_page->control_register); in set_sample_rate()
230 chip->comm_page->sample_rate = in set_sample_rate()
239 chip->comm_page->sample_rate = cpu_to_le32(rate); /* ignored by the DSP ? */ in set_sample_rate()
254 control_reg = le32_to_cpu(chip->comm_page->control_register) & in set_input_clock()
256 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in set_input_clock()
304 monitors = kmemdup(chip->comm_page->monitors, in switch_asic()
309 memset(chip->comm_page->monitors, ECHOGAIN_MUTED, in switch_asic()
315 memcpy(chip->comm_page->monitors, monitors, in switch_asic()
[all …]
Dlayla20_dsp.c85 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in detect_input_clocks()
169 chip->comm_page->sample_rate = cpu_to_le32(rate); in set_sample_rate()
179 chip->comm_page->sample_rate = cpu_to_le32(rate); in set_sample_rate()
214 chip->comm_page->input_clock = cpu_to_le16(clock); in set_input_clock()
243 chip->comm_page->output_clock = cpu_to_le16(clock); in set_output_clock()
262 chip->comm_page->line_in_level[input] = gain; in set_input_gain()
282 chip->comm_page->flags |= in set_professional_spdif()
285 chip->comm_page->flags &= in set_professional_spdif()
Dmia_dsp.c87 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in detect_input_clocks()
138 if (control_reg != le32_to_cpu(chip->comm_page->control_register)) { in set_sample_rate()
142 chip->comm_page->sample_rate = cpu_to_le32(rate); /* ignored by the DSP */ in set_sample_rate()
143 chip->comm_page->control_register = cpu_to_le32(control_reg); in set_sample_rate()
182 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain()
217 chip->comm_page->flags |= in set_professional_spdif()
220 chip->comm_page->flags &= in set_professional_spdif()
Dmidi.c46 chip->comm_page->flags |= in enable_midi_input()
49 chip->comm_page->flags &= in enable_midi_input()
72 chip->comm_page->midi_output[0] = bytes; in write_midi()
73 memcpy(&chip->comm_page->midi_output[1], data, bytes); in write_midi()
74 chip->comm_page->midi_out_free_count = 0; in write_midi()
121 count = le16_to_cpu(chip->comm_page->midi_input[0]); in midi_service_irq()
131 midi_byte = le16_to_cpu(chip->comm_page->midi_input[i]); in midi_service_irq()
Ddarla20_dsp.c115 chip->comm_page->sample_rate = cpu_to_le32(rate); in set_sample_rate()
116 chip->comm_page->gd_clock_state = clock_state; in set_sample_rate()
117 chip->comm_page->gd_spdif_status = spdif_status; in set_sample_rate()
118 chip->comm_page->gd_resampler_state = 3; /* magic number - should always be 3 */ in set_sample_rate()
Dgina24_dsp.c102 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in detect_input_clocks()
175 chip->comm_page->sample_rate = cpu_to_le32(rate); in set_sample_rate()
182 control_reg = le32_to_cpu(chip->comm_page->control_register); in set_sample_rate()
225 chip->comm_page->sample_rate = cpu_to_le32(rate); /* ignored by the DSP */ in set_sample_rate()
240 control_reg = le32_to_cpu(chip->comm_page->control_register) & in set_input_clock()
242 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in set_input_clock()
314 control_reg = le32_to_cpu(chip->comm_page->control_register); in dsp_set_digital_mode()
Dindigo_dsp.c117 if (control_reg != le32_to_cpu(chip->comm_page->control_register)) { in set_sample_rate()
121 chip->comm_page->sample_rate = cpu_to_le32(rate); /* ignored by the DSP */ in set_sample_rate()
122 chip->comm_page->control_register = cpu_to_le32(control_reg); in set_sample_rate()
148 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain()
Dindigodj_dsp.c117 if (control_reg != le32_to_cpu(chip->comm_page->control_register)) { in set_sample_rate()
121 chip->comm_page->sample_rate = cpu_to_le32(rate); /* ignored by the DSP */ in set_sample_rate()
122 chip->comm_page->control_register = cpu_to_le32(control_reg); in set_sample_rate()
148 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain()
Dmona_dsp.c95 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in detect_input_clocks()
207 chip->comm_page->sample_rate = cpu_to_le32(rate); in set_sample_rate()
244 control_reg = le32_to_cpu(chip->comm_page->control_register); in set_sample_rate()
288 chip->comm_page->sample_rate = cpu_to_le32(rate); /* ignored by the DSP */ in set_sample_rate()
304 control_reg = le32_to_cpu(chip->comm_page->control_register) & in set_input_clock()
306 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in set_input_clock()
390 control_reg = le32_to_cpu(chip->comm_page->control_register); in dsp_set_digital_mode()
Dindigo_express_dsp.c36 old_control_reg = le32_to_cpu(chip->comm_page->control_register); in set_sample_rate()
66 chip->comm_page->control_register = cpu_to_le32(control_reg); in set_sample_rate()
91 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain()
Ddarla24_dsp.c77 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in detect_input_clocks()
147 chip->comm_page->sample_rate = cpu_to_le32(rate); /* ignored by the DSP ? */ in set_sample_rate()
148 chip->comm_page->gd_clock_state = clock; in set_sample_rate()
Decho3g_dsp.c58 chip->comm_page->e3g_frq_register = in init_hw()
120 u32 control_reg = le32_to_cpu(chip->comm_page->control_register); in set_phantom_power()
129 le32_to_cpu(chip->comm_page->e3g_frq_register), in set_phantom_power()
Dechoaudio_gml.c78 if (reg_value != chip->comm_page->control_register || force) { in write_control_reg()
81 chip->comm_page->control_register = reg_value; in write_control_reg()
162 control_reg = le32_to_cpu(chip->comm_page->control_register); in set_professional_spdif()
Dindigoio_dsp.c96 chip->comm_page->sample_rate = cpu_to_le32(rate); in set_sample_rate()
118 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain()
Dechoaudio.h364 struct comm_page *comm_page; /* Virtual address of the memory member
459 chip->comm_page->handshake = 0; in clear_handshake()
Dechoaudio.c1869 if (chip->comm_page) in snd_echo_free()
1875 if (chip->comm_page) in snd_echo_free()
1974 sizeof(struct comm_page), in snd_echo_create()
1981 chip->comm_page = (struct comm_page *)chip->commpage_dma_buf.area; in snd_echo_create()
2202 struct comm_page *commpage, *commpage_bak; in snd_echo_resume()
2206 commpage = chip->comm_page; in snd_echo_resume()
Dechoaudio_dsp.h645 struct comm_page { /* Base Length*/ struct