Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_debugdump.c214 static bool nfp_csr_spec_valid(struct nfp_dumpspec_csr *spec_csr) in nfp_csr_spec_valid() argument
216 u32 required_read_sz = sizeof(*spec_csr) - sizeof(spec_csr->tl); in nfp_csr_spec_valid()
217 u32 available_sz = be32_to_cpu(spec_csr->tl.length); in nfp_csr_spec_valid()
223 reg_width = be32_to_cpu(spec_csr->register_width); in nfp_csr_spec_valid()
253 struct nfp_dumpspec_csr *spec_csr; in nfp_add_tlv_size() local
264 spec_csr = (struct nfp_dumpspec_csr *)tl; in nfp_add_tlv_size()
265 if (!nfp_csr_spec_valid(spec_csr)) in nfp_add_tlv_size()
269 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); in nfp_add_tlv_size()
272 spec_csr = (struct nfp_dumpspec_csr *)tl; in nfp_add_tlv_size()
273 if (!nfp_csr_spec_valid(spec_csr)) in nfp_add_tlv_size()
[all …]