Home
last modified time | relevance | path

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

/openbmc/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 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.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()
H A DMakefile3 aspeed-vhub-y := core.o ep0.o epn.o dev.o hub.o
H A Dvhub.h335 } epn; member
H A Dcore.c45 &req->req, ep->epn.is_in); in ast_vhub_done()
/openbmc/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 …]
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dtlb.c45 void read_tlbcam_entry(int idx, u32 *valid, u32 *tsize, unsigned long *epn, in read_tlbcam_entry() argument
56 *epn = mfspr(MAS2) & MAS2_EPN; in read_tlbcam_entry()
71 unsigned long epn; in print_tlbcam() local
75 read_tlbcam_entry(i, &valid, &tsize, &epn, &rpn); in print_tlbcam()
77 i, (valid == 0) ? 0 : 1, (unsigned int)epn, in print_tlbcam()
136 void set_tlb(u8 tlb, u32 epn, u64 rpn, in set_tlb() argument
148 __func__, tsize, tlb, epn); in set_tlb()
154 _mas2 = FSL_BOOKE_MAS2(epn, wimge); in set_tlb()
162 addrmap_set_entry(epn, rpn, TSIZE_TO_BYTES(tsize), esel); in set_tlb()
227 unsigned long epn; in init_addr_map() local
[all …]
H A Dcpu.c477 void read_tlbcam_entry(int idx, u32 *valid, u32 *tsize, unsigned long *epn,
578 unsigned long epn; in reset_tlb() local
590 read_tlbcam_entry(ddr_esel, &valid, &tsize, &epn, phys_offset); in reset_tlb()
660 unsigned long epn; in arch_memory_test_cleanup() local
671 read_tlbcam_entry(ddr_esel, &valid, &tsize, &epn, &rpn); in arch_memory_test_cleanup()
H A Dstart.S177 .macro create_tlb1_entry esel ts tsize epn wimg rpn perm phy_high scratch
184 lis \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@h
185 ori \scratch, \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@l
199 .macro create_tlb0_entry esel ts tsize epn wimg rpn perm phy_high scratch
206 lis \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@h
207 ori \scratch, \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@l
233 .macro delete_tlb0_entry esel epn wimg scratch
239 lis \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@h
240 ori \scratch, \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@l
/openbmc/linux/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()
507 subdev_entity->epn = NULL; in microchip_xisc_probe()
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()
517 subdev_entity->epn = NULL; in atmel_isc_probe()
H A Datmel-isc.h48 struct device_node *epn; member
/openbmc/linux/drivers/media/platform/microchip/
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()
527 subdev_entity->epn = NULL; in microchip_xisc_probe()
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()
537 subdev_entity->epn = NULL; in microchip_isc_probe()
H A Dmicrochip-isc.h48 struct device_node *epn; member
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dmmu.h452 #define FSL_BOOKE_MAS2(epn, wimge) \ argument
453 (((epn) & MAS3_RPN) | (wimge))
498 extern void set_tlb(u8 tlb, u32 epn, u64 rpn,
/openbmc/qemu/target/ppc/
H A Dmmu-hash64.c713 uint64_t vsid, epnmask, epn, ptem; in ppc_hash64_htab_lookup() local
734 epn = (eaddr & ~SEGMENT_MASK_1T) & epnmask; in ppc_hash64_htab_lookup()
735 hash = vsid ^ (vsid << 25) ^ (epn >> sps->page_shift); in ppc_hash64_htab_lookup()
739 epn = (eaddr & ~SEGMENT_MASK_256M) & epnmask; in ppc_hash64_htab_lookup()
740 hash = vsid ^ (epn >> sps->page_shift); in ppc_hash64_htab_lookup()
742 ptem = (slb->vsid & SLB_VSID_PTEM) | ((epn >> 16) & HPTE64_V_AVPN); in ppc_hash64_htab_lookup()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_core.c1311 u8 epn = cfg->hw_ep_num; in ep_config_from_table() local
1313 if (epn >= musb->config->num_eps) { in ep_config_from_table()
1315 musb_driver_name, epn); in ep_config_from_table()
1318 offset = fifo_setup(musb, hw_ep + epn, cfg++, offset); in ep_config_from_table()
1321 musb_driver_name, epn); in ep_config_from_table()
1324 epn++; in ep_config_from_table()
1325 musb->nr_endpoints = max(epn, musb->nr_endpoints); in ep_config_from_table()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_nested.c1101 int ap, long epn) in kvmhv_emulate_tlbie_tlb_addr() argument
1110 addr = epn << 12; in kvmhv_emulate_tlbie_tlb_addr()
1189 long epn; in kvmhv_emulate_priv_tlbie() local
1216 epn = get_epn(rbval); in kvmhv_emulate_priv_tlbie()
1218 ret = kvmhv_emulate_tlbie_tlb_addr(vcpu, lpid, ap, epn); in kvmhv_emulate_priv_tlbie()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/
H A Dopengrok0.0.log[all...]
H A Dopengrok2.0.log[all...]