Home
last modified time | relevance | path

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

12

/linux/drivers/usb/dwc2/
H A Dgadget.c62 u32 ep_index, u32 dir_in) in index_to_ep() argument
64 if (dir_in) in index_to_ep()
201 unsigned int ep, unsigned int dir_in, in dwc2_hsotg_ctrl_epint() argument
208 if (!dir_in) in dwc2_hsotg_ctrl_epint()
678 if (hs_ep->dir_in) in get_ep_limit()
731 int dir_in = hs_ep->dir_in; in dwc2_gadget_get_chain_limit() local
734 maxsize = (hs_ep->dir_in ? DEV_DMA_ISOC_TX_NBYTES_LIMIT : in dwc2_gadget_get_chain_limit()
742 if (usb_endpoint_xfer_int(ep_desc) && !dir_in && (mps % 4)) in dwc2_gadget_get_chain_limit()
769 int dir_in = hs_ep->dir_in; in dwc2_gadget_get_desc_params() local
772 if (!hs_ep->index && !dir_in) { in dwc2_gadget_get_desc_params()
[all …]
/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()
302 if ((ep->ep0.dir_in && (stat & VHUB_EP0_TX_BUFF_RDY)) || in ast_vhub_ep0_handle_ack()
303 (!ep->ep0.dir_in && (stat & VHUB_EP0_RX_BUFF_RDY)) || 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()
[all …]
H A Dvhub.h304 bool dir_in; member
/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 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);
/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
105 val &= ~EPMAP_FIFONOMSK(epnum, dir_in); in fotg210_fifo_ep_mapping()
106 val |= EPMAP_FIFONO(epnum, dir_in); in fotg210_fifo_ep_mapping()
121 static void fotg210_set_fifo_dir(struct fotg210_ep *ep, u32 epnum, u32 dir_in) in fotg210_set_fifo_dir() argument
127 val |= (dir_in ? FIFOMAP_DIRIN(epnum - 1) : FIFOMAP_DIROUT(epnum - 1)); in fotg210_set_fifo_dir()
142 u32 dir_in) in fotg210_set_mps() argument
146 u32 offset = dir_in ? FOTG210_INEPMPSR(epnum) : in fotg210_set_mps()
159 fotg210_set_fifo_dir(ep, ep->epnum, ep->dir_in); in fotg210_config_ep()
[all …]
H A Dfotg210-udc.h203 #define DMACPSR1_DMA_TYPE(dir_in) (((dir_in) ? 1 : 0) << 1) argument
228 unsigned char dir_in; member
/linux/drivers/gpio/
H A Dgpio-mpsse.c32 unsigned long dir_in; /* Bitmask of valid input pins */ member
64 unsigned long dir_in; /* Bitmask of valid input pins */ member
74 .dir_in = BIT(5), /* Channel Activity */
203 supported = priv->dir_in; in mpsse_ensure_supported()
567 *valid_mask = priv->dir_in | priv->dir_out; in mpsse_init_valid_mask()
582 *valid_mask = priv->dir_in; in mpsse_irq_init_valid_mask()
659 priv->dir_in = quirk->dir_in; in gpio_mpsse_probe()
663 priv->dir_in = U16_MAX; in gpio_mpsse_probe()
/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
721 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);
/linux/drivers/usb/gadget/udc/
H A Drenesas_usb3.c322 bool dir_in; member
1013 usb3_ep->dir_in = !!(ctrl->bRequestType & USB_DIR_IN); in usb3_get_setup_data()
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()
[all …]
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()
H A 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()
1637 ep->ep.caps.dir_in = true; in m66592_probe()
H A Dr8a66597-udc.h47 u16 dir_in; member
H A 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()
1926 ep->ep.caps.dir_in = true; in r8a66597_probe()
H A Dm66592-udc.h433 u16 dir_in; member
/linux/include/uapi/linux/usb/
H A Draw_gadget.h124 __u32 dir_in : 1; member
/linux/drivers/usb/host/
H A Dxhci-trace.h258 __field(int, dir_in)
274 __entry->dir_in = usb_endpoint_dir_in(&urb->ep->desc);
280 __entry->epnum, __entry->dir_in ? "in" : "out",
H A Dr8a66597.h41 u16 dir_in; member
/linux/include/linux/usb/
H A Dgadget.h175 unsigned dir_in:1; member
195 .dir_in = !!(_dir & USB_EP_CAPS_DIR_IN), \
/linux/drivers/usb/usbip/
H A Dvudc_dev.c549 ep->ep.caps.dir_in = true; in init_vudc_hw()
561 ep->ep.caps.dir_in = true; in init_vudc_hw()

12