Lines Matching refs:cpp_id
56 struct nfp_dumpspec_cpp_isl_id cpp_id; member
154 static u32 nfp_get_numeric_cpp_id(struct nfp_dumpspec_cpp_isl_id *cpp_id) in nfp_get_numeric_cpp_id() argument
156 return NFP_CPP_ISLAND_ID(cpp_id->target, cpp_id->action, cpp_id->token, in nfp_get_numeric_cpp_id()
157 cpp_id->island); in nfp_get_numeric_cpp_id()
447 static bool is_xpb_read(struct nfp_dumpspec_cpp_isl_id *cpp_id) in is_xpb_read() argument
449 return cpp_id->target == NFP_CPP_TARGET_ISLAND_XPB && in is_xpb_read()
450 cpp_id->action == 0 && cpp_id->token == 0; in is_xpb_read()
464 u32 cpp_id; in nfp_dump_csr_range() local
483 cpp_id = nfp_get_numeric_cpp_id(&spec_csr->cpp.cpp_id); in nfp_dump_csr_range()
488 if (is_xpb_read(&spec_csr->cpp.cpp_id)) { in nfp_dump_csr_range()
491 bytes_read = nfp_cpp_read(pf->cpp, cpp_id, cpp_rd_addr, in nfp_dump_csr_range()
516 u32 cpp_id; in nfp_read_indirect_csr() local
520 cpp_id = NFP_CPP_ISLAND_ID(cpp_params.target, in nfp_read_indirect_csr()
523 result = nfp_cpp_writel(cpp, cpp_id, csr_ctx_ptr_offs, context); in nfp_read_indirect_csr()
527 cpp_id = nfp_get_numeric_cpp_id(&cpp_params); in nfp_read_indirect_csr()
528 result = nfp_cpp_read(cpp, cpp_id, csr_ctx_ptr_offs, dest, reg_sz); in nfp_read_indirect_csr()
532 result = nfp_cpp_read(cpp, cpp_id, offset, dest, reg_sz); in nfp_read_indirect_csr()
548 err = nfp_read_indirect_csr(cpp, spec_csr->cpp.cpp_id, address, in nfp_read_all_indirect_csr_ctx()
650 dump_header->cpp.cpp_id = cpp_params; in nfp_dump_single_rtsym()