Home
last modified time | relevance | path

Searched refs:use_top (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mtd/spi-nor/
H A Dswp.c164 bool use_top; in spi_nor_sr_lock() local
189 use_top = can_be_top; in spi_nor_sr_lock()
192 if (use_top) in spi_nor_sr_lock()
225 if (!use_top) in spi_nor_sr_lock()
254 bool use_top; in spi_nor_sr_unlock() local
279 use_top = can_be_top; in spi_nor_sr_unlock()
282 if (use_top) in spi_nor_sr_unlock()
308 if (!use_top) in spi_nor_sr_unlock()
/openbmc/u-boot/drivers/mtd/spi/
H A Dspi-nor-core.c978 bool use_top; in stm_lock() local
1001 use_top = can_be_top; in stm_lock()
1004 if (use_top) in stm_lock()
1031 if (!use_top) in stm_lock()
1058 bool use_top; in stm_unlock() local
1081 use_top = can_be_top; in stm_unlock()
1084 if (use_top) in stm_unlock()
1114 if (!use_top) in stm_unlock()