Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/usb/dwc2/
Dgadget.c61 u32 ep_index, u32 dir_in) in index_to_ep() argument
63 if (dir_in) in index_to_ep()
170 unsigned int ep, unsigned int dir_in, in dwc2_hsotg_ctrl_epint() argument
177 if (!dir_in) in dwc2_hsotg_ctrl_epint()
383 usb_gadget_unmap_request(&hsotg->gadget, req, hs_ep->dir_in); in dwc2_hsotg_unmap_dma()
625 if (hs_ep->dir_in) in get_ep_limit()
678 maxsize = hs_ep->dir_in ? DEV_DMA_ISOC_TX_NBYTES_LIMIT : in dwc2_gadget_get_chain_limit()
707 int dir_in = hs_ep->dir_in; in dwc2_gadget_get_desc_params() local
710 if (!hs_ep->index && !dir_in) { in dwc2_gadget_get_desc_params()
714 if (dir_in) { in dwc2_gadget_get_desc_params()
[all …]
/Linux-v4.19/drivers/usb/gadget/udc/aspeed-vhub/
Dep0.c42 if (WARN_ON(!ep->ep0.dir_in)) in ast_vhub_reply()
124 ep->ep0.dir_in = !!(crq.bRequestType & USB_DIR_IN); in ast_vhub_ep0_handle_setup()
169 ep->ep0.dir_in = false; in ast_vhub_ep0_handle_setup()
176 ep->ep0.dir_in = false; in ast_vhub_ep0_handle_setup()
285 stat, ep->ep0.state, ep->ep0.dir_in, in_ack, req); in ast_vhub_ep0_handle_ack()
299 if ((ep->ep0.dir_in && (stat & VHUB_EP0_TX_BUFF_RDY)) || in ast_vhub_ep0_handle_ack()
300 (!ep->ep0.dir_in && (stat & VHUB_EP0_RX_BUFF_RDY)) || in ast_vhub_ep0_handle_ack()
301 (ep->ep0.dir_in != in_ack)) { in ast_vhub_ep0_handle_ack()
317 if (ep->ep0.dir_in) in ast_vhub_ep0_handle_ack()
334 if (ep->ep0.dir_in == in_ack) { in ast_vhub_ep0_handle_ack()
[all …]
Dvhub.h303 bool dir_in; member
/Linux-v4.19/drivers/usb/gadget/udc/
Dfotg210-udc.c32 if (ep->dir_in) in fotg210_disable_fifo_int()
43 if (ep->dir_in) in fotg210_enable_fifo_int()
82 u32 dir_in) in fotg210_fifo_ep_mapping() argument
93 val &= ~EPMAP_FIFONOMSK(epnum, dir_in); in fotg210_fifo_ep_mapping()
94 val |= EPMAP_FIFONO(epnum, dir_in); in fotg210_fifo_ep_mapping()
109 static void fotg210_set_fifo_dir(struct fotg210_ep *ep, u32 epnum, u32 dir_in) in fotg210_set_fifo_dir() argument
115 val |= (dir_in ? FIFOMAP_DIRIN(epnum - 1) : FIFOMAP_DIROUT(epnum - 1)); in fotg210_set_fifo_dir()
130 u32 dir_in) in fotg210_set_mps() argument
134 u32 offset = dir_in ? FOTG210_INEPMPSR(epnum) : in fotg210_set_mps()
147 fotg210_set_fifo_dir(ep, ep->epnum, ep->dir_in); in fotg210_config_ep()
[all …]
Dfotg210.h201 #define DMACPSR1_DMA_TYPE(dir_in) (((dir_in) ? 1 : 0) << 1) argument
226 unsigned char dir_in; member
Drenesas_usb3.c317 bool dir_in; member
931 usb3_ep->dir_in = !!(ctrl->bRequestType & USB_DIR_IN); in usb3_get_setup_data()
1150 if (usb3_ep->dir_in) { in usb3_set_status_stage()
1165 if (usb3_ep->dir_in) in usb3_p0_xfer()
1184 if (usb3_ep->dir_in) { in usb3_start_pipe0()
1262 usb3_ep->dir_in) < 0) in usb3_dma_get_setting_area()
1284 usb3_ep->dir_in); in usb3_dma_put_setting_area()
1317 if (usb3_ep->dir_in) in usb3_dma_fill_prd()
1327 if (usb3_ep->dir_in) in usb3_dma_kick_prd()
1488 if (usb3_ep->dir_in) { in usb3_start_pipen()
[all …]
Dpxa27x_udc.c248 if (usb_endpoint_dir_in(&udc_usb_ep->desc) != ep->dir_in) in is_match_usb_pxa()
412 if (ep->dir_in) in ep_count_bytes_remain()
431 if (!is_ep0(ep) && ep->dir_in) in ep_is_empty()
453 if (!ep->dir_in) in ep_is_full()
466 if (!is_ep0(ep) && ep->dir_in) in epout_has_pkt()
542 | ((ep->dir_in) ? UDCCONR_ED : 0) in pxa_ep_setup()
1228 if (ep->dir_in && (ep_is_full(ep) || !list_empty(&ep->queue))) in pxa_ep_set_halt()
1260 if (ep->dir_in) in pxa_ep_fifo_status()
1294 if (!ep->dir_in) { in pxa_ep_fifo_flush()
2024 int is_in = ep->dir_in; in handle_ep()
Dpxa27x_udc.h268 .dir_in = dir, .addr = _addr, \
359 unsigned dir_in:1; member
Dr8a66597-udc.h47 u16 dir_in; member
Dm66592-udc.c237 if (info->dir_in) in pipe_buffer_setting()
256 if (!info->dir_in) in pipe_buffer_setting()
440 info.dir_in = 1; in alloc_pipe_config()
442 info.dir_in = 0; in alloc_pipe_config()
1639 ep->ep.caps.dir_in = true; in m66592_probe()
Dr8a66597-udc.c327 if (info->dir_in) in pipe_buffer_setting()
346 if (!info->dir_in) in pipe_buffer_setting()
513 info.dir_in = 1; in alloc_pipe_config()
515 info.dir_in = 0; in alloc_pipe_config()
1929 ep->ep.caps.dir_in = true; in r8a66597_probe()
Dfusb300_udc.h626 u8 dir_in; member
/Linux-v4.19/drivers/scsi/
Dmvme147.c31 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) in dma_setup() argument
39 if (!dir_in) in dma_setup()
43 hdata->dma_dir = dir_in; in dma_setup()
45 if (dir_in) { in dma_setup()
Da2091.c41 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) in dma_setup() argument
74 if (!dir_in) { in dma_setup()
82 if (!dir_in) in dma_setup()
86 wh->dma_dir = dir_in; in dma_setup()
93 if (dir_in) { in dma_setup()
Da3000.c45 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) in dma_setup() argument
71 if (!dir_in) { in dma_setup()
81 if (!dir_in) in dma_setup()
85 wh->dma_dir = dir_in; in dma_setup()
92 if (dir_in) { in dma_setup()
Dgvp11.c50 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) in dma_setup() argument
110 if (!dir_in) { in dma_setup()
118 if (!dir_in) in dma_setup()
121 wh->dma_dir = dir_in; in dma_setup()
127 if (dir_in) { in dma_setup()
Dwd33c93.h203 typedef int (*dma_setup_t) (struct scsi_cmnd *SCpnt, int dir_in);
/Linux-v4.19/drivers/usb/renesas_usbhs/
Dpipe.c386 int dir_in, u16 *pipecfg) in usbhsp_setup_pipecfg() argument
428 if (dir_in) in usbhsp_setup_pipecfg()
431 if (!!is_host ^ !!dir_in) in usbhsp_setup_pipecfg()
679 int dir_in) in usbhs_pipe_malloc() argument
705 if (usbhsp_setup_pipecfg(pipe, is_host, dir_in, &pipecfg)) { in usbhs_pipe_malloc()
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()
Dpipe.h69 *usbhs_pipe_malloc(struct usbhs_priv *priv, int endpoint_type, int dir_in);
/Linux-v4.19/include/linux/usb/
Dgadget.h163 unsigned dir_in:1; member
183 .dir_in = !!(_dir & USB_EP_CAPS_DIR_IN), \
/Linux-v4.19/drivers/usb/host/
Dxhci-trace.h271 __field(int, dir_in)
286 __entry->dir_in = usb_endpoint_dir_in(&urb->ep->desc);
291 __entry->epnum, __entry->dir_in ? "in" : "out",
Dr8a66597.h41 u16 dir_in; member
/Linux-v4.19/drivers/usb/usbip/
Dvudc_dev.c549 ep->ep.caps.dir_in = true; in init_vudc_hw()
561 ep->ep.caps.dir_in = true; in init_vudc_hw()
/Linux-v4.19/drivers/usb/mtu3/
Dmtu3_gadget.c622 mep->ep.caps.dir_in = true; in init_hw_ep()
625 mep->ep.caps.dir_in = true; in init_hw_ep()

123