Searched refs:flash_index (Results 1 – 2 of 2) sorted by relevance
850 int flash_index; in spear_smi_setup_banks() local869 flash_index = spear_smi_probe_flash(dev, bank); in spear_smi_setup_banks()870 if (flash_index < 0) { in spear_smi_setup_banks()872 return flash_index; in spear_smi_setup_banks()886 flash->mtd.name = flash_devices[flash_index].name; in spear_smi_setup_banks()894 flash->mtd.erasesize = flash_devices[flash_index].sectorsize; in spear_smi_setup_banks()895 flash->page_size = flash_devices[flash_index].pagesize; in spear_smi_setup_banks()897 flash->erase_cmd = flash_devices[flash_index].erase_cmd; in spear_smi_setup_banks()901 flash->dev_id = flash_devices[flash_index].device_id; in spear_smi_setup_banks()
6719 uint32_t fw_idx, uint32_t *flash_index) in qla4xxx_find_flash_st_idx() argument6742 *flash_index = fw_idx; in qla4xxx_find_flash_st_idx()6756 *flash_index = idx; in qla4xxx_find_flash_st_idx()6785 uint32_t flash_index = -1; in qla4xxx_build_st_list() local6819 &flash_index); in qla4xxx_build_st_list()6827 idx, flash_index); in qla4xxx_build_st_list()6828 st_ddb_idx->flash_ddb_idx = flash_index; in qla4xxx_build_st_list()