/openbmc/u-boot/drivers/usb/musb/ |
H A D | musb_hcd.c | 37 static void write_toggle(struct usb_device *dev, u8 ep, u8 dir_out) in write_toggle() argument 39 u16 toggle = usb_gettoggle(dev, ep, dir_out); in write_toggle() 42 if (dir_out) { in write_toggle() 79 static u8 check_stall(u8 ep, u8 dir_out) in check_stall() argument 92 if (dir_out) { /* is it tx ep */ in check_stall() 854 int dir_out = usb_pipeout(pipe); in submit_bulk_msg() local 870 if (dir_out) in submit_bulk_msg() 888 if (dir_out) { in submit_bulk_msg() 900 write_toggle(dev, ep, dir_out); in submit_bulk_msg() 902 if (dir_out) { /* bulk-out transfer */ in submit_bulk_msg() [all …]
|
/openbmc/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-bcm6368.c | 34 unsigned dir_out:16; member 289 .dir_out = out, \ 298 .dir_out = out, \ 417 if (fun->dir_out & BIT(pin)) in bcm6368_pinctrl_set_mux()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | sl811-hcd.c | 290 int dir_out = usb_pipeout(pipe); in submit_bulk_msg() local 296 usb_pipedevice(pipe), usb_pipeendpoint(pipe), buffer, len, dir_out); in submit_bulk_msg() 301 sl811_write(SL811_PIDEP_A, PIDEP(!dir_out ? USB_PID_IN : USB_PID_OUT, ep)); in submit_bulk_msg() 310 if (!dir_out && res < max) /* short packet */ in submit_bulk_msg() 314 usb_dotoggle(dev, ep, dir_out); in submit_bulk_msg()
|
/openbmc/linux/include/uapi/linux/usb/ |
H A D | raw_gadget.h | 115 __u32 dir_out : 1; member
|
/openbmc/linux/drivers/usb/renesas_usbhs/ |
H A D | pipe.h | 115 void usbhs_dcp_dir_for_host(struct usbhs_pipe *pipe, int dir_out);
|
H A D | pipe.c | 798 void usbhs_dcp_dir_for_host(struct usbhs_pipe *pipe, int dir_out) in usbhs_dcp_dir_for_host() argument 801 dir_out ? DIR_OUT : 0); in usbhs_dcp_dir_for_host()
|
H A D | mod_gadget.c | 1165 uep->ep.caps.dir_out = true; in usbhs_mod_gadget_probe()
|
/openbmc/linux/include/linux/usb/ |
H A D | gadget.h | 171 unsigned dir_out:1; member 191 .dir_out = !!(_dir & USB_EP_CAPS_DIR_OUT), \
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | max3420_udc.c | 556 if (!ep->ep_usb.caps.dir_out) in max3420_getstatus() 1174 ep->ep_usb.caps.dir_out = true; in max3420_eps_init() 1181 ep->ep_usb.caps.dir_out = true; in max3420_eps_init() 1185 ep->ep_usb.caps.dir_out = false; in max3420_eps_init()
|
H A D | mv_u3d_core.c | 1317 ep->ep.caps.dir_out = true; in mv_u3d_eps_init() 1337 ep->ep.caps.dir_out = true; in mv_u3d_eps_init()
|
H A D | mv_udc_core.c | 1254 ep->ep.caps.dir_out = true; in eps_init() 1271 ep->ep.caps.dir_out = true; in eps_init()
|
H A D | core.c | 1038 if (usb_endpoint_dir_out(desc) && !ep->caps.dir_out) in usb_gadget_ep_match_desc()
|
H A D | renesas_usb3.c | 2714 usb3_ep->ep.caps.dir_out = true; in renesas_usb3_init_ep() 2726 usb3_ep->ep.caps.dir_out = true; in renesas_usb3_init_ep()
|
H A D | omap_udc.c | 2568 ep->ep.caps.dir_out = true; in omap_ep_setup() 2584 ep->ep.caps.dir_out = true; in omap_ep_setup()
|
/openbmc/linux/drivers/usb/usbip/ |
H A D | vudc_dev.c | 548 ep->ep.caps.dir_out = true; in init_vudc_hw() 559 ep->ep.caps.dir_out = true; in init_vudc_hw()
|
/openbmc/linux/drivers/usb/mtu3/ |
H A D | mtu3_gadget.c | 681 mep->ep.caps.dir_out = true; in init_hw_ep() 685 mep->ep.caps.dir_out = true; in init_hw_ep()
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdnsp-gadget.c | 1644 pep->endpoint.caps.dir_out = true; in cdnsp_gadget_init_endpoints() 1666 pep->endpoint.caps.dir_out = !direction; in cdnsp_gadget_init_endpoints() 1683 (pep->endpoint.caps.dir_out) ? "yes" : "no"); in cdnsp_gadget_init_endpoints()
|
H A D | cdns3-ep0.c | 888 priv_ep->endpoint.caps.dir_out = 1; in cdns3_init_ep0()
|
/openbmc/linux/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-ep0.c | 656 pep->endpoint.caps.dir_out = true; in cdns2_init_ep0()
|
H A D | cdns2-gadget.c | 1946 (pep->endpoint.caps.dir_out && in cdns2_find_available_ep() 2223 pep->endpoint.caps.dir_out = !direction; in cdns2_init_eps() 2241 (pep->endpoint.caps.dir_out) ? "yes" : "no"); in cdns2_init_eps()
|
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | raw_gadget.c | 1192 raw_caps->dir_out = caps->dir_out; in fill_ep_caps()
|
/openbmc/linux/drivers/usb/isp1760/ |
H A D | isp1760-udc.c | 1478 ep->ep.caps.dir_out = true; in isp1760_udc_init_eps() 1493 ep->ep.caps.dir_out = true; in isp1760_udc_init_eps()
|
/openbmc/linux/drivers/usb/host/ |
H A D | uhci-q.c | 765 static int uhci_map_status(int status, int dir_out) in uhci_map_status() argument 772 if (dir_out) in uhci_map_status()
|
/openbmc/linux/drivers/usb/musb/ |
H A D | musb_gadget.c | 1739 ep->end_point.caps.dir_out = true; in init_peripheral_ep() 1743 ep->end_point.caps.dir_out = true; in init_peripheral_ep()
|
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | epn.c | 851 ep->ep.caps.dir_out = true; in ast_vhub_alloc_epn()
|