Home
last modified time | relevance | path

Searched refs:out_urb (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/nfc/pn533/
Dusb.c50 struct urb *out_urb; member
172 phy->out_urb->transfer_buffer = out->data; in pn533_usb_send_frame()
173 phy->out_urb->transfer_buffer_length = out->len; in pn533_usb_send_frame()
180 cntx = phy->out_urb->context; in pn533_usb_send_frame()
181 phy->out_urb->context = &arg; in pn533_usb_send_frame()
183 rc = usb_submit_urb(phy->out_urb, GFP_KERNEL); in pn533_usb_send_frame()
188 phy->out_urb->context = cntx; in pn533_usb_send_frame()
205 usb_unlink_urb(phy->out_urb); in pn533_usb_send_frame()
404 rc = usb_bulk_msg(phy->udev, phy->out_urb->pipe, buffer, sizeof(cmd), in pn533_acr122_poweron_rdr()
526 phy->out_urb = usb_alloc_urb(0, GFP_KERNEL); in pn533_usb_probe()
[all …]
/Linux-v6.6/drivers/media/rc/
Dati_remote.c237 struct urb *out_urb; member
407 memcpy(ati_remote->out_urb->transfer_buffer + 1, data, LO(cmd)); in ati_remote_sendpacket()
408 ((char *) ati_remote->out_urb->transfer_buffer)[0] = HI(cmd); in ati_remote_sendpacket()
410 ati_remote->out_urb->transfer_buffer_length = LO(cmd) + 1; in ati_remote_sendpacket()
411 ati_remote->out_urb->dev = ati_remote->udev; in ati_remote_sendpacket()
414 retval = usb_submit_urb(ati_remote->out_urb, GFP_ATOMIC); in ati_remote_sendpacket()
422 ((ati_remote->out_urb->status != -EINPROGRESS) || in ati_remote_sendpacket()
425 usb_kill_urb(ati_remote->out_urb); in ati_remote_sendpacket()
699 ati_remote->out_urb = usb_alloc_urb(0, GFP_KERNEL); in ati_remote_alloc_buffers()
700 if (!ati_remote->out_urb) in ati_remote_alloc_buffers()
[all …]
/Linux-v6.6/sound/usb/6fire/
Dpcm.c289 struct pcm_urb *out_urb = in_urb->peer; in usb6fire_pcm_in_urb_handler() local
330 out_urb->packets[i].offset = total_length; in usb6fire_pcm_in_urb_handler()
331 out_urb->packets[i].length = (in_urb->packets[i].actual_length in usb6fire_pcm_in_urb_handler()
334 out_urb->packets[i].status = 0; in usb6fire_pcm_in_urb_handler()
335 total_length += out_urb->packets[i].length; in usb6fire_pcm_in_urb_handler()
337 memset(out_urb->buffer, 0, total_length); in usb6fire_pcm_in_urb_handler()
343 usb6fire_pcm_playback(sub, out_urb); in usb6fire_pcm_in_urb_handler()
354 dest = out_urb->buffer; in usb6fire_pcm_in_urb_handler()
356 if (out_urb->packets[i].length >= 4) { in usb6fire_pcm_in_urb_handler()
357 frame_count = (out_urb->packets[i].length - 4) in usb6fire_pcm_in_urb_handler()
[all …]
Dmidi.c74 struct urb *urb = &rt->out_urb; in usb6fire_midi_out_trigger()
175 comm_rt->init_urb(comm_rt, &rt->out_urb, rt->out_buffer, rt, in usb6fire_midi_init()
204 usb_poison_urb(&rt->out_urb); in usb6fire_midi_abort()
Dmidi.h25 struct urb out_urb; member
/Linux-v6.6/drivers/nfc/
Dport100.c448 struct urb *out_urb; member
736 usb_kill_urb(dev->out_urb); in port100_send_ack()
738 dev->out_urb->transfer_buffer = ack_frame; in port100_send_ack()
739 dev->out_urb->transfer_buffer_length = sizeof(ack_frame); in port100_send_ack()
740 rc = usb_submit_urb(dev->out_urb, GFP_KERNEL); in port100_send_ack()
774 dev->out_urb->transfer_buffer = out->data; in port100_send_frame_async()
775 dev->out_urb->transfer_buffer_length = out->len; in port100_send_frame_async()
783 rc = usb_submit_urb(dev->out_urb, GFP_KERNEL); in port100_send_frame_async()
789 usb_kill_urb(dev->out_urb); in port100_send_frame_async()
1531 dev->out_urb = usb_alloc_urb(0, GFP_KERNEL); in port100_probe()
[all …]
/Linux-v6.6/sound/usb/hiface/
Dpcm.c304 struct pcm_urb *out_urb = usb_urb->context; in hiface_pcm_out_urb_handler() local
305 struct pcm_runtime *rt = out_urb->chip->pcm; in hiface_pcm_out_urb_handler()
330 do_period_elapsed = hiface_pcm_playback(sub, out_urb); in hiface_pcm_out_urb_handler()
332 memset(out_urb->buffer, 0, PCM_PACKET_SIZE); in hiface_pcm_out_urb_handler()
339 ret = usb_submit_urb(&out_urb->instance, GFP_ATOMIC); in hiface_pcm_out_urb_handler()