Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net_debugdump.c219 static bool nfp_csr_spec_valid(struct nfp_dumpspec_csr *spec_csr) in nfp_csr_spec_valid() argument
221 u32 required_read_sz = sizeof(*spec_csr) - sizeof(spec_csr->tl); in nfp_csr_spec_valid()
222 u32 available_sz = be32_to_cpu(spec_csr->tl.length); in nfp_csr_spec_valid()
228 reg_width = be32_to_cpu(spec_csr->register_width); in nfp_csr_spec_valid()
258 struct nfp_dumpspec_csr *spec_csr; in nfp_add_tlv_size() local
269 spec_csr = (struct nfp_dumpspec_csr *)tl; in nfp_add_tlv_size()
270 if (!nfp_csr_spec_valid(spec_csr)) in nfp_add_tlv_size()
274 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); in nfp_add_tlv_size()
277 spec_csr = (struct nfp_dumpspec_csr *)tl; in nfp_add_tlv_size()
278 if (!nfp_csr_spec_valid(spec_csr)) in nfp_add_tlv_size()
[all …]