Searched refs:min_prot_len (Results 1 – 1 of 1) sorted by relevance
1594 u64 min_prot_len; in spi_nor_get_locked_range_sr() local1611 min_prot_len = spi_nor_get_min_prot_length_sr(nor); in spi_nor_get_locked_range_sr()1612 *len = min_prot_len << (bp - 1); in spi_nor_get_locked_range_sr()1694 u64 min_prot_len; in spi_nor_sr_lock() local1737 min_prot_len = spi_nor_get_min_prot_length_sr(nor); in spi_nor_sr_lock()1738 pow = ilog2(lock_len) - ilog2(min_prot_len) + 1; in spi_nor_sr_lock()1779 u64 min_prot_len; in spi_nor_sr_unlock() local1822 min_prot_len = spi_nor_get_min_prot_length_sr(nor); in spi_nor_sr_unlock()1823 pow = ilog2(lock_len) - ilog2(min_prot_len) + 1; in spi_nor_sr_unlock()