Searched refs:pinfo (Results 1 – 10 of 10) sorted by relevance
/sound/core/seq/ |
D | seq_dummy.c | 122 struct snd_seq_port_info pinfo; in create_port() local 132 memset(&pinfo, 0, sizeof(pinfo)); in create_port() 133 pinfo.addr.client = my_client; in create_port() 135 sprintf(pinfo.name, "Midi Through Port-%d:%c", idx, in create_port() 138 sprintf(pinfo.name, "Midi Through Port-%d", idx); in create_port() 139 pinfo.capability = SNDRV_SEQ_PORT_CAP_READ | SNDRV_SEQ_PORT_CAP_SUBS_READ; in create_port() 140 pinfo.capability |= SNDRV_SEQ_PORT_CAP_WRITE | SNDRV_SEQ_PORT_CAP_SUBS_WRITE; in create_port() 142 pinfo.capability |= SNDRV_SEQ_PORT_CAP_DUPLEX; in create_port() 143 pinfo.type = SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC in create_port() 151 pinfo.kernel = &pcb; in create_port() [all …]
|
D | seq_virmidi.c | 381 struct snd_seq_port_info *pinfo; in snd_virmidi_dev_attach_seq() local 387 pinfo = kzalloc(sizeof(*pinfo), GFP_KERNEL); in snd_virmidi_dev_attach_seq() 388 if (!pinfo) { in snd_virmidi_dev_attach_seq() 404 pinfo->addr.client = client; in snd_virmidi_dev_attach_seq() 405 sprintf(pinfo->name, "VirMIDI %d-%d", rdev->card->number, rdev->device); in snd_virmidi_dev_attach_seq() 407 …pinfo->capability |= SNDRV_SEQ_PORT_CAP_WRITE | SNDRV_SEQ_PORT_CAP_SYNC_WRITE | SNDRV_SEQ_PORT_CAP… in snd_virmidi_dev_attach_seq() 408 …pinfo->capability |= SNDRV_SEQ_PORT_CAP_READ | SNDRV_SEQ_PORT_CAP_SYNC_READ | SNDRV_SEQ_PORT_CAP_S… in snd_virmidi_dev_attach_seq() 409 pinfo->capability |= SNDRV_SEQ_PORT_CAP_DUPLEX; in snd_virmidi_dev_attach_seq() 410 pinfo->type = SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC in snd_virmidi_dev_attach_seq() 413 pinfo->midi_channels = 16; in snd_virmidi_dev_attach_seq() [all …]
|
D | seq_ports.h | 100 struct snd_seq_port_info *pinfo);
|
D | seq_ports.c | 83 struct snd_seq_port_info *pinfo) in snd_seq_port_query_nearest() argument 88 num = pinfo->addr.port; in snd_seq_port_query_nearest()
|
/sound/core/seq/oss/ |
D | seq_oss_midi.c | 79 struct snd_seq_port_info *pinfo; in snd_seq_oss_midi_lookup_ports() local 82 pinfo = kzalloc(sizeof(*pinfo), GFP_KERNEL); in snd_seq_oss_midi_lookup_ports() 83 if (! clinfo || ! pinfo) { in snd_seq_oss_midi_lookup_ports() 85 kfree(pinfo); in snd_seq_oss_midi_lookup_ports() 92 pinfo->addr.client = clinfo->client; in snd_seq_oss_midi_lookup_ports() 93 pinfo->addr.port = -1; in snd_seq_oss_midi_lookup_ports() 94 while (snd_seq_kernel_client_ctl(client, SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT, pinfo) == 0) in snd_seq_oss_midi_lookup_ports() 95 snd_seq_oss_midi_check_new_port(pinfo); in snd_seq_oss_midi_lookup_ports() 98 kfree(pinfo); in snd_seq_oss_midi_lookup_ports() 150 snd_seq_oss_midi_check_new_port(struct snd_seq_port_info *pinfo) in snd_seq_oss_midi_check_new_port() argument [all …]
|
D | seq_oss_init.c | 138 struct snd_seq_port_info pinfo; in receive_announce() local 148 memset(&pinfo, 0, sizeof(pinfo)); in receive_announce() 149 pinfo.addr = ev->data.addr; in receive_announce() 150 if (call_ctl(SNDRV_SEQ_IOCTL_GET_PORT_INFO, &pinfo) >= 0) in receive_announce() 151 snd_seq_oss_midi_check_new_port(&pinfo); in receive_announce()
|
D | seq_oss_midi.h | 30 int snd_seq_oss_midi_check_new_port(struct snd_seq_port_info *pinfo);
|
/sound/synth/emux/ |
D | emux_seq.c | 71 struct snd_seq_port_callback pinfo; in snd_emux_init_seq() local 90 memset(&pinfo, 0, sizeof(pinfo)); in snd_emux_init_seq() 91 pinfo.owner = THIS_MODULE; in snd_emux_init_seq() 92 pinfo.use = snd_emux_use; in snd_emux_init_seq() 93 pinfo.unuse = snd_emux_unuse; in snd_emux_init_seq() 94 pinfo.event_input = snd_emux_event_input; in snd_emux_init_seq() 101 0, &pinfo); in snd_emux_init_seq()
|
/sound/soc/sh/rcar/ |
D | ssi.c | 638 struct rsnd_ssi_platform_info *pinfo; in rsnd_ssi_probe() local 662 pinfo = &info->ssi_info[i]; in rsnd_ssi_probe() 671 ssi->info = pinfo; in rsnd_ssi_probe() 675 if (pinfo->dma_id > 0) in rsnd_ssi_probe()
|
/sound/soc/intel/ |
D | sst-haswell-ipc.c | 575 char *tmp[5], *pinfo; in hsw_fw_ready() local 603 pinfo = &fw_info[0]; in hsw_fw_ready() 605 tmp[i] = strsep(&pinfo, " "); in hsw_fw_ready()
|