Home
last modified time | relevance | path

Searched refs:n_regions (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/mtd/spi-nor/
Dotp.c15 #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() local
255 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()
Dcore.h276 unsigned int n_regions; member
303 unsigned int n_regions; member
554 .n_regions = (_n_regions), \
Ddebugfs.c147 for (i = 0; i < erase_map->n_regions; i++) { in spi_nor_params_show()
Dcore.c1634 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()
Dsfdp.c395 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()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/pcie/
Dctxt-info-gen3.c374 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()
Dtrans.c2008 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()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.h566 u8 n_regions; member