Searched refs:rstval (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/arch/mips/netlogic/xlp/ |
D | nlm_hal.c | 277 unsigned int rstval, dfsval, denom; in nlm_xlp_get_core_frequency() local 281 rstval = nlm_read_sys_reg(sysbase, SYS_POWER_ON_RESET_CFG); in nlm_xlp_get_core_frequency() 283 pll_divf = ((rstval >> 10) & 0x7f) + 1; in nlm_xlp_get_core_frequency() 284 pll_divr = ((rstval >> 8) & 0x3) + 1; in nlm_xlp_get_core_frequency() 285 ext_div = ((rstval >> 30) & 0x3) + 1; in nlm_xlp_get_core_frequency()
|
/Linux-v5.4/drivers/bus/ |
D | ti-sysc.c | 1572 int sysc_offset, syss_offset, sysc_val, rstval, error = 0; in sysc_reset() local 1602 error = readx_poll_timeout(sysc_read_sysstatus, ddata, rstval, in sysc_reset() 1603 (rstval & ddata->cfg.syss_mask) == in sysc_reset() 1608 error = readx_poll_timeout(sysc_read_sysconfig, ddata, rstval, in sysc_reset() 1609 !(rstval & sysc_mask), in sysc_reset()
|