Home
last modified time | relevance | path

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

12

/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 …]
/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/scsi/
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()
/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 Dpxa27x_udc.c245 if (usb_endpoint_dir_in(&udc_usb_ep->desc) != ep->dir_in) in is_match_usb_pxa()
409 if (ep->dir_in) in ep_count_bytes_remain()
428 if (!is_ep0(ep) && ep->dir_in) in ep_is_empty()
450 if (!ep->dir_in) in ep_is_full()
463 if (!is_ep0(ep) && ep->dir_in) in epout_has_pkt()
538 | ((ep->dir_in) ? UDCCONR_ED : 0) in pxa_ep_setup()
1225 if (ep->dir_in && (ep_is_full(ep) || !list_empty(&ep->queue))) in pxa_ep_set_halt()
1257 if (ep->dir_in) in pxa_ep_fifo_status()
1291 if (!ep->dir_in) { in pxa_ep_fifo_flush()
2039 int is_in = ep->dir_in; in handle_ep()
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 Dr8a66597-udc.h47 u16 dir_in; member
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 Dm66592-udc.h433 u16 dir_in; member
/linux/include/uapi/linux/usb/
H A Draw_gadget.h124 __u32 dir_in : 1; member
/linux/drivers/pinctrl/
H A Dpinctrl-aw9523.c560 u32 dir_in, val; in _aw9523_gpio_get_multiple() local
565 ret = regmap_read(awi->regmap, AW9523_REG_CONF_STATE(regbit), &dir_in); in _aw9523_gpio_get_multiple()
570 m = mask & dir_in; in _aw9523_gpio_get_multiple()
579 m = mask & ~dir_in; in _aw9523_gpio_get_multiple()
/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/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
H A Dr8a66597-hcd.c613 if (!info->dir_in) in pipe_buffer_setting()
615 if (info->type == R8A66597_BULK && info->dir_in) in pipe_buffer_setting()
774 info->dir_in ? in enable_r8a66597_pipe_dma()
954 info.dir_in = 1; in init_pipe_info()
956 info.dir_in = 0; in init_pipe_info()
/linux/drivers/usb/usbip/
H A Dvudc_dev.c547 ep->ep.caps.dir_in = true; in init_vudc_hw()
559 ep->ep.caps.dir_in = true; in init_vudc_hw()
/linux/drivers/usb/mtu3/
H A Dmtu3_gadget.c682 mep->ep.caps.dir_in = true; in init_hw_ep()
685 mep->ep.caps.dir_in = true; in init_hw_ep()
/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.c1694 pep->endpoint.caps.dir_in = true; in cdnsp_gadget_init_endpoints()
1716 pep->endpoint.caps.dir_in = direction; in cdnsp_gadget_init_endpoints()
1733 str_yes_no(pep->endpoint.caps.dir_in), in cdnsp_gadget_init_endpoints()
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-ep0.c655 pep->endpoint.caps.dir_in = true; in cdns2_init_ep0()
H A Dcdns2-gadget.c1945 ep_correct = (pep->endpoint.caps.dir_in && in cdns2_find_available_ep()
2223 pep->endpoint.caps.dir_in = direction; in cdns2_init_eps()
2241 str_yes_no(pep->endpoint.caps.dir_in), in cdns2_init_eps()
/linux/drivers/usb/gadget/legacy/
H A Draw_gadget.c1237 raw_caps->dir_in = caps->dir_in; in fill_ep_caps()
/linux/drivers/usb/isp1760/
H A Disp1760-udc.c1477 ep->ep.caps.dir_in = true; in isp1760_udc_init_eps()
1491 ep->ep.caps.dir_in = true; in isp1760_udc_init_eps()

12