/Linux-v4.19/drivers/usb/dwc2/ |
D | gadget.c | 61 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/ |
D | ep0.c | 42 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 …]
|
D | vhub.h | 303 bool dir_in; member
|
/Linux-v4.19/drivers/usb/gadget/udc/ |
D | fotg210-udc.c | 32 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 …]
|
D | fotg210.h | 201 #define DMACPSR1_DMA_TYPE(dir_in) (((dir_in) ? 1 : 0) << 1) argument 226 unsigned char dir_in; member
|
D | renesas_usb3.c | 317 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 …]
|
D | pxa27x_udc.c | 248 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()
|
D | pxa27x_udc.h | 268 .dir_in = dir, .addr = _addr, \ 359 unsigned dir_in:1; member
|
D | r8a66597-udc.h | 47 u16 dir_in; member
|
D | m66592-udc.c | 237 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()
|
D | r8a66597-udc.c | 327 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()
|
D | fusb300_udc.h | 626 u8 dir_in; member
|
/Linux-v4.19/drivers/scsi/ |
D | mvme147.c | 31 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()
|
D | a2091.c | 41 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()
|
D | a3000.c | 45 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()
|
D | gvp11.c | 50 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()
|
D | wd33c93.h | 203 typedef int (*dma_setup_t) (struct scsi_cmnd *SCpnt, int dir_in);
|
/Linux-v4.19/drivers/usb/renesas_usbhs/ |
D | pipe.c | 386 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()
|
D | mod_host.c | 256 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()
|
D | pipe.h | 69 *usbhs_pipe_malloc(struct usbhs_priv *priv, int endpoint_type, int dir_in);
|
/Linux-v4.19/include/linux/usb/ |
D | gadget.h | 163 unsigned dir_in:1; member 183 .dir_in = !!(_dir & USB_EP_CAPS_DIR_IN), \
|
/Linux-v4.19/drivers/usb/host/ |
D | xhci-trace.h | 271 __field(int, dir_in) 286 __entry->dir_in = usb_endpoint_dir_in(&urb->ep->desc); 291 __entry->epnum, __entry->dir_in ? "in" : "out",
|
D | r8a66597.h | 41 u16 dir_in; member
|
/Linux-v4.19/drivers/usb/usbip/ |
D | vudc_dev.c | 549 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/ |
D | mtu3_gadget.c | 622 mep->ep.caps.dir_in = true; in init_hw_ep() 625 mep->ep.caps.dir_in = true; in init_hw_ep()
|