Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/rc/
Dati_remote.c249 struct urb *out_urb; member
419 memcpy(ati_remote->out_urb->transfer_buffer + 1, data, LO(cmd)); in ati_remote_sendpacket()
420 ((char *) ati_remote->out_urb->transfer_buffer)[0] = HI(cmd); in ati_remote_sendpacket()
422 ati_remote->out_urb->transfer_buffer_length = LO(cmd) + 1; in ati_remote_sendpacket()
423 ati_remote->out_urb->dev = ati_remote->udev; in ati_remote_sendpacket()
426 retval = usb_submit_urb(ati_remote->out_urb, GFP_ATOMIC); in ati_remote_sendpacket()
434 ((ati_remote->out_urb->status != -EINPROGRESS) || in ati_remote_sendpacket()
437 usb_kill_urb(ati_remote->out_urb); in ati_remote_sendpacket()
711 ati_remote->out_urb = usb_alloc_urb(0, GFP_KERNEL); in ati_remote_alloc_buffers()
712 if (!ati_remote->out_urb) in ati_remote_alloc_buffers()
[all …]
/Linux-v4.19/drivers/nfc/pn533/
Dusb.c62 struct urb *out_urb; member
177 phy->out_urb->transfer_buffer = out->data; in pn533_usb_send_frame()
178 phy->out_urb->transfer_buffer_length = out->len; in pn533_usb_send_frame()
183 rc = usb_submit_urb(phy->out_urb, GFP_KERNEL); in pn533_usb_send_frame()
202 usb_unlink_urb(phy->out_urb); in pn533_usb_send_frame()
405 rc = usb_bulk_msg(phy->udev, phy->out_urb->pipe, buffer, sizeof(cmd), in pn533_acr122_poweron_rdr()
503 phy->out_urb = usb_alloc_urb(0, GFP_KERNEL); in pn533_usb_probe()
506 if (!phy->in_urb || !phy->out_urb || !phy->ack_urb) in pn533_usb_probe()
513 usb_fill_bulk_urb(phy->out_urb, phy->udev, in pn533_usb_probe()
570 usb_free_urb(phy->out_urb); in pn533_usb_probe()
[all …]
/Linux-v4.19/sound/usb/6fire/
Dpcm.c293 struct pcm_urb *out_urb = in_urb->peer; in usb6fire_pcm_in_urb_handler() local
334 out_urb->packets[i].offset = total_length; in usb6fire_pcm_in_urb_handler()
335 out_urb->packets[i].length = (in_urb->packets[i].actual_length in usb6fire_pcm_in_urb_handler()
338 out_urb->packets[i].status = 0; in usb6fire_pcm_in_urb_handler()
339 total_length += out_urb->packets[i].length; in usb6fire_pcm_in_urb_handler()
341 memset(out_urb->buffer, 0, total_length); in usb6fire_pcm_in_urb_handler()
347 usb6fire_pcm_playback(sub, out_urb); in usb6fire_pcm_in_urb_handler()
358 dest = out_urb->buffer; in usb6fire_pcm_in_urb_handler()
360 if (out_urb->packets[i].length >= 4) { in usb6fire_pcm_in_urb_handler()
361 frame_count = (out_urb->packets[i].length - 4) in usb6fire_pcm_in_urb_handler()
[all …]
Dmidi.c78 struct urb *urb = &rt->out_urb; in usb6fire_midi_out_trigger()
179 comm_rt->init_urb(comm_rt, &rt->out_urb, rt->out_buffer, rt, in usb6fire_midi_init()
208 usb_poison_urb(&rt->out_urb); in usb6fire_midi_abort()
Dmidi.h29 struct urb out_urb; member
/Linux-v4.19/drivers/nfc/
Dport100.c457 struct urb *out_urb; member
743 usb_kill_urb(dev->out_urb); in port100_send_ack()
745 dev->out_urb->transfer_buffer = ack_frame; in port100_send_ack()
746 dev->out_urb->transfer_buffer_length = sizeof(ack_frame); in port100_send_ack()
747 rc = usb_submit_urb(dev->out_urb, GFP_KERNEL); in port100_send_ack()
780 dev->out_urb->transfer_buffer = out->data; in port100_send_frame_async()
781 dev->out_urb->transfer_buffer_length = out->len; in port100_send_frame_async()
789 rc = usb_submit_urb(dev->out_urb, GFP_KERNEL); in port100_send_frame_async()
795 usb_unlink_urb(dev->out_urb); in port100_send_frame_async()
1537 dev->out_urb = usb_alloc_urb(0, GFP_KERNEL); in port100_probe()
[all …]
/Linux-v4.19/sound/usb/hiface/
Dpcm.c310 struct pcm_urb *out_urb = usb_urb->context; in hiface_pcm_out_urb_handler() local
311 struct pcm_runtime *rt = out_urb->chip->pcm; in hiface_pcm_out_urb_handler()
336 do_period_elapsed = hiface_pcm_playback(sub, out_urb); in hiface_pcm_out_urb_handler()
338 memset(out_urb->buffer, 0, PCM_PACKET_SIZE); in hiface_pcm_out_urb_handler()
345 ret = usb_submit_urb(&out_urb->instance, GFP_ATOMIC); in hiface_pcm_out_urb_handler()