epnum 138 arch/arm/mach-s3c24xx/mach-smdk2416.c .epnum = 9, epnum 2119 drivers/media/usb/uvc/uvc_video.c unsigned int epnum = stream->header.bEndpointAddress epnum 2125 drivers/media/usb/uvc/uvc_video.c pipe = usb_sndbulkpipe(stream->dev->udev, epnum) | dir; epnum 102 drivers/net/fjes/fjes_hw.c hw->hw_info.share->epnum = hw->max_epid; epnum 721 drivers/net/fjes/fjes_hw.c if (dest_epid < share->epnum) epnum 73 drivers/net/fjes/fjes_hw.h #define FJES_DEV_COMMAND_INFO_RES_LEN(epnum) (8 + 2 * (epnum)) epnum 108 drivers/net/fjes/fjes_hw.h int epnum; epnum 54 drivers/staging/emxx_udc/emxx_udc.c #define _nbu2ss_zero_len_pkt(udc, epnum) \ epnum 55 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_ep_in_end(udc, epnum, 0, 0) epnum 214 drivers/staging/emxx_udc/emxx_udc.c if (ep->epnum == 0) epnum 217 drivers/staging/emxx_udc/emxx_udc.c num = ep->epnum - 1; epnum 227 drivers/staging/emxx_udc/emxx_udc.c data = 1 << (ep->epnum + 8); epnum 252 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_endpoint_toggle_reset(udc, (ep->epnum | ep->direct)); epnum 288 drivers/staging/emxx_udc/emxx_udc.c if ((ep->epnum == 0) || (udc->vbus_active == 0)) epnum 291 drivers/staging/emxx_udc/emxx_udc.c num = ep->epnum - 1; epnum 299 drivers/staging/emxx_udc/emxx_udc.c data = 1 << (ep->epnum + 8); epnum 337 drivers/staging/emxx_udc/emxx_udc.c if (((ep->epnum == 0) || (data & (1 << ep->epnum)) == 0)) epnum 340 drivers/staging/emxx_udc/emxx_udc.c num = ep->epnum - 1; epnum 381 drivers/staging/emxx_udc/emxx_udc.c if ((ep->epnum == 0) || ((data & (1 << ep->epnum)) == 0)) epnum 384 drivers/staging/emxx_udc/emxx_udc.c num = ep->epnum - 1; epnum 408 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_bitclr(&preg->EP_DCR[ep->epnum - 1].EP_DCR1, DCR1_EPN_REQEN); epnum 410 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_bitclr(&preg->EP_REGS[ep->epnum - 1].EP_DMA_CTRL, EPN_DMA_EN); epnum 416 drivers/staging/emxx_udc/emxx_udc.c u32 epnum, u32 data32, u32 length) epnum 425 drivers/staging/emxx_udc/emxx_udc.c if (epnum == 0) { epnum 437 drivers/staging/emxx_udc/emxx_udc.c num = epnum - 1; epnum 873 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_readl(&preg->EP_REGS[ep->epnum - 1].EP_READ); epnum 884 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_readl(&preg->EP_REGS[ep->epnum - 1].EP_READ); epnum 908 drivers/staging/emxx_udc/emxx_udc.c if (ep->epnum == 0) epnum 911 drivers/staging/emxx_udc/emxx_udc.c num = ep->epnum - 1; epnum 936 drivers/staging/emxx_udc/emxx_udc.c if (ep->epnum == 0) epnum 939 drivers/staging/emxx_udc/emxx_udc.c num = ep->epnum - 1; epnum 1075 drivers/staging/emxx_udc/emxx_udc.c &preg->EP_REGS[ep->epnum - 1].EP_WRITE epnum 1091 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_ep_in_end(udc, ep->epnum, temp_32.dw, data); epnum 1107 drivers/staging/emxx_udc/emxx_udc.c if (ep->epnum == 0) epnum 1110 drivers/staging/emxx_udc/emxx_udc.c num = ep->epnum - 1; epnum 1132 drivers/staging/emxx_udc/emxx_udc.c if (ep->epnum == 0) epnum 1135 drivers/staging/emxx_udc/emxx_udc.c num = ep->epnum - 1; epnum 1156 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_zero_len_pkt(udc, ep->epnum); epnum 1181 drivers/staging/emxx_udc/emxx_udc.c if (ep->epnum == 0) { epnum 1226 drivers/staging/emxx_udc/emxx_udc.c if (ep->epnum > 0) { epnum 1228 drivers/staging/emxx_udc/emxx_udc.c &ep->udc->p_regs->EP_REGS[ep->epnum - 1].EP_LEN_DCNT); epnum 1263 drivers/staging/emxx_udc/emxx_udc.c u8 num, epnum; epnum 1277 drivers/staging/emxx_udc/emxx_udc.c epnum = ep_adrs & USB_ENDPOINT_NUMBER_MASK; epnum 1278 drivers/staging/emxx_udc/emxx_udc.c num = epnum - 1; epnum 1279 drivers/staging/emxx_udc/emxx_udc.c ep = &udc->ep[epnum]; epnum 1365 drivers/staging/emxx_udc/emxx_udc.c u8 epnum; epnum 1369 drivers/staging/emxx_udc/emxx_udc.c epnum = ep_adrs & ~USB_ENDPOINT_DIR_MASK; epnum 1370 drivers/staging/emxx_udc/emxx_udc.c if (epnum == 0) { epnum 1375 drivers/staging/emxx_udc/emxx_udc.c data = _nbu2ss_readl(&preg->EP_REGS[epnum - 1].EP_CONTROL); epnum 1466 drivers/staging/emxx_udc/emxx_udc.c &preg->EP_REGS[ep->epnum - 1].EP_STATUS); epnum 1475 drivers/staging/emxx_udc/emxx_udc.c ep_adrs = ep->epnum | ep->direct; epnum 1847 drivers/staging/emxx_udc/emxx_udc.c if ((ep->direct == USB_DIR_OUT) && (ep->epnum > 0) && epnum 1881 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_readl(&preg->EP_REGS[ep->epnum - 1].EP_STATUS); epnum 1887 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_zero_len_pkt(udc, ep->epnum); epnum 1941 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_ep_in_end(udc, ep->epnum, 0, 0); epnum 1959 drivers/staging/emxx_udc/emxx_udc.c num = ep->epnum - 1; epnum 2007 drivers/staging/emxx_udc/emxx_udc.c static inline void _nbu2ss_epn_int(struct nbu2ss_udc *udc, u32 epnum) epnum 2013 drivers/staging/emxx_udc/emxx_udc.c struct nbu2ss_ep *ep = &udc->ep[epnum]; epnum 2015 drivers/staging/emxx_udc/emxx_udc.c num = epnum - 1; epnum 2047 drivers/staging/emxx_udc/emxx_udc.c static inline void _nbu2ss_ep_int(struct nbu2ss_udc *udc, u32 epnum) epnum 2049 drivers/staging/emxx_udc/emxx_udc.c if (epnum == 0) epnum 2052 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_epn_int(udc, epnum); epnum 2138 drivers/staging/emxx_udc/emxx_udc.c if (ep->epnum == 0) { epnum 2145 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_bitset(&p->EP_REGS[ep->epnum - 1].EP_CONTROL, EPN_BCLR); epnum 2348 drivers/staging/emxx_udc/emxx_udc.c u32 epnum, int_bit; epnum 2394 drivers/staging/emxx_udc/emxx_udc.c for (epnum = 0; epnum < NUM_ENDPOINTS; epnum++) { epnum 2396 drivers/staging/emxx_udc/emxx_udc.c _nbu2ss_ep_int(udc, epnum); epnum 2455 drivers/staging/emxx_udc/emxx_udc.c ep->epnum = usb_endpoint_num(desc); epnum 2600 drivers/staging/emxx_udc/emxx_udc.c if (ep->epnum > 0) { epnum 2607 drivers/staging/emxx_udc/emxx_udc.c if ((ep->epnum > 0) && (ep->direct == USB_DIR_OUT) && epnum 2624 drivers/staging/emxx_udc/emxx_udc.c } else if ((ep->epnum > 0) && (ep->direct == USB_DIR_OUT)) { epnum 2704 drivers/staging/emxx_udc/emxx_udc.c ep_adrs = ep->epnum | ep->direct; epnum 2758 drivers/staging/emxx_udc/emxx_udc.c if (ep->epnum == 0) { epnum 2762 drivers/staging/emxx_udc/emxx_udc.c data = _nbu2ss_readl(&preg->EP_REGS[ep->epnum - 1].EP_LEN_DCNT) epnum 542 drivers/staging/emxx_udc/emxx_udc.h u8 epnum; epnum 1778 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcchar.s.epnum = pipe->endpoint_num; epnum 1041 drivers/staging/octeon-usb/octeon-hcd.h __BITFIELD_FIELD(u32 epnum : 4, epnum 1267 drivers/usb/core/devio.c unsigned int epnum, char *ioctl_name) epnum 1272 drivers/usb/core/devio.c eps = (epnum & USB_DIR_IN) ? udev->ep_in : udev->ep_out; epnum 1273 drivers/usb/core/devio.c ep = eps[epnum & 0x0f]; epnum 1277 drivers/usb/core/devio.c ioctl_name, epnum); epnum 1979 drivers/usb/core/hcd.c int epnum = usb_endpoint_num(&ep->desc); epnum 1983 drivers/usb/core/hcd.c usb_settoggle(udev, epnum, is_out, 0); epnum 1985 drivers/usb/core/hcd.c usb_settoggle(udev, epnum, !is_out, 0); epnum 1138 drivers/usb/core/message.c unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; epnum 1145 drivers/usb/core/message.c ep = dev->ep_out[epnum]; epnum 1146 drivers/usb/core/message.c if (reset_hardware && epnum != 0) epnum 1147 drivers/usb/core/message.c dev->ep_out[epnum] = NULL; epnum 1149 drivers/usb/core/message.c ep = dev->ep_in[epnum]; epnum 1150 drivers/usb/core/message.c if (reset_hardware && epnum != 0) epnum 1151 drivers/usb/core/message.c dev->ep_in[epnum] = NULL; epnum 1172 drivers/usb/core/message.c unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; epnum 1176 drivers/usb/core/message.c ep = dev->ep_out[epnum]; epnum 1178 drivers/usb/core/message.c ep = dev->ep_in[epnum]; epnum 1296 drivers/usb/core/message.c int epnum = usb_endpoint_num(&ep->desc); epnum 1303 drivers/usb/core/message.c dev->ep_out[epnum] = ep; epnum 1305 drivers/usb/core/message.c dev->ep_in[epnum] = ep; epnum 2353 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_handle_outdone(struct dwc2_hsotg *hsotg, int epnum) epnum 2355 drivers/usb/dwc2/gadget.c u32 epsize = dwc2_readl(hsotg, DOEPTSIZ(epnum)); epnum 2356 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_ep *hs_ep = hsotg->eps_out[epnum]; epnum 2367 drivers/usb/dwc2/gadget.c if (epnum == 0 && hsotg->ep0_state == DWC2_EP0_STATUS_OUT) { epnum 2412 drivers/usb/dwc2/gadget.c if (!using_desc_dma(hsotg) && epnum == 0 && epnum 2425 drivers/usb/dwc2/gadget.c dwc2_hsotg_change_ep_iso_parity(hsotg, DOEPCTL(epnum)); epnum 2456 drivers/usb/dwc2/gadget.c u32 epnum, status, size; epnum 2460 drivers/usb/dwc2/gadget.c epnum = grxstsr & GRXSTS_EPNUM_MASK; epnum 2467 drivers/usb/dwc2/gadget.c __func__, grxstsr, size, epnum); epnum 2479 drivers/usb/dwc2/gadget.c dwc2_hsotg_handle_outdone(hsotg, epnum); epnum 2493 drivers/usb/dwc2/gadget.c dwc2_hsotg_handle_outdone(hsotg, epnum); epnum 2497 drivers/usb/dwc2/gadget.c dwc2_hsotg_rx_data(hsotg, epnum, size); epnum 2508 drivers/usb/dwc2/gadget.c dwc2_hsotg_rx_data(hsotg, epnum, size); epnum 4629 drivers/usb/dwc2/gadget.c int epnum, epnum 4634 drivers/usb/dwc2/gadget.c if (epnum == 0) epnum 4642 drivers/usb/dwc2/gadget.c hs_ep->index = epnum; epnum 4644 drivers/usb/dwc2/gadget.c snprintf(hs_ep->name, sizeof(hs_ep->name), "ep%d%s", epnum, dir); epnum 4650 drivers/usb/dwc2/gadget.c if (epnum) epnum 4660 drivers/usb/dwc2/gadget.c epnum ? 1024 : EP0_MPS_LIMIT); epnum 4663 drivers/usb/dwc2/gadget.c if (epnum == 0) { epnum 4684 drivers/usb/dwc2/gadget.c u32 next = DXEPCTL_NEXTEP((epnum + 1) % 15); epnum 4687 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, next, DIEPCTL(epnum)); epnum 4689 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, next, DOEPCTL(epnum)); epnum 4808 drivers/usb/dwc2/gadget.c int epnum; epnum 4880 drivers/usb/dwc2/gadget.c for (epnum = 0; epnum < hsotg->num_of_eps; epnum++) { epnum 4881 drivers/usb/dwc2/gadget.c if (hsotg->eps_in[epnum]) epnum 4882 drivers/usb/dwc2/gadget.c dwc2_hsotg_initep(hsotg, hsotg->eps_in[epnum], epnum 4883 drivers/usb/dwc2/gadget.c epnum, 1); epnum 4884 drivers/usb/dwc2/gadget.c if (hsotg->eps_out[epnum]) epnum 4885 drivers/usb/dwc2/gadget.c dwc2_hsotg_initep(hsotg, hsotg->eps_out[epnum], epnum 4886 drivers/usb/dwc2/gadget.c epnum, 0); epnum 897 drivers/usb/dwc3/core.h u8 epnum; epnum 256 drivers/usb/dwc3/debug.h u8 epnum = event->endpoint_number; epnum 260 drivers/usb/dwc3/debug.h len = scnprintf(str, size, "ep%d%s: ", epnum >> 1, epnum 261 drivers/usb/dwc3/debug.h (epnum & 1) ? "in" : "out"); epnum 273 drivers/usb/dwc3/debug.h if (epnum <= 1) epnum 293 drivers/usb/dwc3/debug.h if (epnum <= 1) { epnum 94 drivers/usb/dwc3/ep0.c req->epnum = dep->number; epnum 288 drivers/usb/dwc3/ep0.c u32 epnum; epnum 290 drivers/usb/dwc3/ep0.c epnum = (windex & USB_ENDPOINT_NUMBER_MASK) << 1; epnum 292 drivers/usb/dwc3/ep0.c epnum |= 1; epnum 294 drivers/usb/dwc3/ep0.c dep = dwc->eps[epnum]; epnum 829 drivers/usb/dwc3/ep0.c u8 epnum; epnum 831 drivers/usb/dwc3/ep0.c epnum = event->endpoint_number; epnum 871 drivers/usb/dwc3/ep0.c if ((epnum & 1) && ur->actual < ur->length) epnum 844 drivers/usb/dwc3/gadget.c req->epnum = dep->number; epnum 2310 drivers/usb/dwc3/gadget.c static int dwc3_gadget_init_endpoint(struct dwc3 *dwc, u8 epnum) epnum 2313 drivers/usb/dwc3/gadget.c bool direction = epnum & 1; epnum 2315 drivers/usb/dwc3/gadget.c u8 num = epnum >> 1; epnum 2322 drivers/usb/dwc3/gadget.c dep->number = epnum; epnum 2324 drivers/usb/dwc3/gadget.c dep->regs = dwc->regs + DWC3_DEP_BASE(epnum); epnum 2325 drivers/usb/dwc3/gadget.c dwc->eps[epnum] = dep; epnum 2361 drivers/usb/dwc3/gadget.c u8 epnum; epnum 2365 drivers/usb/dwc3/gadget.c for (epnum = 0; epnum < total; epnum++) { epnum 2368 drivers/usb/dwc3/gadget.c ret = dwc3_gadget_init_endpoint(dwc, epnum); epnum 2379 drivers/usb/dwc3/gadget.c u8 epnum; epnum 2381 drivers/usb/dwc3/gadget.c for (epnum = 0; epnum < DWC3_ENDPOINTS_NUM; epnum++) { epnum 2382 drivers/usb/dwc3/gadget.c dep = dwc->eps[epnum]; epnum 2394 drivers/usb/dwc3/gadget.c if (epnum != 0 && epnum != 1) { epnum 2625 drivers/usb/dwc3/gadget.c u8 epnum = event->endpoint_number; epnum 2628 drivers/usb/dwc3/gadget.c dep = dwc->eps[epnum]; epnum 2639 drivers/usb/dwc3/gadget.c if (epnum == 0 || epnum == 1) { epnum 2774 drivers/usb/dwc3/gadget.c u32 epnum; epnum 2776 drivers/usb/dwc3/gadget.c for (epnum = 1; epnum < DWC3_ENDPOINTS_NUM; epnum++) { epnum 2780 drivers/usb/dwc3/gadget.c dep = dwc->eps[epnum]; epnum 339 drivers/usb/gadget/udc/bdc/bdc.h int epnum; epnum 286 drivers/usb/gadget/udc/bdc/bdc_cmd.c int bdc_ep_set_stall(struct bdc *bdc, int epnum) epnum 290 drivers/usb/gadget/udc/bdc/bdc_cmd.c dev_dbg(bdc->dev, "%s epnum=%d\n", __func__, epnum); epnum 292 drivers/usb/gadget/udc/bdc/bdc_cmd.c cmd_sc |= BDC_SUB_CMD_EP_STL | BDC_CMD_EPN(epnum) | BDC_CMD_EPO; epnum 298 drivers/usb/gadget/udc/bdc/bdc_cmd.c int bdc_ep_clear_stall(struct bdc *bdc, int epnum) epnum 304 drivers/usb/gadget/udc/bdc/bdc_cmd.c dev_dbg(bdc->dev, "%s: epnum=%d\n", __func__, epnum); epnum 305 drivers/usb/gadget/udc/bdc/bdc_cmd.c ep = bdc->bdc_ep_array[epnum]; epnum 310 drivers/usb/gadget/udc/bdc/bdc_cmd.c if (epnum != 1) { epnum 313 drivers/usb/gadget/udc/bdc/bdc_cmd.c ret = bdc_ep_set_stall(bdc, epnum); epnum 319 drivers/usb/gadget/udc/bdc/bdc_cmd.c if (epnum != 1) epnum 323 drivers/usb/gadget/udc/bdc/bdc_cmd.c cmd_sc |= BDC_SUB_CMD_EP_RST | BDC_CMD_EPN(epnum) | BDC_CMD_EPO; epnum 330 drivers/usb/gadget/udc/bdc/bdc_cmd.c bdc_notify_xfr(bdc, epnum); epnum 336 drivers/usb/gadget/udc/bdc/bdc_cmd.c int bdc_stop_ep(struct bdc *bdc, int epnum) epnum 342 drivers/usb/gadget/udc/bdc/bdc_cmd.c ep = bdc->bdc_ep_array[epnum]; epnum 355 drivers/usb/gadget/udc/bdc/bdc_cmd.c | BDC_CMD_EPN(epnum) | BDC_CMD_EPO; epnum 341 drivers/usb/gadget/udc/bdc/bdc_ep.c void bdc_notify_xfr(struct bdc *bdc, u32 epnum) epnum 343 drivers/usb/gadget/udc/bdc/bdc_ep.c struct bdc_ep *ep = bdc->bdc_ep_array[epnum]; epnum 345 drivers/usb/gadget/udc/bdc/bdc_ep.c dev_vdbg(bdc->dev, "%s epnum:%d\n", __func__, epnum); epnum 353 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc_writel(bdc->regs, BDC_XSFNTF, epnum); epnum 666 drivers/usb/gadget/udc/bdc/bdc_ep.c req->epnum = ep->ep_num; epnum 722 drivers/usb/gadget/udc/bdc/bdc_ep.c req->epnum = ep->ep_num; epnum 902 drivers/usb/gadget/udc/bdc/bdc_ep.c u8 epnum; epnum 905 drivers/usb/gadget/udc/bdc/bdc_ep.c for (epnum = 1; epnum < bdc->num_eps; epnum++) { epnum 906 drivers/usb/gadget/udc/bdc/bdc_ep.c ep = bdc->bdc_ep_array[epnum]; epnum 914 drivers/usb/gadget/udc/bdc/bdc_ep.c if (epnum != 1) epnum 1234 drivers/usb/gadget/udc/bdc/bdc_ep.c int epnum; epnum 1269 drivers/usb/gadget/udc/bdc/bdc_ep.c epnum = wIndex & USB_ENDPOINT_NUMBER_MASK; epnum 1270 drivers/usb/gadget/udc/bdc/bdc_ep.c if (epnum) { epnum 1272 drivers/usb/gadget/udc/bdc/bdc_ep.c epnum = epnum * 2 + 1; epnum 1274 drivers/usb/gadget/udc/bdc/bdc_ep.c epnum *= 2; epnum 1276 drivers/usb/gadget/udc/bdc/bdc_ep.c epnum = 1; /*EP0*/ epnum 1283 drivers/usb/gadget/udc/bdc/bdc_ep.c if (epnum == 1 && !set) { epnum 1287 drivers/usb/gadget/udc/bdc/bdc_ep.c dev_dbg(bdc->dev, "epnum=%d\n", epnum); epnum 1288 drivers/usb/gadget/udc/bdc/bdc_ep.c ep = bdc->bdc_ep_array[epnum]; epnum 1308 drivers/usb/gadget/udc/bdc/bdc_ep.c u32 epnum; epnum 1344 drivers/usb/gadget/udc/bdc/bdc_ep.c epnum = wIndex & USB_ENDPOINT_NUMBER_MASK; epnum 1345 drivers/usb/gadget/udc/bdc/bdc_ep.c if (epnum) { epnum 1347 drivers/usb/gadget/udc/bdc/bdc_ep.c epnum = epnum*2 + 1; epnum 1349 drivers/usb/gadget/udc/bdc/bdc_ep.c epnum *= 2; epnum 1351 drivers/usb/gadget/udc/bdc/bdc_ep.c epnum = 1; /* EP0 */ epnum 1354 drivers/usb/gadget/udc/bdc/bdc_ep.c ep = bdc->bdc_ep_array[epnum]; epnum 1831 drivers/usb/gadget/udc/bdc/bdc_ep.c req->epnum = ep->ep_num; epnum 1935 drivers/usb/gadget/udc/bdc/bdc_ep.c static int init_ep(struct bdc *bdc, u32 epnum, u32 dir) epnum 1939 drivers/usb/gadget/udc/bdc/bdc_ep.c dev_dbg(bdc->dev, "%s epnum=%d dir=%d\n", __func__, epnum, dir); epnum 1953 drivers/usb/gadget/udc/bdc/bdc_ep.c if (epnum == 1) { epnum 1956 drivers/usb/gadget/udc/bdc/bdc_ep.c snprintf(ep->name, sizeof(ep->name), "ep%d", epnum - 1); epnum 1963 drivers/usb/gadget/udc/bdc/bdc_ep.c ep->ep_num = epnum * 2 - 1; epnum 1965 drivers/usb/gadget/udc/bdc/bdc_ep.c ep->ep_num = epnum * 2 - 2; epnum 1968 drivers/usb/gadget/udc/bdc/bdc_ep.c snprintf(ep->name, sizeof(ep->name), "ep%d%s", epnum - 1, epnum 1983 drivers/usb/gadget/udc/bdc/bdc_ep.c ep, ep->usb_ep.name, epnum, ep->ep_num); epnum 1993 drivers/usb/gadget/udc/bdc/bdc_ep.c u8 epnum; epnum 2005 drivers/usb/gadget/udc/bdc/bdc_ep.c for (epnum = 2; epnum <= bdc->num_eps / 2; epnum++) { epnum 2007 drivers/usb/gadget/udc/bdc/bdc_ep.c ret = init_ep(bdc, epnum, 0); epnum 2011 drivers/usb/gadget/udc/bdc/bdc_ep.c epnum, ret); epnum 2016 drivers/usb/gadget/udc/bdc/bdc_ep.c ret = init_ep(bdc, epnum, 1); epnum 2020 drivers/usb/gadget/udc/bdc/bdc_ep.c epnum, ret); epnum 33 drivers/usb/gadget/udc/fotg210-udc.c value |= DMISGR1_MF_IN_INT(ep->epnum - 1); epnum 35 drivers/usb/gadget/udc/fotg210-udc.c value |= DMISGR1_MF_OUTSPK_INT(ep->epnum - 1); epnum 44 drivers/usb/gadget/udc/fotg210-udc.c value &= ~DMISGR1_MF_IN_INT(ep->epnum - 1); epnum 46 drivers/usb/gadget/udc/fotg210-udc.c value &= ~DMISGR1_MF_OUTSPK_INT(ep->epnum - 1); epnum 73 drivers/usb/gadget/udc/fotg210-udc.c if (ep->epnum) { epnum 81 drivers/usb/gadget/udc/fotg210-udc.c static void fotg210_fifo_ep_mapping(struct fotg210_ep *ep, u32 epnum, epnum 93 drivers/usb/gadget/udc/fotg210-udc.c val &= ~EPMAP_FIFONOMSK(epnum, dir_in); epnum 94 drivers/usb/gadget/udc/fotg210-udc.c val |= EPMAP_FIFONO(epnum, dir_in); epnum 99 drivers/usb/gadget/udc/fotg210-udc.c val &= ~FIFOMAP_EPNOMSK(epnum); epnum 100 drivers/usb/gadget/udc/fotg210-udc.c val |= FIFOMAP_EPNO(epnum); epnum 105 drivers/usb/gadget/udc/fotg210-udc.c val |= FIFOCF_FIFO_EN(epnum - 1); epnum 109 drivers/usb/gadget/udc/fotg210-udc.c static void fotg210_set_fifo_dir(struct fotg210_ep *ep, u32 epnum, u32 dir_in) epnum 115 drivers/usb/gadget/udc/fotg210-udc.c val |= (dir_in ? FIFOMAP_DIRIN(epnum - 1) : FIFOMAP_DIROUT(epnum - 1)); epnum 119 drivers/usb/gadget/udc/fotg210-udc.c static void fotg210_set_tfrtype(struct fotg210_ep *ep, u32 epnum, u32 type) epnum 125 drivers/usb/gadget/udc/fotg210-udc.c val |= FIFOCF_TYPE(type, epnum - 1); epnum 129 drivers/usb/gadget/udc/fotg210-udc.c static void fotg210_set_mps(struct fotg210_ep *ep, u32 epnum, u32 mps, epnum 134 drivers/usb/gadget/udc/fotg210-udc.c u32 offset = dir_in ? FOTG210_INEPMPSR(epnum) : epnum 135 drivers/usb/gadget/udc/fotg210-udc.c FOTG210_OUTEPMPSR(epnum); epnum 147 drivers/usb/gadget/udc/fotg210-udc.c fotg210_set_fifo_dir(ep, ep->epnum, ep->dir_in); epnum 148 drivers/usb/gadget/udc/fotg210-udc.c fotg210_set_tfrtype(ep, ep->epnum, ep->type); epnum 149 drivers/usb/gadget/udc/fotg210-udc.c fotg210_set_mps(ep, ep->epnum, ep->ep.maxpacket, ep->dir_in); epnum 150 drivers/usb/gadget/udc/fotg210-udc.c fotg210_fifo_ep_mapping(ep, ep->epnum, ep->dir_in); epnum 152 drivers/usb/gadget/udc/fotg210-udc.c fotg210->ep[ep->epnum] = ep; epnum 165 drivers/usb/gadget/udc/fotg210-udc.c ep->epnum = usb_endpoint_num(desc); epnum 173 drivers/usb/gadget/udc/fotg210-udc.c static void fotg210_reset_tseq(struct fotg210_udc *fotg210, u8 epnum) epnum 175 drivers/usb/gadget/udc/fotg210-udc.c struct fotg210_ep *ep = fotg210->ep[epnum]; epnum 180 drivers/usb/gadget/udc/fotg210-udc.c fotg210->reg + FOTG210_INEPMPSR(epnum) : epnum 181 drivers/usb/gadget/udc/fotg210-udc.c fotg210->reg + FOTG210_OUTEPMPSR(epnum); epnum 198 drivers/usb/gadget/udc/fotg210-udc.c if (!ep->epnum) epnum 200 drivers/usb/gadget/udc/fotg210-udc.c ep->epnum = 0; epnum 204 drivers/usb/gadget/udc/fotg210-udc.c fotg210_reset_tseq(ep->fotg210, ep->epnum); epnum 267 drivers/usb/gadget/udc/fotg210-udc.c if (ep->epnum) epnum 268 drivers/usb/gadget/udc/fotg210-udc.c value |= DMATFNR_ACC_FN(ep->epnum - 1); epnum 313 drivers/usb/gadget/udc/fotg210-udc.c if (ep->epnum) { epnum 315 drivers/usb/gadget/udc/fotg210-udc.c FOTG210_FIBCR(ep->epnum - 1)); epnum 318 drivers/usb/gadget/udc/fotg210-udc.c FOTG210_FIBCR(ep->epnum - 1)); epnum 334 drivers/usb/gadget/udc/fotg210-udc.c if (ep->epnum) { epnum 341 drivers/usb/gadget/udc/fotg210-udc.c FOTG210_FIBCR(ep->epnum - 1)); epnum 417 drivers/usb/gadget/udc/fotg210-udc.c if (!ep->epnum) /* ep0 */ epnum 454 drivers/usb/gadget/udc/fotg210-udc.c } while (!(value & DCFESR_FIFO_EMPTY(ep->epnum - 1))); epnum 458 drivers/usb/gadget/udc/fotg210-udc.c fotg210->reg + FOTG210_INEPMPSR(ep->epnum) : epnum 459 drivers/usb/gadget/udc/fotg210-udc.c fotg210->reg + FOTG210_OUTEPMPSR(ep->epnum); epnum 472 drivers/usb/gadget/udc/fotg210-udc.c fotg210->reg + FOTG210_INEPMPSR(ep->epnum) : epnum 473 drivers/usb/gadget/udc/fotg210-udc.c fotg210->reg + FOTG210_OUTEPMPSR(ep->epnum); epnum 497 drivers/usb/gadget/udc/fotg210-udc.c fotg210_reset_tseq(fotg210, ep->epnum); epnum 651 drivers/usb/gadget/udc/fotg210-udc.c u8 epnum; epnum 652 drivers/usb/gadget/udc/fotg210-udc.c epnum = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; epnum 653 drivers/usb/gadget/udc/fotg210-udc.c if (epnum) epnum 654 drivers/usb/gadget/udc/fotg210-udc.c fotg210_set_epnstall(fotg210->ep[epnum]); epnum 703 drivers/usb/gadget/udc/fotg210-udc.c fotg210->reg + FOTG210_INEPMPSR(ep->epnum) : epnum 704 drivers/usb/gadget/udc/fotg210-udc.c fotg210->reg + FOTG210_OUTEPMPSR(ep->epnum); epnum 712 drivers/usb/gadget/udc/fotg210-udc.c u8 epnum; epnum 722 drivers/usb/gadget/udc/fotg210-udc.c epnum = ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK; epnum 723 drivers/usb/gadget/udc/fotg210-udc.c if (epnum) epnum 725 drivers/usb/gadget/udc/fotg210-udc.c fotg210_is_epnstall(fotg210->ep[epnum]) epnum 224 drivers/usb/gadget/udc/fotg210.h unsigned char epnum; epnum 145 drivers/usb/gadget/udc/fsl_qe_udc.c u8 epnum = ep->epnum; epnum 148 drivers/usb/gadget/udc/fsl_qe_udc.c tem_usep = in_be16(&udc->usb_regs->usb_usep[epnum]); epnum 155 drivers/usb/gadget/udc/fsl_qe_udc.c out_be16(&udc->usb_regs->usb_usep[epnum], tem_usep); epnum 162 drivers/usb/gadget/udc/fsl_qe_udc.c u8 epnum = ep->epnum; epnum 165 drivers/usb/gadget/udc/fsl_qe_udc.c tem_usep = in_be16(&udc->usb_regs->usb_usep[epnum]); epnum 172 drivers/usb/gadget/udc/fsl_qe_udc.c out_be16(&udc->usb_regs->usb_usep[epnum], tem_usep); epnum 188 drivers/usb/gadget/udc/fsl_qe_udc.c u8 epnum = ep->epnum; epnum 193 drivers/usb/gadget/udc/fsl_qe_udc.c clrsetbits_be16(&udc->usb_regs->usb_usep[epnum], epnum 210 drivers/usb/gadget/udc/fsl_qe_udc.c clrsetbits_be16(&udc->usb_regs->usb_usep[ep->epnum], epnum 229 drivers/usb/gadget/udc/fsl_qe_udc.c cpm_command(CPM_USB_STOP_TX | (ep->epnum << CPM_USB_EP_SHIFT), epnum 233 drivers/usb/gadget/udc/fsl_qe_udc.c ep->epnum, 0); epnum 241 drivers/usb/gadget/udc/fsl_qe_udc.c cpm_command(CPM_USB_RESTART_TX | (ep->epnum << epnum 245 drivers/usb/gadget/udc/fsl_qe_udc.c ep->epnum, 0); epnum 255 drivers/usb/gadget/udc/fsl_qe_udc.c i = (int)ep->epnum; epnum 259 drivers/usb/gadget/udc/fsl_qe_udc.c USB_CMD_FLUSH_FIFO | (USB_CMD_EP_MASK & (ep->epnum))); epnum 275 drivers/usb/gadget/udc/fsl_qe_udc.c USB_CMD_STR_FIFO | (USB_CMD_EP_MASK & (ep->epnum))); epnum 748 drivers/usb/gadget/udc/fsl_qe_udc.c u8 epnum = ep->epnum; epnum 754 drivers/usb/gadget/udc/fsl_qe_udc.c ((in_be16(&udc->ep_param[epnum]->rbptr) - epnum 755 drivers/usb/gadget/udc/fsl_qe_udc.c in_be16(&udc->ep_param[epnum]->rbase)) epnum 911 drivers/usb/gadget/udc/fsl_qe_udc.c if (ep->epnum == 0) epnum 915 drivers/usb/gadget/udc/fsl_qe_udc.c if (list_empty(&ep->queue) && ep->epnum != 0) epnum 1032 drivers/usb/gadget/udc/fsl_qe_udc.c ucoffs = (u16)((in_be16(&udc->ep_param[ep->epnum]->rbptr) - epnum 1033 drivers/usb/gadget/udc/fsl_qe_udc.c in_be16(&udc->ep_param[ep->epnum]->rbase)) >> 3); epnum 1098 drivers/usb/gadget/udc/fsl_qe_udc.c if ((ep->epnum == 0) && (udc->ep0_state == DATA_STATE_NEED_ZLP)) epnum 1581 drivers/usb/gadget/udc/fsl_qe_udc.c unsigned char epnum; epnum 1594 drivers/usb/gadget/udc/fsl_qe_udc.c epnum = (u8)desc->bEndpointAddress & 0xF; epnum 1596 drivers/usb/gadget/udc/fsl_qe_udc.c retval = qe_ep_init(udc, epnum, desc); epnum 1599 drivers/usb/gadget/udc/fsl_qe_udc.c dev_dbg(udc->dev, "enable ep%d failed\n", ep->epnum); epnum 1602 drivers/usb/gadget/udc/fsl_qe_udc.c dev_dbg(udc->dev, "enable ep%d successful\n", ep->epnum); epnum 1627 drivers/usb/gadget/udc/fsl_qe_udc.c qe_ep_reset(udc, ep->epnum); epnum 1831 drivers/usb/gadget/udc/fsl_qe_udc.c if (ep->epnum == 0) { epnum 2176 drivers/usb/gadget/udc/fsl_qe_udc.c if (ep->epnum == 0) epnum 2200 drivers/usb/gadget/udc/fsl_qe_udc.c if (ep->epnum == 0) { epnum 2421 drivers/usb/gadget/udc/fsl_qe_udc.c ep->epnum = (u8)pipe_num; epnum 290 drivers/usb/gadget/udc/fsl_qe_udc.h u8 epnum; epnum 58 drivers/usb/gadget/udc/fusb300_udc.c ep->epnum = info.epnum; epnum 64 drivers/usb/gadget/udc/fusb300_udc.c if (!ep->epnum) epnum 66 drivers/usb/gadget/udc/fusb300_udc.c ep->epnum = 0; epnum 103 drivers/usb/gadget/udc/fusb300_udc.c u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET2(info.epnum)); epnum 107 drivers/usb/gadget/udc/fusb300_udc.c iowrite32(reg, fusb300->reg + FUSB300_OFFSET_EPSET2(info.epnum)); epnum 114 drivers/usb/gadget/udc/fusb300_udc.c fusb300_set_fifo_entry(fusb300, info.epnum); epnum 115 drivers/usb/gadget/udc/fusb300_udc.c fusb300_set_start_entry(fusb300, info.epnum); epnum 122 drivers/usb/gadget/udc/fusb300_udc.c u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); epnum 126 drivers/usb/gadget/udc/fusb300_udc.c iowrite32(reg, fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); epnum 136 drivers/usb/gadget/udc/fusb300_udc.c reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); epnum 139 drivers/usb/gadget/udc/fusb300_udc.c iowrite32(reg, fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); epnum 154 drivers/usb/gadget/udc/fusb300_udc.c u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET2(info.epnum)); epnum 158 drivers/usb/gadget/udc/fusb300_udc.c iowrite32(reg, fusb300->reg + FUSB300_OFFSET_EPSET2(info.epnum)); epnum 164 drivers/usb/gadget/udc/fusb300_udc.c u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); epnum 168 drivers/usb/gadget/udc/fusb300_udc.c iowrite32(reg, fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); epnum 174 drivers/usb/gadget/udc/fusb300_udc.c u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); epnum 178 drivers/usb/gadget/udc/fusb300_udc.c iowrite32(reg, fusb300->reg + FUSB300_OFFSET_EPSET1(info.epnum)); epnum 194 drivers/usb/gadget/udc/fusb300_udc.c fusb300_set_ep_active(fusb300, info.epnum); epnum 212 drivers/usb/gadget/udc/fusb300_udc.c info.epnum = desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; epnum 227 drivers/usb/gadget/udc/fusb300_udc.c fusb300->ep[info.epnum] = ep; epnum 293 drivers/usb/gadget/udc/fusb300_udc.c if (ep->epnum) { epnum 295 drivers/usb/gadget/udc/fusb300_udc.c FUSB300_IGER0_EEPn_FIFO_INT(ep->epnum)); epnum 308 drivers/usb/gadget/udc/fusb300_udc.c if (ep->epnum) { epnum 310 drivers/usb/gadget/udc/fusb300_udc.c FUSB300_IGER0_EEPn_FIFO_INT(ep->epnum)); epnum 489 drivers/usb/gadget/udc/fusb300_udc.c fusb300_set_epnstall(fusb300, ep->epnum); epnum 494 drivers/usb/gadget/udc/fusb300_udc.c fusb300_clear_epnstall(fusb300, ep->epnum); epnum 617 drivers/usb/gadget/udc/fusb300_udc.c FUSB300_OFFSET_EPPORT(ep->epnum)); epnum 628 drivers/usb/gadget/udc/fusb300_udc.c FUSB300_OFFSET_EPPORT(ep->epnum)); epnum 633 drivers/usb/gadget/udc/fusb300_udc.c FUSB300_OFFSET_EPPORT(ep->epnum)); epnum 639 drivers/usb/gadget/udc/fusb300_udc.c FUSB300_OFFSET_EPPORT(ep->epnum)); epnum 777 drivers/usb/gadget/udc/fusb300_udc.c fusb300_clear_seqnum(fusb300, ep->epnum); epnum 778 drivers/usb/gadget/udc/fusb300_udc.c fusb300_clear_epnstall(fusb300, ep->epnum); epnum 879 drivers/usb/gadget/udc/fusb300_udc.c if (ep->epnum) { epnum 896 drivers/usb/gadget/udc/fusb300_udc.c FUSB300_OFFSET_EPPRD_W0(ep->epnum)); epnum 900 drivers/usb/gadget/udc/fusb300_udc.c iowrite32(d, ep->fusb300->reg + FUSB300_OFFSET_EPPRD_W1(ep->epnum)); epnum 904 drivers/usb/gadget/udc/fusb300_udc.c iowrite32(value, ep->fusb300->reg + FUSB300_OFFSET_EPPRD_W0(ep->epnum)); epnum 906 drivers/usb/gadget/udc/fusb300_udc.c iowrite32(0x0, ep->fusb300->reg + FUSB300_OFFSET_EPPRD_W2(ep->epnum)); epnum 909 drivers/usb/gadget/udc/fusb300_udc.c FUSB300_EPPRDR_EP_PRD_RDY(ep->epnum)); epnum 925 drivers/usb/gadget/udc/fusb300_udc.c reg &= FUSB300_IGR0_EPn_PRD_INT(ep->epnum); epnum 929 drivers/usb/gadget/udc/fusb300_udc.c FUSB300_IGR0_EPn_PRD_INT(ep->epnum)); epnum 934 drivers/usb/gadget/udc/fusb300_udc.c reg &= ~FUSB300_IGER0_EEPn_PRD_INT(ep->epnum); epnum 949 drivers/usb/gadget/udc/fusb300_udc.c FUSB300_IGER0_EEPn_PRD_INT(ep->epnum)); epnum 974 drivers/usb/gadget/udc/fusb300_udc.c u32 reg = ioread32(fusb300->reg + FUSB300_OFFSET_EPFFR(ep->epnum)); epnum 1466 drivers/usb/gadget/udc/fusb300_udc.c fusb300->ep[0]->epnum = 0; epnum 623 drivers/usb/gadget/udc/fusb300_udc.h u8 epnum; epnum 648 drivers/usb/gadget/udc/fusb300_udc.h unsigned char epnum; epnum 84 drivers/usb/gadget/udc/goku_udc.c command(struct goku_udc_regs __iomem *regs, int command, unsigned epnum) epnum 86 drivers/usb/gadget/udc/goku_udc.c writel(COMMAND_EP(epnum) | command, ®s->Command); epnum 501 drivers/usb/gadget/udc/goku_udc.c struct goku_udc_regs __iomem *regs, int epnum) epnum 503 drivers/usb/gadget/udc/goku_udc.c dev->int_enable |= INT_EPxDATASET (epnum); epnum 510 drivers/usb/gadget/udc/goku_udc.c struct goku_udc_regs __iomem *regs, int epnum) epnum 512 drivers/usb/gadget/udc/goku_udc.c dev->int_enable &= ~INT_EPxDATASET (epnum); epnum 135 drivers/usb/gadget/udc/goku_udc.h #define DATASET_A(epnum) (1<<(2*(epnum))) epnum 136 drivers/usb/gadget/udc/goku_udc.h #define DATASET_B(epnum) (2<<(2*(epnum))) epnum 137 drivers/usb/gadget/udc/goku_udc.h #define DATASET_AB(epnum) (3<<(2*(epnum))) epnum 984 drivers/usb/gadget/udc/gr_udc.c u8 epnum = index & USB_ENDPOINT_NUMBER_MASK; epnum 987 drivers/usb/gadget/udc/gr_udc.c if ((is_in && epnum >= dev->nepi) || (!is_in && epnum >= dev->nepo)) epnum 990 drivers/usb/gadget/udc/gr_udc.c if (dev->gadget.state != USB_STATE_CONFIGURED && epnum != 0) epnum 993 drivers/usb/gadget/udc/gr_udc.c ep = (is_in ? &dev->epi[epnum] : &dev->epo[epnum]); epnum 240 drivers/usb/gadget/udc/m66592-udc.c pipecfg |= info->epnum; epnum 436 drivers/usb/gadget/udc/m66592-udc.c info.epnum = desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; epnum 429 drivers/usb/gadget/udc/m66592-udc.h u16 epnum; epnum 1891 drivers/usb/gadget/udc/omap_udc.c int epnum; epnum 1902 drivers/usb/gadget/udc/omap_udc.c epnum = (epn_stat >> 8) & 0x0f; epnum 1905 drivers/usb/gadget/udc/omap_udc.c ep = &udc->ep[epnum]; epnum 1908 drivers/usb/gadget/udc/omap_udc.c omap_writew(epnum | UDC_EP_SEL, UDC_EP_NUM); epnum 1924 drivers/usb/gadget/udc/omap_udc.c omap_writew(epnum, UDC_EP_NUM); epnum 1938 drivers/usb/gadget/udc/omap_udc.c epnum = epn_stat & 0x0f; epnum 1941 drivers/usb/gadget/udc/omap_udc.c ep = &udc->ep[16 + epnum]; epnum 1944 drivers/usb/gadget/udc/omap_udc.c omap_writew(epnum | UDC_EP_DIR | UDC_EP_SEL, UDC_EP_NUM); epnum 1956 drivers/usb/gadget/udc/omap_udc.c omap_writew(epnum | UDC_EP_DIR, UDC_EP_NUM); epnum 330 drivers/usb/gadget/udc/r8a66597-udc.c pipecfg |= info->epnum; epnum 509 drivers/usb/gadget/udc/r8a66597-udc.c info.epnum = usb_endpoint_num(desc); epnum 43 drivers/usb/gadget/udc/r8a66597-udc.h u16 epnum; epnum 289 drivers/usb/gadget/udc/s3c-hsudc.c int epnum; epnum 293 drivers/usb/gadget/udc/s3c-hsudc.c for (epnum = 0; epnum < hsudc->pd->epnum; epnum++) { epnum 294 drivers/usb/gadget/udc/s3c-hsudc.c hsep = &hsudc->ep[epnum]; epnum 592 drivers/usb/gadget/udc/s3c-hsudc.c u8 epnum; epnum 604 drivers/usb/gadget/udc/s3c-hsudc.c epnum = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; epnum 605 drivers/usb/gadget/udc/s3c-hsudc.c hsep = &hsudc->ep[epnum]; epnum 974 drivers/usb/gadget/udc/s3c-hsudc.c struct s3c_hsudc_ep *hsep, int epnum) epnum 978 drivers/usb/gadget/udc/s3c-hsudc.c if ((epnum % 2) == 0) { epnum 985 drivers/usb/gadget/udc/s3c-hsudc.c hsep->bEndpointAddress |= epnum; epnum 986 drivers/usb/gadget/udc/s3c-hsudc.c if (epnum) epnum 987 drivers/usb/gadget/udc/s3c-hsudc.c snprintf(hsep->name, sizeof(hsep->name), "ep%d%s", epnum, dir); epnum 993 drivers/usb/gadget/udc/s3c-hsudc.c if (epnum) epnum 998 drivers/usb/gadget/udc/s3c-hsudc.c usb_ep_set_maxpacket_limit(&hsep->ep, epnum ? 512 : 64); epnum 1000 drivers/usb/gadget/udc/s3c-hsudc.c hsep->fifo = hsudc->regs + S3C_BR(epnum); epnum 1005 drivers/usb/gadget/udc/s3c-hsudc.c if (epnum == 0) { epnum 1015 drivers/usb/gadget/udc/s3c-hsudc.c if (epnum & 1) epnum 1020 drivers/usb/gadget/udc/s3c-hsudc.c set_index(hsudc, epnum); epnum 1032 drivers/usb/gadget/udc/s3c-hsudc.c int epnum; epnum 1036 drivers/usb/gadget/udc/s3c-hsudc.c for (epnum = 0; epnum < hsudc->pd->epnum; epnum++) epnum 1037 drivers/usb/gadget/udc/s3c-hsudc.c s3c_hsudc_initep(hsudc, &hsudc->ep[epnum], epnum); epnum 1113 drivers/usb/gadget/udc/s3c-hsudc.c for (ep_idx = 0; ep_idx < hsudc->pd->epnum; ep_idx++) { epnum 1272 drivers/usb/gadget/udc/s3c-hsudc.c sizeof(struct s3c_hsudc_ep) * pd->epnum, epnum 1601 drivers/usb/gadget/udc/udc-xilinx.c int epnum; epnum 1615 drivers/usb/gadget/udc/udc-xilinx.c epnum = udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK; epnum 1616 drivers/usb/gadget/udc/udc-xilinx.c target_ep = &udc->ep[epnum]; epnum 1945 drivers/usb/gadget/udc/udc-xilinx.c static void xudc_nonctrl_ep_handler(struct xusb_udc *udc, u8 epnum, epnum 1952 drivers/usb/gadget/udc/udc-xilinx.c ep = &udc->ep[epnum]; epnum 1954 drivers/usb/gadget/udc/udc-xilinx.c if (intrstatus & (XUSB_STATUS_EP0_BUFF1_COMP_MASK << epnum)) epnum 1956 drivers/usb/gadget/udc/udc-xilinx.c if (intrstatus & (XUSB_STATUS_EP0_BUFF2_COMP_MASK << epnum)) epnum 1023 drivers/usb/host/ehci-hcd.c int epnum = usb_endpoint_num(&ep->desc); epnum 1046 drivers/usb/host/ehci-hcd.c usb_settoggle(qh->ps.udev, epnum, is_out, 0); epnum 95 drivers/usb/host/ehci-q.c unsigned is_out, epnum; epnum 98 drivers/usb/host/ehci-q.c epnum = (hc32_to_cpup(ehci, &hw->hw_info1) >> 8) & 0x0f; epnum 99 drivers/usb/host/ehci-q.c if (unlikely(!usb_gettoggle(qh->ps.udev, epnum, is_out))) { epnum 101 drivers/usb/host/ehci-q.c usb_settoggle(qh->ps.udev, epnum, is_out, 1); epnum 1024 drivers/usb/host/ehci-q.c int epnum, epnum 1047 drivers/usb/host/ehci-q.c if (unlikely (epnum == 0)) { epnum 1108 drivers/usb/host/ehci-q.c int epnum; epnum 1113 drivers/usb/host/ehci-q.c epnum = urb->ep->desc.bEndpointAddress; epnum 1122 drivers/usb/host/ehci-q.c epnum & 0x0f, (epnum & USB_DIR_IN) ? "in" : "out", epnum 1137 drivers/usb/host/ehci-q.c qh = qh_append_tds(ehci, urb, qtd_list, epnum, &urb->ep->hcpriv); epnum 923 drivers/usb/host/ehci-sched.c unsigned epnum; epnum 930 drivers/usb/host/ehci-sched.c epnum = urb->ep->desc.bEndpointAddress; epnum 944 drivers/usb/host/ehci-sched.c qh = qh_append_tds(ehci, urb, &empty, epnum, &urb->ep->hcpriv); epnum 956 drivers/usb/host/ehci-sched.c qh = qh_append_tds(ehci, urb, qtd_list, epnum, &urb->ep->hcpriv); epnum 1040 drivers/usb/host/ehci-sched.c unsigned epnum, maxp; epnum 1048 drivers/usb/host/ehci-sched.c epnum = usb_pipeendpoint(urb->pipe); epnum 1062 drivers/usb/host/ehci-sched.c stream->buf0 = cpu_to_hc32(ehci, (epnum << 8) | dev->devnum); epnum 1093 drivers/usb/host/ehci-sched.c addr |= epnum << 8; epnum 1134 drivers/usb/host/ehci-sched.c stream->bEndpointAddress = is_input | epnum; epnum 1141 drivers/usb/host/ehci-sched.c unsigned epnum; epnum 1146 drivers/usb/host/ehci-sched.c epnum = usb_pipeendpoint (urb->pipe); epnum 1148 drivers/usb/host/ehci-sched.c ep = urb->dev->ep_in[epnum]; epnum 1150 drivers/usb/host/ehci-sched.c ep = urb->dev->ep_out[epnum]; epnum 1165 drivers/usb/host/ehci-sched.c urb->dev->devpath, epnum, epnum 2051 drivers/usb/host/fotg210-hcd.c unsigned is_out, epnum; epnum 2054 drivers/usb/host/fotg210-hcd.c epnum = (hc32_to_cpup(fotg210, &hw->hw_info1) >> 8) & 0x0f; epnum 2055 drivers/usb/host/fotg210-hcd.c if (unlikely(!usb_gettoggle(qh->dev, epnum, is_out))) { epnum 2057 drivers/usb/host/fotg210-hcd.c usb_settoggle(qh->dev, epnum, is_out, 1); epnum 2949 drivers/usb/host/fotg210-hcd.c int epnum, void **ptr) epnum 2970 drivers/usb/host/fotg210-hcd.c if (unlikely(epnum == 0)) { epnum 3024 drivers/usb/host/fotg210-hcd.c int epnum; epnum 3029 drivers/usb/host/fotg210-hcd.c epnum = urb->ep->desc.bEndpointAddress; epnum 3039 drivers/usb/host/fotg210-hcd.c epnum & 0x0f, (epnum & USB_DIR_IN) epnum 3055 drivers/usb/host/fotg210-hcd.c qh = qh_append_tds(fotg210, urb, qtd_list, epnum, &urb->ep->hcpriv); epnum 3828 drivers/usb/host/fotg210-hcd.c unsigned epnum; epnum 3835 drivers/usb/host/fotg210-hcd.c epnum = urb->ep->desc.bEndpointAddress; epnum 3849 drivers/usb/host/fotg210-hcd.c qh = qh_append_tds(fotg210, urb, &empty, epnum, &urb->ep->hcpriv); epnum 3861 drivers/usb/host/fotg210-hcd.c qh = qh_append_tds(fotg210, urb, qtd_list, epnum, &urb->ep->hcpriv); epnum 3927 drivers/usb/host/fotg210-hcd.c unsigned epnum, maxp; epnum 3936 drivers/usb/host/fotg210-hcd.c epnum = usb_pipeendpoint(pipe); epnum 3949 drivers/usb/host/fotg210-hcd.c stream->buf0 = cpu_to_hc32(fotg210, (epnum << 8) | dev->devnum); epnum 3970 drivers/usb/host/fotg210-hcd.c stream->bEndpointAddress = is_input | epnum; epnum 3978 drivers/usb/host/fotg210-hcd.c unsigned epnum; epnum 3983 drivers/usb/host/fotg210-hcd.c epnum = usb_pipeendpoint(urb->pipe); epnum 3985 drivers/usb/host/fotg210-hcd.c ep = urb->dev->ep_in[epnum]; epnum 3987 drivers/usb/host/fotg210-hcd.c ep = urb->dev->ep_out[epnum]; epnum 4004 drivers/usb/host/fotg210-hcd.c urb->dev->devpath, epnum, epnum 5450 drivers/usb/host/fotg210-hcd.c int epnum = usb_endpoint_num(&ep->desc); epnum 5466 drivers/usb/host/fotg210-hcd.c usb_settoggle(qh->dev, epnum, is_out, 0); epnum 251 drivers/usb/host/isp116x-hcd.c toggle = usb_gettoggle(urb->dev, ep->epnum, 0); epnum 255 drivers/usb/host/isp116x-hcd.c toggle = usb_gettoggle(urb->dev, ep->epnum, 1); epnum 278 drivers/usb/host/isp116x-hcd.c | PTD_EP(ep->epnum); epnum 381 drivers/usb/host/isp116x-hcd.c usb_settoggle(udev, ep->epnum, epnum 415 drivers/usb/host/isp116x-hcd.c usb_settoggle(udev, ep->epnum, 1, PTD_GET_TOGGLE(ptd) epnum 418 drivers/usb/host/isp116x-hcd.c usb_settoggle(udev, ep->epnum, 0, PTD_GET_TOGGLE(ptd) epnum 690 drivers/usb/host/isp116x-hcd.c int epnum = usb_pipeendpoint(pipe); epnum 728 drivers/usb/host/isp116x-hcd.c ep->epnum = epnum; epnum 730 drivers/usb/host/isp116x-hcd.c usb_settoggle(udev, epnum, is_out, 0); epnum 308 drivers/usb/host/isp116x.h u8 epnum; epnum 278 drivers/usb/host/isp1362-hcd.c toggle = usb_gettoggle(urb->dev, ep->epnum, 0); epnum 291 drivers/usb/host/isp1362-hcd.c toggle = usb_gettoggle(urb->dev, ep->epnum, 1); epnum 331 drivers/usb/host/isp1362-hcd.c PTD_EP(ep->epnum); epnum 553 drivers/usb/host/isp1362-hcd.c usb_settoggle(udev, ep->epnum, ep->nextpid == USB_PID_OUT, epnum 579 drivers/usb/host/isp1362-hcd.c usb_settoggle(udev, ep->epnum, 1, PTD_GET_TOGGLE(ptd)); epnum 604 drivers/usb/host/isp1362-hcd.c usb_settoggle(udev, ep->epnum, 0, PTD_GET_TOGGLE(ptd)); epnum 1225 drivers/usb/host/isp1362-hcd.c int epnum = usb_pipeendpoint(pipe); epnum 1239 drivers/usb/host/isp1362-hcd.c usb_pipedevice(pipe), epnum, epnum 1281 drivers/usb/host/isp1362-hcd.c ep->epnum = epnum; epnum 1285 drivers/usb/host/isp1362-hcd.c usb_settoggle(udev, epnum, is_out, 0); epnum 2098 drivers/usb/host/isp1362-hcd.c seq_printf(s, "%p, ep%d%s, maxpacket %d:\n", ep, ep->epnum, epnum 2138 drivers/usb/host/isp1362-hcd.c ep->udev->devnum, ep->epnum, epnum 2139 drivers/usb/host/isp1362-hcd.c (ep->epnum == 0) ? "" : epnum 2151 drivers/usb/host/isp1362-hcd.c ep->udev->devnum, ep->epnum, epnum 2152 drivers/usb/host/isp1362-hcd.c (ep->epnum == 0) ? "" : epnum 388 drivers/usb/host/isp1362.h u8 epnum; epnum 495 drivers/usb/host/max3421-hcd.c max3421_set_address(struct usb_hcd *hcd, struct usb_device *dev, int epnum, epnum 506 drivers/usb/host/max3421-hcd.c same_ep = (dev == old_dev && epnum == old_epnum); epnum 522 drivers/usb/host/max3421-hcd.c rcvtog = usb_gettoggle(dev, epnum, 0); epnum 523 drivers/usb/host/max3421-hcd.c sndtog = usb_gettoggle(dev, epnum, 1); epnum 527 drivers/usb/host/max3421-hcd.c max3421_hcd->loaded_epnum = epnum; epnum 550 drivers/usb/host/max3421-hcd.c int epnum = usb_pipeendpoint(urb->pipe); epnum 554 drivers/usb/host/max3421-hcd.c return MAX3421_HXFR_BULK_IN(epnum); epnum 562 drivers/usb/host/max3421-hcd.c int epnum = usb_pipeendpoint(urb->pipe); epnum 575 drivers/usb/host/max3421-hcd.c return MAX3421_HXFR_BULK_OUT(epnum); epnum 596 drivers/usb/host/max3421-hcd.c return MAX3421_HXFR_BULK_OUT(epnum); epnum 670 drivers/usb/host/max3421-hcd.c int epnum, force_toggles = 0; epnum 766 drivers/usb/host/max3421-hcd.c epnum = usb_endpoint_num(&urb->ep->desc); epnum 777 drivers/usb/host/max3421-hcd.c usb_settoggle(urb->dev, epnum, 0, 1); epnum 778 drivers/usb/host/max3421-hcd.c usb_settoggle(urb->dev, epnum, 1, 1); epnum 788 drivers/usb/host/max3421-hcd.c max3421_set_address(hcd, urb->dev, epnum, force_toggles); epnum 1191 drivers/usb/host/max3421-hcd.c int epnum, ret; epnum 1211 drivers/usb/host/max3421-hcd.c epnum = usb_endpoint_num(&ep->desc); epnum 1213 drivers/usb/host/max3421-hcd.c epnum, max3421_ep->pkt_state, max3421_ep->last_active, epnum 1260 drivers/usb/host/oxu210hp-hcd.c unsigned is_out, epnum; epnum 1263 drivers/usb/host/oxu210hp-hcd.c epnum = (le32_to_cpup(&qh->hw_info1) >> 8) & 0x0f; epnum 1264 drivers/usb/host/oxu210hp-hcd.c if (unlikely(!usb_gettoggle(qh->dev, epnum, is_out))) { epnum 1266 drivers/usb/host/oxu210hp-hcd.c usb_settoggle(qh->dev, epnum, is_out, 1); epnum 1964 drivers/usb/host/oxu210hp-hcd.c int epnum, void **ptr) epnum 1984 drivers/usb/host/oxu210hp-hcd.c if (unlikely(epnum == 0)) { epnum 2041 drivers/usb/host/oxu210hp-hcd.c int epnum; epnum 2047 drivers/usb/host/oxu210hp-hcd.c epnum = urb->ep->desc.bEndpointAddress; epnum 2052 drivers/usb/host/oxu210hp-hcd.c epnum & 0x0f, (epnum & USB_DIR_IN) ? "in" : "out", epnum 2063 drivers/usb/host/oxu210hp-hcd.c qh = qh_append_tds(oxu, urb, qtd_list, epnum, &urb->ep->hcpriv); epnum 2615 drivers/usb/host/oxu210hp-hcd.c unsigned epnum; epnum 2622 drivers/usb/host/oxu210hp-hcd.c epnum = urb->ep->desc.bEndpointAddress; epnum 2633 drivers/usb/host/oxu210hp-hcd.c qh = qh_append_tds(oxu, urb, &empty, epnum, &urb->ep->hcpriv); epnum 2645 drivers/usb/host/oxu210hp-hcd.c qh = qh_append_tds(oxu, urb, qtd_list, epnum, &urb->ep->hcpriv); epnum 619 drivers/usb/host/r8a66597-hcd.c val |= info->type | info->epnum; epnum 777 drivers/usb/host/r8a66597-hcd.c USB_ENDPOINT_DIR_MASK + info->epnum epnum 778 drivers/usb/host/r8a66597-hcd.c : info->epnum); epnum 943 drivers/usb/host/r8a66597-hcd.c info.epnum = usb_endpoint_num(ep); epnum 1788 drivers/usb/host/r8a66597-hcd.c td->pipe->info.epnum == new_td->pipe->info.epnum); epnum 35 drivers/usb/host/r8a66597.h u16 epnum; epnum 215 drivers/usb/host/sl811-hcd.c && usb_gettoggle(urb->dev, ep->epnum, 0)) epnum 222 drivers/usb/host/sl811-hcd.c writeb(SL_IN | ep->epnum, data_reg); epnum 229 drivers/usb/host/sl811-hcd.c !!usb_gettoggle(urb->dev, ep->epnum, 0), ep, len); epnum 255 drivers/usb/host/sl811-hcd.c && usb_gettoggle(urb->dev, ep->epnum, 1)) epnum 265 drivers/usb/host/sl811-hcd.c writeb(SL_OUT | ep->epnum, data_reg); epnum 272 drivers/usb/host/sl811-hcd.c !!usb_gettoggle(urb->dev, ep->epnum, 1), ep, len); epnum 508 drivers/usb/host/sl811-hcd.c usb_dotoggle(udev, ep->epnum, 1); epnum 536 drivers/usb/host/sl811-hcd.c usb_dotoggle(udev, ep->epnum, 0); epnum 800 drivers/usb/host/sl811-hcd.c int epnum = usb_pipeendpoint(pipe); epnum 844 drivers/usb/host/sl811-hcd.c ep->epnum = epnum; epnum 847 drivers/usb/host/sl811-hcd.c usb_settoggle(udev, epnum, is_out, 0); epnum 860 drivers/usb/host/sl811-hcd.c epnum, ep->maxpacket); epnum 1442 drivers/usb/host/sl811-hcd.c ep, ep->epnum, epnum 1479 drivers/usb/host/sl811-hcd.c ep->udev->devnum, ep->epnum, epnum 1480 drivers/usb/host/sl811-hcd.c (ep->epnum == 0) ? "" epnum 175 drivers/usb/host/sl811.h u8 epnum; epnum 270 drivers/usb/host/xhci-trace.h __field(int, epnum) epnum 285 drivers/usb/host/xhci-trace.h __entry->epnum = usb_endpoint_num(&urb->ep->desc); epnum 291 drivers/usb/host/xhci-trace.h __entry->epnum, __entry->dir_in ? "in" : "out", epnum 93 drivers/usb/mon/mon_bin.c unsigned char epnum; /* Endpoint number and transfer direction */ epnum 569 drivers/usb/mon/mon_bin.c ep->epnum = dir | usb_endpoint_num(epd); epnum 656 drivers/usb/mon/mon_bin.c ep->epnum = usb_urb_dir_in(urb) ? USB_DIR_IN : 0; epnum 657 drivers/usb/mon/mon_bin.c ep->epnum |= usb_endpoint_num(&urb->ep->desc); epnum 63 drivers/usb/mon/mon_text.c char epnum; epnum 214 drivers/usb/mon/mon_text.c ep->epnum = usb_endpoint_num(&urb->ep->desc); epnum 286 drivers/usb/mon/mon_text.c ep->epnum = usb_endpoint_num(&urb->ep->desc); epnum 526 drivers/usb/mon/mon_text.c utype, udir, ep->devnum, ep->epnum); epnum 544 drivers/usb/mon/mon_text.c utype, udir, ep->busnum, ep->devnum, ep->epnum); epnum 32 drivers/usb/mtu3/mtu3.h #define MU3D_EP_TXCR0(epnum) (U3D_TX1CSR0 + (((epnum) - 1) * 0x10)) epnum 33 drivers/usb/mtu3/mtu3.h #define MU3D_EP_TXCR1(epnum) (U3D_TX1CSR1 + (((epnum) - 1) * 0x10)) epnum 34 drivers/usb/mtu3/mtu3.h #define MU3D_EP_TXCR2(epnum) (U3D_TX1CSR2 + (((epnum) - 1) * 0x10)) epnum 36 drivers/usb/mtu3/mtu3.h #define MU3D_EP_RXCR0(epnum) (U3D_RX1CSR0 + (((epnum) - 1) * 0x10)) epnum 37 drivers/usb/mtu3/mtu3.h #define MU3D_EP_RXCR1(epnum) (U3D_RX1CSR1 + (((epnum) - 1) * 0x10)) epnum 38 drivers/usb/mtu3/mtu3.h #define MU3D_EP_RXCR2(epnum) (U3D_RX1CSR2 + (((epnum) - 1) * 0x10)) epnum 40 drivers/usb/mtu3/mtu3.h #define USB_QMU_TQHIAR(epnum) (U3D_TXQHIAR1 + (((epnum) - 1) * 0x4)) epnum 41 drivers/usb/mtu3/mtu3.h #define USB_QMU_RQHIAR(epnum) (U3D_RXQHIAR1 + (((epnum) - 1) * 0x4)) epnum 43 drivers/usb/mtu3/mtu3.h #define USB_QMU_RQCSR(epnum) (U3D_RXQCSR1 + (((epnum) - 1) * 0x10)) epnum 44 drivers/usb/mtu3/mtu3.h #define USB_QMU_RQSAR(epnum) (U3D_RXQSAR1 + (((epnum) - 1) * 0x10)) epnum 45 drivers/usb/mtu3/mtu3.h #define USB_QMU_RQCPR(epnum) (U3D_RXQCPR1 + (((epnum) - 1) * 0x10)) epnum 47 drivers/usb/mtu3/mtu3.h #define USB_QMU_TQCSR(epnum) (U3D_TXQCSR1 + (((epnum) - 1) * 0x10)) epnum 48 drivers/usb/mtu3/mtu3.h #define USB_QMU_TQSAR(epnum) (U3D_TXQSAR1 + (((epnum) - 1) * 0x10)) epnum 49 drivers/usb/mtu3/mtu3.h #define USB_QMU_TQCPR(epnum) (U3D_TXQCPR1 + (((epnum) - 1) * 0x10)) epnum 280 drivers/usb/mtu3/mtu3.h u8 epnum; epnum 306 drivers/usb/mtu3/mtu3.h int epnum; epnum 209 drivers/usb/mtu3/mtu3_core.c u32 rst_bit = EP_RST(mep->is_in, mep->epnum); epnum 220 drivers/usb/mtu3/mtu3_core.c u8 epnum = mep->epnum; epnum 224 drivers/usb/mtu3/mtu3_core.c csr = mtu3_readl(mbase, MU3D_EP_TXCR0(epnum)) & TX_W1C_BITS; epnum 229 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR0(epnum), csr); epnum 231 drivers/usb/mtu3/mtu3_core.c csr = mtu3_readl(mbase, MU3D_EP_RXCR0(epnum)) & RX_W1C_BITS; epnum 236 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR0(epnum), csr); epnum 306 drivers/usb/mtu3/mtu3_core.c int epnum = mep->epnum; epnum 346 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_QIESR0, QMU_TX_DONE_INT(epnum)); epnum 348 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR0(epnum), csr0); epnum 349 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR1(epnum), csr1); epnum 350 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR2(epnum), csr2); epnum 353 drivers/usb/mtu3/mtu3_core.c epnum, mtu3_readl(mbase, MU3D_EP_TXCR0(epnum)), epnum 354 drivers/usb/mtu3/mtu3_core.c mtu3_readl(mbase, MU3D_EP_TXCR1(epnum)), epnum 355 drivers/usb/mtu3/mtu3_core.c mtu3_readl(mbase, MU3D_EP_TXCR2(epnum))); epnum 382 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_QIESR0, QMU_RX_DONE_INT(epnum)); epnum 384 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR0(epnum), csr0); epnum 385 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR1(epnum), csr1); epnum 386 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR2(epnum), csr2); epnum 389 drivers/usb/mtu3/mtu3_core.c epnum, mtu3_readl(mbase, MU3D_EP_RXCR0(epnum)), epnum 390 drivers/usb/mtu3/mtu3_core.c mtu3_readl(mbase, MU3D_EP_RXCR1(epnum)), epnum 391 drivers/usb/mtu3/mtu3_core.c mtu3_readl(mbase, MU3D_EP_RXCR2(epnum))); epnum 406 drivers/usb/mtu3/mtu3_core.c int epnum = mep->epnum; epnum 409 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR0(epnum), 0); epnum 410 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR1(epnum), 0); epnum 411 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR2(epnum), 0); epnum 412 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_QIECR0, QMU_TX_DONE_INT(epnum)); epnum 414 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR0(epnum), 0); epnum 415 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR1(epnum), 0); epnum 416 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR2(epnum), 0); epnum 417 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_QIECR0, QMU_RX_DONE_INT(epnum)); epnum 523 drivers/usb/mtu3/mtu3_core.c mtu->ep0->epnum = 0; epnum 147 drivers/usb/mtu3/mtu3_debugfs.c int epnum = mep->epnum; epnum 155 drivers/usb/mtu3/mtu3_debugfs.c regs[0].offset = in ? MU3D_EP_TXCR0(epnum) : MU3D_EP_RXCR0(epnum); epnum 157 drivers/usb/mtu3/mtu3_debugfs.c regs[1].offset = in ? MU3D_EP_TXCR1(epnum) : MU3D_EP_RXCR1(epnum); epnum 159 drivers/usb/mtu3/mtu3_debugfs.c regs[2].offset = in ? MU3D_EP_TXCR2(epnum) : MU3D_EP_RXCR2(epnum); epnum 161 drivers/usb/mtu3/mtu3_debugfs.c regs[3].offset = in ? USB_QMU_TQHIAR(epnum) : USB_QMU_RQHIAR(epnum); epnum 163 drivers/usb/mtu3/mtu3_debugfs.c regs[4].offset = in ? USB_QMU_TQCSR(epnum) : USB_QMU_RQCSR(epnum); epnum 165 drivers/usb/mtu3/mtu3_debugfs.c regs[5].offset = in ? USB_QMU_TQSAR(epnum) : USB_QMU_RQSAR(epnum); epnum 167 drivers/usb/mtu3/mtu3_debugfs.c regs[6].offset = in ? USB_QMU_TQCPR(epnum) : USB_QMU_RQCPR(epnum); epnum 34 drivers/usb/mtu3/mtu3_gadget.c if (mep->epnum) epnum 57 drivers/usb/mtu3/mtu3_gadget.c if (mep->epnum) epnum 176 drivers/usb/mtu3/mtu3_gadget.c if (usb_endpoint_num(desc) != mep->epnum) epnum 248 drivers/usb/mtu3/mtu3_gadget.c mreq->epnum = mep->epnum; epnum 287 drivers/usb/mtu3/mtu3_gadget.c __func__, mep->is_in ? "TX" : "RX", mreq->epnum, ep->name, epnum 614 drivers/usb/mtu3/mtu3_gadget.c u32 epnum, u32 is_in) epnum 616 drivers/usb/mtu3/mtu3_gadget.c mep->epnum = epnum; epnum 622 drivers/usb/mtu3/mtu3_gadget.c sprintf(mep->name, "ep%d%s", epnum, epnum 623 drivers/usb/mtu3/mtu3_gadget.c !epnum ? "" : (is_in ? "in" : "out")); epnum 629 drivers/usb/mtu3/mtu3_gadget.c if (!epnum) { epnum 646 drivers/usb/mtu3/mtu3_gadget.c if (!epnum) { epnum 658 drivers/usb/mtu3/mtu3_gadget.c u8 epnum; epnum 667 drivers/usb/mtu3/mtu3_gadget.c for (epnum = 1; epnum < mtu->num_eps; epnum++) { epnum 668 drivers/usb/mtu3/mtu3_gadget.c init_hw_ep(mtu, mtu->in_eps + epnum, epnum, 1); epnum 669 drivers/usb/mtu3/mtu3_gadget.c init_hw_ep(mtu, mtu->out_eps + epnum, epnum, 0); epnum 86 drivers/usb/mtu3/mtu3_gadget_ep0.c __func__, mep->epnum, len, src); epnum 107 drivers/usb/mtu3/mtu3_gadget_ep0.c __func__, mep->epnum, len, dst); epnum 202 drivers/usb/mtu3/mtu3_gadget_ep0.c u8 epnum = 0; epnum 222 drivers/usb/mtu3/mtu3_gadget_ep0.c epnum = (u8) le16_to_cpu(setup->wIndex); epnum 223 drivers/usb/mtu3/mtu3_gadget_ep0.c is_in = epnum & USB_DIR_IN; epnum 224 drivers/usb/mtu3/mtu3_gadget_ep0.c epnum &= USB_ENDPOINT_NUMBER_MASK; epnum 226 drivers/usb/mtu3/mtu3_gadget_ep0.c if (epnum >= mtu->num_eps) { epnum 230 drivers/usb/mtu3/mtu3_gadget_ep0.c if (!epnum) epnum 233 drivers/usb/mtu3/mtu3_gadget_ep0.c mep = (is_in ? mtu->in_eps : mtu->out_eps) + epnum; epnum 379 drivers/usb/mtu3/mtu3_gadget_ep0.c u8 epnum; epnum 400 drivers/usb/mtu3/mtu3_gadget_ep0.c epnum = index & USB_ENDPOINT_NUMBER_MASK; epnum 401 drivers/usb/mtu3/mtu3_gadget_ep0.c if (epnum == 0 || epnum >= mtu->num_eps || epnum 406 drivers/usb/mtu3/mtu3_gadget_ep0.c mep = (is_in ? mtu->in_eps : mtu->out_eps) + epnum; epnum 280 drivers/usb/mtu3/mtu3_hw_regs.h #define EP_RST(is_in, epnum) (((is_in) ? BIT(16) : BIT(0)) << (epnum)) epnum 73 drivers/usb/mtu3/mtu3_qmu.c static dma_addr_t read_txq_cur_addr(void __iomem *mbase, u8 epnum) epnum 78 drivers/usb/mtu3/mtu3_qmu.c txcpr = mtu3_readl(mbase, USB_QMU_TQCPR(epnum)); epnum 79 drivers/usb/mtu3/mtu3_qmu.c txhiar = mtu3_readl(mbase, USB_QMU_TQHIAR(epnum)); epnum 84 drivers/usb/mtu3/mtu3_qmu.c static dma_addr_t read_rxq_cur_addr(void __iomem *mbase, u8 epnum) epnum 89 drivers/usb/mtu3/mtu3_qmu.c rxcpr = mtu3_readl(mbase, USB_QMU_RQCPR(epnum)); epnum 90 drivers/usb/mtu3/mtu3_qmu.c rxhiar = mtu3_readl(mbase, USB_QMU_RQHIAR(epnum)); epnum 95 drivers/usb/mtu3/mtu3_qmu.c static void write_txq_start_addr(void __iomem *mbase, u8 epnum, dma_addr_t dma) epnum 99 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, USB_QMU_TQSAR(epnum), epnum 101 drivers/usb/mtu3/mtu3_qmu.c tqhiar = mtu3_readl(mbase, USB_QMU_TQHIAR(epnum)); epnum 104 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, USB_QMU_TQHIAR(epnum), tqhiar); epnum 107 drivers/usb/mtu3/mtu3_qmu.c static void write_rxq_start_addr(void __iomem *mbase, u8 epnum, dma_addr_t dma) epnum 111 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, USB_QMU_RQSAR(epnum), epnum 113 drivers/usb/mtu3/mtu3_qmu.c rqhiar = mtu3_readl(mbase, USB_QMU_RQHIAR(epnum)); epnum 116 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, USB_QMU_RQHIAR(epnum), rqhiar); epnum 193 drivers/usb/mtu3/mtu3_qmu.c int epnum = mep->epnum; epnum 196 drivers/usb/mtu3/mtu3_qmu.c offset = mep->is_in ? USB_QMU_TQCSR(epnum) : USB_QMU_RQCSR(epnum); epnum 262 drivers/usb/mtu3/mtu3_qmu.c mep->epnum, gpd, enq, &enq_dma); epnum 303 drivers/usb/mtu3/mtu3_qmu.c mep->epnum, gpd, enq, &enq_dma); epnum 331 drivers/usb/mtu3/mtu3_qmu.c u8 epnum = mep->epnum; epnum 335 drivers/usb/mtu3/mtu3_qmu.c write_txq_start_addr(mbase, epnum, ring->dma); epnum 336 drivers/usb/mtu3/mtu3_qmu.c mtu3_setbits(mbase, MU3D_EP_TXCR0(epnum), TX_DMAREQEN); epnum 338 drivers/usb/mtu3/mtu3_qmu.c mtu3_setbits(mbase, U3D_QCR1, QMU_TX_ZLP(epnum)); epnum 340 drivers/usb/mtu3/mtu3_qmu.c QMU_TX_LEN_ERR(epnum) | QMU_TX_CS_ERR(epnum)); epnum 342 drivers/usb/mtu3/mtu3_qmu.c if (mtu3_readl(mbase, USB_QMU_TQCSR(epnum)) & QMU_Q_ACTIVE) { epnum 343 drivers/usb/mtu3/mtu3_qmu.c dev_warn(mtu->dev, "Tx %d Active Now!\n", epnum); epnum 346 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, USB_QMU_TQCSR(epnum), QMU_Q_START); epnum 349 drivers/usb/mtu3/mtu3_qmu.c write_rxq_start_addr(mbase, epnum, ring->dma); epnum 350 drivers/usb/mtu3/mtu3_qmu.c mtu3_setbits(mbase, MU3D_EP_RXCR0(epnum), RX_DMAREQEN); epnum 352 drivers/usb/mtu3/mtu3_qmu.c mtu3_clrbits(mbase, U3D_QCR3, QMU_RX_ZLP(epnum)); epnum 354 drivers/usb/mtu3/mtu3_qmu.c mtu3_setbits(mbase, U3D_QCR3, QMU_RX_COZ(epnum)); epnum 356 drivers/usb/mtu3/mtu3_qmu.c QMU_RX_LEN_ERR(epnum) | QMU_RX_CS_ERR(epnum)); epnum 357 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, U3D_RQERRIESR1, QMU_RX_ZLP_ERR(epnum)); epnum 359 drivers/usb/mtu3/mtu3_qmu.c if (mtu3_readl(mbase, USB_QMU_RQCSR(epnum)) & QMU_Q_ACTIVE) { epnum 360 drivers/usb/mtu3/mtu3_qmu.c dev_warn(mtu->dev, "Rx %d Active Now!\n", epnum); epnum 363 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, USB_QMU_RQCSR(epnum), QMU_Q_START); epnum 374 drivers/usb/mtu3/mtu3_qmu.c int epnum = mep->epnum; epnum 379 drivers/usb/mtu3/mtu3_qmu.c qcsr = mep->is_in ? USB_QMU_TQCSR(epnum) : USB_QMU_RQCSR(epnum); epnum 413 drivers/usb/mtu3/mtu3_qmu.c static void qmu_tx_zlp_error_handler(struct mtu3 *mtu, u8 epnum) epnum 415 drivers/usb/mtu3/mtu3_qmu.c struct mtu3_ep *mep = mtu->in_eps + epnum; epnum 428 drivers/usb/mtu3/mtu3_qmu.c cur_gpd_dma = read_txq_cur_addr(mbase, epnum); epnum 432 drivers/usb/mtu3/mtu3_qmu.c dev_err(mtu->dev, "TX EP%d buffer length error(!=0)\n", epnum); epnum 439 drivers/usb/mtu3/mtu3_qmu.c mtu3_clrbits(mbase, MU3D_EP_TXCR0(mep->epnum), TX_DMAREQEN); epnum 441 drivers/usb/mtu3/mtu3_qmu.c ret = readl_poll_timeout_atomic(mbase + MU3D_EP_TXCR0(mep->epnum), epnum 447 drivers/usb/mtu3/mtu3_qmu.c mtu3_setbits(mbase, MU3D_EP_TXCR0(mep->epnum), TX_TXPKTRDY); epnum 453 drivers/usb/mtu3/mtu3_qmu.c mtu3_setbits(mbase, MU3D_EP_TXCR0(mep->epnum), TX_DMAREQEN); epnum 464 drivers/usb/mtu3/mtu3_qmu.c static void qmu_done_tx(struct mtu3 *mtu, u8 epnum) epnum 466 drivers/usb/mtu3/mtu3_qmu.c struct mtu3_ep *mep = mtu->in_eps + epnum; epnum 476 drivers/usb/mtu3/mtu3_qmu.c cur_gpd_dma = read_txq_cur_addr(mbase, epnum); epnum 480 drivers/usb/mtu3/mtu3_qmu.c __func__, epnum, gpd, gpd_current, ring->enqueue); epnum 500 drivers/usb/mtu3/mtu3_qmu.c __func__, epnum, ring->dequeue, ring->enqueue); epnum 504 drivers/usb/mtu3/mtu3_qmu.c static void qmu_done_rx(struct mtu3 *mtu, u8 epnum) epnum 506 drivers/usb/mtu3/mtu3_qmu.c struct mtu3_ep *mep = mtu->out_eps + epnum; epnum 515 drivers/usb/mtu3/mtu3_qmu.c cur_gpd_dma = read_rxq_cur_addr(mbase, epnum); epnum 519 drivers/usb/mtu3/mtu3_qmu.c __func__, epnum, gpd, gpd_current, ring->enqueue); epnum 539 drivers/usb/mtu3/mtu3_qmu.c __func__, epnum, ring->dequeue, ring->enqueue); epnum 263 drivers/usb/musb/cppi_dma.c static inline void core_rxirq_disable(void __iomem *tibase, unsigned epnum) epnum 265 drivers/usb/musb/cppi_dma.c musb_writel(tibase, DAVINCI_USB_INT_MASK_CLR_REG, 1 << (epnum + 8)); epnum 268 drivers/usb/musb/cppi_dma.c static inline void core_rxirq_enable(void __iomem *tibase, unsigned epnum) epnum 270 drivers/usb/musb/cppi_dma.c musb_writel(tibase, DAVINCI_USB_INT_MASK_SET_REG, 1 << (epnum + 8)); epnum 295 drivers/usb/musb/cppi_dma.c index = ep->epnum - 1; epnum 312 drivers/usb/musb/cppi_dma.c core_rxirq_disable(tibase, ep->epnum); epnum 218 drivers/usb/musb/musb_core.c static u32 musb_default_fifo_offset(u8 epnum) epnum 220 drivers/usb/musb/musb_core.c return 0x20 + (epnum * 4); epnum 224 drivers/usb/musb/musb_core.c static void musb_flat_ep_select(void __iomem *mbase, u8 epnum) epnum 228 drivers/usb/musb/musb_core.c static u32 musb_flat_ep_offset(u8 epnum, u16 offset) epnum 230 drivers/usb/musb/musb_core.c return 0x100 + (0x10 * epnum) + offset; epnum 234 drivers/usb/musb/musb_core.c static void musb_indexed_ep_select(void __iomem *mbase, u8 epnum) epnum 236 drivers/usb/musb/musb_core.c musb_writeb(mbase, MUSB_INDEX, epnum); epnum 239 drivers/usb/musb/musb_core.c static u32 musb_indexed_ep_offset(u8 epnum, u16 offset) epnum 244 drivers/usb/musb/musb_core.c static u32 musb_default_busctl_offset(u8 epnum, u16 offset) epnum 246 drivers/usb/musb/musb_core.c return 0x80 + (0x08 * epnum) + offset; epnum 292 drivers/usb/musb/musb_core.c 'T', hw_ep->epnum, fifo, len, src); epnum 334 drivers/usb/musb/musb_core.c 'R', hw_ep->epnum, fifo, len, dst); epnum 978 drivers/usb/musb/musb_core.c u8 epnum; epnum 987 drivers/usb/musb/musb_core.c for (epnum = 1; (epnum < musb->nr_endpoints) epnum 988 drivers/usb/musb/musb_core.c && (musb->epmask >= (1 << epnum)); epnum 989 drivers/usb/musb/musb_core.c epnum++, ep++) { epnum 998 drivers/usb/musb/musb_core.c epnum); epnum 1000 drivers/usb/musb/musb_core.c musb_h_tx_start(musb, epnum); epnum 1002 drivers/usb/musb/musb_core.c cppi_hostdma_start(musb, epnum); epnum 1271 drivers/usb/musb/musb_core.c musb_writeb(mbase, MUSB_INDEX, hw_ep->epnum); epnum 1276 drivers/usb/musb/musb_core.c if (hw_ep->epnum == 1) epnum 1310 drivers/usb/musb/musb_core.c musb->epmask |= (1 << hw_ep->epnum); epnum 1411 drivers/usb/musb/musb_core.c u8 epnum = 0; epnum 1420 drivers/usb/musb/musb_core.c for (epnum = 1; epnum < musb->config->num_eps; epnum++) { epnum 1421 drivers/usb/musb/musb_core.c musb_ep_select(mbase, epnum); epnum 1422 drivers/usb/musb/musb_core.c hw_ep = musb->endpoints + epnum; epnum 1424 drivers/usb/musb/musb_core.c ret = musb_read_fifosize(musb, hw_ep, epnum); epnum 1591 drivers/usb/musb/musb_core.c unsigned long epnum; epnum 1636 drivers/usb/musb/musb_core.c for_each_set_bit(epnum, &status, 16) { epnum 1639 drivers/usb/musb/musb_core.c musb_host_tx(musb, epnum); epnum 1641 drivers/usb/musb/musb_core.c musb_g_tx(musb, epnum); epnum 1646 drivers/usb/musb/musb_core.c for_each_set_bit(epnum, &status, 16) { epnum 1649 drivers/usb/musb/musb_core.c musb_host_rx(musb, epnum); epnum 1651 drivers/usb/musb/musb_core.c musb_g_rx(musb, epnum); epnum 1665 drivers/usb/musb/musb_core.c void musb_dma_completion(struct musb *musb, u8 epnum, u8 transmit) epnum 1669 drivers/usb/musb/musb_core.c if (!epnum) { epnum 1681 drivers/usb/musb/musb_core.c musb_host_tx(musb, epnum); epnum 1683 drivers/usb/musb/musb_core.c musb_g_tx(musb, epnum); epnum 1687 drivers/usb/musb/musb_core.c musb_host_rx(musb, epnum); epnum 1689 drivers/usb/musb/musb_core.c musb_g_rx(musb, epnum); epnum 1999 drivers/usb/musb/musb_core.c int epnum; epnum 2018 drivers/usb/musb/musb_core.c for (epnum = 0, ep = musb->endpoints; epnum 2019 drivers/usb/musb/musb_core.c epnum < musb->config->num_eps; epnum 2020 drivers/usb/musb/musb_core.c epnum++, ep++) { epnum 2022 drivers/usb/musb/musb_core.c ep->epnum = epnum; epnum 159 drivers/usb/musb/musb_core.h u32 (*ep_offset)(u8 epnum, u16 offset); epnum 160 drivers/usb/musb/musb_core.h void (*ep_select)(void __iomem *mbase, u8 epnum); epnum 162 drivers/usb/musb/musb_core.h u32 (*fifo_offset)(u8 epnum); epnum 163 drivers/usb/musb/musb_core.h u32 (*busctl_offset)(u8 epnum, u16 offset); epnum 183 drivers/usb/musb/musb_core.h void (*clear_ep_rxintr)(struct musb *musb, int epnum); epnum 201 drivers/usb/musb/musb_core.h u8 epnum; epnum 444 drivers/usb/musb/musb_core.h struct musb_hw_ep *hw_ep, u8 epnum) epnum 450 drivers/usb/musb/musb_core.h reg = musb_readb(mbase, musb->io.ep_offset(epnum, MUSB_FIFOSIZE)); epnum 456 drivers/usb/musb/musb_core.h musb->epmask |= (1 << epnum); epnum 577 drivers/usb/musb/musb_core.h static inline void musb_platform_clear_ep_rxintr(struct musb *musb, int epnum) epnum 580 drivers/usb/musb/musb_core.h musb->ops->clear_ep_rxintr(musb, epnum); epnum 82 drivers/usb/musb/musb_cppi41.c musb_ep_select(musb->mregs, hw_ep->epnum); epnum 102 drivers/usb/musb/musb_cppi41.c u8 epnum = hw_ep->epnum; epnum 104 drivers/usb/musb/musb_cppi41.c void __iomem *epio = musb->endpoints[epnum].regs; epnum 107 drivers/usb/musb/musb_cppi41.c musb_ep_select(musb->mregs, hw_ep->epnum); epnum 139 drivers/usb/musb/musb_cppi41.c musb_ep_select(musb->mregs, hw_ep->epnum); epnum 145 drivers/usb/musb/musb_cppi41.c musb_dma_completion(musb, hw_ep->epnum, cppi41_channel->is_tx); epnum 177 drivers/usb/musb/musb_cppi41.c musb_ep_select(musb->mregs, hw_ep->epnum); epnum 488 drivers/usb/musb/musb_cppi41.c u8 ch_num = hw_ep->epnum - 1; epnum 171 drivers/usb/musb/musb_dma.h extern void musb_dma_completion(struct musb *musb, u8 epnum, u8 transmit); epnum 303 drivers/usb/musb/musb_dsps.c static void dsps_musb_clear_ep_rxintr(struct musb *musb, int epnum) epnum 310 drivers/usb/musb/musb_dsps.c epintr = (1 << epnum) << wrp->rxep_shift; epnum 225 drivers/usb/musb/musb_gadget.c u8 epnum = req->epnum; epnum 227 drivers/usb/musb/musb_gadget.c void __iomem *epio = musb->endpoints[epnum].regs; epnum 267 drivers/usb/musb/musb_gadget.c epnum, musb_ep->packet_sz, fifo_count, epnum 406 drivers/usb/musb/musb_gadget.c void musb_g_tx(struct musb *musb, u8 epnum) epnum 412 drivers/usb/musb/musb_gadget.c struct musb_ep *musb_ep = &musb->endpoints[epnum].ep_in; epnum 413 drivers/usb/musb/musb_gadget.c void __iomem *epio = musb->endpoints[epnum].regs; epnum 416 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); epnum 442 drivers/usb/musb/musb_gadget.c epnum, request); epnum 467 drivers/usb/musb/musb_gadget.c epnum, csr, musb_ep->dma->actual_len, request); epnum 500 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); epnum 520 drivers/usb/musb/musb_gadget.c const u8 epnum = req->epnum; epnum 523 drivers/usb/musb/musb_gadget.c void __iomem *epio = musb->endpoints[epnum].regs; epnum 527 drivers/usb/musb/musb_gadget.c struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; epnum 787 drivers/usb/musb/musb_gadget.c void musb_g_rx(struct musb *musb, u8 epnum) epnum 794 drivers/usb/musb/musb_gadget.c void __iomem *epio = musb->endpoints[epnum].regs; epnum 796 drivers/usb/musb/musb_gadget.c struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; epnum 803 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); epnum 889 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); epnum 914 drivers/usb/musb/musb_gadget.c u8 epnum; epnum 927 drivers/usb/musb/musb_gadget.c epnum = musb_ep->current_epnum; epnum 938 drivers/usb/musb/musb_gadget.c if (usb_endpoint_num(desc) != epnum) epnum 966 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); epnum 979 drivers/usb/musb/musb_gadget.c musb->intrtxe |= (1 << epnum); epnum 1018 drivers/usb/musb/musb_gadget.c musb->intrrxe |= (1 << epnum); epnum 1085 drivers/usb/musb/musb_gadget.c u8 epnum; epnum 1092 drivers/usb/musb/musb_gadget.c epnum = musb_ep->current_epnum; epnum 1093 drivers/usb/musb/musb_gadget.c epio = musb->endpoints[epnum].regs; epnum 1096 drivers/usb/musb/musb_gadget.c musb_ep_select(musb->mregs, epnum); epnum 1100 drivers/usb/musb/musb_gadget.c musb->intrtxe &= ~(1 << epnum); epnum 1104 drivers/usb/musb/musb_gadget.c musb->intrrxe &= ~(1 << epnum); epnum 1138 drivers/usb/musb/musb_gadget.c request->epnum = musb_ep->current_epnum; epnum 1172 drivers/usb/musb/musb_gadget.c musb_ep_select(musb->mregs, req->epnum); epnum 1227 drivers/usb/musb/musb_gadget.c request->epnum = musb_ep->current_epnum; epnum 1327 drivers/usb/musb/musb_gadget.c u8 epnum = musb_ep->current_epnum; epnum 1329 drivers/usb/musb/musb_gadget.c void __iomem *epio = musb->endpoints[epnum].regs; epnum 1347 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); epnum 1430 drivers/usb/musb/musb_gadget.c int epnum = musb_ep->current_epnum; epnum 1436 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); epnum 1449 drivers/usb/musb/musb_gadget.c u8 epnum = musb_ep->current_epnum; epnum 1450 drivers/usb/musb/musb_gadget.c void __iomem *epio = musb->endpoints[epnum].regs; epnum 1458 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, (u8) epnum); epnum 1461 drivers/usb/musb/musb_gadget.c musb_writew(mbase, MUSB_INTRTXE, musb->intrtxe & ~(1 << epnum)); epnum 1691 drivers/usb/musb/musb_gadget.c init_peripheral_ep(struct musb *musb, struct musb_ep *ep, u8 epnum, int is_in) epnum 1693 drivers/usb/musb/musb_gadget.c struct musb_hw_ep *hw_ep = musb->endpoints + epnum; epnum 1697 drivers/usb/musb/musb_gadget.c ep->current_epnum = epnum; epnum 1704 drivers/usb/musb/musb_gadget.c sprintf(ep->name, "ep%d%s", epnum, epnum 1705 drivers/usb/musb/musb_gadget.c (!epnum || hw_ep->is_shared_fifo) ? "" : ( epnum 1709 drivers/usb/musb/musb_gadget.c if (!epnum) { epnum 1726 drivers/usb/musb/musb_gadget.c if (!epnum || hw_ep->is_shared_fifo) { epnum 1741 drivers/usb/musb/musb_gadget.c u8 epnum; epnum 1748 drivers/usb/musb/musb_gadget.c for (epnum = 0, hw_ep = musb->endpoints; epnum 1749 drivers/usb/musb/musb_gadget.c epnum < musb->nr_endpoints; epnum 1750 drivers/usb/musb/musb_gadget.c epnum++, hw_ep++) { epnum 1752 drivers/usb/musb/musb_gadget.c init_peripheral_ep(musb, &hw_ep->ep_in, epnum, 0); epnum 1757 drivers/usb/musb/musb_gadget.c epnum, 1); epnum 1762 drivers/usb/musb/musb_gadget.c epnum, 0); epnum 33 drivers/usb/musb/musb_gadget.h static inline void musb_g_tx(struct musb *musb, u8 epnum) {} epnum 34 drivers/usb/musb/musb_gadget.h static inline void musb_g_rx(struct musb *musb, u8 epnum) {} epnum 59 drivers/usb/musb/musb_gadget.h u8 epnum; epnum 56 drivers/usb/musb/musb_gadget_ep0.c u8 result[2], epnum = 0; epnum 85 drivers/usb/musb/musb_gadget_ep0.c epnum = (u8) ctrlrequest->wIndex; epnum 86 drivers/usb/musb/musb_gadget_ep0.c if (!epnum) { epnum 91 drivers/usb/musb/musb_gadget_ep0.c is_in = epnum & USB_DIR_IN; epnum 92 drivers/usb/musb/musb_gadget_ep0.c epnum &= 0x0f; epnum 93 drivers/usb/musb/musb_gadget_ep0.c if (epnum >= MUSB_C_NUM_EPS) { epnum 99 drivers/usb/musb/musb_gadget_ep0.c ep = &musb->endpoints[epnum].ep_in; epnum 101 drivers/usb/musb/musb_gadget_ep0.c ep = &musb->endpoints[epnum].ep_out; epnum 102 drivers/usb/musb/musb_gadget_ep0.c regs = musb->endpoints[epnum].regs; epnum 109 drivers/usb/musb/musb_gadget_ep0.c musb_ep_select(mbase, epnum); epnum 236 drivers/usb/musb/musb_gadget_ep0.c const u8 epnum = epnum 245 drivers/usb/musb/musb_gadget_ep0.c if (epnum == 0 || epnum >= MUSB_C_NUM_EPS || epnum 249 drivers/usb/musb/musb_gadget_ep0.c ep = musb->endpoints + epnum; epnum 264 drivers/usb/musb/musb_gadget_ep0.c musb_ep_select(mbase, epnum); epnum 401 drivers/usb/musb/musb_gadget_ep0.c const u8 epnum = epnum 409 drivers/usb/musb/musb_gadget_ep0.c if (epnum == 0 || epnum >= MUSB_C_NUM_EPS || epnum 413 drivers/usb/musb/musb_gadget_ep0.c ep = musb->endpoints + epnum; epnum 423 drivers/usb/musb/musb_gadget_ep0.c musb_ep_select(mbase, epnum); epnum 79 drivers/usb/musb/musb_host.c static void musb_ep_program(struct musb *musb, u8 epnum, epnum 115 drivers/usb/musb/musb_host.c ep->epnum, csr)) epnum 138 drivers/usb/musb/musb_host.c ep->epnum, csr); epnum 153 drivers/usb/musb/musb_host.c if (ep->epnum) { epnum 204 drivers/usb/musb/musb_host.c int epnum = hw_ep->epnum; epnum 235 drivers/usb/musb/musb_host.c musb_ep_program(musb, epnum, urb, !is_in, buf, offset, len); epnum 258 drivers/usb/musb/musb_host.c musb_dbg(musb, "SOF for %d", epnum); epnum 266 drivers/usb/musb/musb_host.c musb_dbg(musb, "Start TX%d %s", epnum, epnum 306 drivers/usb/musb/musb_host.c usb_settoggle(urb->dev, qh->epnum, !is_in, csr ? 1 : 0); epnum 397 drivers/usb/musb/musb_host.c hw_ep->epnum, is_in ? 'R' : 'T', next_urb(qh)); epnum 425 drivers/usb/musb/musb_host.c musb_host_packet_rx(struct musb *musb, struct urb *urb, u8 epnum, u8 iso_err) epnum 433 drivers/usb/musb/musb_host.c struct musb_hw_ep *hw_ep = musb->endpoints + epnum; epnum 441 drivers/usb/musb/musb_host.c musb_dbg(musb, "RX%d count %d, buffer %p len %d/%d", epnum, rx_count, epnum 526 drivers/usb/musb/musb_host.c musb_rx_reinit(struct musb *musb, struct musb_qh *qh, u8 epnum) epnum 528 drivers/usb/musb/musb_host.c struct musb_hw_ep *ep = musb->endpoints + epnum; epnum 558 drivers/usb/musb/musb_host.c WARNING("rx%d, packet/%d ready?\n", ep->epnum, epnum 565 drivers/usb/musb/musb_host.c musb_write_rxfunaddr(musb, epnum, qh->addr_reg); epnum 566 drivers/usb/musb/musb_host.c musb_write_rxhubaddr(musb, epnum, qh->h_addr_reg); epnum 567 drivers/usb/musb/musb_host.c musb_write_rxhubport(musb, epnum, qh->h_port_reg); epnum 687 drivers/usb/musb/musb_host.c static void musb_ep_program(struct musb *musb, u8 epnum, epnum 695 drivers/usb/musb/musb_host.c struct musb_hw_ep *hw_ep = musb->endpoints + epnum; epnum 705 drivers/usb/musb/musb_host.c epnum, urb, urb->dev->speed, epnum 706 drivers/usb/musb/musb_host.c qh->addr_reg, qh->epnum, is_out ? "out" : "in", epnum 710 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); epnum 722 drivers/usb/musb/musb_host.c if (use_dma && is_dma_capable() && epnum && dma_controller) { epnum 747 drivers/usb/musb/musb_host.c musb_writew(mbase, MUSB_INTRTXE, int_txe & ~(1 << epnum)); epnum 750 drivers/usb/musb/musb_host.c if (epnum) { epnum 776 drivers/usb/musb/musb_host.c if (usb_gettoggle(urb->dev, qh->epnum, 1)) epnum 795 drivers/usb/musb/musb_host.c musb_write_txfunaddr(musb, epnum, qh->addr_reg); epnum 796 drivers/usb/musb/musb_host.c musb_write_txhubaddr(musb, epnum, qh->h_addr_reg); epnum 797 drivers/usb/musb/musb_host.c musb_write_txhubport(musb, epnum, qh->h_port_reg); epnum 803 drivers/usb/musb/musb_host.c if (epnum) { epnum 866 drivers/usb/musb/musb_host.c musb_rx_reinit(musb, qh, epnum); epnum 869 drivers/usb/musb/musb_host.c if (usb_gettoggle(urb->dev, qh->epnum, 0)) epnum 884 drivers/usb/musb/musb_host.c hw_ep->epnum, csr); epnum 918 drivers/usb/musb/musb_host.c musb_dbg(musb, "RXCSR%d := %04x", epnum, csr); epnum 937 drivers/usb/musb/musb_host.c musb_ep_select(mbase, ep->epnum); epnum 1221 drivers/usb/musb/musb_host.c void musb_host_tx(struct musb *musb, u8 epnum) epnum 1228 drivers/usb/musb/musb_host.c struct musb_hw_ep *hw_ep = musb->endpoints + epnum; epnum 1237 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); epnum 1242 drivers/usb/musb/musb_host.c musb_dbg(musb, "extra TX%d ready, csr %04x", epnum, tx_csr); epnum 1249 drivers/usb/musb/musb_host.c musb_dbg(musb, "OUT/TX%d end, csr %04x%s", epnum, tx_csr, epnum 1255 drivers/usb/musb/musb_host.c musb_dbg(musb, "TX end %d stall", epnum); epnum 1262 drivers/usb/musb/musb_host.c musb_dbg(musb, "TX 3strikes on ep=%d", epnum); epnum 1269 drivers/usb/musb/musb_host.c musb_dbg(musb, "NAK timeout on TX%d ep", epnum); epnum 1272 drivers/usb/musb/musb_host.c musb_dbg(musb, "TX ep%d device not responding", epnum); epnum 1281 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); epnum 1307 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); epnum 1318 drivers/usb/musb/musb_host.c musb_dbg(musb, "extra TX%d ready, csr %04x", epnum, tx_csr); epnum 1483 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); epnum 1755 drivers/usb/musb/musb_host.c void musb_host_rx(struct musb *musb, u8 epnum) epnum 1758 drivers/usb/musb/musb_host.c struct musb_hw_ep *hw_ep = musb->endpoints + epnum; epnum 1771 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); epnum 1787 drivers/usb/musb/musb_host.c epnum, val, musb_readw(epio, MUSB_RXCOUNT)); epnum 1797 drivers/usb/musb/musb_host.c musb_dbg(musb, "RX end %d STALL", epnum); epnum 1803 drivers/usb/musb/musb_host.c musb_dbg(musb, "end %d RX proto error", epnum); epnum 1814 drivers/usb/musb/musb_host.c musb_dbg(musb, "RX end %d NAK timeout", epnum); epnum 1830 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); epnum 1837 drivers/usb/musb/musb_host.c musb_dbg(musb, "RX end %d ISO data error", epnum); epnum 1843 drivers/usb/musb/musb_host.c epnum); epnum 1863 drivers/usb/musb/musb_host.c ERR("RX%d dma busy, csr %04x\n", epnum, rx_csr); epnum 1887 drivers/usb/musb/musb_host.c musb_dbg(musb, "RXCSR%d %04x, reqpkt, len %zu%s", epnum, rx_csr, epnum 1891 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); epnum 1910 drivers/usb/musb/musb_host.c epnum, done ? "off" : "reset", epnum 1927 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); epnum 1938 drivers/usb/musb/musb_host.c epnum, musb_readw(epio, MUSB_RXCOUNT), epnum 1978 drivers/usb/musb/musb_host.c done = musb_host_packet_rx(musb, urb, epnum, epnum 1987 drivers/usb/musb/musb_host.c epnum, iso_err); epnum 2020 drivers/usb/musb/musb_host.c int best_end, epnum; epnum 2046 drivers/usb/musb/musb_host.c for (epnum = 1, hw_ep = musb->endpoints + 1; epnum 2047 drivers/usb/musb/musb_host.c epnum < musb->nr_endpoints; epnum 2048 drivers/usb/musb/musb_host.c epnum++, hw_ep++) { epnum 2077 drivers/usb/musb/musb_host.c hw_ep = musb->endpoints + epnum; epnum 2078 drivers/usb/musb/musb_host.c toggle = usb_gettoggle(urb->dev, qh->epnum, !is_in); epnum 2086 drivers/usb/musb/musb_host.c best_end = epnum; epnum 2215 drivers/usb/musb/musb_host.c qh->epnum = usb_endpoint_num(epd); epnum 2221 drivers/usb/musb/musb_host.c type_reg = (qh->type << 4) | qh->epnum; epnum 2333 drivers/usb/musb/musb_host.c unsigned hw_end = ep->epnum; epnum 2347 drivers/usb/musb/musb_host.c is_in ? 'R' : 'T', ep->epnum, epnum 2354 drivers/usb/musb/musb_host.c if (ep->epnum && is_in) { epnum 2360 drivers/usb/musb/musb_host.c musb_platform_clear_ep_rxintr(musb, ep->epnum); epnum 2361 drivers/usb/musb/musb_host.c } else if (ep->epnum) { epnum 36 drivers/usb/musb/musb_host.h u8 epnum; epnum 96 drivers/usb/musb/musb_host.h static inline void musb_host_tx(struct musb *musb, u8 epnum) {} epnum 97 drivers/usb/musb/musb_host.h static inline void musb_host_rx(struct musb *musb, u8 epnum) {} epnum 27 drivers/usb/musb/musb_io.h u32 (*ep_offset)(u8 epnum, u16 offset); epnum 28 drivers/usb/musb/musb_io.h void (*ep_select)(void __iomem *mbase, u8 epnum); epnum 29 drivers/usb/musb/musb_io.h u32 (*fifo_offset)(u8 epnum); epnum 32 drivers/usb/musb/musb_io.h u32 (*busctl_offset)(u8 epnum, u16 offset); epnum 282 drivers/usb/musb/musb_regs.h static inline void musb_write_rxfunaddr(struct musb *musb, u8 epnum, epnum 286 drivers/usb/musb/musb_regs.h musb->io.busctl_offset(epnum, MUSB_RXFUNCADDR), epnum 290 drivers/usb/musb/musb_regs.h static inline void musb_write_rxhubaddr(struct musb *musb, u8 epnum, epnum 293 drivers/usb/musb/musb_regs.h musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_RXHUBADDR), epnum 297 drivers/usb/musb/musb_regs.h static inline void musb_write_rxhubport(struct musb *musb, u8 epnum, epnum 300 drivers/usb/musb/musb_regs.h musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_RXHUBPORT), epnum 304 drivers/usb/musb/musb_regs.h static inline void musb_write_txfunaddr(struct musb *musb, u8 epnum, epnum 308 drivers/usb/musb/musb_regs.h musb->io.busctl_offset(epnum, MUSB_TXFUNCADDR), epnum 312 drivers/usb/musb/musb_regs.h static inline void musb_write_txhubaddr(struct musb *musb, u8 epnum, epnum 315 drivers/usb/musb/musb_regs.h musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_TXHUBADDR), epnum 319 drivers/usb/musb/musb_regs.h static inline void musb_write_txhubport(struct musb *musb, u8 epnum, epnum 322 drivers/usb/musb/musb_regs.h musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_TXHUBPORT), epnum 326 drivers/usb/musb/musb_regs.h static inline u8 musb_read_rxfunaddr(struct musb *musb, u8 epnum) epnum 329 drivers/usb/musb/musb_regs.h musb->io.busctl_offset(epnum, MUSB_RXFUNCADDR)); epnum 332 drivers/usb/musb/musb_regs.h static inline u8 musb_read_rxhubaddr(struct musb *musb, u8 epnum) epnum 335 drivers/usb/musb/musb_regs.h musb->io.busctl_offset(epnum, MUSB_RXHUBADDR)); epnum 338 drivers/usb/musb/musb_regs.h static inline u8 musb_read_rxhubport(struct musb *musb, u8 epnum) epnum 341 drivers/usb/musb/musb_regs.h musb->io.busctl_offset(epnum, MUSB_RXHUBPORT)); epnum 344 drivers/usb/musb/musb_regs.h static inline u8 musb_read_txfunaddr(struct musb *musb, u8 epnum) epnum 347 drivers/usb/musb/musb_regs.h musb->io.busctl_offset(epnum, MUSB_TXFUNCADDR)); epnum 350 drivers/usb/musb/musb_regs.h static inline u8 musb_read_txhubaddr(struct musb *musb, u8 epnum) epnum 353 drivers/usb/musb/musb_regs.h musb->io.busctl_offset(epnum, MUSB_TXHUBADDR)); epnum 356 drivers/usb/musb/musb_regs.h static inline u8 musb_read_txhubport(struct musb *musb, u8 epnum) epnum 359 drivers/usb/musb/musb_regs.h musb->io.busctl_offset(epnum, MUSB_TXHUBPORT)); epnum 216 drivers/usb/musb/musb_trace.h __field(u8, epnum) epnum 227 drivers/usb/musb/musb_trace.h __entry->epnum = req->epnum; epnum 236 drivers/usb/musb/musb_trace.h __entry->req, __entry->epnum, epnum 303 drivers/usb/musb/musb_trace.h __entry->hwep = ch->hw_ep->epnum; epnum 65 drivers/usb/musb/musbhsdma.c u8 epnum; epnum 118 drivers/usb/musb/musbhsdma.c musb_channel->epnum = hw_ep->epnum; epnum 169 drivers/usb/musb/musbhsdma.c csr |= (musb_channel->epnum << MUSB_HSDMA_ENDPOINT_SHIFT) epnum 195 drivers/usb/musb/musbhsdma.c musb_channel->epnum, epnum 237 drivers/usb/musb/musbhsdma.c offset = musb->io.ep_offset(musb_channel->epnum, epnum 250 drivers/usb/musb/musbhsdma.c offset = musb->io.ep_offset(musb_channel->epnum, epnum 353 drivers/usb/musb/musbhsdma.c u8 epnum = musb_channel->epnum; epnum 354 drivers/usb/musb/musbhsdma.c int offset = musb->io.ep_offset(epnum, epnum 362 drivers/usb/musb/musbhsdma.c musb_ep_select(mbase, epnum); epnum 375 drivers/usb/musb/musbhsdma.c musb_dma_completion(musb, musb_channel->epnum, epnum 392 drivers/usb/musb/sunxi.c static u32 sunxi_musb_fifo_offset(u8 epnum) epnum 394 drivers/usb/musb/sunxi.c return (epnum * 4); epnum 397 drivers/usb/musb/sunxi.c static u32 sunxi_musb_ep_offset(u8 epnum, u16 offset) epnum 405 drivers/usb/musb/sunxi.c static u32 sunxi_musb_busctl_offset(u8 epnum, u16 offset) epnum 126 drivers/usb/musb/tusb6010.c static u32 tusb_fifo_offset(u8 epnum) epnum 128 drivers/usb/musb/tusb6010.c return 0x200 + (epnum * 0x20); epnum 131 drivers/usb/musb/tusb6010.c static u32 tusb_ep_offset(u8 epnum, u16 offset) epnum 137 drivers/usb/musb/tusb6010.c static void tusb_ep_select(void __iomem *mbase, u8 epnum) epnum 139 drivers/usb/musb/tusb6010.c musb_writeb(mbase, MUSB_INDEX, epnum); epnum 224 drivers/usb/musb/tusb6010.c u8 epnum = hw_ep->epnum; epnum 229 drivers/usb/musb/tusb6010.c 'T', epnum, fifo, len, buf); epnum 231 drivers/usb/musb/tusb6010.c if (epnum) epnum 274 drivers/usb/musb/tusb6010.c u8 epnum = hw_ep->epnum; epnum 277 drivers/usb/musb/tusb6010.c 'R', epnum, fifo, len, buf); epnum 279 drivers/usb/musb/tusb6010.c if (epnum) epnum 33 drivers/usb/musb/tusb6010_omap.c int epnum; epnum 67 drivers/usb/musb/tusb6010_omap.c chdat->epnum, reg & 0xf); epnum 72 drivers/usb/musb/tusb6010_omap.c reg = (1 << 4) | chdat->epnum; epnum 74 drivers/usb/musb/tusb6010_omap.c reg = chdat->epnum; epnum 85 drivers/usb/musb/tusb6010_omap.c if ((reg & 0xf) != chdat->epnum) { epnum 87 drivers/usb/musb/tusb6010_omap.c chdat->epnum, reg & 0xf); epnum 112 drivers/usb/musb/tusb6010_omap.c chdat->epnum, chdat->tx ? "tx" : "rx"); epnum 158 drivers/usb/musb/tusb6010_omap.c musb_dma_completion(musb, chdat->epnum, chdat->tx); epnum 170 drivers/usb/musb/tusb6010_omap.c musb_ep_select(mbase, chdat->epnum); epnum 241 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "could not get dma for ep%i\n", chdat->epnum); epnum 287 drivers/usb/musb/tusb6010_omap.c chdat->epnum, chdat->tx ? "tx" : "rx", &dma_addr, epnum 317 drivers/usb/musb/tusb6010_omap.c chdat->epnum, chdat->tx ? "tx" : "rx", epnum 326 drivers/usb/musb/tusb6010_omap.c musb_ep_select(mbase, chdat->epnum); epnum 395 drivers/usb/musb/tusb6010_omap.c reg |= (chdat->epnum << (dmareq_nr * 5)); epnum 437 drivers/usb/musb/tusb6010_omap.c if (hw_ep->epnum == 0) { epnum 458 drivers/usb/musb/tusb6010_omap.c chdat->epnum = hw_ep->epnum; epnum 483 drivers/usb/musb/tusb6010_omap.c chdat->epnum, epnum 493 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "ep%i: Could not get a DMA channel\n", chdat->epnum); epnum 504 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "Release for ep%i\n", chdat->epnum); epnum 60 drivers/usb/musb/ux500_dma.c hw_ep->epnum); epnum 65 drivers/usb/musb/ux500_dma.c musb_dma_completion(musb, hw_ep->epnum, ux500_channel->is_tx); epnum 83 drivers/usb/musb/ux500_dma.c dma_addr_t usb_fifo_addr = (musb->io.fifo_offset(hw_ep->epnum) + epnum 135 drivers/usb/musb/ux500_dma.c u8 ch_num = hw_ep->epnum - 1; epnum 158 drivers/usb/musb/ux500_dma.c hw_ep->epnum, is_tx, ch_num); epnum 212 drivers/usb/musb/ux500_dma.c void __iomem *epio = musb->endpoints[ux500_channel->hw_ep->epnum].regs; epnum 408 drivers/usb/renesas_usbhs/pipe.c u16 epnum = 0; epnum 458 drivers/usb/renesas_usbhs/pipe.c epnum = 0; /* see usbhs_pipe_config_update() */ epnum 465 drivers/usb/renesas_usbhs/pipe.c epnum; epnum 503 drivers/usb/renesas_usbhs/pipe.c u16 epnum, u16 maxp) epnum 529 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_cfg_set(pipe, 0x000F | DBLB, epnum | dblb); epnum 94 drivers/usb/renesas_usbhs/pipe.h u16 epnum, u16 maxp); epnum 330 drivers/usb/usbip/stub_rx.c int epnum = pdu->base.ep; epnum 333 drivers/usb/usbip/stub_rx.c if (epnum < 0 || epnum > 15) epnum 337 drivers/usb/usbip/stub_rx.c ep = udev->ep_in[epnum & 0x7f]; epnum 339 drivers/usb/usbip/stub_rx.c ep = udev->ep_out[epnum & 0x7f]; epnum 347 drivers/usb/usbip/stub_rx.c return usb_sndctrlpipe(udev, epnum); epnum 349 drivers/usb/usbip/stub_rx.c return usb_rcvctrlpipe(udev, epnum); epnum 354 drivers/usb/usbip/stub_rx.c return usb_sndbulkpipe(udev, epnum); epnum 356 drivers/usb/usbip/stub_rx.c return usb_rcvbulkpipe(udev, epnum); epnum 361 drivers/usb/usbip/stub_rx.c return usb_sndintpipe(udev, epnum); epnum 363 drivers/usb/usbip/stub_rx.c return usb_rcvintpipe(udev, epnum); epnum 377 drivers/usb/usbip/stub_rx.c return usb_sndisocpipe(udev, epnum); epnum 379 drivers/usb/usbip/stub_rx.c return usb_rcvisocpipe(udev, epnum); epnum 384 drivers/usb/usbip/stub_rx.c dev_err(&sdev->udev->dev, "CMD_SUBMIT: invalid epnum %d\n", epnum); epnum 26 include/linux/platform_data/s3c-hsudc.h unsigned int epnum; epnum 1963 include/linux/usb.h unsigned epnum = usb_pipeendpoint(pipe); epnum 1967 include/linux/usb.h ep = udev->ep_out[epnum]; epnum 1970 include/linux/usb.h ep = udev->ep_in[epnum]; epnum 3392 sound/usb/mixer.c unsigned int epnum; epnum 3401 sound/usb/mixer.c epnum = usb_endpoint_num(ep); epnum 3412 sound/usb/mixer.c usb_rcvintpipe(mixer->chip->dev, epnum),