Home
last modified time | relevance | path

Searched refs:dir_out (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_hcd.c37 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 Dpinctrl-bcm6368.c34 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 Dsl811-hcd.c290 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 Draw_gadget.h115 __u32 dir_out : 1; member
/openbmc/linux/drivers/usb/renesas_usbhs/
H A Dpipe.h115 void usbhs_dcp_dir_for_host(struct usbhs_pipe *pipe, int dir_out);
H A Dpipe.c798 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 Dmod_gadget.c1165 uep->ep.caps.dir_out = true; in usbhs_mod_gadget_probe()
/openbmc/linux/include/linux/usb/
H A Dgadget.h171 unsigned dir_out:1; member
191 .dir_out = !!(_dir & USB_EP_CAPS_DIR_OUT), \
/openbmc/linux/drivers/usb/gadget/udc/
H A Dmax3420_udc.c556 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 Dmv_u3d_core.c1317 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 Dmv_udc_core.c1254 ep->ep.caps.dir_out = true; in eps_init()
1271 ep->ep.caps.dir_out = true; in eps_init()
H A Dcore.c1038 if (usb_endpoint_dir_out(desc) && !ep->caps.dir_out) in usb_gadget_ep_match_desc()
H A Drenesas_usb3.c2714 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 Domap_udc.c2568 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 Dvudc_dev.c548 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 Dmtu3_gadget.c681 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 Dcdnsp-gadget.c1644 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 Dcdns3-ep0.c888 priv_ep->endpoint.caps.dir_out = 1; in cdns3_init_ep0()
/openbmc/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-ep0.c656 pep->endpoint.caps.dir_out = true; in cdns2_init_ep0()
H A Dcdns2-gadget.c1946 (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 Draw_gadget.c1192 raw_caps->dir_out = caps->dir_out; in fill_ep_caps()
/openbmc/linux/drivers/usb/isp1760/
H A Disp1760-udc.c1478 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 Duhci-q.c765 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 Dmusb_gadget.c1739 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 Depn.c851 ep->ep.caps.dir_out = true; in ast_vhub_alloc_epn()

12