Lines Matching refs:hsfsts
8498 union ich8_hws_flash_status hsfsts; in e1000_ich8_cycle_init() local
8504 hsfsts.regval = E1000_READ_ICH_FLASH_REG16(hw, ICH_FLASH_HSFSTS); in e1000_ich8_cycle_init()
8507 if (hsfsts.hsf_status.fldesvalid == 0) { in e1000_ich8_cycle_init()
8514 hsfsts.hsf_status.flcerr = 1; in e1000_ich8_cycle_init()
8515 hsfsts.hsf_status.dael = 1; in e1000_ich8_cycle_init()
8517 E1000_WRITE_ICH_FLASH_REG16(hw, ICH_FLASH_HSFSTS, hsfsts.regval); in e1000_ich8_cycle_init()
8528 if (hsfsts.hsf_status.flcinprog == 0) { in e1000_ich8_cycle_init()
8531 hsfsts.hsf_status.flcdone = 1; in e1000_ich8_cycle_init()
8532 E1000_WRITE_ICH_FLASH_REG16(hw, ICH_FLASH_HSFSTS, hsfsts.regval); in e1000_ich8_cycle_init()
8538 hsfsts.regval = E1000_READ_ICH_FLASH_REG16(hw, ICH_FLASH_HSFSTS); in e1000_ich8_cycle_init()
8539 if (hsfsts.hsf_status.flcinprog == 0) { in e1000_ich8_cycle_init()
8548 hsfsts.hsf_status.flcdone = 1; in e1000_ich8_cycle_init()
8549 E1000_WRITE_ICH_FLASH_REG16(hw, ICH_FLASH_HSFSTS, hsfsts.regval); in e1000_ich8_cycle_init()
8566 union ich8_hws_flash_status hsfsts; in e1000_ich8_flash_cycle() local
8577 hsfsts.regval = E1000_READ_ICH_FLASH_REG16(hw, ICH_FLASH_HSFSTS); in e1000_ich8_flash_cycle()
8578 if (hsfsts.hsf_status.flcdone == 1) in e1000_ich8_flash_cycle()
8583 if (hsfsts.hsf_status.flcdone == 1 && hsfsts.hsf_status.flcerr == 0) { in e1000_ich8_flash_cycle()
8601 union ich8_hws_flash_status hsfsts; in e1000_read_ich8_data() local
8654 hsfsts.regval = E1000_READ_ICH_FLASH_REG16(hw, ICH_FLASH_HSFSTS); in e1000_read_ich8_data()
8655 if (hsfsts.hsf_status.flcerr == 1) { in e1000_read_ich8_data()
8658 } else if (hsfsts.hsf_status.flcdone == 0) { in e1000_read_ich8_data()
8680 union ich8_hws_flash_status hsfsts; in e1000_write_ich8_data() local
8730 hsfsts.regval = E1000_READ_ICH_FLASH_REG16(hw, ICH_FLASH_HSFSTS); in e1000_write_ich8_data()
8731 if (hsfsts.hsf_status.flcerr == 1) { in e1000_write_ich8_data()
8734 } else if (hsfsts.hsf_status.flcdone == 0) { in e1000_write_ich8_data()
8848 union ich8_hws_flash_status hsfsts; in e1000_erase_ich8_4k_segment() local
8859 hsfsts.regval = E1000_READ_ICH_FLASH_REG16(hw, ICH_FLASH_HSFSTS); in e1000_erase_ich8_4k_segment()
8870 if (hsfsts.hsf_status.berasesz == 0x0) { in e1000_erase_ich8_4k_segment()
8875 } else if (hsfsts.hsf_status.berasesz == 0x1) { in e1000_erase_ich8_4k_segment()
8878 } else if (hsfsts.hsf_status.berasesz == 0x3) { in e1000_erase_ich8_4k_segment()
8917 hsfsts.regval = E1000_READ_ICH_FLASH_REG16(hw, ICH_FLASH_HSFSTS); in e1000_erase_ich8_4k_segment()
8918 if (hsfsts.hsf_status.flcerr == 1) { in e1000_erase_ich8_4k_segment()
8921 } else if (hsfsts.hsf_status.flcdone == 0) { in e1000_erase_ich8_4k_segment()