Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/usb/gadget/
Ds3c-hsotg.c118 unsigned char dir_in; member
285 unsigned int ep, unsigned int dir_in, in s3c_hsotg_ctrl_epint() argument
292 if (!dir_in) in s3c_hsotg_ctrl_epint()
426 dir = hs_ep->dir_in ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in s3c_hsotg_unmap_dma()
619 if (hs_ep->dir_in) in get_ep_limit()
655 int dir_in = hs_ep->dir_in; in s3c_hsotg_start_req() local
677 epctrl_reg = dir_in ? S3C_DIEPCTL(index) : S3C_DOEPCTL(index); in s3c_hsotg_start_req()
678 epsize_reg = dir_in ? S3C_DIEPTSIZ(index) : S3C_DOEPTSIZ(index); in s3c_hsotg_start_req()
682 hs_ep->dir_in ? "in" : "out"); in s3c_hsotg_start_req()
719 if (dir_in && index != 0) in s3c_hsotg_start_req()
[all …]
Dpxa27x_udc.c328 if (usb_endpoint_dir_in(&udc_usb_ep->desc) != ep->dir_in) in is_match_usb_pxa()
492 if (ep->dir_in) in ep_count_bytes_remain()
511 if (!is_ep0(ep) && ep->dir_in) in ep_is_empty()
533 if (!ep->dir_in) in ep_is_full()
546 if (!is_ep0(ep) && ep->dir_in) in epout_has_pkt()
622 | ((ep->dir_in) ? UDCCONR_ED : 0) in pxa_ep_setup()
1311 if (ep->dir_in && (ep_is_full(ep) || !list_empty(&ep->queue))) in pxa_ep_set_halt()
1343 if (ep->dir_in) in pxa_ep_fifo_status()
1377 if (!ep->dir_in) { in pxa_ep_fifo_flush()
2127 int is_in = ep->dir_in; in handle_ep()
Dpxa27x_udc.h262 .dir_in = dir, .addr = _addr, \
353 unsigned dir_in:1; member
Dr8a66597-udc.h53 u16 dir_in; 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()
Dfusb300_udc.h629 u8 dir_in; member
Dm66592-udc.h439 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()
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()
/linux-3.4.99/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);
/linux-3.4.99/drivers/usb/renesas_usbhs/
Dpipe.c284 int dir_in) in usbhsp_setup_pipecfg() argument
330 if (dir_in) in usbhsp_setup_pipecfg()
333 if (!!is_host ^ !!dir_in) in usbhsp_setup_pipecfg()
580 int dir_in) in usbhs_pipe_malloc() argument
606 pipecfg = usbhsp_setup_pipecfg(pipe, is_host, dir_in); in usbhs_pipe_malloc()
Dmod_host.c268 int i, dir_in; in usbhsh_pipe_attach() local
287 dir_in = !!usbhs_pipe_is_dir_in(pipe); in usbhsh_pipe_attach()
288 if (0 != (dir_in - dir_in_req)) in usbhsh_pipe_attach()
1393 int old_type, dir_in, i; in usbhsh_pipe_init_for_host() local
1419 dir_in = (pipe_type[i] == old_type); in usbhsh_pipe_init_for_host()
1428 dir_in); in usbhsh_pipe_init_for_host()
Dpipe.h77 *usbhs_pipe_malloc(struct usbhs_priv *priv, int endpoint_type, int dir_in);
/linux-3.4.99/fs/ceph/
Dmds_client.h74 struct ceph_mds_reply_info_in *dir_in; member
Dmds_client.c168 info->dir_in = kcalloc(num, sizeof(*info->dir_in) + in parse_reply_info_dir()
173 if (info->dir_in == NULL) { in parse_reply_info_dir()
177 info->dir_dname = (void *)(info->dir_in + num); in parse_reply_info_dir()
194 err = parse_reply_info_in(p, end, &info->dir_in[i], features); in parse_reply_info_dir()
299 kfree(info->dir_in); in destroy_reply_info()
Dinode.c1231 vino.ino = le64_to_cpu(rinfo->dir_in[i].in->ino); in ceph_readdir_prepopulate()
1232 vino.snap = le64_to_cpu(rinfo->dir_in[i].in->snapid); in ceph_readdir_prepopulate()
1290 if (fill_inode(in, &rinfo->dir_in[i], NULL, session, in ceph_readdir_prepopulate()
Ddir.c385 rinfo->dir_in[off - fi->offset].in; in ceph_readdir()
/linux-3.4.99/drivers/usb/host/
Dr8a66597.h57 u16 dir_in; member
Dr8a66597-hcd.c633 if (!info->dir_in) in pipe_buffer_setting()
635 if (info->type == R8A66597_BULK && info->dir_in) in pipe_buffer_setting()
794 info->dir_in ? in enable_r8a66597_pipe_dma()
974 info.dir_in = 1; in init_pipe_info()
976 info.dir_in = 0; in init_pipe_info()
Dimx21-hcd.c637 int dir_in = usb_pipein(pipe); in isoc_etd_done() local
649 if (dir_in && (cc == TD_DATAUNDERRUN)) in isoc_etd_done()
666 if (dir_in) { in isoc_etd_done()