Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/gadget/udc/aspeed-vhub/
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 …]
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()
DMakefile3 aspeed-vhub-y := core.o ep0.o epn.o dev.o hub.o
Dvhub.h335 } epn; member
Dcore.c45 &req->req, ep->epn.is_in); in ast_vhub_done()
/Linux-v6.6/drivers/usb/gadget/udc/
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-v6.6/drivers/staging/media/deprecated/atmel/
Datmel-sama5d2-isc.c336 struct device_node *epn = NULL; in isc_parse_dt() local
346 epn = of_graph_get_next_endpoint(np, epn); in isc_parse_dt()
347 if (!epn) in isc_parse_dt()
350 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in isc_parse_dt()
364 subdev_entity->epn = epn; in isc_parse_dt()
383 of_node_put(epn); in isc_parse_dt()
508 of_fwnode_handle(subdev_entity->epn); in atmel_isc_probe()
516 of_node_put(subdev_entity->epn); in atmel_isc_probe()
517 subdev_entity->epn = NULL; in atmel_isc_probe()
Datmel-sama7g5-isc.c319 struct device_node *epn = NULL; in xisc_parse_dt() local
332 epn = of_graph_get_next_endpoint(np, epn); in xisc_parse_dt()
333 if (!epn) in xisc_parse_dt()
336 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in xisc_parse_dt()
350 subdev_entity->epn = epn; in xisc_parse_dt()
372 of_node_put(epn); in xisc_parse_dt()
498 of_fwnode_handle(subdev_entity->epn); in microchip_xisc_probe()
506 of_node_put(subdev_entity->epn); in microchip_xisc_probe()
507 subdev_entity->epn = NULL; in microchip_xisc_probe()
Datmel-isc.h48 struct device_node *epn; member
/Linux-v6.6/drivers/media/platform/microchip/
Dmicrochip-sama5d2-isc.c356 struct device_node *epn = NULL; in isc_parse_dt() local
366 epn = of_graph_get_next_endpoint(np, epn); in isc_parse_dt()
367 if (!epn) in isc_parse_dt()
370 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in isc_parse_dt()
384 subdev_entity->epn = epn; in isc_parse_dt()
403 of_node_put(epn); in isc_parse_dt()
528 of_fwnode_handle(subdev_entity->epn); in microchip_isc_probe()
536 of_node_put(subdev_entity->epn); in microchip_isc_probe()
537 subdev_entity->epn = NULL; in microchip_isc_probe()
Dmicrochip-sama7g5-isc.c339 struct device_node *epn = NULL; in xisc_parse_dt() local
352 epn = of_graph_get_next_endpoint(np, epn); in xisc_parse_dt()
353 if (!epn) in xisc_parse_dt()
356 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in xisc_parse_dt()
370 subdev_entity->epn = epn; in xisc_parse_dt()
392 of_node_put(epn); in xisc_parse_dt()
518 of_fwnode_handle(subdev_entity->epn); in microchip_xisc_probe()
526 of_node_put(subdev_entity->epn); in microchip_xisc_probe()
527 subdev_entity->epn = NULL; in microchip_xisc_probe()
Dmicrochip-isc.h48 struct device_node *epn; member
/Linux-v6.6/arch/powerpc/kvm/
Dbook3s_hv_nested.c1095 int ap, long epn) in kvmhv_emulate_tlbie_tlb_addr() argument
1104 addr = epn << 12; in kvmhv_emulate_tlbie_tlb_addr()
1183 long epn; in kvmhv_emulate_priv_tlbie() local
1210 epn = get_epn(rbval); in kvmhv_emulate_priv_tlbie()
1212 ret = kvmhv_emulate_tlbie_tlb_addr(vcpu, lpid, ap, epn); in kvmhv_emulate_priv_tlbie()
/Linux-v6.6/drivers/usb/musb/
Dmusb_core.c1508 u8 epn = cfg->hw_ep_num; in ep_config_from_table() local
1510 if (epn >= musb->config->num_eps) { in ep_config_from_table()
1512 musb_driver_name, epn); in ep_config_from_table()
1515 offset = fifo_setup(musb, hw_ep + epn, cfg++, offset); in ep_config_from_table()
1518 musb_driver_name, epn); in ep_config_from_table()
1521 epn++; in ep_config_from_table()
1522 musb->nr_endpoints = max(epn, musb->nr_endpoints); in ep_config_from_table()
/Linux-v6.6/drivers/net/ethernet/cortina/
Dgemini.c874 unsigned int pn, epn; in geth_fill_freeq() local
886 epn = (rw.bits.rptr >> fpp_order) - 1; in geth_fill_freeq()
887 epn &= m_pn; in geth_fill_freeq()
890 while (pn != epn) { in geth_fill_freeq()
901 unsigned int fl = (pn - epn) & m_pn; in geth_fill_freeq()