Home
last modified time | relevance | path

Searched refs:epn (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/
H A Depn.c5 * epn.c - Generic endpoints management
69 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 in ast_vhub_epn_handle_ack()
[all...]
H A 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 in ast_vhub_ep_status()
[all...]
H A DMakefile3 aspeed-vhub-y := core.o ep0.o epn.o dev.o hub.o
H A Dvhub.h335 } epn; member
556 /* epn.c */
H A Dcore.c51 &req->req, ep->epn.is_in); in ast_vhub_done()
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/aspeed-vhub/
H A Depn.c5 * epn.c - Generic endpoints management
63 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 in ast_vhub_epn_handle_ack()
[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 in ast_vhub_ep_status()
[all...]
H A DMakefile3 aspeed-vhub-y := core.o ep0.o epn.o dev.o hub.o
H A Dvhub.h335 } epn; member
557 /* epn.c */
H A Dcore.c45 &req->req, ep->epn.is_in); in ast_vhub_done()
/kernel/linux/linux-6.6/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 in usbf_epn_pio_in()
795 usbf_epn_enable_in_end_int(struct usbf_ep *epn) usbf_epn_enable_in_end_int() argument
800 usbf_epn_dma_in(struct usbf_ep *epn, struct usbf_req *req) usbf_epn_dma_in() argument
965 usbf_epn_recv_residue(struct usbf_ep *epn, void *buf, unsigned int size) usbf_epn_recv_residue() argument
974 usbf_epn_pio_out(struct usbf_ep *epn, struct usbf_req *req) usbf_epn_pio_out() argument
1057 usbf_epn_enable_out_end_int(struct usbf_ep *epn) usbf_epn_enable_out_end_int() argument
1064 usbf_epn_dma_out_send_dma(struct usbf_ep *epn, dma_addr_t addr, u32 npkt, bool is_short) usbf_epn_dma_out_send_dma() argument
1135 usbf_epn_dma_out_complete_dma(struct usbf_ep *epn, bool is_short) usbf_epn_dma_out_complete_dma() argument
1186 usbf_epn_dma_out(struct usbf_ep *epn, struct usbf_req *req) usbf_epn_dma_out() argument
1459 usbf_epn_dma_stop(struct usbf_ep *epn) usbf_epn_dma_stop() argument
1476 usbf_epn_dma_abort(struct usbf_ep *epn, struct usbf_req *req) usbf_epn_dma_abort() argument
1515 usbf_epn_fifo_flush(struct usbf_ep *epn) usbf_epn_fifo_flush() argument
1596 usbf_epn_start_queue(struct usbf_ep *epn) usbf_epn_start_queue() argument
1800 usbf_epn_enable(struct usbf_ep *epn) usbf_epn_enable() argument
1872 usbf_epn_disable(struct usbf_ep *epn) usbf_epn_disable() argument
2761 usbf_epn_process_queue(struct usbf_ep *epn) usbf_epn_process_queue() argument
2792 usbf_epn_interrupt(struct usbf_ep *epn) usbf_epn_interrupt() argument
2974 struct usbf_ep *epn; usbf_ahb_epc_irq() local
3175 usbf_epn_check(struct usbf_ep *epn) usbf_epn_check() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/atmel/
H A 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()
/kernel/linux/linux-6.6/drivers/staging/media/deprecated/atmel/
H A 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()
[all...]
H A 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()
[all...]
H A Datmel-isc.h48 struct device_node *epn; member
/kernel/linux/linux-6.6/drivers/media/platform/microchip/
H A 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()
[all...]
H A 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()
[all...]
H A Dmicrochip-isc.h48 struct device_node *epn; member
/kernel/linux/linux-5.10/drivers/usb/musb/
H A Dmusb_core.c1512 u8 epn = cfg->hw_ep_num; in ep_config_from_table() local
1514 if (epn >= musb->config->num_eps) { in ep_config_from_table()
1516 musb_driver_name, epn); in ep_config_from_table()
1519 offset = fifo_setup(musb, hw_ep + epn, cfg++, offset); in ep_config_from_table()
1522 musb_driver_name, epn); in ep_config_from_table()
1525 epn++; in ep_config_from_table()
1526 musb->nr_endpoints = max(epn, musb->nr_endpoints); in ep_config_from_table()
/kernel/linux/linux-6.6/drivers/usb/musb/
H A 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()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_hv_nested.c1015 int ap, long epn) in kvmhv_emulate_tlbie_tlb_addr()
1024 addr = epn << 12; in kvmhv_emulate_tlbie_tlb_addr()
1106 long epn; in kvmhv_emulate_priv_tlbie() local
1133 epn = get_epn(rbval); in kvmhv_emulate_priv_tlbie()
1135 ret = kvmhv_emulate_tlbie_tlb_addr(vcpu, lpid, ap, epn); in kvmhv_emulate_priv_tlbie()
1014 kvmhv_emulate_tlbie_tlb_addr(struct kvm_vcpu *vcpu, int lpid, int ap, long epn) kvmhv_emulate_tlbie_tlb_addr() argument
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbook3s_hv_nested.c1095 int ap, long epn) in kvmhv_emulate_tlbie_tlb_addr()
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()
1094 kvmhv_emulate_tlbie_tlb_addr(struct kvm_vcpu *vcpu, int lpid, int ap, long epn) kvmhv_emulate_tlbie_tlb_addr() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/cortina/
H A Dgemini.c875 unsigned int pn, epn; in geth_fill_freeq() local
887 epn = (rw.bits.rptr >> fpp_order) - 1; in geth_fill_freeq()
888 epn &= m_pn; in geth_fill_freeq()
891 while (pn != epn) { in geth_fill_freeq()
902 unsigned int fl = (pn - epn) & m_pn; in geth_fill_freeq()
/kernel/linux/linux-6.6/drivers/net/ethernet/cortina/
H A 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()

Completed in 30 milliseconds