Searched refs:flash_mode (Results 1 – 8 of 8) sorted by relevance
16 if (!dev->flash_mode || !val) in mt7915_eeprom_load_precal()110 dev->flash_mode = true; in mt7915_eeprom_load_default()128 dev->flash_mode = true; in mt7915_eeprom_load()
295 bool flash_mode; member
2834 if (dev->flash_mode) in mt7915_mcu_set_eeprom()
1311 static int ccg_fw_update(struct ucsi_ccg *uc, enum enum_flash_mode flash_mode) in ccg_fw_update() argument1315 while (flash_mode != FLASH_NOT_NEEDED) { in ccg_fw_update()1316 err = do_flash(uc, flash_mode); in ccg_fw_update()1319 err = ccg_fw_update_needed(uc, &flash_mode); in ccg_fw_update()1358 enum enum_flash_mode flash_mode; in ccg_update_firmware() local1361 status = ccg_fw_update_needed(uc, &flash_mode); in ccg_update_firmware()1365 if (flash_mode != FLASH_NOT_NEEDED) { in ccg_update_firmware()1370 ccg_fw_update(uc, flash_mode); in ccg_update_firmware()
55 dev->flash_mode = true; in mt7996_eeprom_load_default()72 dev->flash_mode = true; in mt7996_eeprom_load()
292 bool flash_mode:1; member
3544 if (dev->flash_mode) in mt7996_mcu_set_eeprom()
1123 static int flash_mode; in qlcnic_83xx_sysfs_flash_write_handler() local1134 flash_mode = QLC_83XX_ERASE_MODE; in qlcnic_83xx_sysfs_flash_write_handler()1144 flash_mode = QLC_83XX_BULK_WRITE_MODE; in qlcnic_83xx_sysfs_flash_write_handler()1148 flash_mode = QLC_83XX_WRITE_MODE; in qlcnic_83xx_sysfs_flash_write_handler()1151 if (flash_mode == QLC_83XX_BULK_WRITE_MODE) { in qlcnic_83xx_sysfs_flash_write_handler()1162 if (flash_mode == QLC_83XX_WRITE_MODE) { in qlcnic_83xx_sysfs_flash_write_handler()