/linux-4.4.14/drivers/usb/dwc2/ |
D | gadget.c | 64 u32 ep_index, u32 dir_in) in index_to_ep() argument 66 if (dir_in) in index_to_ep() 144 unsigned int ep, unsigned int dir_in, in dwc2_hsotg_ctrl_epint() argument 151 if (!dir_in) in dwc2_hsotg_ctrl_epint() 292 usb_gadget_unmap_request(&hsotg->gadget, req, hs_ep->dir_in); in dwc2_hsotg_unmap_dma() 485 if (hs_ep->dir_in) in get_ep_limit() 523 int dir_in = hs_ep->dir_in; in dwc2_hsotg_start_req() local 545 epctrl_reg = dir_in ? DIEPCTL(index) : DOEPCTL(index); in dwc2_hsotg_start_req() 546 epsize_reg = dir_in ? DIEPTSIZ(index) : DOEPTSIZ(index); in dwc2_hsotg_start_req() 550 hs_ep->dir_in ? "in" : "out"); in dwc2_hsotg_start_req() [all …]
|
D | core.h | 160 unsigned char dir_in; member
|
D | debugfs.c | 268 ep->index, ep->ep.name, decode_direction(ep->dir_in)); in ep_show()
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | fotg210-udc.c | 35 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 …]
|
D | fotg210.h | 205 #define DMACPSR1_DMA_TYPE(dir_in) (((dir_in) ? 1 : 0) << 1) argument 230 unsigned char dir_in; member
|
D | pxa27x_udc.c | 318 if (usb_endpoint_dir_in(&udc_usb_ep->desc) != ep->dir_in) in is_match_usb_pxa() 482 if (ep->dir_in) in ep_count_bytes_remain() 501 if (!is_ep0(ep) && ep->dir_in) in ep_is_empty() 523 if (!ep->dir_in) in ep_is_full() 536 if (!is_ep0(ep) && ep->dir_in) in epout_has_pkt() 612 | ((ep->dir_in) ? UDCCONR_ED : 0) in pxa_ep_setup() 1301 if (ep->dir_in && (ep_is_full(ep) || !list_empty(&ep->queue))) in pxa_ep_set_halt() 1333 if (ep->dir_in) in pxa_ep_fifo_status() 1367 if (!ep->dir_in) { in pxa_ep_fifo_flush() 2072 int is_in = ep->dir_in; in handle_ep()
|
D | pxa27x_udc.h | 272 .dir_in = dir, .addr = _addr, \ 363 unsigned dir_in:1; member
|
D | r8a66597-udc.h | 50 u16 dir_in; member
|
D | m66592-udc.c | 240 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() 1656 ep->ep.caps.dir_in = true; in m66592_probe()
|
D | r8a66597-udc.c | 330 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() 1946 ep->ep.caps.dir_in = true; in r8a66597_probe()
|
D | m66592-udc.h | 436 u16 dir_in; member
|
D | fusb300_udc.h | 629 u8 dir_in; member
|
D | fusb300_udc.c | 137 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()
|
D | s3c-hsudc.c | 1010 hsep->ep.caps.dir_in = true; in s3c_hsudc_initep() 1019 hsep->ep.caps.dir_in = true; in s3c_hsudc_initep()
|
D | udc-core.c | 170 if (usb_endpoint_dir_in(desc) && !ep->caps.dir_in) in usb_gadget_ep_match_desc()
|
D | mv_u3d_core.c | 1328 ep->ep.caps.dir_in = true; in mv_u3d_eps_init() 1345 ep->ep.caps.dir_in = true; in mv_u3d_eps_init()
|
D | atmel_usba_udc.c | 2013 ep->ep.caps.dir_in = true; in atmel_udc_of_init() 2088 ep->ep.caps.dir_in = true; in usba_udc_pdata()
|
D | mv_udc_core.c | 1261 ep->ep.caps.dir_in = true; in eps_init() 1275 ep->ep.caps.dir_in = true; in eps_init()
|
D | omap_udc.c | 2585 ep->ep.caps.dir_in = true; in omap_ep_setup() 2600 ep->ep.caps.dir_in = true; in omap_ep_setup()
|
D | goku_udc.c | 1296 ep->ep.caps.dir_in = true; in udc_reinit()
|
D | udc-xilinx.c | 1332 ep->ep_usb.caps.dir_in = true; in xudc_eps_init()
|
D | gr_udc.c | 2034 ep->ep.caps.dir_in = true; in gr_ep_init()
|
D | fsl_udc_core.c | 2325 ep->ep.caps.dir_in = true; in struct_ep_setup()
|
D | pch_udc.c | 2900 ep->ep.caps.dir_in = true; in pch_udc_pcd_reinit()
|
D | net2272.c | 1416 ep->ep.caps.dir_in = true; in net2272_usb_reinit()
|
D | fsl_qe_udc.c | 2428 ep->ep.caps.dir_in = true; in qe_ep_config()
|
/linux-4.4.14/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 | 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 | 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 | 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 | 203 typedef int (*dma_setup_t) (struct scsi_cmnd *SCpnt, int dir_in);
|
/linux-4.4.14/drivers/usb/renesas_usbhs/ |
D | pipe.c | 401 int dir_in) in usbhsp_setup_pipecfg() argument 447 if (dir_in) in usbhsp_setup_pipecfg() 450 if (!!is_host ^ !!dir_in) in usbhsp_setup_pipecfg() 742 int dir_in) in usbhs_pipe_malloc() argument 768 pipecfg = usbhsp_setup_pipecfg(pipe, is_host, dir_in); in usbhs_pipe_malloc()
|
D | mod_host.c | 269 int i, dir_in; in usbhsh_pipe_attach() local 292 dir_in = !!usbhs_pipe_is_dir_in(pipe); in usbhsh_pipe_attach() 293 if (0 != (dir_in - dir_in_req)) in usbhsh_pipe_attach() 1419 int old_type, dir_in, i; in usbhsh_pipe_init_for_host() local 1445 dir_in = (pipe_type[i] == old_type); in usbhsh_pipe_init_for_host() 1454 dir_in); in usbhsh_pipe_init_for_host()
|
D | pipe.h | 78 *usbhs_pipe_malloc(struct usbhs_priv *priv, int endpoint_type, int dir_in);
|
D | mod_gadget.c | 1127 uep->ep.caps.dir_in = true; in usbhs_mod_gadget_probe()
|
/linux-4.4.14/include/linux/usb/ |
D | gadget.h | 157 unsigned dir_in:1; member 177 .dir_in = !!(_dir & USB_EP_CAPS_DIR_IN), \
|
/linux-4.4.14/fs/ceph/ |
D | mds_client.h | 78 struct ceph_mds_reply_info_in *dir_in; member
|
D | inode.c | 1319 vino.ino = le64_to_cpu(rinfo->dir_in[i].in->ino); in readdir_prepopulate_inodes_only() 1320 vino.snap = le64_to_cpu(rinfo->dir_in[i].in->snapid); in readdir_prepopulate_inodes_only() 1328 rc = fill_inode(in, NULL, &rinfo->dir_in[i], NULL, session, in readdir_prepopulate_inodes_only() 1444 vino.ino = le64_to_cpu(rinfo->dir_in[i].in->ino); in ceph_readdir_prepopulate() 1445 vino.snap = le64_to_cpu(rinfo->dir_in[i].in->snapid); in ceph_readdir_prepopulate() 1491 ret = fill_inode(in, NULL, &rinfo->dir_in[i], NULL, session, in ceph_readdir_prepopulate()
|
D | mds_client.c | 181 BUG_ON(!info->dir_in); in parse_reply_info_dir() 182 info->dir_dname = (void *)(info->dir_in + num); in parse_reply_info_dir() 186 (unsigned long)info->dir_in + info->dir_buf_size) { in parse_reply_info_dir() 206 err = parse_reply_info_in(p, end, &info->dir_in[i], features); in parse_reply_info_dir() 340 if (!info->dir_in) in destroy_reply_info() 342 free_pages((unsigned long)info->dir_in, get_order(info->dir_buf_size)); in destroy_reply_info() 1668 size_t size = sizeof(*rinfo->dir_in) + sizeof(*rinfo->dir_dname_len) + in ceph_alloc_readdir_reply_buffer() 1680 rinfo->dir_in = (void*)__get_free_pages(GFP_KERNEL | in ceph_alloc_readdir_reply_buffer() 1683 if (rinfo->dir_in) in ceph_alloc_readdir_reply_buffer() 1687 if (!rinfo->dir_in) in ceph_alloc_readdir_reply_buffer()
|
D | dir.c | 420 rinfo->dir_in[off - fi->offset].in; in ceph_readdir()
|
/linux-4.4.14/drivers/usb/host/ |
D | r8a66597.h | 54 u16 dir_in; member
|
D | r8a66597-hcd.c | 628 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()
|
D | imx21-hcd.c | 642 int dir_in = usb_pipein(pipe); in isoc_etd_done() local 654 if (dir_in && (cc == TD_DATAUNDERRUN)) in isoc_etd_done() 671 if (dir_in) { in isoc_etd_done()
|
/linux-4.4.14/drivers/usb/isp1760/ |
D | isp1760-udc.c | 1387 ep->ep.caps.dir_in = true; in isp1760_udc_init_eps() 1401 ep->ep.caps.dir_in = true; in isp1760_udc_init_eps()
|
/linux-4.4.14/drivers/usb/musb/ |
D | musb_gadget.c | 1780 ep->end_point.caps.dir_in = true; in init_peripheral_ep() 1783 ep->end_point.caps.dir_in = true; in init_peripheral_ep()
|
/linux-4.4.14/drivers/usb/gadget/udc/bdc/ |
D | bdc_ep.c | 1958 ep->usb_ep.caps.dir_in = true; in init_ep()
|
/linux-4.4.14/drivers/usb/chipidea/ |
D | udc.c | 1648 hwep->ep.caps.dir_in = true; in init_eps()
|
/linux-4.4.14/drivers/usb/dwc3/ |
D | gadget.c | 1775 dep->endpoint.caps.dir_in = !!direction; in dwc3_gadget_init_hw_endpoints()
|