Searched refs:lock_offs_max (Results 1 – 1 of 1) sorted by relevance
96 loff_t lock_offs, lock_offs_max, offs_max; in spi_nor_check_lock_status_sr() local104 lock_offs_max = lock_offs + lock_len; in spi_nor_check_lock_status_sr()109 return (offs_max <= lock_offs_max) && (ofs >= lock_offs); in spi_nor_check_lock_status_sr()112 return (ofs >= lock_offs_max) || (offs_max <= lock_offs); in spi_nor_check_lock_status_sr()