Lines Matching refs:comm_page

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()
653 meters[n++] = chip->comm_page->vu_meter[m]; in get_audio_meters()
654 meters[n++] = chip->comm_page->peak_meter[m]; in get_audio_meters()
658 meters[n++] = chip->comm_page->vu_meter[m]; in get_audio_meters()
659 meters[n++] = chip->comm_page->peak_meter[m]; in get_audio_meters()
674 chip->comm_page->gd_clock_state = GD_CLOCK_UNDEF; in restore_dsp_rettings()
675 chip->comm_page->gd_spdif_status = GD_SPDIF_STATUS_UNDEF; in restore_dsp_rettings()
676 chip->comm_page->handshake = cpu_to_le32(0xffffffff); in restore_dsp_rettings()
846 chip->comm_page->audio_format[pipe_index] = cpu_to_le16(dsp_format); in set_audio_format()
862 chip->comm_page->cmd_start |= cpu_to_le32(channel_mask); in start_transport()
864 if (chip->comm_page->cmd_start) { in start_transport()
871 chip->comm_page->cmd_start = 0; in start_transport()
887 chip->comm_page->cmd_stop |= cpu_to_le32(channel_mask); in pause_transport()
888 chip->comm_page->cmd_reset = 0; in pause_transport()
889 if (chip->comm_page->cmd_stop) { in pause_transport()
896 chip->comm_page->cmd_stop = 0; in pause_transport()
897 chip->comm_page->cmd_reset = 0; in pause_transport()
913 chip->comm_page->cmd_stop |= cpu_to_le32(channel_mask); in stop_transport()
914 chip->comm_page->cmd_reset |= cpu_to_le32(channel_mask); in stop_transport()
915 if (chip->comm_page->cmd_reset) { in stop_transport()
922 chip->comm_page->cmd_stop = 0; in stop_transport()
923 chip->comm_page->cmd_reset = 0; in stop_transport()
970 if (offsetof(struct comm_page, midi_output) != 0xbe0) { in init_dsp_comm_page()
981 memset(chip->comm_page, 0, sizeof(struct comm_page)); in init_dsp_comm_page()
984 chip->comm_page->comm_size = in init_dsp_comm_page()
985 cpu_to_le32(sizeof(struct comm_page)); in init_dsp_comm_page()
986 chip->comm_page->handshake = cpu_to_le32(0xffffffff); in init_dsp_comm_page()
987 chip->comm_page->midi_out_free_count = in init_dsp_comm_page()
989 chip->comm_page->sample_rate = cpu_to_le32(44100); in init_dsp_comm_page()
992 memset(chip->comm_page->monitors, ECHOGAIN_MUTED, MONITOR_ARRAY_SIZE); in init_dsp_comm_page()
993 memset(chip->comm_page->vmixer, ECHOGAIN_MUTED, VMIXER_ARRAY_SIZE); in init_dsp_comm_page()
1030 if (chip->comm_page->midi_input[0]) /* The count is at index 0 */ in service_irq()
1034 chip->comm_page->midi_input[0] = 0; in service_irq()
1070 chip->comm_page->position[pipe_index] = 0; in allocate_pipes()
1081 pipe->dma_counter = (__le32 *)&chip->comm_page->position[pipe_index]; in allocate_pipes()
1116 chip->comm_page->sglist_addr[pipe->index].addr = in sglist_init()