Home
last modified time | relevance | path

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

12

/drivers/usb/dwc2/
Dgadget.c64 u32 ep_index, u32 dir_in) in index_to_ep() argument
66 if (dir_in) in index_to_ep()
163 unsigned int ep, unsigned int dir_in, in dwc2_hsotg_ctrl_epint() argument
170 if (!dir_in) in dwc2_hsotg_ctrl_epint()
311 usb_gadget_unmap_request(&hsotg->gadget, req, hs_ep->dir_in); in dwc2_hsotg_unmap_dma()
505 if (hs_ep->dir_in) in get_ep_limit()
560 int dir_in = hs_ep->dir_in; in dwc2_hsotg_start_req() local
582 epctrl_reg = dir_in ? DIEPCTL(index) : DOEPCTL(index); in dwc2_hsotg_start_req()
583 epsize_reg = dir_in ? DIEPTSIZ(index) : DOEPTSIZ(index); in dwc2_hsotg_start_req()
587 hs_ep->dir_in ? "in" : "out"); in dwc2_hsotg_start_req()
[all …]
Dcore.h209 unsigned char dir_in; member
/drivers/usb/gadget/udc/
Dfotg210-udc.c35 if (ep->dir_in) in fotg210_disable_fifo_int()
46 if (ep->dir_in) in fotg210_enable_fifo_int()
85 u32 dir_in) in fotg210_fifo_ep_mapping() argument
96 val &= ~EPMAP_FIFONOMSK(epnum, dir_in); in fotg210_fifo_ep_mapping()
97 val |= EPMAP_FIFONO(epnum, dir_in); in fotg210_fifo_ep_mapping()
112 static void fotg210_set_fifo_dir(struct fotg210_ep *ep, u32 epnum, u32 dir_in) in fotg210_set_fifo_dir() argument
118 val |= (dir_in ? FIFOMAP_DIRIN(epnum - 1) : FIFOMAP_DIROUT(epnum - 1)); in fotg210_set_fifo_dir()
133 u32 dir_in) in fotg210_set_mps() argument
137 u32 offset = dir_in ? FOTG210_INEPMPSR(epnum) : in fotg210_set_mps()
150 fotg210_set_fifo_dir(ep, ep->epnum, ep->dir_in); in fotg210_config_ep()
[all …]
Dfotg210.h205 #define DMACPSR1_DMA_TYPE(dir_in) (((dir_in) ? 1 : 0) << 1) argument
230 unsigned char dir_in; member
Drenesas_usb3.c242 bool dir_in; member
737 usb3_ep->dir_in = !!(ctrl->bRequestType & USB_DIR_IN); in usb3_get_setup_data()
956 if (usb3_ep->dir_in) { in usb3_set_status_stage()
971 if (usb3_ep->dir_in) in usb3_p0_xfer()
990 if (usb3_ep->dir_in) { in usb3_start_pipe0()
1023 if (usb3_ep->dir_in) { in usb3_start_pipen()
1441 if (usb3_ep->dir_in) { in usb3_irq_epc_pipen_lsttr()
1461 if (usb3_ep->dir_in) { in usb3_irq_epc_pipen_bfrdy()
1548 val |= usb3_ep->dir_in ? PN_MOD_DIR : 0; in usb3_write_pn_mod()
1591 usb3_ep->dir_in = usb_endpoint_dir_in(desc); in usb3_enable_pipe_n()
[all …]
Dpxa27x_udc.c319 if (usb_endpoint_dir_in(&udc_usb_ep->desc) != ep->dir_in) in is_match_usb_pxa()
483 if (ep->dir_in) in ep_count_bytes_remain()
502 if (!is_ep0(ep) && ep->dir_in) in ep_is_empty()
524 if (!ep->dir_in) in ep_is_full()
537 if (!is_ep0(ep) && ep->dir_in) in epout_has_pkt()
613 | ((ep->dir_in) ? UDCCONR_ED : 0) in pxa_ep_setup()
1302 if (ep->dir_in && (ep_is_full(ep) || !list_empty(&ep->queue))) in pxa_ep_set_halt()
1334 if (ep->dir_in) in pxa_ep_fifo_status()
1368 if (!ep->dir_in) { in pxa_ep_fifo_flush()
2101 int is_in = ep->dir_in; in handle_ep()
Dpxa27x_udc.h272 .dir_in = dir, .addr = _addr, \
363 unsigned dir_in:1; member
Dm66592-udc.c240 if (info->dir_in) in pipe_buffer_setting()
259 if (!info->dir_in) in pipe_buffer_setting()
443 info.dir_in = 1; in alloc_pipe_config()
445 info.dir_in = 0; in alloc_pipe_config()
1644 ep->ep.caps.dir_in = true; in m66592_probe()
Dr8a66597-udc.h50 u16 dir_in; member
Dr8a66597-udc.c330 if (info->dir_in) in pipe_buffer_setting()
349 if (!info->dir_in) in pipe_buffer_setting()
516 info.dir_in = 1; in alloc_pipe_config()
518 info.dir_in = 0; in alloc_pipe_config()
1934 ep->ep.caps.dir_in = true; in r8a66597_probe()
Dfusb300_udc.h629 u8 dir_in; member
Dm66592-udc.h436 u16 dir_in; member
Dfusb300_udc.c137 if (!info.dir_in) in fusb300_set_epdir()
213 info.dir_in = (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) ? 1 : 0; in config_ep()
1462 ep->ep.caps.dir_in = true; in fusb300_probe()
Ds3c-hsudc.c1010 hsep->ep.caps.dir_in = true; in s3c_hsudc_initep()
1019 hsep->ep.caps.dir_in = true; in s3c_hsudc_initep()
/drivers/scsi/
Dmvme147.c30 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()
Da2091.c41 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()
Da3000.c45 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()
Dgvp11.c50 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()
Dwd33c93.h203 typedef int (*dma_setup_t) (struct scsi_cmnd *SCpnt, int dir_in);
/drivers/usb/renesas_usbhs/
Dpipe.c395 int dir_in, u16 *pipecfg) in usbhsp_setup_pipecfg() argument
437 if (dir_in) in usbhsp_setup_pipecfg()
440 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()
Dmod_host.c265 int i, dir_in; in usbhsh_pipe_attach() local
288 dir_in = !!usbhs_pipe_is_dir_in(pipe); in usbhsh_pipe_attach()
289 if (0 != (dir_in - dir_in_req)) in usbhsh_pipe_attach()
1415 int old_type, dir_in, i; in usbhsh_pipe_init_for_host() local
1441 dir_in = (pipe_configs[i].type == old_type); in usbhsh_pipe_init_for_host()
1450 dir_in); in usbhsh_pipe_init_for_host()
Dpipe.h78 *usbhs_pipe_malloc(struct usbhs_priv *priv, int endpoint_type, int dir_in);
/drivers/usb/usbip/
Dvudc_dev.c555 ep->ep.caps.dir_in = true; in init_vudc_hw()
565 ep->ep.caps.dir_in = true; in init_vudc_hw()
/drivers/usb/host/
Dr8a66597.h54 u16 dir_in; member
Dr8a66597-hcd.c628 if (!info->dir_in) in pipe_buffer_setting()
630 if (info->type == R8A66597_BULK && info->dir_in) in pipe_buffer_setting()
789 info->dir_in ? in enable_r8a66597_pipe_dma()
969 info.dir_in = 1; in init_pipe_info()
971 info.dir_in = 0; in init_pipe_info()

12