/drivers/usb/dwc2/ |
D | gadget.c | 63 u32 ep_index, u32 dir_in) in index_to_ep() argument 65 if (dir_in) in index_to_ep() 202 unsigned int ep, unsigned int dir_in, in dwc2_hsotg_ctrl_epint() argument 209 if (!dir_in) in dwc2_hsotg_ctrl_epint() 679 if (hs_ep->dir_in) in get_ep_limit() 732 int dir_in = hs_ep->dir_in; in dwc2_gadget_get_chain_limit() local 735 maxsize = (hs_ep->dir_in ? DEV_DMA_ISOC_TX_NBYTES_LIMIT : in dwc2_gadget_get_chain_limit() 743 if (usb_endpoint_xfer_int(ep_desc) && !dir_in && (mps % 4)) in dwc2_gadget_get_chain_limit() 770 int dir_in = hs_ep->dir_in; in dwc2_gadget_get_desc_params() local 773 if (!hs_ep->index && !dir_in) { in dwc2_gadget_get_desc_params() [all …]
|
/drivers/usb/gadget/udc/aspeed-vhub/ |
D | ep0.c | 42 if (WARN_ON(!ep->ep0.dir_in)) in ast_vhub_reply() 126 ep->ep0.dir_in = !!(crq.bRequestType & USB_DIR_IN); in ast_vhub_ep0_handle_setup() 171 ep->ep0.dir_in = false; in ast_vhub_ep0_handle_setup() 178 ep->ep0.dir_in = false; in ast_vhub_ep0_handle_setup() 287 stat, ep->ep0.state, ep->ep0.dir_in, in_ack, req); in ast_vhub_ep0_handle_ack() 301 if ((ep->ep0.dir_in && (stat & VHUB_EP0_TX_BUFF_RDY)) || in ast_vhub_ep0_handle_ack() 302 (!ep->ep0.dir_in && (stat & VHUB_EP0_RX_BUFF_RDY)) || in ast_vhub_ep0_handle_ack() 303 (ep->ep0.dir_in != in_ack)) { in ast_vhub_ep0_handle_ack() 319 if (ep->ep0.dir_in) in ast_vhub_ep0_handle_ack() 336 if (ep->ep0.dir_in == in_ack) { in ast_vhub_ep0_handle_ack() [all …]
|
D | vhub.h | 304 bool dir_in; member
|
/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 | 318 bool dir_in; member 955 usb3_ep->dir_in = !!(ctrl->bRequestType & USB_DIR_IN); in usb3_get_setup_data() 1174 if (usb3_ep->dir_in) { in usb3_set_status_stage() 1189 if (usb3_ep->dir_in) in usb3_p0_xfer() 1208 if (usb3_ep->dir_in) { in usb3_start_pipe0() 1286 usb3_ep->dir_in) < 0) in usb3_dma_get_setting_area() 1308 usb3_ep->dir_in); in usb3_dma_put_setting_area() 1341 if (usb3_ep->dir_in) in usb3_dma_fill_prd() 1351 if (usb3_ep->dir_in) in usb3_dma_kick_prd() 1513 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() 541 | ((ep->dir_in) ? UDCCONR_ED : 0) in pxa_ep_setup() 1227 if (ep->dir_in && (ep_is_full(ep) || !list_empty(&ep->queue))) in pxa_ep_set_halt() 1259 if (ep->dir_in) in pxa_ep_fifo_status() 1293 if (!ep->dir_in) { in pxa_ep_fifo_flush() 2021 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 | max3420_udc.c | 557 if (!ep->ep_usb.caps.dir_in) in max3420_getstatus() 1177 ep->ep_usb.caps.dir_in = true; in max3420_eps_init() 1184 ep->ep_usb.caps.dir_in = false; in max3420_eps_init() 1188 ep->ep_usb.caps.dir_in = true; in max3420_eps_init()
|
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.h | 47 u16 dir_in; member
|
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() 1928 ep->ep.caps.dir_in = true; in r8a66597_probe()
|
D | m66592-udc.h | 433 u16 dir_in; member
|
/drivers/scsi/ |
D | mvme147.c | 30 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) in dma_setup() argument 38 if (!dir_in) in dma_setup() 42 hdata->dma_dir = dir_in; in dma_setup() 44 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 | 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 | 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 | 193 typedef int (*dma_setup_t) (struct scsi_cmnd *SCpnt, int dir_in);
|
/drivers/usb/renesas_usbhs/ |
D | pipe.c | 401 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()
|
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);
|
/drivers/usb/host/ |
D | xhci-trace.h | 270 __field(int, dir_in) 285 __entry->dir_in = usb_endpoint_dir_in(&urb->ep->desc); 290 __entry->epnum, __entry->dir_in ? "in" : "out",
|
D | r8a66597.h | 41 u16 dir_in; member
|
/drivers/usb/usbip/ |
D | vudc_dev.c | 550 ep->ep.caps.dir_in = true; in init_vudc_hw() 562 ep->ep.caps.dir_in = true; in init_vudc_hw()
|
/drivers/usb/mtu3/ |
D | mtu3_gadget.c | 645 mep->ep.caps.dir_in = true; in init_hw_ep() 648 mep->ep.caps.dir_in = true; in init_hw_ep()
|