Home
last modified time | relevance | path

Searched refs:lock_bit (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/mtd/spi-nor/
H A Dotp.c178 int ret, lock_bit; in spi_nor_otp_lock_sr2() local
180 lock_bit = spi_nor_otp_lock_bit_cr(region); in spi_nor_otp_lock_sr2()
181 if (lock_bit < 0) in spi_nor_otp_lock_sr2()
182 return lock_bit; in spi_nor_otp_lock_sr2()
189 if (cr[0] & lock_bit) in spi_nor_otp_lock_sr2()
192 cr[0] |= lock_bit; in spi_nor_otp_lock_sr2()
210 int ret, lock_bit; in spi_nor_otp_is_locked_sr2() local
212 lock_bit = spi_nor_otp_lock_bit_cr(region); in spi_nor_otp_is_locked_sr2()
213 if (lock_bit < 0) in spi_nor_otp_is_locked_sr2()
214 return lock_bit; in spi_nor_otp_is_locked_sr2()
[all …]
/openbmc/linux/drivers/clk/qcom/
H A Dclk-hfpll.h19 u8 lock_bit; member
H A Dclk-hfpll.c81 !(val & BIT(hd->lock_bit)), 0, in __clk_hfpll_enable()
217 if (!(status & BIT(hd->lock_bit))) { in clk_hfpll_init()
H A Dhfpll.c25 .lock_bit = 16,
/openbmc/linux/drivers/pinctrl/tegra/
H A Dpinctrl-tegra.h157 s32 lock_bit:6; member
H A Dpinctrl-tegra124.c1738 .lock_bit = 7, \
1757 .lock_bit = -1, \
1795 .lock_bit = -1, \
H A Dpinctrl-tegra.c395 *bit = g->lock_bit; in tegra_pinconf_reg()
H A Dpinctrl-tegra210.c1299 .lock_bit = 7, \
1331 .lock_bit = -1, \
H A Dpinctrl-tegra234.c1416 .lock_bit = -1, \
1430 .lock_bit = -1, \
H A Dpinctrl-tegra114.c1569 .lock_bit = 7, \
1588 .lock_bit = -1, \
H A Dpinctrl-tegra194.c1315 .lock_bit = -1, \
1330 .lock_bit = -1, \
H A Dpinctrl-tegra30.c2130 .lock_bit = 7, \
2149 .lock_bit = -1, \
H A Dpinctrl-tegra20.c1991 .lock_bit = -1, \
/openbmc/linux/drivers/iommu/
H A Dapple-dart.c169 u64 lock_bit; member
457 if (config & dart->hw->lock_bit) { in apple_dart_hw_reset()
1175 .lock_bit = DART_T8020_CONFIG_LOCK,
1200 .lock_bit = DART_T8020_CONFIG_LOCK,
1225 .lock_bit = DART_T8110_PROTECT_TTBR_TCR,
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_reset.c370 u32 lock_bit; member
385 sfc_lock->lock_bit = GEN11_VCS_SFC_FORCED_LOCK_BIT; in get_sfc_forced_lock_data()
397 sfc_lock->lock_bit = GEN11_VECS_SFC_FORCED_LOCK_BIT; in get_sfc_forced_lock_data()
468 intel_uncore_rmw_fw(uncore, sfc_lock.lock_reg, 0, sfc_lock.lock_bit); in gen11_lock_sfc()
518 intel_uncore_rmw_fw(uncore, sfc_lock.lock_reg, sfc_lock.lock_bit, 0); in gen11_unlock_sfc()