Home
last modified time | relevance | path

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

/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c64 if (ep->epn.is_in) { in ast_vhub_epn_kick()
68 writel(ep->buf_dma, ep->epn.regs + AST_VHUB_EP_DESC_BASE); in ast_vhub_epn_kick()
70 if (ep->epn.is_in) in ast_vhub_epn_kick()
72 writel(req->req.dma + act, ep->epn.regs + AST_VHUB_EP_DESC_BASE); in ast_vhub_epn_kick()
78 ep->epn.regs + AST_VHUB_EP_DESC_STATUS); in ast_vhub_epn_kick()
80 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()
157 return (ep->epn.d_last + AST_VHUB_DESCS_COUNT - ep->epn.d_next - 1) & in ast_vhub_count_free_descs()
[all …]
Ddev.c78 if (ep && (ep->epn.stalled || ep->epn.wedged)) { in ast_vhub_dev_enable()
79 ep->epn.stalled = false; in ast_vhub_dev_enable()
80 ep->epn.wedged = false; in ast_vhub_dev_enable()
144 if (!ep->epn.enabled || !ep->ep.desc || ep->epn.is_iso || in ast_vhub_ep_feature()
145 ep->epn.is_in != !!(wIndex & USB_DIR_IN)) in ast_vhub_ep_feature()
150 ep->epn.stalled = is_set; in ast_vhub_ep_feature()
185 if (!ep->epn.enabled || !ep->ep.desc || ep->epn.is_iso || in ast_vhub_ep_status()
186 ep->epn.is_in != !!(wIndex & USB_DIR_IN)) in ast_vhub_ep_status()
188 if (ep->epn.stalled) in ast_vhub_ep_status()
429 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.c46 &req->req, ep->epn.is_in); in ast_vhub_done()
/drivers/media/platform/atmel/
Datmel-sama5d2-isc.c329 struct device_node *epn = NULL; in isc_parse_dt() local
339 epn = of_graph_get_next_endpoint(np, epn); in isc_parse_dt()
340 if (!epn) in isc_parse_dt()
343 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in isc_parse_dt()
357 subdev_entity->epn = epn; in isc_parse_dt()
376 of_node_put(epn); in isc_parse_dt()
507 of_fwnode_handle(subdev_entity->epn), in atmel_isc_probe()
510 of_node_put(subdev_entity->epn); in atmel_isc_probe()
511 subdev_entity->epn = NULL; in atmel_isc_probe()
Datmel-sama7g5-isc.c316 struct device_node *epn = NULL; in xisc_parse_dt() local
329 epn = of_graph_get_next_endpoint(np, epn); in xisc_parse_dt()
330 if (!epn) in xisc_parse_dt()
333 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in xisc_parse_dt()
347 subdev_entity->epn = epn; in xisc_parse_dt()
369 of_node_put(epn); in xisc_parse_dt()
501 of_fwnode_handle(subdev_entity->epn), in microchip_xisc_probe()
504 of_node_put(subdev_entity->epn); in microchip_xisc_probe()
505 subdev_entity->epn = NULL; in microchip_xisc_probe()
Datmel-isc.h41 struct device_node *epn; member
/drivers/usb/musb/
Dmusb_core.c1513 u8 epn = cfg->hw_ep_num; in ep_config_from_table() local
1515 if (epn >= musb->config->num_eps) { in ep_config_from_table()
1517 musb_driver_name, epn); in ep_config_from_table()
1520 offset = fifo_setup(musb, hw_ep + epn, cfg++, offset); in ep_config_from_table()
1523 musb_driver_name, epn); in ep_config_from_table()
1526 epn++; in ep_config_from_table()
1527 musb->nr_endpoints = max(epn, musb->nr_endpoints); in ep_config_from_table()
/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()