Home
last modified time | relevance | path

Searched refs:ports (Results 1 – 19 of 19) sorted by relevance

/sound/core/seq/
Dseq_midi.c54 struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES]; member
272 unsigned int p, ports; in snd_seq_midisynth_probe() local
292 ports = output_count; in snd_seq_midisynth_probe()
293 if (ports < input_count) in snd_seq_midisynth_probe()
294 ports = input_count; in snd_seq_midisynth_probe()
295 if (ports == 0) { in snd_seq_midisynth_probe()
299 if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()
300 ports = 256 / SNDRV_RAWMIDI_DEVICES; in snd_seq_midisynth_probe()
324 msynth = kcalloc(ports, sizeof(struct seq_midisynth), GFP_KERNEL); in snd_seq_midisynth_probe()
329 for (p = 0; p < ports; p++) { in snd_seq_midisynth_probe()
[all …]
Dseq_dummy.c53 static int ports = 1; variable
56 module_param(ports, int, 0444);
57 MODULE_PARM_DESC(ports, "number of ports to be created");
156 if (ports < 1) { in register_client()
157 pr_err("ALSA: seq_dummy: invalid number of ports %d\n", ports); in register_client()
168 for (i = 0; i < ports; i++) { in register_client()
Dseq_clientmgr.c1179 info->ports = SNDRV_SEQ_MAX_PORTS; in snd_seq_ioctl_system_info()
/sound/soc/generic/
Daudio-graph-card2.c314 struct device_node *ports = of_get_parent(*port); in graph_get_next_multi_ep() local
334 *port = of_get_next_child(ports, *port); in graph_get_next_multi_ep()
345 of_node_put(ports); in graph_get_next_multi_ep()
465 struct device_node *ports = of_get_parent(port); in graph_parse_convert() local
468 if (of_node_name_eq(ports, "ports")) in graph_parse_convert()
469 asoc_simple_parse_convert(ports, NULL, adata); in graph_parse_convert()
474 of_node_put(ports); in graph_parse_convert()
481 struct device_node *ports = of_get_parent(port); in graph_parse_mclk_fs() local
483 if (of_node_name_eq(ports, "ports")) in graph_parse_mclk_fs()
484 of_property_read_u32(ports, "mclk-fs", &props->mclk_fs); in graph_parse_mclk_fs()
[all …]
Daudio-graph-card2-custom-sample.dtsi160 ports@0 {
168 ports@1 {
175 ports@2 {
182 ports@3 {
189 ports@4 {
197 ports@0 {
207 ports@1 {
218 ports@0 {
225 ports@1 {
244 ports {
[all …]
Daudio-graph-card.c180 struct device_node *ports = of_get_parent(port); in graph_parse_convert() local
184 if (of_node_name_eq(ports, "ports")) in graph_parse_convert()
185 asoc_simple_parse_convert(ports, NULL, adata); in graph_parse_convert()
190 of_node_put(ports); in graph_parse_convert()
199 struct device_node *ports = of_get_parent(port); in graph_parse_mclk_fs() local
202 if (of_node_name_eq(ports, "ports")) in graph_parse_mclk_fs()
203 of_property_read_u32(ports, "mclk-fs", &props->mclk_fs); in graph_parse_mclk_fs()
208 of_node_put(ports); in graph_parse_mclk_fs()
326 struct device_node *ports; in graph_dai_link_of_dpcm() local
343 ports = of_get_parent(port); in graph_dai_link_of_dpcm()
[all …]
Dsimple-card-utils.c953 struct device_node *port, *ports, *ports0, *top; in asoc_graph_is_ports0() local
964 ports = of_get_parent(port); in asoc_graph_is_ports0()
965 top = of_get_parent(ports); in asoc_graph_is_ports0()
968 ret = ports0 == ports; in asoc_graph_is_ports0()
971 of_node_put(ports); in asoc_graph_is_ports0()
/sound/drivers/
Dmtpav.c133 struct mtpav_port ports[NUMPORTS]; /* all ports including computer, adat and bc */ member
309 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_output_write()
339 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_input_open()
357 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_input_close()
375 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_input_trigger()
403 struct mtpav_port *portp = &chip->ports[p]; in snd_mtpav_output_timer()
428 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_output_open()
444 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_output_close()
460 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_output_trigger()
492 portp = &mcrd->ports[mcrd->inmidiport]; in snd_mtpav_inmidi_process()
[all …]
DKconfig190 Say Y here to include support for MIDI ports compatible with
/sound/soc/codecs/
Dhdac_hdmi.c79 struct hdac_hdmi_port *ports; member
1109 pin->nid, pin->ports[j].id); in create_fill_widget_route_map()
1111 snd_soc_dapm_output, &pin->ports[j], in create_fill_widget_route_map()
1118 pin->ports[j].output_pin = widgets[i].name; in create_fill_widget_route_map()
1127 pin->nid, pin->ports[j].id); in create_fill_widget_route_map()
1129 &pin->ports[j], &widgets[i], in create_fill_widget_route_map()
1339 struct hdac_hdmi_port *ports; in hdac_hdmi_add_ports() local
1349 ports = devm_kcalloc(&hdev->dev, max_ports, sizeof(*ports), GFP_KERNEL); in hdac_hdmi_add_ports()
1350 if (!ports) in hdac_hdmi_add_ports()
1354 ports[i].id = i; in hdac_hdmi_add_ports()
[all …]
DKconfig1505 a sample rate converter, including numerous ports.
/sound/usb/
Dmidi.c147 } ports[0x10]; member
159 } ports[0x10]; member
213 struct usbmidi_in_port *port = &ep->ports[portidx]; in snd_usbmidi_input_data()
430 struct usbmidi_in_port *port = &ep->ports[cable]; in snd_usbmidi_maudio_broken_running_status_input()
645 struct usbmidi_out_port *port = &ep->ports[p]; in snd_usbmidi_standard_output()
728 struct snd_rawmidi_substream *substream = ep->ports[0].substream; in snd_usbmidi_akai_output()
730 if (!ep->ports[0].active) in snd_usbmidi_akai_output()
741 ep->ports[0].active = 0; in snd_usbmidi_akai_output()
776 ep->ports[0].active = 0; in snd_usbmidi_akai_output()
809 if (!ep->ports[0].active) in snd_usbmidi_novation_output()
[all …]
/sound/soc/qcom/qdsp6/
DMakefile2 snd-q6dsp-common-objs := q6dsp-common.o q6dsp-lpass-ports.o q6dsp-lpass-clocks.o
/sound/synth/emux/
Demux_seq.c96 emu->ports[i] = p->chset.port; in snd_emux_init_seq()
373 rdev->port = emu->ports[i]; in snd_emux_init_virmidi()
Demux_proc.c28 snd_iprintf(buf, " %d:%d", emu->client, emu->ports[i]); in snd_emux_proc_info_read()
/sound/soc/pxa/
DKconfig30 tristate "Soc Audio via PXA2xx/PXA3xx SSP ports"
36 tristate "SoC Audio via MMP SSPA ports"
/sound/soc/ti/
DKconfig145 configured for at least 4 ports. Then, from userspace, you must load
/sound/pci/
Dcmipci.c2843 static const int ports[] = { 0x201, 0x200, 0 }; /* FIXME: majority is 0x201? */ in snd_cmipci_create_gameport() local
2852 for (i = 0; ports[i]; i++) { in snd_cmipci_create_gameport()
2853 io_port = ports[i]; in snd_cmipci_create_gameport()
/sound/pci/hda/
Dpatch_realtek.c769 static int alc_subsystem_id(struct hda_codec *codec, const hda_nid_t *ports) in alc_subsystem_id() argument
860 nid = ports[tmp]; in alc_subsystem_id()
871 static void alc_ssid_check(struct hda_codec *codec, const hda_nid_t *ports) in alc_ssid_check() argument
873 if (!alc_subsystem_id(codec, ports)) { in alc_ssid_check()