Home
last modified time | relevance | path

Searched refs:num_ports (Results 1 – 14 of 14) sorted by relevance

/sound/drivers/
Dmtpav.c132 int num_ports; /* number of hw ports (1-8) */ member
169 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 …]
/sound/soc/codecs/
Dhdac_hdmi.c80 int num_ports; member
134 int num_ports; member
255 int num_ports; in hdac_hdmi_port_select_set() local
261 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 …]
Dwcd938x.h662 int num_ports; member
/sound/synth/emux/
Demux_hwdep.c63 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()
Demux_seq.c68 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()
Demux_proc.c25 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()
/sound/core/seq/
Dseq_midi.c52 int num_ports; member
392 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()
Dseq_clientmgr.h45 int num_ports; /* number of ports */ member
Dseq_ports.c123 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()
Dseq_clientmgr.c1234 info->num_ports = cptr->num_ports; in get_client_info()
/sound/x86/
Dintel_hdmi_audio.h141 int num_ports; member
Dintel_hdmi_audio.c41 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()
/sound/pci/emu10k1/
Demu10k1_synth.c45 emux->num_ports = arg->seq_ports; in snd_emu10k1_synth_probe()
/sound/isa/sb/
Demu8000_synth.c45 emu->num_ports = hw->seq_ports; in snd_emu8000_probe()