is_in 155 arch/arm/plat-samsung/pm-gpio.c if (is_in(old) && is_out(new)) is_in 224 arch/arm/plat-samsung/pm-gpio.c if (is_in(old) && is_out(new)) is_in 1480 drivers/usb/cdns3/gadget.c int size, int is_in) is_in 1487 drivers/usb/cdns3/gadget.c if (is_in) { is_in 1516 drivers/usb/core/devio.c bool is_in; is_in 1547 drivers/usb/core/devio.c is_in = (uurb->endpoint & USB_ENDPOINT_DIR_MASK) != 0; is_in 1575 drivers/usb/core/devio.c is_in = 1; is_in 1578 drivers/usb/core/devio.c is_in = 0; is_in 1581 drivers/usb/core/devio.c if (is_in) is_in 1594 drivers/usb/core/devio.c if (!is_in) is_in 1618 drivers/usb/core/devio.c if (!is_in) is_in 1712 drivers/usb/core/devio.c if (!is_in) { is_in 1734 drivers/usb/core/devio.c if (!is_in) { is_in 1762 drivers/usb/core/devio.c u = (is_in ? URB_DIR_IN : URB_DIR_OUT); is_in 1813 drivers/usb/core/devio.c } else if (is_in && uurb->buffer_length > 0) is_in 1822 drivers/usb/core/devio.c if (!is_in) is_in 1766 drivers/usb/core/hcd.c int is_in; is_in 1771 drivers/usb/core/hcd.c is_in = usb_urb_dir_in(urb); is_in 1779 drivers/usb/core/hcd.c is_in ? "in" : "out", is_in 211 drivers/usb/dwc2/debugfs.c static const char *decode_direction(int is_in) is_in 213 drivers/usb/dwc2/debugfs.c return is_in ? "in" : "out"; is_in 576 drivers/usb/gadget/function/f_sourcesink.c static int source_sink_start_ep(struct f_sourcesink *ss, bool is_in, is_in 598 drivers/usb/gadget/function/f_sourcesink.c ep = is_in ? ss->iso_in_ep : ss->iso_out_ep; is_in 601 drivers/usb/gadget/function/f_sourcesink.c ep = is_in ? ss->in_ep : ss->out_ep; is_in 612 drivers/usb/gadget/function/f_sourcesink.c if (is_in) is_in 623 drivers/usb/gadget/function/f_sourcesink.c is_iso ? "ISO-" : "", is_in ? "IN" : "OUT", is_in 50 drivers/usb/gadget/udc/aspeed-vhub/core.c &req->req, ep->epn.is_in); is_in 150 drivers/usb/gadget/udc/aspeed-vhub/dev.c ep->epn.is_in != !!(wIndex & USB_DIR_IN)) is_in 191 drivers/usb/gadget/udc/aspeed-vhub/dev.c ep->epn.is_in != !!(wIndex & USB_DIR_IN)) is_in 69 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.is_in) { is_in 75 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.is_in) is_in 101 drivers/usb/gadget/udc/aspeed-vhub/epn.c stat, ep->epn.is_in, req, req ? req->active : 0); is_in 127 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (!req->req.dma && !ep->epn.is_in && len) is_in 265 drivers/usb/gadget/udc/aspeed-vhub/epn.c stat, ep->epn.is_in, ep->epn.d_last, d_last); is_in 378 drivers/usb/gadget/udc/aspeed-vhub/epn.c (ep->epn.is_in || !(u_req->length & (u_ep->maxpacket - 1))))) { is_in 380 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.is_in); is_in 393 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.is_in); is_in 533 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (halt && ep->epn.is_in && !list_empty(&ep->queue)) { is_in 636 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.is_in = usb_endpoint_dir_in(desc); is_in 645 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.is_in ? "in" : "out", usb_ep_type_string(type), is_in 649 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.desc_mode = ep->epn.descs && ep->epn.is_in; is_in 658 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.is_in) { is_in 685 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (!ep->epn.is_in) is_in 712 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.is_in) is_in 329 drivers/usb/gadget/udc/aspeed-vhub/vhub.h bool is_in : 1; is_in 125 drivers/usb/gadget/udc/at91_udc.c ep->is_in ? "in" : "out", is_in 527 drivers/usb/gadget/udc/at91_udc.c ep->is_in = usb_endpoint_dir_in(desc); is_in 530 drivers/usb/gadget/udc/at91_udc.c if (ep->is_in) is_in 683 drivers/usb/gadget/udc/at91_udc.c if (ep->is_in) is_in 756 drivers/usb/gadget/udc/at91_udc.c if (ep->is_in && (!list_empty(&ep->queue) || (csr >> 16) != 0)) is_in 1015 drivers/usb/gadget/udc/at91_udc.c if (ep->is_in) { is_in 1061 drivers/usb/gadget/udc/at91_udc.c ep->is_in = 1; is_in 1064 drivers/usb/gadget/udc/at91_udc.c ep->is_in = 0; is_in 1180 drivers/usb/gadget/udc/at91_udc.c if (!ep->is_in) is_in 1182 drivers/usb/gadget/udc/at91_udc.c } else if (ep->is_in) is_in 1203 drivers/usb/gadget/udc/at91_udc.c if (!ep->is_in) is_in 1205 drivers/usb/gadget/udc/at91_udc.c } else if (ep->is_in) is_in 1224 drivers/usb/gadget/udc/at91_udc.c if (!ep->is_in) is_in 1226 drivers/usb/gadget/udc/at91_udc.c } else if (ep->is_in) is_in 1305 drivers/usb/gadget/udc/at91_udc.c if (req && ep0->is_in) { is_in 1348 drivers/usb/gadget/udc/at91_udc.c if (!ep0->is_in) { is_in 101 drivers/usb/gadget/udc/at91_udc.h unsigned is_in:1; is_in 550 drivers/usb/gadget/udc/atmel_usba_udc.c usb_gadget_unmap_request(&udc->gadget, &req->req, ep->is_in); is_in 594 drivers/usb/gadget/udc/atmel_usba_udc.c ep->is_in = 0; is_in 600 drivers/usb/gadget/udc/atmel_usba_udc.c ep->is_in = 1; is_in 749 drivers/usb/gadget/udc/atmel_usba_udc.c ret = usb_gadget_map_request(&udc->gadget, &req->req, ep->is_in); is_in 758 drivers/usb/gadget/udc/atmel_usba_udc.c if (!ep->is_in) is_in 812 drivers/usb/gadget/udc/atmel_usba_udc.c if ((!ep_is_control(ep) && ep->is_in) || is_in 950 drivers/usb/gadget/udc/atmel_usba_udc.c || ((value && ep->is_in && (usba_ep_readl(ep, STA) is_in 285 drivers/usb/gadget/udc/atmel_usba_udc.h unsigned int is_in:1; is_in 815 drivers/usb/gadget/udc/core.c struct usb_request *req, int is_in) is_in 824 drivers/usb/gadget/udc/core.c is_in ? DMA_TO_DEVICE : DMA_FROM_DEVICE); is_in 841 drivers/usb/gadget/udc/core.c is_in ? DMA_TO_DEVICE : DMA_FROM_DEVICE); is_in 856 drivers/usb/gadget/udc/core.c struct usb_request *req, int is_in) is_in 858 drivers/usb/gadget/udc/core.c return usb_gadget_map_request_by_dev(gadget->dev.parent, req, is_in); is_in 863 drivers/usb/gadget/udc/core.c struct usb_request *req, int is_in) is_in 870 drivers/usb/gadget/udc/core.c is_in ? DMA_TO_DEVICE : DMA_FROM_DEVICE); is_in 875 drivers/usb/gadget/udc/core.c is_in ? DMA_TO_DEVICE : DMA_FROM_DEVICE); is_in 882 drivers/usb/gadget/udc/core.c struct usb_request *req, int is_in) is_in 884 drivers/usb/gadget/udc/core.c usb_gadget_unmap_request_by_dev(gadget->dev.parent, req, is_in); is_in 144 drivers/usb/gadget/udc/goku_udc.c ep->is_in = usb_endpoint_dir_in(desc); is_in 145 drivers/usb/gadget/udc/goku_udc.c if (ep->is_in) { is_in 163 drivers/usb/gadget/udc/goku_udc.c tmp = ((ep->dma || !ep->is_in) is_in 182 drivers/usb/gadget/udc/goku_udc.c ep->is_in ? "IN" : "OUT", is_in 312 drivers/usb/gadget/udc/goku_udc.c usb_gadget_unmap_request(&dev->gadget, &req->req, ep->is_in); is_in 525 drivers/usb/gadget/udc/goku_udc.c (ep->is_in ? write_fifo : read_fifo)(ep, req); is_in 542 drivers/usb/gadget/udc/goku_udc.c if (likely(ep->is_in)) { is_in 597 drivers/usb/gadget/udc/goku_udc.c if (ep->is_in) is_in 607 drivers/usb/gadget/udc/goku_udc.c if (likely(ep->is_in)) { is_in 625 drivers/usb/gadget/udc/goku_udc.c ep->ep.name, ep->is_in ? "IN" : "OUT", is_in 657 drivers/usb/gadget/udc/goku_udc.c if (ep->is_in) { is_in 691 drivers/usb/gadget/udc/goku_udc.c ep->is_in ? "IN" : "OUT", is_in 735 drivers/usb/gadget/udc/goku_udc.c ep->is_in); is_in 753 drivers/usb/gadget/udc/goku_udc.c if (unlikely(ep->num == 0 && ep->is_in)) is_in 765 drivers/usb/gadget/udc/goku_udc.c status = (ep->is_in ? write_fifo : read_fifo)(ep, req); is_in 826 drivers/usb/gadget/udc/goku_udc.c ep->is_in ? "IN" : "OUT", is_in 904 drivers/usb/gadget/udc/goku_udc.c else if (ep->is_in && value is_in 932 drivers/usb/gadget/udc/goku_udc.c if (ep->is_in) is_in 1203 drivers/usb/gadget/udc/goku_udc.c ep->is_in ? "in" : "out", is_in 1435 drivers/usb/gadget/udc/goku_udc.c dev->ep[0].is_in = 1; is_in 1440 drivers/usb/gadget/udc/goku_udc.c dev->ep[0].is_in = 0; is_in 1458 drivers/usb/gadget/udc/goku_udc.c if (!dev->ep[tmp].is_in) is_in 1461 drivers/usb/gadget/udc/goku_udc.c if (dev->ep[tmp].is_in) is_in 211 drivers/usb/gadget/udc/goku_udc.h is_in:1, is_in 94 drivers/usb/gadget/udc/gr_udc.c int buflen = ep->is_in ? req->req.length : req->req.actual; is_in 297 drivers/usb/gadget/udc/gr_udc.c usb_gadget_unmap_request(&dev->gadget, &req->req, ep->is_in); is_in 300 drivers/usb/gadget/udc/gr_udc.c if (ep->is_in) { /* For OUT, req->req.actual gets updated bit by bit */ is_in 322 drivers/usb/gadget/udc/gr_udc.c if (ep->is_in) is_in 385 drivers/usb/gadget/udc/gr_udc.c if (!ep->is_in && req->oddlen) is_in 446 drivers/usb/gadget/udc/gr_udc.c if (ep->is_in) is_in 605 drivers/usb/gadget/udc/gr_udc.c ret = usb_gadget_map_request(&dev->gadget, &req->req, ep->is_in); is_in 611 drivers/usb/gadget/udc/gr_udc.c if (ep->is_in) is_in 637 drivers/usb/gadget/udc/gr_udc.c if (ep->is_in) is_in 985 drivers/usb/gadget/udc/gr_udc.c u8 is_in = index & USB_ENDPOINT_DIR_MASK; is_in 987 drivers/usb/gadget/udc/gr_udc.c if ((is_in && epnum >= dev->nepi) || (!is_in && epnum >= dev->nepo)) is_in 993 drivers/usb/gadget/udc/gr_udc.c ep = (is_in ? &dev->epi[epnum] : &dev->epo[epnum]); is_in 1495 drivers/usb/gadget/udc/gr_udc.c if (!ep->is_in != !usb_endpoint_dir_in(desc)) is_in 1499 drivers/usb/gadget/udc/gr_udc.c if ((!ep->is_in && ep->num >= dev->nepo) || is_in 1500 drivers/usb/gadget/udc/gr_udc.c (ep->is_in && ep->num >= dev->nepi)) is_in 1566 drivers/usb/gadget/udc/gr_udc.c } else if (ep->is_in) { is_in 1585 drivers/usb/gadget/udc/gr_udc.c if (ep->is_in) is_in 1679 drivers/usb/gadget/udc/gr_udc.c if (ep->is_in) is_in 1754 drivers/usb/gadget/udc/gr_udc.c if (halt && ep->is_in && !list_empty(&ep->queue)) { is_in 1957 drivers/usb/gadget/udc/gr_udc.c static int gr_ep_init(struct gr_udc *dev, int num, int is_in, u32 maxplimit) is_in 1964 drivers/usb/gadget/udc/gr_udc.c if (is_in) { is_in 1976 drivers/usb/gadget/udc/gr_udc.c ep->is_in = is_in; is_in 1993 drivers/usb/gadget/udc/gr_udc.c if (is_in) is_in 2012 drivers/usb/gadget/udc/gr_udc.c if (is_in) is_in 2074 drivers/usb/gadget/udc/gr_udc.c static void gr_ep_remove(struct gr_udc *dev, int num, int is_in) is_in 2078 drivers/usb/gadget/udc/gr_udc.c if (is_in) is_in 146 drivers/usb/gadget/udc/gr_udc.h unsigned is_in:1; is_in 108 drivers/usb/gadget/udc/lpc32xx_udc.c bool is_in; is_in 481 drivers/usb/gadget/udc/lpc32xx_udc.c ep->is_in ? "in" : "out"); is_in 1420 drivers/usb/gadget/udc/lpc32xx_udc.c usb_gadget_unmap_request(&udc->gadget, &req->req, ep->is_in); is_in 1680 drivers/usb/gadget/udc/lpc32xx_udc.c ep->is_in = (desc->bEndpointAddress & USB_DIR_IN) != 0; is_in 1684 drivers/usb/gadget/udc/lpc32xx_udc.c if (ep->is_in) is_in 1691 drivers/usb/gadget/udc/lpc32xx_udc.c ep->hwep_num, maxpacket, (ep->is_in == 1)); is_in 1769 drivers/usb/gadget/udc/lpc32xx_udc.c status = usb_gadget_map_request(&udc->gadget, _req, ep->is_in); is_in 1792 drivers/usb/gadget/udc/lpc32xx_udc.c if (ep->is_in) is_in 1802 drivers/usb/gadget/udc/lpc32xx_udc.c _req, _req->length, _req->buf, ep->is_in, _req->zero); is_in 1816 drivers/usb/gadget/udc/lpc32xx_udc.c if (ep->is_in) { is_in 1825 drivers/usb/gadget/udc/lpc32xx_udc.c } else if (ep->is_in) { is_in 1882 drivers/usb/gadget/udc/lpc32xx_udc.c if (ep->is_in) is_in 1966 drivers/usb/gadget/udc/lpc32xx_udc.c if (ep->is_in) { is_in 1979 drivers/usb/gadget/udc/lpc32xx_udc.c if (ep->is_in) is_in 2068 drivers/usb/gadget/udc/lpc32xx_udc.c if (ep->is_in) is_in 2100 drivers/usb/gadget/udc/lpc32xx_udc.c if (ep->is_in) is_in 2168 drivers/usb/gadget/udc/lpc32xx_udc.c if (!ep->is_in) is_in 2170 drivers/usb/gadget/udc/lpc32xx_udc.c } else if (ep->is_in) is_in 2218 drivers/usb/gadget/udc/lpc32xx_udc.c ep0->is_in = 1; is_in 2220 drivers/usb/gadget/udc/lpc32xx_udc.c ep0->is_in = 0; is_in 2317 drivers/usb/gadget/udc/lpc32xx_udc.c if (!ep0->is_in) is_in 224 drivers/usb/gadget/udc/net2272.c ep->is_in = usb_endpoint_dir_in(desc); is_in 225 drivers/usb/gadget/udc/net2272.c if (!ep->is_in) is_in 370 drivers/usb/gadget/udc/net2272.c ep->is_in); is_in 618 drivers/usb/gadget/udc/net2272.c (ep->is_in ? net2272_write_fifo : net2272_read_fifo)(ep, req); is_in 732 drivers/usb/gadget/udc/net2272.c if (ep->is_in) { is_in 831 drivers/usb/gadget/udc/net2272.c ep->is_in); is_in 881 drivers/usb/gadget/udc/net2272.c if (ep->is_in) is_in 984 drivers/usb/gadget/udc/net2272.c else if (ep->is_in && value && net2272_fifo_status(_ep) != 0) is_in 1038 drivers/usb/gadget/udc/net2272.c if (ep->is_in) is_in 1257 drivers/usb/gadget/udc/net2272.c ep->is_in ? "in" : "out", is_in 1539 drivers/usb/gadget/udc/net2272.c if (ep->is_in) { is_in 1613 drivers/usb/gadget/udc/net2272.c if (!ep->is_in && (stat0 & (1 << DATA_PACKET_RECEIVED_INTERRUPT))) is_in 1793 drivers/usb/gadget/udc/net2272.c ep->is_in = (u.r.bRequestType & USB_DIR_IN) != 0; is_in 1794 drivers/usb/gadget/udc/net2272.c if (ep->is_in) { is_in 431 drivers/usb/gadget/udc/net2272.h is_in:1, is_in 215 drivers/usb/gadget/udc/net2280.c ep->is_in = !!usb_endpoint_dir_in(desc); is_in 216 drivers/usb/gadget/udc/net2280.c if (dev->enhanced_mode && ep->is_in && ep_key[ep->num]) { is_in 252 drivers/usb/gadget/udc/net2280.c if (ep->is_in) is_in 283 drivers/usb/gadget/udc/net2280.c ep->is_in = (tmp & USB_DIR_IN) != 0; is_in 286 drivers/usb/gadget/udc/net2280.c if (dev->enhanced_mode && ep->is_in) { is_in 292 drivers/usb/gadget/udc/net2280.c tmp |= (ep->is_in << ENDPOINT_DIRECTION); is_in 305 drivers/usb/gadget/udc/net2280.c if (!ep->is_in) is_in 411 drivers/usb/gadget/udc/net2280.c if (!ep->is_in || (ep->dev->quirks & PLX_2280)) { is_in 504 drivers/usb/gadget/udc/net2280.c if (ep->is_in) is_in 807 drivers/usb/gadget/udc/net2280.c if (ep->is_in) is_in 809 drivers/usb/gadget/udc/net2280.c if ((!ep->is_in && (dmacount % ep->ep.maxpacket) != 0) || is_in 851 drivers/usb/gadget/udc/net2280.c unsigned int tmp = BIT(VALID_BIT) | (ep->is_in << DMA_DIRECTION); is_in 882 drivers/usb/gadget/udc/net2280.c if (!ep->is_in && (readl(&ep->regs->ep_stat) & is_in 915 drivers/usb/gadget/udc/net2280.c if (ep->is_in) { is_in 968 drivers/usb/gadget/udc/net2280.c usb_gadget_unmap_request(&dev->gadget, &req->req, ep->is_in); is_in 1027 drivers/usb/gadget/udc/net2280.c ep->is_in); is_in 1058 drivers/usb/gadget/udc/net2280.c if (ep->is_in) is_in 1096 drivers/usb/gadget/udc/net2280.c if (ep->is_in) { is_in 1167 drivers/usb/gadget/udc/net2280.c } else if (!ep->is_in && is_in 1353 drivers/usb/gadget/udc/net2280.c } else if (ep->is_in && value && net2280_fifo_status(_ep) != 0) { is_in 1424 drivers/usb/gadget/udc/net2280.c if (ep->is_in) is_in 1841 drivers/usb/gadget/udc/net2280.c ep->is_in ? "in" : "out"); is_in 2532 drivers/usb/gadget/udc/net2280.c if (!ep->is_in || (ep->dev->quirks & PLX_2280)) is_in 2549 drivers/usb/gadget/udc/net2280.c if (ep->is_in) { is_in 2736 drivers/usb/gadget/udc/net2280.c if (req && !ep->is_in) is_in 3187 drivers/usb/gadget/udc/net2280.c ep->is_in = (u.r.bRequestType & USB_DIR_IN) != 0; is_in 3188 drivers/usb/gadget/udc/net2280.c if (ep->is_in) { is_in 3482 drivers/usb/gadget/udc/net2280.c if (!ep->is_in && (r_dmacount & 0x00FFFFFF) && is_in 109 drivers/usb/gadget/udc/net2280.h is_in : 1, is_in 700 drivers/usb/gadget/udc/omap_udc.c int status, restart, is_in; is_in 703 drivers/usb/gadget/udc/omap_udc.c is_in = ep->bEndpointAddress & USB_DIR_IN; is_in 704 drivers/usb/gadget/udc/omap_udc.c if (is_in) is_in 727 drivers/usb/gadget/udc/omap_udc.c if (is_in) { is_in 782 drivers/usb/gadget/udc/omap_udc.c is_in ? 't' : 'r', is_in 790 drivers/usb/gadget/udc/omap_udc.c (is_in ? next_in_dma : next_out_dma)(ep, req); is_in 793 drivers/usb/gadget/udc/omap_udc.c (is_in ? write_fifo : read_fifo)(ep, req); is_in 795 drivers/usb/gadget/udc/omap_udc.c if (!is_in) { is_in 923 drivers/usb/gadget/udc/omap_udc.c int is_in; is_in 932 drivers/usb/gadget/udc/omap_udc.c is_in = udc->ep0_in; is_in 965 drivers/usb/gadget/udc/omap_udc.c } else if (is_in) { is_in 974 drivers/usb/gadget/udc/omap_udc.c is_in = ep->bEndpointAddress & USB_DIR_IN; is_in 981 drivers/usb/gadget/udc/omap_udc.c (is_in ? next_in_dma : next_out_dma)(ep, req); is_in 983 drivers/usb/gadget/udc/omap_udc.c if ((is_in ? write_fifo : read_fifo)(ep, req) == 1) is_in 986 drivers/usb/gadget/udc/omap_udc.c if (!is_in) { is_in 1855 drivers/usb/gadget/udc/pxa25x_udc.c int is_in = ep->bEndpointAddress & USB_DIR_IN; is_in 1870 drivers/usb/gadget/udc/pxa25x_udc.c if (unlikely(is_in)) { /* irq from TPC, SST, or (ISO) TUR */ is_in 505 drivers/usb/gadget/udc/pxa27x_udc.c static void inc_ep_stats_reqs(struct pxa_ep *ep, int is_in) is_in 507 drivers/usb/gadget/udc/pxa27x_udc.c if (is_in) is_in 519 drivers/usb/gadget/udc/pxa27x_udc.c static void inc_ep_stats_bytes(struct pxa_ep *ep, int count, int is_in) is_in 521 drivers/usb/gadget/udc/pxa27x_udc.c if (is_in) is_in 2024 drivers/usb/gadget/udc/pxa27x_udc.c int is_in = ep->dir_in; is_in 2052 drivers/usb/gadget/udc/pxa27x_udc.c if (unlikely(is_in)) { is_in 2061 drivers/usb/gadget/udc/pxa27x_udc.c if (is_in) is_in 536 drivers/usb/gadget/udc/s3c2410_udc.c u8 is_in = crq->wIndex & USB_DIR_IN; is_in 556 drivers/usb/gadget/udc/s3c2410_udc.c if (is_in) { is_in 797 drivers/usb/gadget/udc/s3c2410_udc.c int is_in = ep->bEndpointAddress & USB_DIR_IN; is_in 809 drivers/usb/gadget/udc/s3c2410_udc.c if (is_in) { is_in 155 drivers/usb/gadget/udc/udc-xilinx.c bool is_in; is_in 286 drivers/usb/gadget/udc/udc-xilinx.c epcfgreg = ((ep->is_in << 29) | (ep->is_iso << 28) | is_in 488 drivers/usb/gadget/udc/udc-xilinx.c if (ep->is_in) is_in 498 drivers/usb/gadget/udc/udc-xilinx.c if (ep->is_in) { is_in 516 drivers/usb/gadget/udc/udc-xilinx.c if (ep->is_in) { is_in 563 drivers/usb/gadget/udc/udc-xilinx.c ep->is_in); is_in 759 drivers/usb/gadget/udc/udc-xilinx.c if (ep->is_in && (!list_empty(&ep->queue)) && value) { is_in 809 drivers/usb/gadget/udc/udc-xilinx.c ep->is_in = ((desc->bEndpointAddress & USB_DIR_IN) != 0); is_in 868 drivers/usb/gadget/udc/udc-xilinx.c if (ep->epnumber && !ep->is_in) { is_in 1098 drivers/usb/gadget/udc/udc-xilinx.c ep->is_in); is_in 1108 drivers/usb/gadget/udc/udc-xilinx.c if (ep->is_in) { is_in 1334 drivers/usb/gadget/udc/udc-xilinx.c ep->is_in = 0; is_in 1620 drivers/usb/gadget/udc/udc-xilinx.c if (!target_ep->is_in) is_in 1623 drivers/usb/gadget/udc/udc-xilinx.c if (target_ep->is_in) is_in 1688 drivers/usb/gadget/udc/udc-xilinx.c if (outinbit != target_ep->is_in) { is_in 1964 drivers/usb/gadget/udc/udc-xilinx.c if (ep->is_in) is_in 1360 drivers/usb/isp1760/isp1760-udc.c bool is_in = !(i & 1); is_in 1366 drivers/usb/isp1760/isp1760-udc.c ep->addr = (ep_num && is_in ? USB_DIR_IN : USB_DIR_OUT) is_in 1371 drivers/usb/isp1760/isp1760-udc.c ep_num ? (is_in ? "in" : "out") : ""); is_in 1397 drivers/usb/isp1760/isp1760-udc.c if (is_in) is_in 64 drivers/usb/mon/mon_text.c char is_in; is_in 155 drivers/usb/mon/mon_text.c if (ep->is_in) { is_in 216 drivers/usb/mon/mon_text.c ep->is_in = usb_urb_dir_in(urb); is_in 288 drivers/usb/mon/mon_text.c ep->is_in = usb_urb_dir_in(urb); is_in 516 drivers/usb/mon/mon_text.c udir = (ep->is_in ? 'i' : 'o'); is_in 534 drivers/usb/mon/mon_text.c udir = (ep->is_in ? 'i' : 'o'); is_in 282 drivers/usb/mtu3/mtu3.h u8 is_in; is_in 209 drivers/usb/mtu3/mtu3_core.c u32 rst_bit = EP_RST(mep->is_in, mep->epnum); is_in 223 drivers/usb/mtu3/mtu3_core.c if (mep->is_in) { /* TX */ is_in 320 drivers/usb/mtu3/mtu3_core.c if (mep->is_in) { is_in 408 drivers/usb/mtu3/mtu3_core.c if (mep->is_in) { is_in 148 drivers/usb/mtu3/mtu3_debugfs.c int in = mep->is_in; is_in 35 drivers/usb/mtu3/mtu3_gadget.c usb_gadget_unmap_request(&mtu->g, req, mep->is_in); is_in 179 drivers/usb/mtu3/mtu3_gadget.c if (!!usb_endpoint_dir_in(desc) ^ !!mep->is_in) is_in 287 drivers/usb/mtu3/mtu3_gadget.c __func__, mep->is_in ? "TX" : "RX", mreq->epnum, ep->name, is_in 309 drivers/usb/mtu3/mtu3_gadget.c ret = usb_gadget_map_request(&mtu->g, req, mep->is_in); is_in 614 drivers/usb/mtu3/mtu3_gadget.c u32 epnum, u32 is_in) is_in 618 drivers/usb/mtu3/mtu3_gadget.c mep->is_in = is_in; is_in 623 drivers/usb/mtu3/mtu3_gadget.c !epnum ? "" : (is_in ? "in" : "out")); is_in 649 drivers/usb/mtu3/mtu3_gadget.c } else if (is_in) { is_in 203 drivers/usb/mtu3/mtu3_gadget_ep0.c int is_in; is_in 223 drivers/usb/mtu3/mtu3_gadget_ep0.c is_in = epnum & USB_DIR_IN; is_in 233 drivers/usb/mtu3/mtu3_gadget_ep0.c mep = (is_in ? mtu->in_eps : mtu->out_eps) + epnum; is_in 376 drivers/usb/mtu3/mtu3_gadget_ep0.c int is_in; is_in 405 drivers/usb/mtu3/mtu3_gadget_ep0.c is_in = index & USB_DIR_IN; is_in 406 drivers/usb/mtu3/mtu3_gadget_ep0.c mep = (is_in ? mtu->in_eps : mtu->out_eps) + epnum; is_in 280 drivers/usb/mtu3/mtu3_hw_regs.h #define EP_RST(is_in, epnum) (((is_in) ? BIT(16) : BIT(0)) << (epnum)) is_in 196 drivers/usb/mtu3/mtu3_qmu.c offset = mep->is_in ? USB_QMU_TQCSR(epnum) : USB_QMU_RQCSR(epnum); is_in 320 drivers/usb/mtu3/mtu3_qmu.c if (mep->is_in) is_in 333 drivers/usb/mtu3/mtu3_qmu.c if (mep->is_in) { is_in 379 drivers/usb/mtu3/mtu3_qmu.c qcsr = mep->is_in ? USB_QMU_TQCSR(epnum) : USB_QMU_RQCSR(epnum); is_in 401 drivers/usb/mtu3/mtu3_qmu.c ((mep->is_in) ? "TX" : "RX")); is_in 238 drivers/usb/mtu3/mtu3_trace.h __entry->direction = mep->is_in; is_in 170 drivers/usb/musb/musb_gadget.c if (ep->is_in) { is_in 970 drivers/usb/musb/musb_gadget.c musb_ep->is_in = 1; is_in 971 drivers/usb/musb/musb_gadget.c if (!musb_ep->is_in) is_in 1009 drivers/usb/musb/musb_gadget.c musb_ep->is_in = 0; is_in 1010 drivers/usb/musb/musb_gadget.c if (musb_ep->is_in) is_in 1067 drivers/usb/musb/musb_gadget.c musb_ep->is_in ? "IN" : "OUT", is_in 1099 drivers/usb/musb/musb_gadget.c if (musb_ep->is_in) { is_in 1228 drivers/usb/musb/musb_gadget.c request->tx = musb_ep->is_in; is_in 1358 drivers/usb/musb/musb_gadget.c if (musb_ep->is_in) { is_in 1372 drivers/usb/musb/musb_gadget.c if (musb_ep->is_in) { is_in 1428 drivers/usb/musb/musb_gadget.c if (musb_ep->desc && !musb_ep->is_in) { is_in 1463 drivers/usb/musb/musb_gadget.c if (musb_ep->is_in) { is_in 1691 drivers/usb/musb/musb_gadget.c init_peripheral_ep(struct musb *musb, struct musb_ep *ep, u8 epnum, int is_in) is_in 1700 drivers/usb/musb/musb_gadget.c ep->is_in = is_in; is_in 1706 drivers/usb/musb/musb_gadget.c is_in ? "in" : "out")); is_in 1715 drivers/usb/musb/musb_gadget.c if (is_in) is_in 1729 drivers/usb/musb/musb_gadget.c } else if (is_in) is_in 83 drivers/usb/musb/musb_gadget.h u8 is_in; is_in 80 drivers/usb/musb/musb_gadget_ep0.c int is_in; is_in 91 drivers/usb/musb/musb_gadget_ep0.c is_in = epnum & USB_DIR_IN; is_in 98 drivers/usb/musb/musb_gadget_ep0.c if (is_in) is_in 110 drivers/usb/musb/musb_gadget_ep0.c if (is_in) is_in 242 drivers/usb/musb/musb_gadget_ep0.c int is_in; is_in 251 drivers/usb/musb/musb_gadget_ep0.c is_in = ctrlrequest->wIndex & USB_DIR_IN; is_in 252 drivers/usb/musb/musb_gadget_ep0.c if (is_in) is_in 265 drivers/usb/musb/musb_gadget_ep0.c if (is_in) { is_in 406 drivers/usb/musb/musb_gadget_ep0.c int is_in; is_in 415 drivers/usb/musb/musb_gadget_ep0.c is_in = ctrlrequest->wIndex & USB_DIR_IN; is_in 416 drivers/usb/musb/musb_gadget_ep0.c if (is_in) is_in 424 drivers/usb/musb/musb_gadget_ep0.c if (is_in) { is_in 927 drivers/usb/musb/musb_gadget_ep0.c req->tx = ep->is_in; is_in 953 drivers/usb/musb/musb_gadget_ep0.c ep->name, ep->is_in ? "IN/TX" : "OUT/RX", is_in 176 drivers/usb/musb/musb_host.c static void musb_ep_set_qh(struct musb_hw_ep *ep, int is_in, struct musb_qh *qh) is_in 178 drivers/usb/musb/musb_host.c if (is_in != 0 || ep->is_shared_fifo) is_in 180 drivers/usb/musb/musb_host.c if (is_in == 0 || ep->is_shared_fifo) is_in 184 drivers/usb/musb/musb_host.c static struct musb_qh *musb_ep_get_qh(struct musb_hw_ep *ep, int is_in) is_in 186 drivers/usb/musb/musb_host.c return is_in ? ep->in_qh : ep->out_qh; is_in 196 drivers/usb/musb/musb_host.c musb_start_urb(struct musb *musb, int is_in, struct musb_qh *qh) is_in 214 drivers/usb/musb/musb_host.c is_in = 0; is_in 234 drivers/usb/musb/musb_host.c musb_ep_set_qh(hw_ep, is_in, qh); is_in 235 drivers/usb/musb/musb_host.c musb_ep_program(musb, epnum, urb, !is_in, buf, offset, len); is_in 238 drivers/usb/musb/musb_host.c if (is_in) is_in 290 drivers/usb/musb/musb_host.c static inline void musb_save_toggle(struct musb_qh *qh, int is_in, is_in 301 drivers/usb/musb/musb_host.c if (is_in) is_in 306 drivers/usb/musb/musb_host.c usb_settoggle(urb->dev, qh->epnum, !is_in, csr ? 1 : 0); is_in 317 drivers/usb/musb/musb_host.c struct musb_hw_ep *hw_ep, int is_in) is_in 319 drivers/usb/musb/musb_host.c struct musb_qh *qh = musb_ep_get_qh(hw_ep, is_in); is_in 330 drivers/usb/musb/musb_host.c musb_save_toggle(qh, is_in, urb); is_in 349 drivers/usb/musb/musb_host.c if (is_in) { is_in 364 drivers/usb/musb/musb_host.c musb_ep_set_qh(ep, is_in, NULL); is_in 397 drivers/usb/musb/musb_host.c hw_ep->epnum, is_in ? 'R' : 'T', next_urb(qh)); is_in 398 drivers/usb/musb/musb_host.c musb_start_urb(musb, is_in, qh); is_in 928 drivers/usb/musb/musb_host.c int is_in) is_in 938 drivers/usb/musb/musb_host.c if (is_in) { is_in 973 drivers/usb/musb/musb_host.c musb_save_toggle(cur_qh, is_in, urb); is_in 975 drivers/usb/musb/musb_host.c if (is_in) { is_in 996 drivers/usb/musb/musb_host.c musb_start_urb(musb, is_in, next_qh); is_in 2016 drivers/usb/musb/musb_host.c int is_in) is_in 2051 drivers/usb/musb/musb_host.c if (musb_ep_get_qh(hw_ep, is_in) != NULL) is_in 2057 drivers/usb/musb/musb_host.c if (is_in) is_in 2078 drivers/usb/musb/musb_host.c toggle = usb_gettoggle(urb->dev, qh->epnum, !is_in); is_in 2081 drivers/usb/musb/musb_host.c if (!is_in && (qh->type == USB_ENDPOINT_XFER_BULK) && is_in 2092 drivers/usb/musb/musb_host.c if (is_in) is_in 2129 drivers/usb/musb/musb_host.c musb_start_urb(musb, is_in, qh); is_in 2335 drivers/usb/musb/musb_host.c int is_in = usb_pipein(urb->pipe); is_in 2343 drivers/usb/musb/musb_host.c dma = is_in ? ep->rx_channel : ep->tx_channel; is_in 2347 drivers/usb/musb/musb_host.c is_in ? 'R' : 'T', ep->epnum, is_in 2354 drivers/usb/musb/musb_host.c if (ep->epnum && is_in) { is_in 2379 drivers/usb/musb/musb_host.c musb_advance_schedule(ep->musb, urb, ep, is_in); is_in 2388 drivers/usb/musb/musb_host.c int is_in = usb_pipein(urb->pipe); is_in 2416 drivers/usb/musb/musb_host.c || musb_ep_get_qh(qh->hw_ep, is_in) != qh) { is_in 2442 drivers/usb/musb/musb_host.c u8 is_in = hep->desc.bEndpointAddress & USB_DIR_IN; is_in 2458 drivers/usb/musb/musb_host.c if (musb_ep_get_qh(qh->hw_ep, is_in) == qh) { is_in 2474 drivers/usb/musb/musb_host.c musb_advance_schedule(musb, urb, qh->hw_ep, is_in); is_in 1770 include/linux/usb.h int usb_buffer_map_sg(const struct usb_device *dev, int is_in, is_in 1773 include/linux/usb.h void usb_buffer_dmasync_sg(const struct usb_device *dev, int is_in, is_in 1776 include/linux/usb.h void usb_buffer_unmap_sg(const struct usb_device *dev, int is_in, is_in 819 include/linux/usb/gadget.h struct usb_request *req, int is_in); is_in 821 include/linux/usb/gadget.h struct usb_request *req, int is_in); is_in 824 include/linux/usb/gadget.h struct usb_request *req, int is_in); is_in 826 include/linux/usb/gadget.h struct usb_request *req, int is_in); is_in 829 include/linux/usb/gadget.h struct usb_request *req, int is_in) { return -ENOSYS; } is_in 831 include/linux/usb/gadget.h struct usb_request *req, int is_in) { return -ENOSYS; } is_in 834 include/linux/usb/gadget.h struct usb_request *req, int is_in) { } is_in 836 include/linux/usb/gadget.h struct usb_request *req, int is_in) { } is_in 272 net/ipv4/igmp.c static int is_in(struct ip_mc_list *pmc, struct ip_sf_list *psf, int type, is_in 323 net/ipv4/igmp.c if (!is_in(pmc, psf, type, gdeleted, sdeleted)) is_in 509 net/ipv4/igmp.c if (!is_in(pmc, psf, type, gdeleted, sdeleted)) { is_in 1557 net/ipv6/mcast.c if (!is_in(pmc, psf, type, gdeleted, sdeleted)) is_in 1778 net/ipv6/mcast.c if (!is_in(pmc, psf, type, gdeleted, sdeleted) && !crsend) { is_in 805 sound/soc/sh/rcar/rsnd.h int is_in); is_in 106 sound/soc/sh/rcar/src.c int is_in) is_in 121 sound/soc/sh/rcar/src.c if (is_play == is_in)