Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/sfc/
Dmcdi.c1626 u32 *nvram_types) in efx_new_mcdi_nvram_types() argument
1645 memcpy(nvram_types, MCDI_PTR(outbuf, NVRAM_PARTITIONS_OUT_TYPE_ID), in efx_new_mcdi_nvram_types()
1709 u32 *nvram_types = kzalloc(MC_CMD_NVRAM_PARTITIONS_OUT_LENMAX_MCDI2, in efx_new_mcdi_nvram_test_all() local
1714 if (!nvram_types) in efx_new_mcdi_nvram_test_all()
1717 rc = efx_new_mcdi_nvram_types(efx, &number, nvram_types); in efx_new_mcdi_nvram_test_all()
1725 if (nvram_types[i] == NVRAM_PARTITION_TYPE_PARTITION_MAP || in efx_new_mcdi_nvram_test_all()
1726 nvram_types[i] == NVRAM_PARTITION_TYPE_DYNAMIC_CONFIG) in efx_new_mcdi_nvram_test_all()
1729 rc = efx_mcdi_nvram_test(efx, nvram_types[i]); in efx_new_mcdi_nvram_test_all()
1735 kfree(nvram_types); in efx_new_mcdi_nvram_test_all()
1741 u32 nvram_types; in efx_mcdi_nvram_test_all() local
[all …]
Dsiena.c910 u32 nvram_types; in siena_mtd_probe() local
917 rc = efx_mcdi_nvram_types(efx, &nvram_types); in siena_mtd_probe()
921 parts = kcalloc(hweight32(nvram_types), sizeof(*parts), GFP_KERNEL); in siena_mtd_probe()
928 while (nvram_types != 0) { in siena_mtd_probe()
929 if (nvram_types & 1) { in siena_mtd_probe()
938 nvram_types >>= 1; in siena_mtd_probe()