Searched refs:min_prot_len (Results 1 – 1 of 1) sorted by relevance
54 u64 min_prot_len; in spi_nor_get_locked_range_sr() local71 min_prot_len = spi_nor_get_min_prot_length_sr(nor); in spi_nor_get_locked_range_sr()72 *len = min_prot_len << (bp - 1); in spi_nor_get_locked_range_sr()157 u64 min_prot_len; in spi_nor_sr_lock() local200 min_prot_len = spi_nor_get_min_prot_length_sr(nor); in spi_nor_sr_lock()201 pow = ilog2(lock_len) - ilog2(min_prot_len) + 1; in spi_nor_sr_lock()242 u64 min_prot_len; in spi_nor_sr_unlock() local285 min_prot_len = spi_nor_get_min_prot_length_sr(nor); in spi_nor_sr_unlock()286 pow = ilog2(lock_len) - ilog2(min_prot_len) + 1; in spi_nor_sr_unlock()