Lines Matching refs:port_count
364 const int port_count[SCARLETT2_PORT_TYPE_COUNT][SCARLETT2_PORT_DIRNS]; member
440 .port_count = {
488 .port_count = {
540 .port_count = {
616 .port_count = {
662 .port_count = {
724 .port_count = {
794 .port_count = {
852 const int port_count[][SCARLETT2_PORT_DIRNS], in scarlett2_get_port_start_num()
858 num += port_count[i][direction]; in scarlett2_get_port_start_num()
1336 info->port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_OUT]; in scarlett2_usb_get_mix()
1385 info->port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_OUT]; in scarlett2_usb_set_mix()
1401 const int port_count[][SCARLETT2_PORT_DIRNS], int num) in scarlett2_mux_src_num_to_id()
1408 if (num < port_count[port_type][SCARLETT2_PORT_IN]) in scarlett2_mux_src_num_to_id()
1410 num -= port_count[port_type][SCARLETT2_PORT_IN]; in scarlett2_mux_src_num_to_id()
1419 const int port_count[][SCARLETT2_PORT_DIRNS], int direction, u32 id) in scarlett2_mux_id_to_num()
1428 int count = port_count[port_type][direction]; in scarlett2_mux_id_to_num()
1444 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_usb_populate_mux() local
1448 dst_idx = scarlett2_mux_id_to_num(port_count, SCARLETT2_PORT_OUT, in scarlett2_usb_populate_mux()
1460 src_idx = scarlett2_mux_id_to_num(port_count, SCARLETT2_PORT_IN, in scarlett2_usb_populate_mux()
1511 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_usb_set_mux() local
1538 int mux_idx = scarlett2_get_port_start_num(port_count, in scarlett2_usb_set_mux()
1555 port_count, private->mux[mux_idx++]); in scarlett2_usb_set_mux()
1711 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_update_volumes() local
1714 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_update_volumes()
2438 const int (*port_count)[SCARLETT2_PORT_DIRNS] = in scarlett2_update_monitor_other() local
2439 info->port_count; in scarlett2_update_monitor_other()
2441 port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_update_monitor_other()
2805 const int (*port_count)[SCARLETT2_PORT_DIRNS] = in scarlett2_talkback_map_ctl_put() local
2806 private->info->port_count; in scarlett2_talkback_map_ctl_put()
2807 int num_mixes = port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_talkback_map_ctl_put()
2850 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_add_talkback_ctls() local
2851 int num_mixes = port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_add_talkback_ctls()
2902 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_dim_mute_ctl_put() local
2904 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_dim_mute_ctl_put()
2956 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_add_line_out_ctls() local
2958 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_add_line_out_ctls()
3149 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_mixer_ctl_put() local
3157 num_mixer_in = port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_OUT]; in scarlett2_mixer_ctl_put()
3195 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_add_mixer_ctls() local
3201 port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_OUT]; in scarlett2_add_mixer_ctls()
3203 port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_add_mixer_ctls()
3227 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_mux_src_enum_ctl_info() local
3242 if (item < port_count[port_type][SCARLETT2_PORT_IN]) { in scarlett2_mux_src_enum_ctl_info()
3250 item -= port_count[port_type][SCARLETT2_PORT_IN]; in scarlett2_mux_src_enum_ctl_info()
3263 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_mux_src_enum_ctl_get() local
3265 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_mux_src_enum_ctl_get()
3287 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_mux_src_enum_ctl_put() local
3289 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_mux_src_enum_ctl_put()
3327 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_add_mux_enums() local
3334 channel < port_count[port_type][SCARLETT2_PORT_OUT]; in scarlett2_add_mux_enums()
3501 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_count_mux_io() local
3507 srcs += port_count[port_type][SCARLETT2_PORT_IN]; in scarlett2_count_mux_io()
3508 dsts += port_count[port_type][SCARLETT2_PORT_OUT]; in scarlett2_count_mux_io()
3606 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_read_configs() local
3608 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_read_configs()
3610 port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_read_configs()
3702 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_notify_monitor() local
3704 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_notify_monitor()
3729 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_notify_dim_mute() local
3731 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_notify_dim_mute()