Lines Matching refs:port_count

389 	const int port_count[SCARLETT2_PORT_TYPE_COUNT][SCARLETT2_PORT_DIRNS];  member
465 .port_count = {
511 .port_count = {
561 .port_count = {
633 .port_count = {
677 .port_count = {
737 .port_count = {
805 .port_count = {
856 .port_count = {
900 .port_count = {
951 .port_count = {
1019 const int port_count[][SCARLETT2_PORT_DIRNS], in scarlett2_get_port_start_num()
1025 num += port_count[i][direction]; in scarlett2_get_port_start_num()
1556 info->port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_OUT]; in scarlett2_usb_get_mix()
1605 info->port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_OUT]; in scarlett2_usb_set_mix()
1621 const int port_count[][SCARLETT2_PORT_DIRNS], int num) in scarlett2_mux_src_num_to_id()
1628 if (num < port_count[port_type][SCARLETT2_PORT_IN]) in scarlett2_mux_src_num_to_id()
1630 num -= port_count[port_type][SCARLETT2_PORT_IN]; in scarlett2_mux_src_num_to_id()
1639 const int port_count[][SCARLETT2_PORT_DIRNS], int direction, u32 id) in scarlett2_mux_id_to_num()
1648 int count = port_count[port_type][direction]; in scarlett2_mux_id_to_num()
1664 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_usb_populate_mux() local
1668 dst_idx = scarlett2_mux_id_to_num(port_count, SCARLETT2_PORT_OUT, in scarlett2_usb_populate_mux()
1680 src_idx = scarlett2_mux_id_to_num(port_count, SCARLETT2_PORT_IN, in scarlett2_usb_populate_mux()
1731 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_usb_set_mux() local
1758 int mux_idx = scarlett2_get_port_start_num(port_count, in scarlett2_usb_set_mux()
1775 port_count, private->mux[mux_idx++]); in scarlett2_usb_set_mux()
1937 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_update_volumes() local
1940 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_update_volumes()
2007 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in line_out_remap() local
2009 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in line_out_remap()
2713 const int (*port_count)[SCARLETT2_PORT_DIRNS] = in scarlett2_update_monitor_other() local
2714 info->port_count; in scarlett2_update_monitor_other()
2716 port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_update_monitor_other()
3098 const int (*port_count)[SCARLETT2_PORT_DIRNS] = in scarlett2_talkback_map_ctl_put() local
3099 private->info->port_count; in scarlett2_talkback_map_ctl_put()
3100 int num_mixes = port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_talkback_map_ctl_put()
3143 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_add_talkback_ctls() local
3144 int num_mixes = port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_add_talkback_ctls()
3201 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_dim_mute_ctl_put() local
3203 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_dim_mute_ctl_put()
3255 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_add_line_out_ctls() local
3257 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_add_line_out_ctls()
3448 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_mixer_ctl_put() local
3457 num_mixer_in = port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_OUT]; in scarlett2_mixer_ctl_put()
3495 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_add_mixer_ctls() local
3501 port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_OUT]; in scarlett2_add_mixer_ctls()
3503 port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_add_mixer_ctls()
3527 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_mux_src_enum_ctl_info() local
3542 if (item < port_count[port_type][SCARLETT2_PORT_IN]) { in scarlett2_mux_src_enum_ctl_info()
3550 item -= port_count[port_type][SCARLETT2_PORT_IN]; in scarlett2_mux_src_enum_ctl_info()
3619 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_add_mux_enums() local
3626 channel < port_count[port_type][SCARLETT2_PORT_OUT]; in scarlett2_add_mux_enums()
3856 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_count_mux_io() local
3862 srcs += port_count[port_type][SCARLETT2_PORT_IN]; in scarlett2_count_mux_io()
3863 dsts += port_count[port_type][SCARLETT2_PORT_OUT]; in scarlett2_count_mux_io()
3962 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_read_configs() local
3964 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_read_configs()
3966 port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_read_configs()
4064 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_notify_monitor() local
4066 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_notify_monitor()
4091 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_notify_dim_mute() local
4093 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_notify_dim_mute()