Searched refs:offs_max (Results 1 – 1 of 1) sorted by relevance
90 loff_t lock_offs, lock_offs_max, offs_max; in spi_nor_check_lock_status_sr() local99 offs_max = ofs + len; in spi_nor_check_lock_status_sr()103 return (offs_max <= lock_offs_max) && (ofs >= lock_offs); in spi_nor_check_lock_status_sr()106 return (ofs >= lock_offs_max) || (offs_max <= lock_offs); in spi_nor_check_lock_status_sr()