Home
last modified time | relevance | path

Searched refs:flash_mode (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Deeprom.c20 if (!dev->flash_mode) in mt7915_eeprom_load_precal()
104 dev->flash_mode = true; in mt7915_eeprom_load_default()
122 dev->flash_mode = true; in mt7915_eeprom_load()
179 dev->flash_mode = true; in mt7915_eeprom_parse_band_config()
H A Dmt7915.h296 bool flash_mode; member
H A Dinit.c811 if (dev->flash_mode) { in mt7915_init_hardware()
H A Dmain.c332 if (dev->flash_mode) { in mt7915_set_channel()
H A Dmcu.c2821 if (dev->flash_mode) in mt7915_mcu_set_eeprom()
/openbmc/linux/drivers/usb/typec/ucsi/
H A Ducsi_ccg.c1249 static int ccg_fw_update(struct ucsi_ccg *uc, enum enum_flash_mode flash_mode) in ccg_fw_update() argument
1253 while (flash_mode != FLASH_NOT_NEEDED) { in ccg_fw_update()
1254 err = do_flash(uc, flash_mode); in ccg_fw_update()
1257 err = ccg_fw_update_needed(uc, &flash_mode); in ccg_fw_update()
1296 enum enum_flash_mode flash_mode; in ccg_update_firmware() local
1299 status = ccg_fw_update_needed(uc, &flash_mode); in ccg_update_firmware()
1303 if (flash_mode != FLASH_NOT_NEEDED) { in ccg_update_firmware()
1308 ccg_fw_update(uc, flash_mode); in ccg_update_firmware()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Deeprom.c47 dev->flash_mode = true; in mt7996_eeprom_load_default()
64 dev->flash_mode = true; in mt7996_eeprom_load()
H A Dmt7996.h228 bool flash_mode:1; member
H A Dmcu.c3067 if (dev->flash_mode) in mt7996_mcu_set_eeprom()
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sysfs.c1123 static int flash_mode; in qlcnic_83xx_sysfs_flash_write_handler() local
1134 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()