Searched refs:num_ports (Results 1 – 14 of 14) sorted by relevance
132 int num_ports; /* number of hw ports (1-8) */ member169 else if (subdev < chip->num_ports) in translate_subdevice_to_hwport()171 else if (subdev < chip->num_ports * 2) in translate_subdevice_to_hwport()172 return subdev - chip->num_ports + 0x09; /* remote port */ in translate_subdevice_to_hwport()173 else if (subdev == chip->num_ports * 2 + MTPAV_PIDX_COMPUTER) in translate_subdevice_to_hwport()175 else if (subdev == chip->num_ports + MTPAV_PIDX_ADAT) in translate_subdevice_to_hwport()184 return chip->num_ports + MTPAV_PIDX_BROADCAST; in translate_hwport_to_subdevice()187 if (p >= chip->num_ports) in translate_hwport_to_subdevice()191 p = hwport - 0x09 + chip->num_ports; in translate_hwport_to_subdevice()192 if (p >= chip->num_ports * 2) in translate_hwport_to_subdevice()[all …]
80 int num_ports; member134 int num_ports; member255 int num_ports; in hdac_hdmi_port_select_set() local261 num_ports = hdac_hdmi_get_port_len(hdev, port->pin->nid); in hdac_hdmi_port_select_set()262 if (num_ports < 0) in hdac_hdmi_port_select_set()268 if (num_ports + 1 < port->id) in hdac_hdmi_port_select_set()1036 int mux_index = hdmi->num_cvt + hdmi->num_ports; in hdac_hdmi_add_pinmux_cvt_route()1039 for (i = 0; i < hdmi->num_ports; i++) { in hdac_hdmi_add_pinmux_cvt_route()1087 ((2 * hdmi->num_ports) + hdmi->num_cvt)), in create_fill_widget_route_map()1107 for (j = 0; j < pin->num_ports; j++) { in create_fill_widget_route_map()[all …]
662 int num_ports; member
63 for (i = 0; i < emu->num_ports; i++) in snd_emux_hwdep_misc_mode()66 if (info.port < emu->num_ports) { in snd_emux_hwdep_misc_mode()67 info.port = array_index_nospec(info.port, emu->num_ports); in snd_emux_hwdep_misc_mode()
68 if (emu->num_ports < 0) { in snd_emux_init_seq()70 emu->num_ports = 1; in snd_emux_init_seq()71 } else if (emu->num_ports >= SNDRV_EMUX_MAX_PORTS) { in snd_emux_init_seq()74 emu->num_ports = SNDRV_EMUX_MAX_PORTS; in snd_emux_init_seq()83 for (i = 0; i < emu->num_ports; i++) { in snd_emux_init_seq()
25 snd_iprintf(buf, "Ports: %d\n", emu->num_ports); in snd_emux_proc_info_read()27 for (i = 0; i < emu->num_ports; i++) in snd_emux_proc_info_read()
52 int num_ports; member392 client->num_ports++; in snd_seq_midisynth_probe()439 client->num_ports--; in snd_seq_midisynth_remove()440 if (client->num_ports <= 0) { in snd_seq_midisynth_remove()
45 int num_ports; /* number of ports */ member
123 if (client->num_ports >= SNDRV_SEQ_MAX_PORTS) { in snd_seq_create_port()153 client->num_ports++; in snd_seq_create_port()278 client->num_ports--; in snd_seq_delete_port()308 client->num_ports = 0; in snd_seq_delete_all_ports()
1234 info->num_ports = cptr->num_ports; in get_client_info()
141 int num_ports; member
41 for ((port) = 0; (port) < (card_ctx)->num_ports; (port)++)1711 card_ctx->num_ports = single_port ? 1 : pdata->num_ports; in __hdmi_lpe_audio_probe()1755 card_ctx->num_ports = single_port ? 1 : pdata->num_ports; in __hdmi_lpe_audio_probe()
45 emux->num_ports = arg->seq_ports; in snd_emu10k1_synth_probe()
45 emu->num_ports = hw->seq_ports; in snd_emu8000_probe()