Home
last modified time | relevance | path

Searched refs:epn (Results 1 – 9 of 9) 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 DMakefile3 aspeed-vhub-y := core.o ep0.o epn.o dev.o hub.o
H A Dvhub.h335 } epn; member
/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/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()