Searched refs:n_parts (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/sfc/ |
D | falcon.c | 927 size_t n_parts; in falcon_mtd_probe() local 936 n_parts = 0; in falcon_mtd_probe() 940 parts[n_parts].spi = spi; in falcon_mtd_probe() 941 parts[n_parts].offset = FALCON_FLASH_BOOTCODE_START; in falcon_mtd_probe() 942 parts[n_parts].common.dev_type_name = "flash"; in falcon_mtd_probe() 943 parts[n_parts].common.type_name = "sfc_flash_bootrom"; in falcon_mtd_probe() 944 parts[n_parts].common.mtd.type = MTD_NORFLASH; in falcon_mtd_probe() 945 parts[n_parts].common.mtd.flags = MTD_CAP_NORFLASH; in falcon_mtd_probe() 946 parts[n_parts].common.mtd.size = spi->size - FALCON_FLASH_BOOTCODE_START; in falcon_mtd_probe() 947 parts[n_parts].common.mtd.erasesize = spi->erase_size; in falcon_mtd_probe() [all …]
|
D | siena.c | 857 size_t n_parts) in siena_mtd_get_fw_subtypes() argument 868 for (i = 0; i < n_parts; i++) in siena_mtd_get_fw_subtypes() 879 size_t n_parts; in siena_mtd_probe() local 893 n_parts = 0; in siena_mtd_probe() 897 rc = siena_mtd_probe_partition(efx, &parts[n_parts], in siena_mtd_probe() 900 n_parts++; in siena_mtd_probe() 908 rc = siena_mtd_get_fw_subtypes(efx, parts, n_parts); in siena_mtd_probe() 912 rc = efx_mtd_add(efx, &parts[0].common, n_parts, sizeof(*parts)); in siena_mtd_probe()
|
D | mtd.c | 67 size_t n_parts, size_t sizeof_part) in efx_mtd_add() argument 72 for (i = 0; i < n_parts; i++) { in efx_mtd_add()
|
D | efx.h | 227 size_t n_parts, size_t sizeof_part);
|
D | ef10.c | 5153 size_t outlen, n_parts_total, i, n_parts; in efx_ef10_mtd_probe() local 5176 n_parts = 0; in efx_ef10_mtd_probe() 5180 rc = efx_ef10_mtd_probe_partition(efx, &parts[n_parts], type); in efx_ef10_mtd_probe() 5182 n_parts++; in efx_ef10_mtd_probe() 5187 rc = efx_mtd_add(efx, &parts[0].common, n_parts, sizeof(*parts)); in efx_ef10_mtd_probe()
|