Home
last modified time | relevance | path

Searched refs:epn (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Depn.c63 if (ep->epn.is_in) { in ast_vhub_epn_kick()
67 writel(ep->buf_dma, ep->epn.regs + AST_VHUB_EP_DESC_BASE); in ast_vhub_epn_kick()
69 if (ep->epn.is_in) in ast_vhub_epn_kick()
71 writel(req->req.dma + act, ep->epn.regs + AST_VHUB_EP_DESC_BASE); in ast_vhub_epn_kick()
77 ep->epn.regs + AST_VHUB_EP_DESC_STATUS); in ast_vhub_epn_kick()
79 ep->epn.regs + AST_VHUB_EP_DESC_STATUS); in ast_vhub_epn_kick()
90 stat = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS); in ast_vhub_epn_handle_ack()
96 stat, ep->epn.is_in, req, req ? req->active : 0); in ast_vhub_epn_handle_ack()
122 if (!req->req.dma && !ep->epn.is_in && len) { in ast_vhub_epn_handle_ack()
164 return (ep->epn.d_last + AST_VHUB_DESCS_COUNT - ep->epn.d_next - 1) & in ast_vhub_count_free_descs()
[all …]
H A Ddev.c77 if (ep && (ep->epn.stalled || ep->epn.wedged)) { in ast_vhub_dev_enable()
78 ep->epn.stalled = false; in ast_vhub_dev_enable()
79 ep->epn.wedged = false; in ast_vhub_dev_enable()
154 if (!ep->epn.enabled || !ep->ep.desc || ep->epn.is_iso || in ast_vhub_ep_feature()
155 ep->epn.is_in != !!(wIndex & USB_DIR_IN)) in ast_vhub_ep_feature()
160 ep->epn.stalled = is_set; in ast_vhub_ep_feature()
195 if (!ep->epn.enabled || !ep->ep.desc || ep->epn.is_iso || in ast_vhub_ep_status()
196 ep->epn.is_in != !!(wIndex & USB_DIR_IN)) in ast_vhub_ep_status()
198 if (ep->epn.stalled) in ast_vhub_ep_status()
439 ep->epn.g_idx, addr); in ast_vhub_udc_match_ep()
H A DMakefile3 aspeed-vhub-y := core.o ep0.o epn.o dev.o hub.o
H A Dcore.c46 &req->req, ep->epn.is_in); in ast_vhub_done()
/linux/drivers/usb/gadget/udc/
H A Drenesas_usbf.c719 static void usbf_epn_send_null(struct usbf_ep *epn) in usbf_epn_send_null() argument
721 usbf_ep_reg_bitset(epn, USBF_REG_EPN_CONTROL, USBF_EPN_DEND); in usbf_epn_send_null()
724 static void usbf_epn_send_residue(struct usbf_ep *epn, const void *buf, in usbf_epn_send_residue() argument
730 usbf_ep_reg_writel(epn, USBF_REG_EPN_WRITE, tmp); in usbf_epn_send_residue()
732 usbf_ep_reg_clrset(epn, USBF_REG_EPN_CONTROL, in usbf_epn_send_residue()
737 static int usbf_epn_pio_in(struct usbf_ep *epn, struct usbf_req *req) in usbf_epn_pio_in() argument
748 dev_dbg(epn->udc->dev, "ep%u send_null\n", epn->id); in usbf_epn_pio_in()
749 usbf_epn_send_null(epn); in usbf_epn_pio_in()
753 if ((req->req.actual % epn->ep.maxpacket) == 0) { in usbf_epn_pio_in()
755 dev_dbg(epn->udc->dev, "ep%u send_null\n", in usbf_epn_pio_in()
[all …]
/linux/drivers/media/platform/microchip/
H A Dmicrochip-sama5d2-isc.c356 struct device_node *epn; in isc_parse_dt() local
362 for_each_endpoint_of_node(np, epn) { in isc_parse_dt()
366 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in isc_parse_dt()
369 of_node_put(epn); in isc_parse_dt()
377 of_node_put(epn); in isc_parse_dt()
380 subdev_entity->epn = epn; in isc_parse_dt()
523 of_fwnode_handle(subdev_entity->epn); in microchip_isc_probe()
531 of_node_put(subdev_entity->epn); in microchip_isc_probe()
532 subdev_entity->epn = NULL; in microchip_isc_probe()
H A Dmicrochip-sama7g5-isc.c339 struct device_node *epn; in xisc_parse_dt() local
348 for_each_endpoint_of_node(np, epn) { in xisc_parse_dt()
352 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in xisc_parse_dt()
355 of_node_put(epn); in xisc_parse_dt()
363 of_node_put(epn); in xisc_parse_dt()
366 subdev_entity->epn = epn; in xisc_parse_dt()
513 of_fwnode_handle(subdev_entity->epn); in microchip_xisc_probe()
521 of_node_put(subdev_entity->epn); in microchip_xisc_probe()
522 subdev_entity->epn = NULL; in microchip_xisc_probe()
H A Dmicrochip-isc.h48 struct device_node *epn; member
/linux/drivers/staging/media/deprecated/atmel/
H A Datmel-isc.h48 struct device_node *epn; member
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_nested.c1133 int ap, long epn) in kvmhv_emulate_tlbie_tlb_addr() argument
1142 addr = epn << 12; in kvmhv_emulate_tlbie_tlb_addr()
1221 long epn; in kvmhv_emulate_priv_tlbie() local
1248 epn = get_epn(rbval); in kvmhv_emulate_priv_tlbie()
1250 ret = kvmhv_emulate_tlbie_tlb_addr(vcpu, lpid, ap, epn); in kvmhv_emulate_priv_tlbie()
/linux/drivers/usb/musb/
H A Dmusb_core.c1509 u8 epn = cfg->hw_ep_num; in ep_config_from_table() local
1511 if (epn >= musb->config->num_eps) { in ep_config_from_table()
1513 musb_driver_name, epn); in ep_config_from_table()
1516 offset = fifo_setup(musb, hw_ep + epn, cfg++, offset); in ep_config_from_table()
1519 musb_driver_name, epn); in ep_config_from_table()
1522 epn++; in ep_config_from_table()
1523 musb->nr_endpoints = max(epn, musb->nr_endpoints); in ep_config_from_table()
/linux/drivers/net/ethernet/cortina/
H A Dgemini.c870 unsigned int pn, epn; in geth_fill_freeq() local
882 epn = (rw.bits.rptr >> fpp_order) - 1; in geth_fill_freeq()
883 epn &= m_pn; in geth_fill_freeq()
886 while (pn != epn) { in geth_fill_freeq()
897 unsigned int fl = (pn - epn) & m_pn; in geth_fill_freeq()