Searched refs:flash_offset (Results 1 – 3 of 3) sorted by relevance
166 uint32_t flash_offset; in qla4_83xx_lockless_flash_read_u32() local170 flash_offset = addr & (QLA83XX_FLASH_SECTOR_SIZE - 1); in qla4_83xx_lockless_flash_read_u32()188 if ((flash_offset + (u32_word_count * sizeof(uint32_t))) > in qla4_83xx_lockless_flash_read_u32()205 flash_offset = flash_offset + 4; in qla4_83xx_lockless_flash_read_u32()207 if (flash_offset > (QLA83XX_FLASH_SECTOR_SIZE - 1)) { in qla4_83xx_lockless_flash_read_u32()217 flash_offset = 0; in qla4_83xx_lockless_flash_read_u32()
1036 uint32_t flash_offset; in qla8044_lockless_flash_read_u32() local1040 flash_offset = addr & (QLA8044_FLASH_SECTOR_SIZE - 1); in qla8044_lockless_flash_read_u32()1060 if ((flash_offset + (u32_word_count * sizeof(uint32_t))) > in qla8044_lockless_flash_read_u32()1075 flash_offset = flash_offset + 4; in qla8044_lockless_flash_read_u32()1076 if (flash_offset > (QLA8044_FLASH_SECTOR_SIZE - 1)) { in qla8044_lockless_flash_read_u32()1087 flash_offset = 0; in qla8044_lockless_flash_read_u32()
2639 u32 word, range, flash_offset, addr = flash_addr, ret; in qlcnic_83xx_lockless_flash_read32() local2643 flash_offset = addr & (QLCNIC_FLASH_SECTOR_SIZE - 1); in qlcnic_83xx_lockless_flash_read32()2652 range = flash_offset + (count * sizeof(u32)); in qlcnic_83xx_lockless_flash_read32()2667 flash_offset = flash_offset + 4; in qlcnic_83xx_lockless_flash_read32()2669 if (flash_offset > (QLCNIC_FLASH_SECTOR_SIZE - 1)) { in qlcnic_83xx_lockless_flash_read32()2675 flash_offset = 0; in qlcnic_83xx_lockless_flash_read32()