Lines Matching refs:comm_page
50 if (chip->comm_page->handshake) {
478 if (snd_BUG_ON(!chip->dsp_code_to_load || !chip->comm_page))
525 chip->comm_page->nominal_level_mask |= cpu_to_le32(1 << index);
527 chip->comm_page->nominal_level_mask &= ~cpu_to_le32(1 << index);
547 chip->comm_page->line_out_level[channel] = gain;
566 chip->comm_page->monitors[monitor_index(chip, output, input)] = gain;
604 memset((s8 *)chip->comm_page->vu_meter, ECHOGAIN_MUTED,
606 memset((s8 *)chip->comm_page->peak_meter, ECHOGAIN_MUTED,
628 meters[n++] = chip->comm_page->vu_meter[m];
629 meters[n++] = chip->comm_page->peak_meter[m];
639 meters[n++] = chip->comm_page->vu_meter[m];
640 meters[n++] = chip->comm_page->peak_meter[m];
647 meters[n++] = chip->comm_page->vu_meter[m];
648 meters[n++] = chip->comm_page->peak_meter[m];
666 chip->comm_page->gd_clock_state = GD_CLOCK_UNDEF;
667 chip->comm_page->gd_spdif_status = GD_SPDIF_STATUS_UNDEF;
668 chip->comm_page->handshake = 0xffffffff;
838 chip->comm_page->audio_format[pipe_index] = cpu_to_le16(dsp_format);
855 chip->comm_page->cmd_start |= cpu_to_le32(channel_mask);
857 if (chip->comm_page->cmd_start) {
864 chip->comm_page->cmd_start = 0;
881 chip->comm_page->cmd_stop |= cpu_to_le32(channel_mask);
882 chip->comm_page->cmd_reset = 0;
883 if (chip->comm_page->cmd_stop) {
890 chip->comm_page->cmd_stop = 0;
891 chip->comm_page->cmd_reset = 0;
908 chip->comm_page->cmd_stop |= cpu_to_le32(channel_mask);
909 chip->comm_page->cmd_reset |= cpu_to_le32(channel_mask);
910 if (chip->comm_page->cmd_reset) {
917 chip->comm_page->cmd_stop = 0;
918 chip->comm_page->cmd_reset = 0;
966 if (offsetof(struct comm_page, midi_output) != 0xbe0) {
967 DE_INIT(("init_dsp_comm_page() - Invalid struct comm_page structure\n"));
976 memset(chip->comm_page, 0, sizeof(struct comm_page));
979 chip->comm_page->comm_size =
980 cpu_to_le32(sizeof(struct comm_page));
981 chip->comm_page->handshake = 0xffffffff;
982 chip->comm_page->midi_out_free_count =
984 chip->comm_page->sample_rate = cpu_to_le32(44100);
987 memset(chip->comm_page->monitors, ECHOGAIN_MUTED, MONITOR_ARRAY_SIZE);
988 memset(chip->comm_page->vmixer, ECHOGAIN_MUTED, VMIXER_ARRAY_SIZE);
1026 if (chip->comm_page->midi_input[0]) /* The count is at index 0 */
1030 chip->comm_page->midi_input[0] = 0;
1067 chip->comm_page->position[pipe_index] = 0;
1078 pipe->dma_counter = &chip->comm_page->position[pipe_index];
1115 chip->comm_page->sglist_addr[pipe->index].addr =