Searched refs:bp_slots_needed (Results 1 – 1 of 1) sorted by relevance
36 unsigned int bp_slots, bp_slots_needed; in spi_nor_get_min_prot_length_sr() local47 bp_slots_needed = ilog2(n_sectors); in spi_nor_get_min_prot_length_sr()49 if (bp_slots_needed > bp_slots) in spi_nor_get_min_prot_length_sr()50 return sector_size << (bp_slots_needed - bp_slots); in spi_nor_get_min_prot_length_sr()