Searched refs:num_flashes (Results 1 – 3 of 3) sorted by relevance
177 u32 num_flashes; member505 if (bank > dev->num_flashes - 1) { in spear_mtd_erase()557 if (flash->bank > dev->num_flashes - 1) { in spear_mtd_read()686 if (flash->bank > dev->num_flashes - 1) { in spear_mtd_write()829 pdata->num_flashes = i; in spear_smi_probe_config_dt()854 if (bank > pdata->num_flashes - 1) in spear_smi_setup_banks()992 dev->num_flashes = pdata->num_flashes; in spear_smi_probe()994 if (dev->num_flashes > MAX_NUM_FLASH_CHIP) { in spear_smi_probe()996 dev->num_flashes = MAX_NUM_FLASH_CHIP; in spear_smi_probe()1022 for (i = 0; i < dev->num_flashes; i++) { in spear_smi_probe()[all …]
60 int num_flashes; member
745 u32 num_flashes; member