Lines Matching refs:ump

78 	struct snd_ump_endpoint *ump;	/* assigned UMP EP */  member
638 snd_ump_switch_protocol(ep->ump, to_ump_protocol(ep->info.protocol)); in process_ump_stream_msg()
669 const u32 *in_buf = ep->ump->input_buf; in process_ump()
672 if (snd_ump_receive_ump_val(ep->ump, *data) <= 0) in process_ump()
704 snd_ump_receive(ep->ump, req->buf, req->actual & ~3); in f_midi2_ep_out_complete()
732 len = snd_ump_transmit(ep->ump, (u32 *)req->buf, in process_ump_transmit()
991 u32 ump; in process_midi1_transmit() local
1006 len = snd_ump_transmit(ep->ump, &ump, 4); in process_midi1_transmit()
1009 if (snd_ump_receive_ump_val(ep->ump, ump) <= 0) in process_midi1_transmit()
1011 size = snd_ump_convert_from_ump(ep->ump->input_buf, outbuf, in process_midi1_transmit()
1083 snd_ump_receive(ep->ump, cvt->ump, in f_midi2_midi1_ep_out_complete()
1446 static int f_midi2_ump_open(struct snd_ump_endpoint *ump, int dir) in f_midi2_ump_open() argument
1451 static void f_midi2_ump_close(struct snd_ump_endpoint *ump, int dir) in f_midi2_ump_close() argument
1455 static void f_midi2_ump_trigger(struct snd_ump_endpoint *ump, int dir, int up) in f_midi2_ump_trigger() argument
1457 struct f_midi2_ep *ep = ump->private_data; in f_midi2_ump_trigger()
1472 static void f_midi2_ump_drain(struct snd_ump_endpoint *ump, int dir) in f_midi2_ump_drain() argument
1536 struct snd_ump_endpoint *ump; in f_midi2_create_card() local
1555 1, 1, &ump); in f_midi2_create_card()
1560 ep->ump = ump; in f_midi2_create_card()
1561 ump->no_process_stream = true; in f_midi2_create_card()
1562 ump->private_data = ep; in f_midi2_create_card()
1563 ump->ops = &f_midi2_ump_ops; in f_midi2_create_card()
1565 ump->info.flags |= SNDRV_UMP_EP_INFO_STATIC_BLOCKS; in f_midi2_create_card()
1566 ump->info.protocol_caps = (ep->info.protocol_caps & 3) << 8; in f_midi2_create_card()
1567 ump->info.protocol = to_ump_protocol(ep->info.protocol); in f_midi2_create_card()
1568 ump->info.version = 0x0101; in f_midi2_create_card()
1569 ump->info.family_id = ep->info.family; in f_midi2_create_card()
1570 ump->info.model_id = ep->info.model; in f_midi2_create_card()
1571 ump->info.manufacturer_id = ep->info.manufacturer & 0xffffff; in f_midi2_create_card()
1573 memcpy(ump->info.sw_revision, &sw, 4); in f_midi2_create_card()
1575 strscpy(ump->info.name, ump_ep_name(ep), in f_midi2_create_card()
1576 sizeof(ump->info.name)); in f_midi2_create_card()
1577 strscpy(ump->info.product_id, ump_product_id(ep), in f_midi2_create_card()
1578 sizeof(ump->info.product_id)); in f_midi2_create_card()
1579 strscpy(ump->core.name, ump->info.name, sizeof(ump->core.name)); in f_midi2_create_card()
1585 err = snd_ump_block_new(ump, blk, in f_midi2_create_card()
1603 err = snd_ump_attach_legacy_rawmidi(midi2->midi2_eps[i].ump, in f_midi2_create_card()