Searched refs:reg_sz (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_debugdump.c | 453 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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_pci_func.c | 271 resource_size_t reg_sz; in aq_pci_probe() local 279 reg_sz = pci_resource_len(pdev, bar); in aq_pci_probe() 280 if ((reg_sz <= 24 /*ATL_REGS_SIZE*/)) { in aq_pci_probe() 285 self->aq_hw->mmio = ioremap(mmio_pa, reg_sz); in aq_pci_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sp.c | 3257 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()
|