Home
last modified time | relevance | path

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

/Zephyr-latest/soc/renesas/rzt2m/
Dsoc.c14 static const struct device *const prcrs_dev = DEVICE_DT_GET(DT_NODELABEL(prcrs));
41 uint32_t prcrs; in rzt2m_unlock_prcrs() local
43 syscon_read_reg(prcrs_dev, 0, &prcrs); in rzt2m_unlock_prcrs()
44 prcrs |= PRC_KEY_CODE | mask; in rzt2m_unlock_prcrs()
46 syscon_write_reg(prcrs_dev, 0, prcrs); in rzt2m_unlock_prcrs()
51 uint32_t prcrs; in rzt2m_lock_prcrs() local
53 syscon_read_reg(prcrs_dev, 0, &prcrs); in rzt2m_lock_prcrs()
54 prcrs &= ~mask; in rzt2m_lock_prcrs()
55 prcrs |= PRC_KEY_CODE; in rzt2m_lock_prcrs()
57 syscon_write_reg(prcrs_dev, 0, prcrs); in rzt2m_lock_prcrs()
/Zephyr-latest/dts/arm/renesas/rz/
Drzt2m.dtsi85 prcrs: prcrs@81281a00 { label