epn 974 arch/powerpc/kvm/book3s_hv_nested.c int ap, long epn) epn 983 arch/powerpc/kvm/book3s_hv_nested.c addr = epn << 12; epn 1065 arch/powerpc/kvm/book3s_hv_nested.c long epn; epn 1092 arch/powerpc/kvm/book3s_hv_nested.c epn = get_epn(rbval); epn 1094 arch/powerpc/kvm/book3s_hv_nested.c ret = kvmhv_emulate_tlbie_tlb_addr(vcpu, lpid, ap, epn); epn 60 drivers/media/platform/atmel/atmel-sama5d2-isc.c struct device_node *epn = NULL, *rem; epn 70 drivers/media/platform/atmel/atmel-sama5d2-isc.c epn = of_graph_get_next_endpoint(np, epn); epn 71 drivers/media/platform/atmel/atmel-sama5d2-isc.c if (!epn) epn 74 drivers/media/platform/atmel/atmel-sama5d2-isc.c rem = of_graph_get_remote_port_parent(epn); epn 77 drivers/media/platform/atmel/atmel-sama5d2-isc.c epn); epn 81 drivers/media/platform/atmel/atmel-sama5d2-isc.c ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), epn 129 drivers/media/platform/atmel/atmel-sama5d2-isc.c of_node_put(epn); epn 878 drivers/net/ethernet/cortina/gemini.c unsigned int pn, epn; epn 890 drivers/net/ethernet/cortina/gemini.c epn = (rw.bits.rptr >> fpp_order) - 1; epn 891 drivers/net/ethernet/cortina/gemini.c epn &= m_pn; epn 894 drivers/net/ethernet/cortina/gemini.c while (pn != epn) { epn 905 drivers/net/ethernet/cortina/gemini.c unsigned int fl = (pn - epn) & m_pn; epn 1596 drivers/staging/media/soc_camera/soc_camera.c struct device_node *epn = NULL, *rem; epn 1600 drivers/staging/media/soc_camera/soc_camera.c epn = of_graph_get_next_endpoint(np, epn); epn 1601 drivers/staging/media/soc_camera/soc_camera.c if (!epn) epn 1604 drivers/staging/media/soc_camera/soc_camera.c rem = of_graph_get_remote_port_parent(epn); epn 1606 drivers/staging/media/soc_camera/soc_camera.c dev_notice(dev, "no remote for %pOF\n", epn); epn 1612 drivers/staging/media/soc_camera/soc_camera.c soc_of_bind(ici, epn, rem); epn 1620 drivers/staging/media/soc_camera/soc_camera.c of_node_put(epn); epn 50 drivers/usb/gadget/udc/aspeed-vhub/core.c &req->req, ep->epn.is_in); epn 83 drivers/usb/gadget/udc/aspeed-vhub/dev.c if (ep && (ep->epn.stalled || ep->epn.wedged)) { epn 84 drivers/usb/gadget/udc/aspeed-vhub/dev.c ep->epn.stalled = false; epn 85 drivers/usb/gadget/udc/aspeed-vhub/dev.c ep->epn.wedged = false; epn 149 drivers/usb/gadget/udc/aspeed-vhub/dev.c if (!ep->epn.enabled || !ep->ep.desc || ep->epn.is_iso || epn 150 drivers/usb/gadget/udc/aspeed-vhub/dev.c ep->epn.is_in != !!(wIndex & USB_DIR_IN)) epn 155 drivers/usb/gadget/udc/aspeed-vhub/dev.c ep->epn.stalled = is_set; epn 190 drivers/usb/gadget/udc/aspeed-vhub/dev.c if (!ep->epn.enabled || !ep->ep.desc || ep->epn.is_iso || epn 191 drivers/usb/gadget/udc/aspeed-vhub/dev.c ep->epn.is_in != !!(wIndex & USB_DIR_IN)) epn 193 drivers/usb/gadget/udc/aspeed-vhub/dev.c if (ep->epn.stalled) epn 434 drivers/usb/gadget/udc/aspeed-vhub/dev.c ep->epn.g_idx, addr); epn 69 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.is_in) { epn 73 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(ep->buf_dma, ep->epn.regs + AST_VHUB_EP_DESC_BASE); epn 75 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.is_in) epn 77 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(req->req.dma + act, ep->epn.regs + AST_VHUB_EP_DESC_BASE); epn 83 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.regs + AST_VHUB_EP_DESC_STATUS); epn 85 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.regs + AST_VHUB_EP_DESC_STATUS); epn 95 drivers/usb/gadget/udc/aspeed-vhub/epn.c stat = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS); epn 101 drivers/usb/gadget/udc/aspeed-vhub/epn.c stat, ep->epn.is_in, req, req ? req->active : 0); epn 127 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (!req->req.dma && !ep->epn.is_in && len) epn 162 drivers/usb/gadget/udc/aspeed-vhub/epn.c return (ep->epn.d_last + AST_VHUB_DESCS_COUNT - ep->epn.d_next - 1) & epn 182 drivers/usb/gadget/udc/aspeed-vhub/epn.c act, len, ep->epn.chunk_max, ast_vhub_count_free_descs(ep)); epn 189 drivers/usb/gadget/udc/aspeed-vhub/epn.c d_num = ep->epn.d_next; epn 190 drivers/usb/gadget/udc/aspeed-vhub/epn.c desc = &ep->epn.descs[d_num]; epn 191 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.d_next = (d_num + 1) & (AST_VHUB_DESCS_COUNT - 1); epn 195 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (chunk <= ep->epn.chunk_max) { epn 207 drivers/usb/gadget/udc/aspeed-vhub/epn.c chunk = ep->epn.chunk_max; epn 239 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(VHUB_EP_DMA_SET_CPU_WPTR(ep->epn.d_next), epn 240 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.regs + AST_VHUB_EP_DESC_STATUS); epn 243 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.d_next, readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS)); epn 254 drivers/usb/gadget/udc/aspeed-vhub/epn.c stat = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS); epn 255 drivers/usb/gadget/udc/aspeed-vhub/epn.c stat1 = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS); epn 265 drivers/usb/gadget/udc/aspeed-vhub/epn.c stat, ep->epn.is_in, ep->epn.d_last, d_last); epn 268 drivers/usb/gadget/udc/aspeed-vhub/epn.c while (ep->epn.d_last != d_last) { epn 274 drivers/usb/gadget/udc/aspeed-vhub/epn.c d_num = ep->epn.d_last; epn 275 drivers/usb/gadget/udc/aspeed-vhub/epn.c desc = &ep->epn.descs[d_num]; epn 276 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.d_last = (d_num + 1) & (AST_VHUB_DESCS_COUNT - 1); epn 307 drivers/usb/gadget/udc/aspeed-vhub/epn.c CHECK(ep, d_last == ep->epn.d_last, epn 309 drivers/usb/gadget/udc/aspeed-vhub/epn.c d_last, ep->epn.d_last); epn 327 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.desc_mode) epn 354 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (!ep->epn.enabled || !u_ep->desc || !ep->dev || !ep->d_idx || epn 376 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.desc_mode || epn 378 drivers/usb/gadget/udc/aspeed-vhub/epn.c (ep->epn.is_in || !(u_req->length & (u_ep->maxpacket - 1))))) { epn 380 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.is_in); epn 393 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.is_in); epn 407 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.desc_mode) epn 423 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(0, ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT); epn 427 drivers/usb/gadget/udc/aspeed-vhub/epn.c state = readl(ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT); epn 442 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.desc_mode) { epn 453 drivers/usb/gadget/udc/aspeed-vhub/epn.c reg = VHUB_EP_DMA_SET_RPTR(ep->epn.d_next) | epn 454 drivers/usb/gadget/udc/aspeed-vhub/epn.c VHUB_EP_DMA_SET_CPU_WPTR(ep->epn.d_next); epn 455 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(reg, ep->epn.regs + AST_VHUB_EP_DESC_STATUS); epn 458 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(ep->epn.dma_conf, epn 459 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT); epn 462 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(ep->epn.dma_conf, epn 463 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT); epn 502 drivers/usb/gadget/udc/aspeed-vhub/epn.c reg = readl(ep->epn.regs + AST_VHUB_EP_CONFIG); epn 503 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.stalled || ep->epn.wedged) epn 507 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(reg, ep->epn.regs + AST_VHUB_EP_CONFIG); epn 509 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (!ep->epn.stalled && !ep->epn.wedged) epn 510 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(VHUB_EP_TOGGLE_SET_EPNUM(ep->epn.g_idx), epn 527 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.is_iso) epn 533 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (halt && ep->epn.is_in && !list_empty(&ep->queue)) { epn 537 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.stalled = halt; epn 538 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.wedged = wedge; epn 567 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.enabled = false; epn 573 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(0, ep->epn.regs + AST_VHUB_EP_CONFIG); epn 576 drivers/usb/gadget/udc/aspeed-vhub/epn.c imask = VHUB_EP_IRQ(ep->epn.g_idx); epn 621 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.enabled) { epn 636 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.is_in = usb_endpoint_dir_in(desc); epn 639 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.d_next = ep->epn.d_last = 0; epn 640 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.is_iso = false; epn 641 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.stalled = false; epn 642 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.wedged = false; epn 645 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.is_in ? "in" : "out", usb_ep_type_string(type), epn 649 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.desc_mode = ep->epn.descs && ep->epn.is_in; epn 650 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.desc_mode) epn 651 drivers/usb/gadget/udc/aspeed-vhub/epn.c memset(ep->epn.descs, 0, 8 * AST_VHUB_DESCS_COUNT); epn 657 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.chunk_max = ep->ep.maxpacket; epn 658 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.is_in) { epn 659 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.chunk_max <<= 3; epn 660 drivers/usb/gadget/udc/aspeed-vhub/epn.c while (ep->epn.chunk_max > 4095) epn 661 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.chunk_max -= ep->ep.maxpacket; epn 676 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.is_iso = true; epn 685 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (!ep->epn.is_in) epn 695 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(0, ep->epn.regs + AST_VHUB_EP_CONFIG); epn 697 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT); epn 700 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(ep_conf, ep->epn.regs + AST_VHUB_EP_CONFIG); epn 702 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.desc_mode) { epn 704 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(0, ep->epn.regs + AST_VHUB_EP_DESC_STATUS); epn 707 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(ep->epn.descs_dma, epn 708 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.regs + AST_VHUB_EP_DESC_BASE); epn 711 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.dma_conf = VHUB_EP_DMA_DESC_MODE; epn 712 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (ep->epn.is_in) epn 713 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.dma_conf |= VHUB_EP_DMA_IN_LONG_MODE; epn 716 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(ep->epn.dma_conf | VHUB_EP_DMA_CTRL_RESET, epn 717 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT); epn 720 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(ep->epn.dma_conf, epn 721 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT); epn 724 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.dma_conf = VHUB_EP_DMA_SINGLE_STAGE; epn 727 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(ep->epn.dma_conf | VHUB_EP_DMA_CTRL_RESET, epn 728 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT); epn 729 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(ep->epn.dma_conf, epn 730 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT); epn 731 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(0, ep->epn.regs + AST_VHUB_EP_DESC_STATUS); epn 735 drivers/usb/gadget/udc/aspeed-vhub/epn.c writel(VHUB_EP_TOGGLE_SET_EPNUM(ep->epn.g_idx), epn 739 drivers/usb/gadget/udc/aspeed-vhub/epn.c imask = VHUB_EP_IRQ(ep->epn.g_idx); epn 746 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.enabled = true; epn 776 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.descs = NULL; epn 823 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.g_idx = i; epn 824 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.regs = vhub->regs + 0x200 + (i * 0x10); epn 835 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.descs = ep->buf + AST_VHUB_EPn_MAX_PACKET; epn 836 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.descs_dma = ep->buf_dma + AST_VHUB_EPn_MAX_PACKET; epn 335 drivers/usb/gadget/udc/aspeed-vhub/vhub.h } epn; epn 1374 drivers/usb/musb/musb_core.c u8 epn = cfg->hw_ep_num; epn 1376 drivers/usb/musb/musb_core.c if (epn >= musb->config->num_eps) { epn 1378 drivers/usb/musb/musb_core.c musb_driver_name, epn); epn 1381 drivers/usb/musb/musb_core.c offset = fifo_setup(musb, hw_ep + epn, cfg++, offset); epn 1384 drivers/usb/musb/musb_core.c musb_driver_name, epn); epn 1387 drivers/usb/musb/musb_core.c epn++; epn 1388 drivers/usb/musb/musb_core.c musb->nr_endpoints = max(epn, musb->nr_endpoints);