Searched refs:lock_offs_max (Results 1 – 1 of 1) sorted by relevance
95 loff_t lock_offs, lock_offs_max, offs_max; in spi_nor_check_lock_status_sr() local103 lock_offs_max = lock_offs + lock_len; in spi_nor_check_lock_status_sr()108 return (offs_max <= lock_offs_max) && (ofs >= lock_offs); in spi_nor_check_lock_status_sr()111 return (ofs >= lock_offs_max) || (offs_max <= lock_offs); in spi_nor_check_lock_status_sr()