Home
last modified time | relevance | path

Searched refs:dir_in (Results 1 – 25 of 65) sorted by relevance

123

/openbmc/linux/drivers/usb/dwc2/
H A Dgadget.c731 int dir_in = hs_ep->dir_in; in dwc2_gadget_get_chain_limit() local
769 int dir_in = hs_ep->dir_in; in dwc2_gadget_get_desc_params() local
807 int dir_in = hs_ep->dir_in; in dwc2_gadget_fill_nonisoc_xfer_ddma_one() local
1055 int dir_in = hs_ep->dir_in; in dwc2_hsotg_start_req() local
1749 int dir_in = hs_ep->dir_in; in dwc2_gadget_start_next_request() local
2353 int dir_in = hs_ep->dir_in; in dwc2_gadget_get_xfersize_ddma() local
2829 int dir_in = hs_ep->dir_in; in dwc2_gadget_handle_ep_disabled() local
2892 int dir_in = ep->dir_in; in dwc2_gadget_handle_out_token_ep_disabled() local
2960 int dir_in = hs_ep->dir_in; in dwc2_gadget_handle_nak() local
4248 int dir_in = hs_ep->dir_in; in dwc2_hsotg_ep_disable() local
[all …]
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dep0.c36 if (WARN_ON(!ep->ep0.dir_in)) in ast_vhub_reply()
120 ep->ep0.dir_in = !!(crq.bRequestType & USB_DIR_IN); in ast_vhub_ep0_handle_setup()
165 ep->ep0.dir_in = false; in ast_vhub_ep0_handle_setup()
172 ep->ep0.dir_in = false; in ast_vhub_ep0_handle_setup()
288 stat, ep->ep0.state, ep->ep0.dir_in, in_ack, req); in ast_vhub_ep0_handle_ack()
304 (ep->ep0.dir_in != in_ack)) { in ast_vhub_ep0_handle_ack()
320 if (ep->ep0.dir_in) in ast_vhub_ep0_handle_ack()
337 if (ep->ep0.dir_in == in_ack) { in ast_vhub_ep0_handle_ack()
395 u_req->short_not_ok, ep->ep0.dir_in); in ast_vhub_ep0_queue()
419 if (ep->ep0.dir_in) { in ast_vhub_ep0_queue()
[all …]
/openbmc/linux/drivers/scsi/
H A Dgvp11.c53 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) in dma_setup() argument
67 len, DMA_DIR(dir_in)); in dma_setup()
80 DMA_DIR(dir_in)); in dma_setup()
105 if (!dir_in) { in dma_setup()
116 DMA_DIR(dir_in)); in dma_setup()
130 DMA_DIR(dir_in)); in dma_setup()
148 if (!dir_in) { in dma_setup()
164 if (!dir_in) in dma_setup()
167 wh->dma_dir = dir_in; in dma_setup()
H A Da2091.c48 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) in dma_setup() argument
60 len, DMA_DIR(dir_in)); in dma_setup()
73 DMA_DIR(dir_in)); in dma_setup()
86 if (!dir_in) { in dma_setup()
94 wh->dma_bounce_len, DMA_DIR(dir_in)); in dma_setup()
115 if (!dir_in) in dma_setup()
119 wh->dma_dir = dir_in; in dma_setup()
H A Da3000.c53 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) in dma_setup() argument
65 len, DMA_DIR(dir_in)); in dma_setup()
86 DMA_DIR(dir_in)); in dma_setup()
99 if (!dir_in) { in dma_setup()
106 len, DMA_DIR(dir_in)); in dma_setup()
117 if (!dir_in) in dma_setup()
121 wh->dma_dir = dir_in; in dma_setup()
H A Dmvme147.c34 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) in dma_setup() argument
43 if (!dir_in) in dma_setup()
47 hdata->dma_dir = dir_in; in dma_setup()
49 if (dir_in) { in dma_setup()
H A Dwd33c93.h188 typedef int (*dma_setup_t) (struct scsi_cmnd *SCpnt, int dir_in);
/openbmc/linux/drivers/usb/fotg210/
H A Dfotg210-udc.c44 if (ep->dir_in) in fotg210_disable_fifo_int()
55 if (ep->dir_in) in fotg210_enable_fifo_int()
94 u32 dir_in) in fotg210_fifo_ep_mapping() argument
142 u32 dir_in) in fotg210_set_mps() argument
191 reg = (ep->dir_in) ? in fotg210_reset_tseq()
346 if (ep->dir_in) { in fotg210_start_dma()
462 if (ep->dir_in) { in fotg210_set_epnstall()
468 reg = (ep->dir_in) ? in fotg210_set_epnstall()
482 reg = (ep->dir_in) ? in fotg210_clear_epnstall()
713 reg = (ep->dir_in) ? in fotg210_is_epnstall()
[all …]
H A Dfotg210-udc.h203 #define DMACPSR1_DMA_TYPE(dir_in) (((dir_in) ? 1 : 0) << 1) argument
228 unsigned char dir_in; member
/openbmc/linux/drivers/usb/gadget/udc/
H A Daspeed_udc.c194 bool dir_in:1; member
350 u8 dir_in; in ast_udc_ep_enable() local
380 ep->dir_in = dir_in; in ast_udc_ep_enable()
381 if (!ep->dir_in) in ast_udc_ep_enable()
595 if (ep->dir_in) { in ast_udc_ep0_queue()
602 "dir_in", ep->dir_in); in ast_udc_ep0_queue()
615 "dir_in", ep->dir_in); in ast_udc_ep0_queue()
620 ep->dir_in = 0x1; in ast_udc_ep0_queue()
807 if (!ep->dir_in) in ast_udc_ep0_out()
820 ep->dir_in = 0; in ast_udc_ep0_out()
[all …]
H A Drenesas_usb3.c322 bool dir_in; member
1232 if (usb3_ep->dir_in) { in usb3_set_status_stage()
1247 if (usb3_ep->dir_in) in usb3_p0_xfer()
1266 if (usb3_ep->dir_in) { in usb3_start_pipe0()
1344 usb3_ep->dir_in) < 0) in usb3_dma_get_setting_area()
1366 usb3_ep->dir_in); in usb3_dma_put_setting_area()
1399 if (usb3_ep->dir_in) in usb3_dma_fill_prd()
1409 if (usb3_ep->dir_in) in usb3_dma_kick_prd()
1571 if (usb3_ep->dir_in) { in usb3_start_pipen()
1990 if (usb3_ep->dir_in) { in usb3_irq_epc_pipen_lsttr()
[all …]
H A Dpxa27x_udc.c246 if (usb_endpoint_dir_in(&udc_usb_ep->desc) != ep->dir_in) in is_match_usb_pxa()
410 if (ep->dir_in) in ep_count_bytes_remain()
429 if (!is_ep0(ep) && ep->dir_in) in ep_is_empty()
451 if (!ep->dir_in) in ep_is_full()
464 if (!is_ep0(ep) && ep->dir_in) in epout_has_pkt()
539 | ((ep->dir_in) ? UDCCONR_ED : 0) in pxa_ep_setup()
1226 if (ep->dir_in && (ep_is_full(ep) || !list_empty(&ep->queue))) in pxa_ep_set_halt()
1258 if (ep->dir_in) in pxa_ep_fifo_status()
1292 if (!ep->dir_in) { in pxa_ep_fifo_flush()
2021 int is_in = ep->dir_in; in handle_ep()
H A Dpxa27x_udc.h268 .dir_in = dir, .addr = _addr, \
359 unsigned dir_in:1; member
H A Dmax3420_udc.c553 if (!ep->ep_usb.caps.dir_in) in max3420_getstatus()
1173 ep->ep_usb.caps.dir_in = true; in max3420_eps_init()
1180 ep->ep_usb.caps.dir_in = false; in max3420_eps_init()
1184 ep->ep_usb.caps.dir_in = true; in max3420_eps_init()
/openbmc/u-boot/common/
H A Dusb_storage.c534 int dir_in; in usb_stor_BBB_comdat() local
538 dir_in = US_DIRECTION(srb->cmd[0]); in usb_stor_BBB_comdat()
542 dir_in, srb->lun, srb->cmdlen, srb->cmd, srb->datalen, in usb_stor_BBB_comdat()
582 int dir_in, retry; in usb_stor_CB_comdat() local
587 dir_in = US_DIRECTION(srb->cmd[0]); in usb_stor_CB_comdat()
589 if (dir_in) in usb_stor_CB_comdat()
628 dir_in ? "IN" : "OUT", srb->datalen); in usb_stor_CB_comdat()
706 int dir_in; in usb_stor_BBB_transport() local
715 dir_in = US_DIRECTION(srb->cmd[0]); in usb_stor_BBB_transport()
736 if (dir_in) in usb_stor_BBB_transport()
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dsl811-hcd.c344 int dir_in = usb_pipein(pipe); in submit_control_msg() local
349 PIDEP(dir_in ? USB_PID_IN : USB_PID_OUT, ep)); in submit_control_msg()
361 if (dir_in && res < max) /* short packet */ in submit_control_msg()
367 PIDEP(!dir_in ? USB_PID_IN : USB_PID_OUT, ep)); in submit_control_msg()
370 !dir_in ? usb_rcvctrlpipe(dev, ep) : in submit_control_msg()
/openbmc/linux/drivers/usb/renesas_usbhs/
H A Dpipe.c401 int dir_in, u16 *pipecfg) in usbhsp_setup_pipecfg() argument
443 if (dir_in) in usbhsp_setup_pipecfg()
446 if (!!is_host ^ !!dir_in) in usbhsp_setup_pipecfg()
694 int dir_in) in usbhs_pipe_malloc() argument
720 if (usbhsp_setup_pipecfg(pipe, is_host, dir_in, &pipecfg)) { in usbhs_pipe_malloc()
H A Dmod_host.c256 int i, dir_in; in usbhsh_pipe_attach() local
279 dir_in = !!usbhs_pipe_is_dir_in(pipe); in usbhsh_pipe_attach()
280 if (0 != (dir_in - dir_in_req)) in usbhsh_pipe_attach()
1406 int old_type, dir_in, i; in usbhsh_pipe_init_for_host() local
1432 dir_in = (pipe_configs[i].type == old_type); in usbhsh_pipe_init_for_host()
1441 dir_in); in usbhsh_pipe_init_for_host()
H A Dpipe.h69 *usbhs_pipe_malloc(struct usbhs_priv *priv, int endpoint_type, int dir_in);
/openbmc/linux/include/uapi/linux/usb/
H A Draw_gadget.h114 __u32 dir_in : 1; member
/openbmc/u-boot/drivers/usb/gadget/
H A Daspeed_udc.c566 u8 dir_in; in aspeed_udc_ep_enable() local
597 dir_in = usb_endpoint_dir_in(desc); in aspeed_udc_ep_enable()
598 ep->ep_dir = dir_in; in aspeed_udc_ep_enable()
607 EP_DBG("epnum %d, type %d, dir_in %d\n", epnum, type, dir_in); in aspeed_udc_ep_enable()
610 if (dir_in) in aspeed_udc_ep_enable()
616 if (dir_in) in aspeed_udc_ep_enable()
622 if (dir_in) in aspeed_udc_ep_enable()
H A Dci_udc.c156 static struct ept_queue_head *ci_get_qh(int ep_num, int dir_in) in ci_get_qh() argument
158 return &controller.epts[(ep_num * 2) + dir_in]; in ci_get_qh()
169 static struct ept_queue_item *ci_get_qtd(int ep_num, int dir_in) in ci_get_qtd() argument
171 int index = (ep_num * 2) + dir_in; in ci_get_qtd()
/openbmc/qemu/hw/usb/
H A Dcanokey.c156 uint32_t dir_in = request & DeviceRequest; in canokey_handle_control() local
157 if (!dir_in) { in canokey_handle_control()
/openbmc/linux/drivers/usb/host/
H A Dxhci-trace.h265 __field(int, dir_in)
280 __entry->dir_in = usb_endpoint_dir_in(&urb->ep->desc);
285 __entry->epnum, __entry->dir_in ? "in" : "out",
/openbmc/linux/include/linux/usb/
H A Dgadget.h170 unsigned dir_in:1; member
190 .dir_in = !!(_dir & USB_EP_CAPS_DIR_IN), \

123