Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
692 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dusb.h1940 #define usb_pipein(pipe) ((pipe) & USB_DIR_IN) macro
1941 #define usb_pipeout(pipe) (!usb_pipein(pipe))
1980 eps = usb_pipein(pipe) ? dev->ep_in : dev->ep_out; in usb_pipe_endpoint()
1993 WARN_ON(usb_pipein(pipe)); in usb_maxpacket()
/kernel/linux/linux-5.10/drivers/usb/host/
Dehci-q.c240 usb_pipein(urb->pipe) ? "in" : "out"); in qtd_copy_status()
272 usb_pipein (urb->pipe) ? "in" : "out", in ehci_urb_done()
603 is_input = usb_pipein (urb->pipe); in qh_urb_transaction()
783 is_input = usb_pipein (urb->pipe); in qh_make()
Dehci-sched.c1029 is_input = usb_pipein(urb->pipe) ? USB_DIR_IN : 0; in iso_stream_init()
1127 if (usb_pipein(urb->pipe)) in iso_stream_find()
1146 usb_pipein(urb->pipe) ? "in" : "out"); in iso_stream_find()
1834 desc->status = usb_pipein(urb->pipe) in itd_complete()
1927 usb_pipein(urb->pipe) ? "in" : "out", in itd_submit()
2221 desc->status = usb_pipein(urb->pipe) in sitd_complete()
2306 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.c2177 usb_pipein(urb->pipe) ? "in" : "out"); in qtd_copy_status()
2187 usb_pipein(urb->pipe) ? "in" : "out", in qtd_copy_status()
2224 usb_pipein(urb->pipe) ? "in" : "out", in fotg210_urb_done()
2553 is_input = usb_pipein(urb->pipe); in qh_urb_transaction()
2728 is_input = usb_pipein(urb->pipe); in qh_make()
3933 is_input = usb_pipein(pipe) ? USB_DIR_IN : 0; in iso_stream_init()
3980 if (usb_pipein(urb->pipe)) in iso_stream_find()
4001 usb_pipein(urb->pipe) ? "in" : "out"); in iso_stream_find()
4452 desc->status = usb_pipein(urb->pipe) in itd_complete()
4544 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)
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()
1871 !usb_pipein(urb->pipe)); in r8a66597_make_td()
1874 else if (usb_pipein(urb->pipe)) in r8a66597_make_td()
Doxu210hp-hcd.c1331 usb_pipein(urb->pipe) ? "in" : "out"); in qtd_copy_status()
1343 usb_pipein(urb->pipe) ? "in" : "out", in qtd_copy_status()
1383 usb_pipein(urb->pipe) ? "in" : "out", in ehci_urb_done()
1529 if ((usb_pipein(qtd->urb->pipe)) && in qh_completions()
1639 is_input = usb_pipein(urb->pipe); in qh_urb_transaction()
1796 is_input = usb_pipein(urb->pipe); in qh_make()
Disp116x.h515 #define PIPEDIR(pipe) ({ usb_pipein(pipe) ? "in" : "out"; })
Duhci-debug.c114 (usb_pipein(urbp->urb->pipe) ? "IN" : "OUT")); in uhci_show_urbp()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/usb/usx2y/
Dusx2yhwdeppcm.c227 subs->endpoint, usb_pipein(urb->pipe) ? "in" : "out", in i_usx2y_usbpcm_urb_complete()
424 if (usb_pipein(urb->pipe)) { in usx2y_usbpcm_urbs_start()
Dusbusx2yaudio.c291 subs->endpoint, usb_pipein(urb->pipe) ? "in" : "out", in i_usx2y_urb_complete()
470 if (usb_pipein(urb->pipe)) { in usx2y_urbs_start()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_trace.h182 usb_pipein(__entry->pipe) ? "in" : "out",
/kernel/linux/linux-5.10/drivers/net/usb/
Dcdc-phonet.c366 if (usb_pipein(data_desc->endpoint[0].desc.bEndpointAddress)) { in usbpn_probe()
/kernel/linux/linux-5.10/sound/usb/
Dendpoint.c728 if (usb_pipein(ep->pipe) || in check_ep_params()
899 if (usb_pipein(ep->pipe) || in data_ep_set_params()
/kernel/linux/linux-5.10/drivers/usb/isp1760/
Disp1760-hcd.c678 if (usb_pipein(urb->pipe) && usb_pipetype(urb->pipe) != PIPE_CONTROL) { in isp1760_urb_done()
1409 if (usb_pipein(urb->pipe)) in packetize_urb()
1524 if (usb_pipein(urb->pipe)) in isp1760_urb_enqueue()

12