Home
last modified time | relevance | path

Searched refs:epn (Results 1 – 21 of 21) 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()
69 if (ep->epn.is_in) in ast_vhub_epn_kick()
164 return (ep->epn.d_last + AST_VHUB_DESCS_COUNT - ep->epn.d_next - 1) & in ast_vhub_count_free_descs()
245 ep->epn.d_next, readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS)); in ast_vhub_epn_kick_desc()
267 stat, ep->epn.is_in, ep->epn.d_last, d_last); in ast_vhub_epn_handle_ack_desc()
510 if (ep->epn.stalled || ep->epn.wedged) in ast_vhub_update_epn_stall()
516 if (!ep->epn.stalled && !ep->epn.wedged) in ast_vhub_update_epn_stall()
534 if (ep->epn.is_iso) in ast_vhub_set_halt_and_wedge()
646 ep->epn.d_next = ep->epn.d_last = 0; in ast_vhub_epn_enable()
656 ep->epn.desc_mode = ep->epn.descs && ep->epn.is_in; in ast_vhub_epn_enable()
[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.c809 epn->id); in usbf_epn_dma_in()
893 dev_dbg(epn->udc->dev, "ep%u dma done\n", epn->id); in usbf_epn_dma_in()
2769 epn->id, epn->is_in ? "in" : "out"); in usbf_epn_process_queue()
2780 epn->id, epn->is_in ? "in" : "out", ret); in usbf_epn_process_queue()
2802 epn->id, epn->is_in ? "in" : "out", epn->status, ena, in usbf_epn_interrupt()
2807 epn->id, epn->is_in ? "in" : "out"); in usbf_epn_interrupt()
2816 epn->id, epn->is_in ? "in" : "out"); in usbf_epn_interrupt()
2823 epn->id, epn->is_in ? "in" : "out"); in usbf_epn_interrupt()
2828 epn->id, epn->is_in ? "in" : "out", in usbf_epn_interrupt()
3008 epn->id, epn->bridge_on_dma_end); in usbf_ahb_epc_irq()
[all …]
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dtlb.c56 *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()
227 unsigned long epn; in init_addr_map() local
231 read_tlbcam_entry(i, &valid, &tsize, &epn, &rpn); in init_addr_map()
233 addrmap_set_entry(epn, rpn, TSIZE_TO_BYTES(tsize), i); in init_addr_map()
[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-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-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-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.c666 uint64_t vsid, epnmask, epn, ptem; in ppc_hash64_htab_lookup() local
687 epn = (eaddr & ~SEGMENT_MASK_1T) & epnmask; in ppc_hash64_htab_lookup()
688 hash = vsid ^ (vsid << 25) ^ (epn >> sps->page_shift); in ppc_hash64_htab_lookup()
692 epn = (eaddr & ~SEGMENT_MASK_256M) & epnmask; in ppc_hash64_htab_lookup()
693 hash = vsid ^ (epn >> sps->page_shift); in ppc_hash64_htab_lookup()
695 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.c1095 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()
/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()