Home
last modified time | relevance | path

Searched refs:ports (Results 1 – 14 of 14) 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-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()
324 struct device_node *ports; in graph_dai_link_of_dpcm() local
341 ports = of_get_parent(port); in graph_dai_link_of_dpcm()
[all …]
/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 …]
DKconfig172 Say Y here to include support for MIDI ports compatible with
/sound/soc/codecs/
Dhdac_hdmi.c79 struct hdac_hdmi_port *ports; member
1104 pin->nid, pin->ports[j].id); in create_fill_widget_route_map()
1106 snd_soc_dapm_output, &pin->ports[j], in create_fill_widget_route_map()
1113 pin->ports[j].output_pin = widgets[i].name; in create_fill_widget_route_map()
1122 pin->nid, pin->ports[j].id); in create_fill_widget_route_map()
1124 &pin->ports[j], &widgets[i], in create_fill_widget_route_map()
1334 struct hdac_hdmi_port *ports; in hdac_hdmi_add_ports() local
1344 ports = devm_kcalloc(&hdev->dev, max_ports, sizeof(*ports), GFP_KERNEL); in hdac_hdmi_add_ports()
1345 if (!ports) in hdac_hdmi_add_ports()
1349 ports[i].id = i; in hdac_hdmi_add_ports()
[all …]
/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/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.c763 static int alc_subsystem_id(struct hda_codec *codec, const hda_nid_t *ports) in alc_subsystem_id() argument
854 nid = ports[tmp]; in alc_subsystem_id()
865 static void alc_ssid_check(struct hda_codec *codec, const hda_nid_t *ports) in alc_ssid_check() argument
867 if (!alc_subsystem_id(codec, ports)) { in alc_ssid_check()