Lines Matching refs:port_count
379 const int port_count[SCARLETT2_PORT_TYPE_COUNT][SCARLETT2_PORT_DIRNS]; member
456 .port_count = {
504 .port_count = {
556 .port_count = {
634 .port_count = {
680 .port_count = {
742 .port_count = {
812 .port_count = {
871 .port_count = {
928 const int port_count[][SCARLETT2_PORT_DIRNS], in scarlett2_get_port_start_num()
934 num += port_count[i][direction]; in scarlett2_get_port_start_num()
1460 info->port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_OUT]; in scarlett2_usb_get_mix()
1509 info->port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_OUT]; in scarlett2_usb_set_mix()
1525 const int port_count[][SCARLETT2_PORT_DIRNS], int num) in scarlett2_mux_src_num_to_id()
1532 if (num < port_count[port_type][SCARLETT2_PORT_IN]) in scarlett2_mux_src_num_to_id()
1534 num -= port_count[port_type][SCARLETT2_PORT_IN]; in scarlett2_mux_src_num_to_id()
1543 const int port_count[][SCARLETT2_PORT_DIRNS], int direction, u32 id) in scarlett2_mux_id_to_num()
1552 int count = port_count[port_type][direction]; in scarlett2_mux_id_to_num()
1568 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_usb_populate_mux() local
1572 dst_idx = scarlett2_mux_id_to_num(port_count, SCARLETT2_PORT_OUT, in scarlett2_usb_populate_mux()
1584 src_idx = scarlett2_mux_id_to_num(port_count, SCARLETT2_PORT_IN, in scarlett2_usb_populate_mux()
1635 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_usb_set_mux() local
1662 int mux_idx = scarlett2_get_port_start_num(port_count, in scarlett2_usb_set_mux()
1679 port_count, private->mux[mux_idx++]); in scarlett2_usb_set_mux()
1835 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_update_volumes() local
1838 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_update_volumes()
2562 const int (*port_count)[SCARLETT2_PORT_DIRNS] = in scarlett2_update_monitor_other() local
2563 info->port_count; in scarlett2_update_monitor_other()
2565 port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_update_monitor_other()
2929 const int (*port_count)[SCARLETT2_PORT_DIRNS] = in scarlett2_talkback_map_ctl_put() local
2930 private->info->port_count; in scarlett2_talkback_map_ctl_put()
2931 int num_mixes = port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_talkback_map_ctl_put()
2974 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_add_talkback_ctls() local
2975 int num_mixes = port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_add_talkback_ctls()
3026 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_dim_mute_ctl_put() local
3028 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_dim_mute_ctl_put()
3080 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_add_line_out_ctls() local
3082 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_add_line_out_ctls()
3273 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_mixer_ctl_put() local
3281 num_mixer_in = port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_OUT]; in scarlett2_mixer_ctl_put()
3319 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_add_mixer_ctls() local
3325 port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_OUT]; in scarlett2_add_mixer_ctls()
3327 port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_add_mixer_ctls()
3351 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_mux_src_enum_ctl_info() local
3366 if (item < port_count[port_type][SCARLETT2_PORT_IN]) { in scarlett2_mux_src_enum_ctl_info()
3374 item -= port_count[port_type][SCARLETT2_PORT_IN]; in scarlett2_mux_src_enum_ctl_info()
3387 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_mux_src_enum_ctl_get() local
3389 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_mux_src_enum_ctl_get()
3411 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_mux_src_enum_ctl_put() local
3413 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_mux_src_enum_ctl_put()
3451 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_add_mux_enums() local
3458 channel < port_count[port_type][SCARLETT2_PORT_OUT]; in scarlett2_add_mux_enums()
3688 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_count_mux_io() local
3694 srcs += port_count[port_type][SCARLETT2_PORT_IN]; in scarlett2_count_mux_io()
3695 dsts += port_count[port_type][SCARLETT2_PORT_OUT]; in scarlett2_count_mux_io()
3793 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_read_configs() local
3795 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_read_configs()
3797 port_count[SCARLETT2_PORT_TYPE_MIX][SCARLETT2_PORT_IN]; in scarlett2_read_configs()
3895 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_notify_monitor() local
3897 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_notify_monitor()
3922 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_notify_dim_mute() local
3924 port_count[SCARLETT2_PORT_TYPE_ANALOGUE][SCARLETT2_PORT_OUT]; in scarlett2_notify_dim_mute()