Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/aspeed-vhub/
H A Depn.c69 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.is_in && len) in ast_vhub_epn_handle_ack()
162 return (ep->epn.d_last + AST_VHUB_DESCS_COUNT - ep->epn.d_next - 1) & in ast_vhub_count_free_descs()
[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.is_iso || in ast_vhub_ep_status()
191 ep->epn.is_in != !!(wIndex & USB_DIR_IN)) in ast_vhub_ep_status()
193 if (ep->epn.stalled) in ast_vhub_ep_status()
434 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.c51 &req->req, ep->epn.is_in); in ast_vhub_done()
/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dtlb.c46 void read_tlbcam_entry(int idx, u32 *valid, u32 *tsize, unsigned long *epn, in read_tlbcam_entry() argument
57 *epn = mfspr(MAS2) & MAS2_EPN; in read_tlbcam_entry()
72 unsigned long epn; in print_tlbcam() local
76 read_tlbcam_entry(i, &valid, &tsize, &epn, &rpn); in print_tlbcam()
78 i, (valid == 0) ? 0 : 1, (unsigned int)epn, in print_tlbcam()
137 void set_tlb(u8 tlb, u32 epn, u64 rpn, in set_tlb() argument
149 __func__, tsize, tlb, epn); in set_tlb()
155 _mas2 = FSL_BOOKE_MAS2(epn, wimge); in set_tlb()
163 addrmap_set_entry(epn, rpn, TSIZE_TO_BYTES(tsize), esel); in set_tlb()
228 unsigned long epn; in init_addr_map() local
[all …]
H A Dcpu.c478 void read_tlbcam_entry(int idx, u32 *valid, u32 *tsize, unsigned long *epn,
579 unsigned long epn; in reset_tlb() local
591 read_tlbcam_entry(ddr_esel, &valid, &tsize, &epn, phys_offset); in reset_tlb()
661 unsigned long epn; in arch_memory_test_cleanup() local
672 read_tlbcam_entry(ddr_esel, &valid, &tsize, &epn, &rpn); in arch_memory_test_cleanup()
H A Dstart.S178 .macro create_tlb1_entry esel ts tsize epn wimg rpn perm phy_high scratch
185 lis \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@h
186 ori \scratch, \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@l
200 .macro create_tlb0_entry esel ts tsize epn wimg rpn perm phy_high scratch
207 lis \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@h
208 ori \scratch, \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@l
234 .macro delete_tlb0_entry esel epn wimg scratch
240 lis \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@h
241 ori \scratch, \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@l
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/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,
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Ddbus.h629 int optimize_qtd_fill_with_rpc(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd, void *rpc,
631 int optimize_qtd_fill_with_data(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd, void *data,
633 int optimize_submit_async(struct ehci_qtd *qtd, int epn);
637 void optimize_submit_rx_request(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd_in, void *buf);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Ddbus.h581 int optimize_qtd_fill_with_rpc(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd, void *rpc,
583 int optimize_qtd_fill_with_data(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd, void *data,
585 int optimize_submit_async(struct ehci_qtd *qtd, int epn);
589 void optimize_submit_rx_request(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd_in, void *buf);
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Ddbus.h581 int optimize_qtd_fill_with_rpc(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd, void *rpc,
583 int optimize_qtd_fill_with_data(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd, void *data,
585 int optimize_submit_async(struct ehci_qtd *qtd, int epn);
589 void optimize_submit_rx_request(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd_in, void *buf);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Ddbus.h589 int optimize_qtd_fill_with_rpc(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd, void *rpc,
591 int optimize_qtd_fill_with_data(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd, void *data,
593 int optimize_submit_async(struct ehci_qtd *qtd, int epn);
597 void optimize_submit_rx_request(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd_in, void *buf);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Ddbus.h615 int optimize_qtd_fill_with_rpc(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd, void *rpc,
617 int optimize_qtd_fill_with_data(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd, void *data,
619 int optimize_submit_async(struct ehci_qtd *qtd, int epn);
623 void optimize_submit_rx_request(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd_in, void *buf);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Ddbus.h581 int optimize_qtd_fill_with_rpc(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd, void *rpc,
583 int optimize_qtd_fill_with_data(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd, void *data,
585 int optimize_submit_async(struct ehci_qtd *qtd, int epn);
589 void optimize_submit_rx_request(const dbus_pub_t *pub, int epn, struct ehci_qtd *qtd_in, void *buf);
/OK3568_Linux_fs/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()
/OK3568_Linux_fs/kernel/arch/powerpc/kvm/
H A Dbook3s_hv_nested.c1015 int ap, long epn) in kvmhv_emulate_tlbie_tlb_addr() argument
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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()