Lines Matching refs:control
307 uint32_t control = sys_read32(base + WDT_CR); in dw_wdt_enable() local
309 control |= WDT_CR_WDT_EN; in dw_wdt_enable()
310 sys_write32(control, base + WDT_CR); in dw_wdt_enable()
327 uint32_t control = sys_read32(base + WDT_CR); in dw_wdt_response_mode_set() local
330 control |= WDT_CR_RMOD; in dw_wdt_response_mode_set()
332 control &= ~WDT_CR_RMOD; in dw_wdt_response_mode_set()
335 sys_write32(control, base + WDT_CR); in dw_wdt_response_mode_set()
346 uint32_t control = sys_read32(base + WDT_CR); in dw_wdt_reset_pulse_length_set() local
348 control &= ~WDT_CR_RPL; in dw_wdt_reset_pulse_length_set()
349 control |= FIELD_PREP(WDT_CR_RPL, pclk_cycles); in dw_wdt_reset_pulse_length_set()
351 sys_write32(control, base + WDT_CR); in dw_wdt_reset_pulse_length_set()