/Linux-v5.10/sound/pci/echoaudio/ |
D | echoaudio_dsp.c | 50 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 …]
|
D | gina20_dsp.c | 84 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()
|
D | echoaudio_3g.c | 43 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 …]
|
D | layla24_dsp.c | 92 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 …]
|
D | layla20_dsp.c | 85 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()
|
D | mia_dsp.c | 87 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()
|
D | midi.c | 46 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()
|
D | darla20_dsp.c | 115 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()
|
D | gina24_dsp.c | 102 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()
|
D | indigo_dsp.c | 117 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()
|
D | indigodj_dsp.c | 117 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()
|
D | mona_dsp.c | 95 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()
|
D | indigo_express_dsp.c | 36 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()
|
D | darla24_dsp.c | 77 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()
|
D | echo3g_dsp.c | 58 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()
|
D | echoaudio_gml.c | 78 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()
|
D | indigoio_dsp.c | 96 chip->comm_page->sample_rate = cpu_to_le32(rate); in set_sample_rate() 118 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain()
|
D | echoaudio.h | 364 struct comm_page *comm_page; /* Virtual address of the memory member 459 chip->comm_page->handshake = 0; in clear_handshake()
|
D | echoaudio.c | 1869 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()
|
D | echoaudio_dsp.h | 645 struct comm_page { /* Base Length*/ struct
|