Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/sfc/
H A Dmcdi.c1618 u32 *nvram_types) in efx_new_mcdi_nvram_types() argument
1637 memcpy(nvram_types, MCDI_PTR(outbuf, NVRAM_PARTITIONS_OUT_TYPE_ID), in efx_new_mcdi_nvram_types()
1701 u32 *nvram_types = kzalloc(MC_CMD_NVRAM_PARTITIONS_OUT_LENMAX_MCDI2, in efx_new_mcdi_nvram_test_all() local
1706 if (!nvram_types) in efx_new_mcdi_nvram_test_all()
1709 rc = efx_new_mcdi_nvram_types(efx, &number, nvram_types); in efx_new_mcdi_nvram_test_all()
1717 if (nvram_types[i] == NVRAM_PARTITION_TYPE_PARTITION_MAP || in efx_new_mcdi_nvram_test_all()
1718 nvram_types[i] == NVRAM_PARTITION_TYPE_DYNAMIC_CONFIG) in efx_new_mcdi_nvram_test_all()
1721 rc = efx_mcdi_nvram_test(efx, nvram_types[i]); in efx_new_mcdi_nvram_test_all()
1727 kfree(nvram_types); in efx_new_mcdi_nvram_test_all()
1733 u32 nvram_types; in efx_mcdi_nvram_test_all() local
[all …]
/linux/drivers/net/ethernet/sfc/siena/
H A Dsiena.c915 u32 nvram_types; in siena_mtd_probe() local
922 rc = efx_siena_mcdi_nvram_types(efx, &nvram_types); in siena_mtd_probe()
926 parts = kcalloc(hweight32(nvram_types), sizeof(*parts), GFP_KERNEL); in siena_mtd_probe()
933 while (nvram_types != 0) { in siena_mtd_probe()
934 if (nvram_types & 1) { in siena_mtd_probe()
943 nvram_types >>= 1; in siena_mtd_probe()
H A Dmcdi.c1684 u32 nvram_types; in efx_siena_mcdi_nvram_test_all() local
1688 rc = efx_siena_mcdi_nvram_types(efx, &nvram_types); in efx_siena_mcdi_nvram_test_all()
1693 while (nvram_types != 0) { in efx_siena_mcdi_nvram_test_all()
1694 if (nvram_types & 1) { in efx_siena_mcdi_nvram_test_all()
1700 nvram_types >>= 1; in efx_siena_mcdi_nvram_test_all()