Searched refs:pinfo (Results 1 – 13 of 13) sorted by relevance
/sound/core/seq/ |
D | seq_dummy.c | 108 struct snd_seq_port_info pinfo; in create_port() local 119 memset(&pinfo, 0, sizeof(pinfo)); in create_port() 120 pinfo.addr.client = my_client; in create_port() 122 sprintf(pinfo.name, "Midi Through Port-%d:%c", idx, in create_port() 125 sprintf(pinfo.name, "Midi Through Port-%d", idx); in create_port() 126 pinfo.capability = SNDRV_SEQ_PORT_CAP_READ | SNDRV_SEQ_PORT_CAP_SUBS_READ; in create_port() 127 pinfo.capability |= SNDRV_SEQ_PORT_CAP_WRITE | SNDRV_SEQ_PORT_CAP_SUBS_WRITE; in create_port() 129 pinfo.capability |= SNDRV_SEQ_PORT_CAP_DUPLEX; in create_port() 130 pinfo.type = SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC in create_port() 138 pinfo.kernel = &pcb; in create_port() [all …]
|
D | seq_virmidi.c | 348 struct snd_seq_port_info *pinfo; in snd_virmidi_dev_attach_seq() local 354 pinfo = kzalloc(sizeof(*pinfo), GFP_KERNEL); in snd_virmidi_dev_attach_seq() 355 if (!pinfo) { in snd_virmidi_dev_attach_seq() 371 pinfo->addr.client = client; in snd_virmidi_dev_attach_seq() 372 sprintf(pinfo->name, "VirMIDI %d-%d", rdev->card->number, rdev->device); in snd_virmidi_dev_attach_seq() 374 …pinfo->capability |= SNDRV_SEQ_PORT_CAP_WRITE | SNDRV_SEQ_PORT_CAP_SYNC_WRITE | SNDRV_SEQ_PORT_CAP… in snd_virmidi_dev_attach_seq() 375 …pinfo->capability |= SNDRV_SEQ_PORT_CAP_READ | SNDRV_SEQ_PORT_CAP_SYNC_READ | SNDRV_SEQ_PORT_CAP_S… in snd_virmidi_dev_attach_seq() 376 pinfo->capability |= SNDRV_SEQ_PORT_CAP_DUPLEX; in snd_virmidi_dev_attach_seq() 377 pinfo->type = SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC in snd_virmidi_dev_attach_seq() 380 pinfo->midi_channels = 16; in snd_virmidi_dev_attach_seq() [all …]
|
D | seq_ports.h | 84 struct snd_seq_port_info *pinfo);
|
D | seq_ports.c | 68 struct snd_seq_port_info *pinfo) in snd_seq_port_query_nearest() argument 73 num = pinfo->addr.port; in snd_seq_port_query_nearest()
|
/sound/core/seq/oss/ |
D | seq_oss_midi.c | 68 struct snd_seq_port_info *pinfo; in snd_seq_oss_midi_lookup_ports() local 71 pinfo = kzalloc(sizeof(*pinfo), GFP_KERNEL); in snd_seq_oss_midi_lookup_ports() 72 if (! clinfo || ! pinfo) { in snd_seq_oss_midi_lookup_ports() 74 kfree(pinfo); in snd_seq_oss_midi_lookup_ports() 81 pinfo->addr.client = clinfo->client; in snd_seq_oss_midi_lookup_ports() 82 pinfo->addr.port = -1; in snd_seq_oss_midi_lookup_ports() 83 while (snd_seq_kernel_client_ctl(client, SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT, pinfo) == 0) in snd_seq_oss_midi_lookup_ports() 84 snd_seq_oss_midi_check_new_port(pinfo); in snd_seq_oss_midi_lookup_ports() 87 kfree(pinfo); in snd_seq_oss_midi_lookup_ports() 139 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 | 125 struct snd_seq_port_info pinfo; in receive_announce() local 135 memset(&pinfo, 0, sizeof(pinfo)); in receive_announce() 136 pinfo.addr = ev->data.addr; in receive_announce() 137 if (call_ctl(SNDRV_SEQ_IOCTL_GET_PORT_INFO, &pinfo) >= 0) in receive_announce() 138 snd_seq_oss_midi_check_new_port(&pinfo); in receive_announce()
|
D | seq_oss_midi.h | 17 int snd_seq_oss_midi_check_new_port(struct snd_seq_port_info *pinfo);
|
/sound/synth/emux/ |
D | emux_seq.c | 58 struct snd_seq_port_callback pinfo; in snd_emux_init_seq() local 77 memset(&pinfo, 0, sizeof(pinfo)); in snd_emux_init_seq() 78 pinfo.owner = THIS_MODULE; in snd_emux_init_seq() 79 pinfo.use = snd_emux_use; in snd_emux_init_seq() 80 pinfo.unuse = snd_emux_unuse; in snd_emux_init_seq() 81 pinfo.event_input = snd_emux_event_input; in snd_emux_init_seq() 88 0, &pinfo); in snd_emux_init_seq()
|
/sound/soc/amd/raven/ |
D | acp3x-i2s.c | 78 struct acp3x_platform_info *pinfo; in acp3x_i2s_hwparams() local 87 pinfo = snd_soc_card_get_drvdata(card); in acp3x_i2s_hwparams() 88 if (pinfo) { in acp3x_i2s_hwparams() 90 rtd->i2s_instance = pinfo->play_i2s_instance; in acp3x_i2s_hwparams() 92 rtd->i2s_instance = pinfo->cap_i2s_instance; in acp3x_i2s_hwparams()
|
D | acp3x-pcm-dma.c | 251 struct acp3x_platform_info *pinfo; in acp3x_dma_hw_params() local 257 pinfo = snd_soc_card_get_drvdata(card); in acp3x_dma_hw_params() 263 if (pinfo) { in acp3x_dma_hw_params() 265 rtd->i2s_instance = pinfo->play_i2s_instance; in acp3x_dma_hw_params() 275 rtd->i2s_instance = pinfo->cap_i2s_instance; in acp3x_dma_hw_params()
|
/sound/soc/amd/vangogh/ |
D | acp5x-i2s.c | 89 struct acp5x_platform_info *pinfo; in acp5x_i2s_hwparams() local 103 pinfo = snd_soc_card_get_drvdata(card); in acp5x_i2s_hwparams() 104 if (pinfo) { in acp5x_i2s_hwparams() 106 rtd->i2s_instance = pinfo->play_i2s_instance; in acp5x_i2s_hwparams() 108 rtd->i2s_instance = pinfo->cap_i2s_instance; in acp5x_i2s_hwparams()
|
D | acp5x-pcm-dma.c | 244 struct acp5x_platform_info *pinfo; in acp5x_dma_hw_params() local 250 pinfo = snd_soc_card_get_drvdata(card); in acp5x_dma_hw_params() 257 if (pinfo) { in acp5x_dma_hw_params() 259 rtd->i2s_instance = pinfo->play_i2s_instance; in acp5x_dma_hw_params() 269 rtd->i2s_instance = pinfo->cap_i2s_instance; in acp5x_dma_hw_params()
|
/sound/soc/amd/ |
D | acp-pcm-dma.c | 846 struct acp_platform_info *pinfo = snd_soc_card_get_drvdata(card); in acp_dma_hw_params() local 854 if (pinfo) { in acp_dma_hw_params() 856 rtd->i2s_instance = pinfo->play_i2s_instance; in acp_dma_hw_params() 858 rtd->i2s_instance = pinfo->cap_i2s_instance; in acp_dma_hw_params() 859 rtd->capture_channel = pinfo->capture_channel; in acp_dma_hw_params()
|