Home
last modified time | relevance | path

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

/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c69 if (ep->epn.is_in) { in ast_vhub_epn_kick()
73 writel(ep->buf_dma, ep->epn.regs + AST_VHUB_EP_DESC_BASE); in ast_vhub_epn_kick()
75 if (ep->epn.is_in) in ast_vhub_epn_kick()
77 writel(req->req.dma + act, ep->epn.regs + AST_VHUB_EP_DESC_BASE); in ast_vhub_epn_kick()
83 ep->epn.regs + AST_VHUB_EP_DESC_STATUS); in ast_vhub_epn_kick()
85 ep->epn.regs + AST_VHUB_EP_DESC_STATUS); in ast_vhub_epn_kick()
95 stat = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS); in ast_vhub_epn_handle_ack()
101 stat, ep->epn.is_in, req, req ? req->active : 0); in ast_vhub_epn_handle_ack()
127 if (!req->req.dma && !ep->epn.is_in && len) in ast_vhub_epn_handle_ack()
162 return (ep->epn.d_last + AST_VHUB_DESCS_COUNT - ep->epn.d_next - 1) & in ast_vhub_count_free_descs()
[all …]
Ddev.c83 if (ep && (ep->epn.stalled || ep->epn.wedged)) { in ast_vhub_dev_enable()
84 ep->epn.stalled = false; in ast_vhub_dev_enable()
85 ep->epn.wedged = false; in ast_vhub_dev_enable()
149 if (!ep->epn.enabled || !ep->ep.desc || ep->epn.is_iso || in ast_vhub_ep_feature()
150 ep->epn.is_in != !!(wIndex & USB_DIR_IN)) in ast_vhub_ep_feature()
155 ep->epn.stalled = is_set; in ast_vhub_ep_feature()
190 if (!ep->epn.enabled || !ep->ep.desc || ep->epn.is_iso || in ast_vhub_ep_status()
191 ep->epn.is_in != !!(wIndex & USB_DIR_IN)) in ast_vhub_ep_status()
193 if (ep->epn.stalled) in ast_vhub_ep_status()
434 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.c50 &req->req, ep->epn.is_in); in ast_vhub_done()
/drivers/media/platform/atmel/
Datmel-sama5d2-isc.c60 struct device_node *epn = NULL, *rem; in isc_parse_dt() local
70 epn = of_graph_get_next_endpoint(np, epn); in isc_parse_dt()
71 if (!epn) in isc_parse_dt()
74 rem = of_graph_get_remote_port_parent(epn); in isc_parse_dt()
77 epn); in isc_parse_dt()
81 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in isc_parse_dt()
129 of_node_put(epn); in isc_parse_dt()
/drivers/staging/media/soc_camera/
Dsoc_camera.c1596 struct device_node *epn = NULL, *rem; in scan_of_host() local
1600 epn = of_graph_get_next_endpoint(np, epn); in scan_of_host()
1601 if (!epn) in scan_of_host()
1604 rem = of_graph_get_remote_port_parent(epn); in scan_of_host()
1606 dev_notice(dev, "no remote for %pOF\n", epn); in scan_of_host()
1612 soc_of_bind(ici, epn, rem); in scan_of_host()
1620 of_node_put(epn); in scan_of_host()
/drivers/usb/musb/
Dmusb_core.c1374 u8 epn = cfg->hw_ep_num; in ep_config_from_table() local
1376 if (epn >= musb->config->num_eps) { in ep_config_from_table()
1378 musb_driver_name, epn); in ep_config_from_table()
1381 offset = fifo_setup(musb, hw_ep + epn, cfg++, offset); in ep_config_from_table()
1384 musb_driver_name, epn); in ep_config_from_table()
1387 epn++; in ep_config_from_table()
1388 musb->nr_endpoints = max(epn, musb->nr_endpoints); in ep_config_from_table()
/drivers/net/ethernet/cortina/
Dgemini.c878 unsigned int pn, epn; in geth_fill_freeq() local
890 epn = (rw.bits.rptr >> fpp_order) - 1; in geth_fill_freeq()
891 epn &= m_pn; in geth_fill_freeq()
894 while (pn != epn) { in geth_fill_freeq()
905 unsigned int fl = (pn - epn) & m_pn; in geth_fill_freeq()