Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/sfc/
A Dmcdi.c1626 u32 *nvram_types) in efx_new_mcdi_nvram_types() argument
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()
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
1745 rc = efx_mcdi_nvram_types(efx, &nvram_types); in efx_mcdi_nvram_test_all()
1750 while (nvram_types != 0) { in efx_mcdi_nvram_test_all()
1751 if (nvram_types & 1) { in efx_mcdi_nvram_test_all()
[all …]
A 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()

Completed in 10 milliseconds