Searched refs:n_regions (Results 1 – 8 of 8) sorted by relevance
15 #define spi_nor_otp_n_regions(nor) ((nor)->params->otp.org->n_regions)251 unsigned int n_regions = spi_nor_otp_n_regions(nor); in spi_nor_mtd_otp_info() local255 if (len < n_regions * sizeof(*buf)) in spi_nor_mtd_otp_info()262 for (i = 0; i < n_regions; i++) { in spi_nor_mtd_otp_info()276 *retlen = n_regions * sizeof(*buf); in spi_nor_mtd_otp_info()
276 unsigned int n_regions; member303 unsigned int n_regions; member554 .n_regions = (_n_regions), \
147 for (i = 0; i < erase_map->n_regions; i++) { in spi_nor_params_show()
1634 for (i = 0; i < map->n_regions && len; i++) { in spi_nor_init_erase_cmd_list()2385 map->n_regions = 1; in spi_nor_init_uniform_erase_map()3354 mtd_region = devm_kcalloc(nor->dev, map->n_regions, sizeof(*mtd_region), in spi_nor_set_mtd_eraseregions()3359 for (i = 0; i < map->n_regions; i++) { in spi_nor_set_mtd_eraseregions()3370 mtd->numeraseregions = map->n_regions; in spi_nor_set_mtd_eraseregions()
395 for (i = 0; i < map->n_regions; i++) { in spi_nor_regions_sort_erase_types()855 map->n_regions = region_count; in spi_nor_init_non_uniform_erase_map()
374 dram_regions->n_regions = 0; in iwl_pcie_load_payloads_segments()388 dram_regions->n_regions++; in iwl_pcie_load_payloads_segments()442 dram_regions->n_regions = 1; in iwl_trans_pcie_ctx_info_gen3_load_pnvm()456 for (i = 0; i < dram_regions->n_regions; i++) in iwl_dram_regions_size()538 dram_regions->n_regions = 1; in iwl_trans_pcie_ctx_info_gen3_load_reduce_power()
2008 for (i = 0; i < dram_regions->n_regions; i++) { in iwl_trans_pcie_free_pnvm_dram_regions()2013 dram_regions->n_regions = 0; in iwl_trans_pcie_free_pnvm_dram_regions()
566 u8 n_regions; member