Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/netronome/nfp/
Dnfp_net_debugdump.c453 u32 reg_sz, header_size, total_size; in nfp_dump_csr_range() local
463 reg_sz = be32_to_cpu(spec_csr->register_width) / BITS_PER_BYTE; in nfp_dump_csr_range()
485 dest, reg_sz); in nfp_dump_csr_range()
486 err = bytes_read == reg_sz ? 0 : -EIO; in nfp_dump_csr_range()
493 cpp_rd_addr += reg_sz; in nfp_dump_csr_range()
494 dest += reg_sz; in nfp_dump_csr_range()
506 u32 reg_sz, u32 context, void *dest) in nfp_read_indirect_csr() argument
521 result = nfp_cpp_read(cpp, cpp_id, csr_ctx_ptr_offs, dest, reg_sz); in nfp_read_indirect_csr()
522 if (result != reg_sz) in nfp_read_indirect_csr()
525 result = nfp_cpp_read(cpp, cpp_id, offset, dest, reg_sz); in nfp_read_indirect_csr()
[all …]
/linux-6.6.21/arch/arm64/kvm/
Dreset.c101 size_t reg_sz; in kvm_vcpu_finalize_sve() local
115 reg_sz = vcpu_sve_state_size(vcpu); in kvm_vcpu_finalize_sve()
116 buf = kzalloc(reg_sz, GFP_KERNEL_ACCOUNT); in kvm_vcpu_finalize_sve()
120 ret = kvm_share_hyp(buf, buf + reg_sz); in kvm_vcpu_finalize_sve()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/
Daq_pci_func.c265 resource_size_t reg_sz; in aq_pci_probe() local
273 reg_sz = pci_resource_len(pdev, bar); in aq_pci_probe()
274 if ((reg_sz <= 24 /*ATL_REGS_SIZE*/)) { in aq_pci_probe()
279 self->aq_hw->mmio = ioremap(mmio_pa, reg_sz); in aq_pci_probe()
/linux-6.6.21/drivers/perf/arm_cspmu/
Darm_cspmu.c689 static inline u32 counter_offset(u32 reg_sz, u32 ctr_idx) in counter_offset() argument
691 return (PMEVCNTR_LO + (reg_sz * ctr_idx)); in counter_offset()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c3257 int reg_sz = o->get_registry_size(o); in bnx2x_mcast_validate_e2() local
3274 p->mcast_list_len = reg_sz; in bnx2x_mcast_validate_e2()
3283 o->set_registry_size(o, reg_sz + p->mcast_list_len); in bnx2x_mcast_validate_e2()
3295 o->set_registry_size(o, reg_sz + p->mcast_list_len); in bnx2x_mcast_validate_e2()
3586 int reg_sz = o->get_registry_size(o); in bnx2x_mcast_validate_e1() local
3601 p->mcast_list_len = reg_sz; in bnx2x_mcast_validate_e1()