Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/hwinfo/
Dhwinfo_andes.c30 static const struct device *const syscon_dev = variable
39 if (!device_is_ready(syscon_dev)) { in z_impl_hwinfo_get_device_id()
43 ret = syscon_read_reg(syscon_dev, SMU_SYSTEMVER, &ver); in z_impl_hwinfo_get_device_id()
64 if (!device_is_ready(syscon_dev)) { in z_impl_hwinfo_get_reset_cause()
68 ret = syscon_read_reg(syscon_dev, SMU_WRSR, &reason); in z_impl_hwinfo_get_reset_cause()
99 if (!device_is_ready(syscon_dev)) { in z_impl_hwinfo_clear_reset_cause()
103 ret = syscon_write_reg(syscon_dev, SMU_WRSR, ANDES_RESET_STATUS_MASK); in z_impl_hwinfo_clear_reset_cause()
109 ret = syscon_read_reg(syscon_dev, SMU_WRSR, &reason); in z_impl_hwinfo_clear_reset_cause()
/Zephyr-latest/drivers/cache/
Dcache_andes_l2.h217 const struct device *syscon_dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in nds_l2_cache_init() local
219 if (device_is_ready(syscon_dev)) { in nds_l2_cache_init()
221 syscon_read_reg(syscon_dev, 0x08, &system_cfg); in nds_l2_cache_init()