Home
last modified time | relevance | path

Searched refs:tpte (Results 1 – 6 of 6) sorted by relevance

/drivers/infiniband/hw/cxgb4/
Dev.c41 struct fw_ri_tpte tpte; in print_tpte() local
44 (__be32 *)&tpte); in print_tpte()
52 FW_RI_TPTE_VALID_G(ntohl(tpte.valid_to_pdid)), in print_tpte()
53 FW_RI_TPTE_STAGKEY_G(ntohl(tpte.valid_to_pdid)), in print_tpte()
54 FW_RI_TPTE_STAGSTATE_G(ntohl(tpte.valid_to_pdid)), in print_tpte()
55 FW_RI_TPTE_PDID_G(ntohl(tpte.valid_to_pdid)), in print_tpte()
56 FW_RI_TPTE_PERM_G(ntohl(tpte.locread_to_qpid)), in print_tpte()
57 FW_RI_TPTE_PS_G(ntohl(tpte.locread_to_qpid)), in print_tpte()
58 ((u64)ntohl(tpte.len_hi) << 32) | ntohl(tpte.len_lo), in print_tpte()
59 ((u64)ntohl(tpte.va_hi) << 32) | ntohl(tpte.va_lo_fbo)); in print_tpte()
Ddevice.c389 struct fw_ri_tpte tpte; in dump_stag() local
397 (__be32 *)&tpte); in dump_stag()
407 FW_RI_TPTE_VALID_G(ntohl(tpte.valid_to_pdid)), in dump_stag()
408 FW_RI_TPTE_STAGKEY_G(ntohl(tpte.valid_to_pdid)), in dump_stag()
409 FW_RI_TPTE_STAGSTATE_G(ntohl(tpte.valid_to_pdid)), in dump_stag()
410 FW_RI_TPTE_PDID_G(ntohl(tpte.valid_to_pdid)), in dump_stag()
411 FW_RI_TPTE_PERM_G(ntohl(tpte.locread_to_qpid)), in dump_stag()
412 FW_RI_TPTE_PS_G(ntohl(tpte.locread_to_qpid)), in dump_stag()
413 ((u64)ntohl(tpte.len_hi) << 32) | ntohl(tpte.len_lo), in dump_stag()
414 ((u64)ntohl(tpte.va_hi) << 32) | ntohl(tpte.va_lo_fbo)); in dump_stag()
Dqp.c621 fr->tpte.valid_to_pdid = cpu_to_be32(FW_RI_TPTE_VALID_F | in build_tpte_memreg()
626 fr->tpte.locread_to_qpid = cpu_to_be32( in build_tpte_memreg()
630 fr->tpte.nosnoop_pbladdr = cpu_to_be32(FW_RI_TPTE_PBLADDR_V( in build_tpte_memreg()
632 fr->tpte.dca_mwbcnt_pstag = cpu_to_be32(0); in build_tpte_memreg()
633 fr->tpte.len_hi = cpu_to_be32(0); in build_tpte_memreg()
634 fr->tpte.len_lo = cpu_to_be32(mhp->ibmr.length); in build_tpte_memreg()
635 fr->tpte.va_hi = cpu_to_be32(mhp->ibmr.iova >> 32); in build_tpte_memreg()
636 fr->tpte.va_lo_fbo = cpu_to_be32(mhp->ibmr.iova & 0xffffffff); in build_tpte_memreg()
Dt4fw_ri_api.h680 struct fw_ri_tpte tpte; member
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h394 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte);
Dcxgb4_main.c1714 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte) in cxgb4_read_tpte() argument
1771 ret = t4_memory_rw(adap, 0, memtype, memaddr, 32, tpte, T4_MEMORY_READ); in cxgb4_read_tpte()