/Linux-v6.6/drivers/usb/gadget/udc/aspeed-vhub/ |
D | epn.c | 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.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 …]
|
D | dev.c | 77 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()
|
D | Makefile | 3 aspeed-vhub-y := core.o ep0.o epn.o dev.o hub.o
|
D | vhub.h | 335 } epn; member
|
D | core.c | 45 &req->req, ep->epn.is_in); in ast_vhub_done()
|
/Linux-v6.6/drivers/usb/gadget/udc/ |
D | renesas_usbf.c | 719 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/ |
D | atmel-sama5d2-isc.c | 336 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()
|
D | atmel-sama7g5-isc.c | 319 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()
|
D | atmel-isc.h | 48 struct device_node *epn; member
|
/Linux-v6.6/drivers/media/platform/microchip/ |
D | microchip-sama5d2-isc.c | 356 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()
|
D | microchip-sama7g5-isc.c | 339 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()
|
D | microchip-isc.h | 48 struct device_node *epn; member
|
/Linux-v6.6/arch/powerpc/kvm/ |
D | book3s_hv_nested.c | 1095 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/ |
D | musb_core.c | 1508 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/ |
D | gemini.c | 874 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()
|