/Linux-v5.4/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() 190 unsigned int ep, unsigned int dir_in, in dwc2_hsotg_ctrl_epint() argument 197 if (!dir_in) in dwc2_hsotg_ctrl_epint() 424 usb_gadget_unmap_request(&hsotg->gadget, req, hs_ep->dir_in); in dwc2_hsotg_unmap_dma() 666 if (hs_ep->dir_in) in get_ep_limit() 719 maxsize = (hs_ep->dir_in ? DEV_DMA_ISOC_TX_NBYTES_LIMIT : in dwc2_gadget_get_chain_limit() 746 int dir_in = hs_ep->dir_in; in dwc2_gadget_get_desc_params() local 749 if (!hs_ep->index && !dir_in) { in dwc2_gadget_get_desc_params() 753 if (dir_in) { in dwc2_gadget_get_desc_params() [all …]
|
/Linux-v5.4/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
|
/Linux-v5.4/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 940 usb3_ep->dir_in = !!(ctrl->bRequestType & USB_DIR_IN); in usb3_get_setup_data() 1159 if (usb3_ep->dir_in) { in usb3_set_status_stage() 1174 if (usb3_ep->dir_in) in usb3_p0_xfer() 1193 if (usb3_ep->dir_in) { in usb3_start_pipe0() 1271 usb3_ep->dir_in) < 0) in usb3_dma_get_setting_area() 1293 usb3_ep->dir_in); in usb3_dma_put_setting_area() 1326 if (usb3_ep->dir_in) in usb3_dma_fill_prd() 1336 if (usb3_ep->dir_in) in usb3_dma_kick_prd() 1497 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()
|
/Linux-v5.4/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 | 42 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) in dma_setup() argument 75 if (!dir_in) { in dma_setup() 83 if (!dir_in) in dma_setup() 87 wh->dma_dir = dir_in; in dma_setup() 94 if (dir_in) { in dma_setup()
|
D | a3000.c | 46 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) in dma_setup() argument 72 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 | 51 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) in dma_setup() argument 111 if (!dir_in) { in dma_setup() 119 if (!dir_in) in dma_setup() 122 wh->dma_dir = dir_in; in dma_setup() 128 if (dir_in) { in dma_setup()
|
D | wd33c93.h | 193 typedef int (*dma_setup_t) (struct scsi_cmnd *SCpnt, int dir_in);
|
/Linux-v5.4/drivers/gpio/ |
D | sgpio-aspeed.c | 33 uint32_t dir_in[3]; member 137 is_input = gpio->dir_in[GPIO_BANK(offset)] & GPIO_BIT(offset); in aspeed_sgpio_get() 182 gpio->dir_in[GPIO_BANK(offset)] |= GPIO_BIT(offset); in aspeed_sgpio_dir_in() 195 gpio->dir_in[GPIO_BANK(offset)] &= ~GPIO_BIT(offset); in aspeed_sgpio_dir_out() 210 dir_status = gpio->dir_in[GPIO_BANK(offset)] & GPIO_BIT(offset); in aspeed_sgpio_get_direction() 513 memset(gpio->dir_in, 0xff, sizeof(gpio->dir_in)); in aspeed_sgpio_probe()
|
/Linux-v5.4/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);
|
/Linux-v5.4/include/linux/usb/ |
D | gadget.h | 167 unsigned dir_in:1; member 187 .dir_in = !!(_dir & USB_EP_CAPS_DIR_IN), \
|
/Linux-v5.4/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-v5.4/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()
|
/Linux-v5.4/drivers/usb/mtu3/ |
D | mtu3_gadget.c | 647 mep->ep.caps.dir_in = true; in init_hw_ep() 650 mep->ep.caps.dir_in = true; in init_hw_ep()
|