Home
last modified time | relevance | path

Searched refs:usb_pipein (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.1.9/drivers/usb/usbip/
Dstub_tx.c185 else if (usb_pipein(urb->pipe) && urb->actual_length > 0 && in stub_send_ret_submit()
188 else if (usb_pipein(urb->pipe) && priv->sgl) in stub_send_ret_submit()
223 if (usb_pipein(urb->pipe) && priv->sgl) { in stub_send_ret_submit()
237 } else if (usb_pipein(urb->pipe) && in stub_send_ret_submit()
265 } else if (usb_pipein(urb->pipe) && in stub_send_ret_submit()
Dvhci_tx.c24 pdup->base.direction = usb_pipein(urb->pipe) ? in setup_cmd_submit_pdu()
105 if (!usb_pipein(urb->pipe) && urb->transfer_buffer_length > 0) { in vhci_send_cmd_submit()
Dvudc_tx.c121 usb_pipein(urb->pipe) && urb->actual_length > 0) { in v_send_ret_submit()
127 usb_pipein(urb->pipe)) { in v_send_ret_submit()
Dusbip_common.c63 unsigned char dir = usb_pipein(p); in usbip_dump_pipe()
772 if (usb_pipein(urb->pipe)) in usbip_recv_xbuff()
Dvudc_transfer.c208 to_host = usb_pipein(urb->pipe); in transfer()
Dstub_rx.c404 ep = (usb_pipein(urb->pipe) ? dev->ep_in : dev->ep_out) in masking_bogus_flags()
/linux-6.1.9/drivers/usb/renesas_usbhs/
Dmod_host.c254 int dir_in_req = !!usb_pipein(urb->pipe); in usbhsh_pipe_attach()
683 if (usb_pipein(urb->pipe)) in usbhsh_queue_push()
821 if (usb_pipein(urb->pipe)) in usbhsh_data_stage_packet_push()
851 if (usb_pipein(urb->pipe)) in usbhsh_status_stage_packet_push()
957 int is_dir_in = usb_pipein(urb->pipe); in usbhsh_urb_enqueue()
/linux-6.1.9/drivers/usb/host/
Dehci-q.c241 usb_pipein(urb->pipe) ? "in" : "out"); in qtd_copy_status()
273 usb_pipein (urb->pipe) ? "in" : "out", in ehci_urb_done()
604 is_input = usb_pipein (urb->pipe); in qh_urb_transaction()
784 is_input = usb_pipein (urb->pipe); in qh_make()
Dehci-sched.c1035 is_input = usb_pipein(urb->pipe) ? USB_DIR_IN : 0; in iso_stream_init()
1133 if (usb_pipein(urb->pipe)) in iso_stream_find()
1152 usb_pipein(urb->pipe) ? "in" : "out"); in iso_stream_find()
1844 desc->status = usb_pipein(urb->pipe) in itd_complete()
1937 usb_pipein(urb->pipe) ? "in" : "out", in itd_submit()
2231 desc->status = usb_pipein(urb->pipe) in sitd_complete()
2316 usb_pipein(urb->pipe) ? "in" : "out", in sitd_submit()
Disp1362-hcd.c315 dir = (urb->transfer_buffer_length && usb_pipein(urb->pipe)) ? in prepare_ptd()
459 !usb_pipein(urb->pipe) ? "out" : "in", in finish_request()
539 usb_pipein(urb->pipe) ? "IN" : "OUT", ep->nextpid, in postproc_ep()
586 usb_pipein(urb->pipe) ? "IN" : "OUT"); in postproc_ep()
593 __func__, ep->num_req, usb_pipein(urb->pipe) ? "IN" : "OUT", in postproc_ep()
613 usb_pipein(urb->pipe) ? "IN" : "OUT"); in postproc_ep()
618 __func__, ep->num_req, usb_pipein(urb->pipe) ? "IN" : "OUT", in postproc_ep()
1223 int is_out = !usb_pipein(pipe); in isp1362_urb_enqueue()
Dfotg210-hcd.c2179 usb_pipein(urb->pipe) ? "in" : "out"); in qtd_copy_status()
2189 usb_pipein(urb->pipe) ? "in" : "out", in qtd_copy_status()
2226 usb_pipein(urb->pipe) ? "in" : "out", in fotg210_urb_done()
2555 is_input = usb_pipein(urb->pipe); in qh_urb_transaction()
2730 is_input = usb_pipein(urb->pipe); in qh_make()
3935 is_input = usb_pipein(pipe) ? USB_DIR_IN : 0; in iso_stream_init()
3982 if (usb_pipein(urb->pipe)) in iso_stream_find()
4003 usb_pipein(urb->pipe) ? "in" : "out"); in iso_stream_find()
4453 desc->status = usb_pipein(urb->pipe) in itd_complete()
4545 usb_pipein(urb->pipe) ? "in" : "out", in itd_submit()
Duhci-hcd.h9 #define usb_packetid(pipe) (usb_pipein(pipe) ? USB_PID_IN : USB_PID_OUT)
Doxu210hp-hcd.c1331 usb_pipein(urb->pipe) ? "in" : "out"); in qtd_copy_status()
1343 usb_pipein(urb->pipe) ? "in" : "out", in qtd_copy_status()
1384 usb_pipein(urb->pipe) ? "in" : "out", in ehci_urb_done()
1530 if ((usb_pipein(qtd->urb->pipe)) && in qh_completions()
1640 is_input = usb_pipein(urb->pipe); in qh_urb_transaction()
1797 is_input = usb_pipein(urb->pipe); in qh_make()
Disp116x.h514 #define PIPEDIR(pipe) ({ usb_pipein(pipe) ? "in" : "out"; })
Dr8a66597-hcd.c554 return usb_pipein(urb_pipe) ? &dev->ep_in_toggle : &dev->ep_out_toggle; in get_toggle_pointer()
817 if (usb_pipein(urb->pipe) && usb_pipetype(urb->pipe) != PIPE_CONTROL) { in r8a66597_urb_done()
1249 !usb_pipecontrol(td->urb->pipe) && usb_pipein(td->urb->pipe)) { in set_td_timer()
1873 else if (usb_pipein(urb->pipe)) in r8a66597_make_td()
Duhci-debug.c114 (usb_pipein(urbp->urb->pipe) ? "IN" : "OUT")); in uhci_show_urbp()
Dxen-hcd.c621 if (usb_pipein(urb_pipe)) in xenhcd_pipe_urb_to_xenusb()
674 usb_pipein(urb->pipe) ? 0 : GTF_readonly); in xenhcd_map_urb_for_request()
Du132-hcd.c1041 if (usb_pipein(urb->pipe)) { in u132_hcd_configure_setup_sent()
1891 if (usb_pipein(urb->pipe)) { in create_endpoint_and_queue_int()
1982 if (usb_pipein(urb->pipe)) { in create_endpoint_and_queue_bulk()
2137 if (usb_pipein(urb->pipe)) { in queue_control_on_old_endpoint()
2514 if (usb_pipein(urb->pipe)) { in u132_urb_dequeue()
/linux-6.1.9/drivers/usb/c67x00/
Dc67x00-sched.c518 if (usb_pipein(urb->pipe)) in c67x00_claim_frame_bw()
525 bit_time = usb_pipein(urb->pipe) ? 9050 : 7840; in c67x00_claim_frame_bw()
835 if (usb_pipein(td->pipe) && td_actual_bytes(td)) in c67x00_parse_td()
/linux-6.1.9/include/linux/
Dusb.h1935 #define usb_pipein(pipe) ((pipe) & USB_DIR_IN) macro
1936 #define usb_pipeout(pipe) (!usb_pipein(pipe))
1975 eps = usb_pipein(pipe) ? dev->ep_in : dev->ep_out; in usb_pipe_endpoint()
/linux-6.1.9/sound/usb/usx2y/
Dusx2yhwdeppcm.c239 subs->endpoint, usb_pipein(urb->pipe) ? "in" : "out", in i_usx2y_usbpcm_urb_complete()
448 if (usb_pipein(urb->pipe)) { in usx2y_usbpcm_urbs_start()
Dusbusx2yaudio.c305 subs->endpoint, usb_pipein(urb->pipe) ? "in" : "out", in i_usx2y_urb_complete()
497 if (usb_pipein(urb->pipe)) { in usx2y_urbs_start()
/linux-6.1.9/drivers/usb/misc/
Dusbtest.c283 if (usb_pipein(pipe)) in usbtest_alloc_urb()
312 usb_pipein(urb->pipe) ? GUARD_BYTE : 0, in usbtest_alloc_urb()
490 if (retval == 0 && usb_pipein(urb->pipe)) in simple_io()
1473 if (retval == 0 && usb_pipein(urb->pipe)) in unlink1()
2019 usb_pipein(urb->pipe) ? GUARD_BYTE : 0, in iso_alloc_urb()
/linux-6.1.9/drivers/net/usb/
Dcdc-phonet.c369 if (usb_pipein(data_desc->endpoint[0].desc.bEndpointAddress)) { in usbpn_probe()
/linux-6.1.9/drivers/usb/musb/
Dmusb_trace.h199 usb_pipein(__entry->pipe) ? "in" : "out",

12