Searched refs:bp_slots (Results 1 – 1 of 1) sorted by relevance
36 unsigned int bp_slots, bp_slots_needed; in spi_nor_get_min_prot_length_sr() local46 bp_slots = (1 << hweight8(mask)) - 2; 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()