Searched refs:dir_in (Results 1 - 25 of 61) sorted by relevance

123

/linux-master/drivers/usb/dwc2/
H A Dgadget.c62 u32 ep_index, u32 dir_in)
64 if (dir_in)
194 * @dir_in: True if direction is in.
201 unsigned int ep, unsigned int dir_in,
208 if (!dir_in)
678 if (hs_ep->dir_in)
731 int dir_in = hs_ep->dir_in; local
734 maxsize = (hs_ep->dir_in ? DEV_DMA_ISOC_TX_NBYTES_LIMIT :
742 if (usb_endpoint_xfer_int(ep_desc) && !dir_in
61 index_to_ep(struct dwc2_hsotg *hsotg, u32 ep_index, u32 dir_in) argument
200 dwc2_hsotg_ctrl_epint(struct dwc2_hsotg *hsotg, unsigned int ep, unsigned int dir_in, unsigned int en) argument
769 int dir_in = hs_ep->dir_in; local
807 int dir_in = hs_ep->dir_in; local
1055 int dir_in = hs_ep->dir_in; local
1749 int dir_in = hs_ep->dir_in; local
2327 dwc2_hsotg_ep0_zlp(struct dwc2_hsotg *hsotg, bool dir_in) argument
2353 int dir_in = hs_ep->dir_in; local
2581 dwc2_hsotg_set_ep_maxpacket(struct dwc2_hsotg *hsotg, unsigned int ep, unsigned int mps, unsigned int mc, unsigned int dir_in) argument
2792 dwc2_gadget_read_ep_interrupts(struct dwc2_hsotg *hsotg, unsigned int idx, int dir_in) argument
2829 int dir_in = hs_ep->dir_in; local
2892 int dir_in = ep->dir_in; local
2960 int dir_in = hs_ep->dir_in; local
3039 dwc2_hsotg_epint(struct dwc2_hsotg *hsotg, unsigned int idx, int dir_in) argument
4026 unsigned int dir_in; local
4248 int dir_in = hs_ep->dir_in; local
4797 dwc2_hsotg_initep(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep, int epnum, bool dir_in) argument
[all...]
/linux-master/drivers/scsi/
H A Da2091.c48 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) argument
60 len, DMA_DIR(dir_in));
73 DMA_DIR(dir_in));
86 if (!dir_in) {
94 wh->dma_bounce_len, DMA_DIR(dir_in));
115 if (!dir_in)
119 wh->dma_dir = dir_in;
H A Dmvme147.c34 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) argument
43 if (!dir_in)
47 hdata->dma_dir = dir_in;
49 if (dir_in) {
H A Da3000.c53 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) argument
65 len, DMA_DIR(dir_in));
86 DMA_DIR(dir_in));
99 if (!dir_in) {
106 len, DMA_DIR(dir_in));
117 if (!dir_in)
121 wh->dma_dir = dir_in;
H A Dgvp11.c53 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) argument
67 len, DMA_DIR(dir_in));
80 DMA_DIR(dir_in));
105 if (!dir_in) {
116 DMA_DIR(dir_in));
130 DMA_DIR(dir_in));
148 if (!dir_in) {
164 if (!dir_in)
167 wh->dma_dir = dir_in;
H A Dwd33c93.h188 typedef int (*dma_setup_t) (struct scsi_cmnd *SCpnt, int dir_in);
/linux-master/drivers/usb/gadget/udc/aspeed-vhub/
H A Dep0.c36 if (WARN_ON(!ep->ep0.dir_in))
120 ep->ep0.dir_in = !!(crq.bRequestType & USB_DIR_IN);
165 ep->ep0.dir_in = false;
172 ep->ep0.dir_in = false;
288 stat, ep->ep0.state, ep->ep0.dir_in, in_ack, req);
302 if ((ep->ep0.dir_in && (stat & VHUB_EP0_TX_BUFF_RDY)) ||
303 (!ep->ep0.dir_in && (stat & VHUB_EP0_RX_BUFF_RDY)) ||
304 (ep->ep0.dir_in != in_ack)) {
320 if (ep->ep0.dir_in)
337 if (ep->ep0.dir_in
[all...]
H A Dvhub.h304 bool dir_in; member in struct:ast_vhub_ep::__anon234::__anon235
/linux-master/drivers/usb/fotg210/
H A Dfotg210-udc.c44 if (ep->dir_in)
55 if (ep->dir_in)
94 u32 dir_in)
105 val &= ~EPMAP_FIFONOMSK(epnum, dir_in);
106 val |= EPMAP_FIFONO(epnum, dir_in);
121 static void fotg210_set_fifo_dir(struct fotg210_ep *ep, u32 epnum, u32 dir_in) argument
127 val |= (dir_in ? FIFOMAP_DIRIN(epnum - 1) : FIFOMAP_DIROUT(epnum - 1));
142 u32 dir_in)
146 u32 offset = dir_in ? FOTG210_INEPMPSR(epnum) :
159 fotg210_set_fifo_dir(ep, ep->epnum, ep->dir_in);
93 fotg210_fifo_ep_mapping(struct fotg210_ep *ep, u32 epnum, u32 dir_in) argument
141 fotg210_set_mps(struct fotg210_ep *ep, u32 epnum, u32 mps, u32 dir_in) argument
[all...]
H A Dfotg210-udc.h203 #define DMACPSR1_DMA_TYPE(dir_in) (((dir_in) ? 1 : 0) << 1)
228 unsigned char dir_in; member in struct:fotg210_ep
/linux-master/drivers/usb/gadget/udc/
H A Daspeed_udc.c194 bool dir_in:1; member in struct:ast_udc_ep
288 (u32)req->req.buf, ep->dir_in);
350 u8 dir_in; local
379 dir_in = usb_endpoint_dir_in(desc);
380 ep->dir_in = dir_in;
381 if (!ep->dir_in)
384 EP_DBG(ep, "type %d, dir_in %d\n", type, dir_in);
399 ep->desc_mode = udc->desc_mode && ep->descs_dma && ep->dir_in;
[all...]
H A Drenesas_usb3.c322 bool dir_in; member in struct:renesas_usb3_ep
1013 usb3_ep->dir_in = !!(ctrl->bRequestType & USB_DIR_IN);
1232 if (usb3_ep->dir_in) {
1247 if (usb3_ep->dir_in)
1266 if (usb3_ep->dir_in) {
1344 usb3_ep->dir_in) < 0)
1366 usb3_ep->dir_in);
1399 if (usb3_ep->dir_in)
1409 if (usb3_ep->dir_in)
1571 if (usb3_ep->dir_in) {
[all...]
H A Dpxa27x_udc.c245 if (usb_endpoint_dir_in(&udc_usb_ep->desc) != ep->dir_in)
409 if (ep->dir_in)
428 if (!is_ep0(ep) && ep->dir_in)
450 if (!ep->dir_in)
463 if (!is_ep0(ep) && ep->dir_in)
538 | ((ep->dir_in) ? UDCCONR_ED : 0)
1225 if (ep->dir_in && (ep_is_full(ep) || !list_empty(&ep->queue)))
1257 if (ep->dir_in)
1291 if (!ep->dir_in) {
2020 int is_in = ep->dir_in;
[all...]
H A Dpxa27x_udc.h268 .dir_in = dir, .addr = _addr, \
325 * @dir_in: 1 if IN endpoint, 0 if OUT endpoint
359 unsigned dir_in:1; member in struct:pxa_ep
H A Dr8a66597-udc.h47 u16 dir_in; member in struct:r8a66597_pipe_info
H A Dmax3420_udc.c553 if (!ep->ep_usb.caps.dir_in)
1173 ep->ep_usb.caps.dir_in = true;
1180 ep->ep_usb.caps.dir_in = false;
1184 ep->ep_usb.caps.dir_in = true;
/linux-master/include/uapi/linux/usb/
H A Draw_gadget.h124 __u32 dir_in : 1; member in struct:usb_raw_ep_caps
/linux-master/drivers/usb/renesas_usbhs/
H A Dpipe.h69 *usbhs_pipe_malloc(struct usbhs_priv *priv, int endpoint_type, int dir_in);
H A Dpipe.c401 int dir_in, u16 *pipecfg)
443 if (dir_in)
446 if (!!is_host ^ !!dir_in)
694 int dir_in)
720 if (usbhsp_setup_pipecfg(pipe, is_host, dir_in, &pipecfg)) {
400 usbhsp_setup_pipecfg(struct usbhs_pipe *pipe, int is_host, int dir_in, u16 *pipecfg) argument
692 usbhs_pipe_malloc(struct usbhs_priv *priv, int endpoint_type, int dir_in) argument
H A Dmod_host.c256 int i, dir_in; local
279 dir_in = !!usbhs_pipe_is_dir_in(pipe);
280 if (0 != (dir_in - dir_in_req))
1406 int old_type, dir_in, i; local
1432 dir_in = (pipe_configs[i].type == old_type);
1441 dir_in);
/linux-master/drivers/usb/host/
H A Dxhci-trace.h263 __field(int, dir_in)
278 __entry->dir_in = usb_endpoint_dir_in(&urb->ep->desc);
283 __entry->epnum, __entry->dir_in ? "in" : "out",
H A Dr8a66597.h41 u16 dir_in; member in struct:r8a66597_pipe_info
/linux-master/include/linux/usb/
H A Dgadget.h164 * @dir_in:Endpoint supports IN direction.
172 unsigned dir_in:1; member in struct:usb_ep_caps
192 .dir_in = !!(_dir & USB_EP_CAPS_DIR_IN), \
/linux-master/drivers/pinctrl/
H A Dpinctrl-aw9523.c583 u32 dir_in, val; local
588 ret = regmap_read(awi->regmap, AW9523_REG_CONF_STATE(regbit), &dir_in);
593 m = mask & dir_in;
602 m = mask & ~dir_in;
/linux-master/drivers/usb/usbip/
H A Dvudc_dev.c549 ep->ep.caps.dir_in = true;
561 ep->ep.caps.dir_in = true;

Completed in 282 milliseconds

123