Lines Matching refs:sys_read32
307 uint32_t control = sys_read32(base + WDT_CR); in dw_wdt_enable()
327 uint32_t control = sys_read32(base + WDT_CR); in dw_wdt_response_mode_set()
345 uint32_t control = sys_read32(base + WDT_CR); in dw_wdt_reset_pulse_length_set()
361 uint32_t timeout = sys_read32(base + WDT_TORR); in dw_wdt_timeout_period_set()
376 return FIELD_GET(WDT_TORR_TOP, sys_read32(base + WDT_TORR)); in dw_wdt_timeout_period_get()
388 uint32_t timeout = sys_read32(base + WDT_TORR); in dw_wdt_timeout_period_init_set()
405 uint32_t current_counter_value = sys_read32(base + WDT_CCVR); in dw_wdt_current_counter_value_register_get()
432 return sys_read32(base + WDT_STAT) & 1; in dw_wdt_interrupt_status_register_get()
444 sys_read32(base + WDT_EOI); in dw_wdt_clear_interrupt()
455 return sys_read32(base + WDT_COMP_PARAM_5); in dw_wdt_user_top_max_get()
466 return sys_read32(base + WDT_COMP_PARAM_4); in dw_wdt_user_top_init_max_get()
477 return sys_read32(base + WDT_COMP_PARAM_3); in dw_wdt_timeout_period_rst_get()
488 return sys_read32(base + WDT_COMP_PARAM_2); in dw_wdt_cnt_rst_get()
499 return FIELD_GET(WDT_CNT_WIDTH, sys_read32(base + WDT_COMP_PARAM_1)) + 16; in dw_wdt_cnt_width_get()
513 return FIELD_GET(WDT_DFLT_TOP_INIT, sys_read32(base + WDT_COMP_PARAM_1)); in dw_wdt_dflt_timeout_period_init_get()
528 return FIELD_GET(WDT_DFLT_TOP, sys_read32(base + WDT_COMP_PARAM_1)); in dw_wdt_dflt_timeout_period_get()
539 return FIELD_GET(WDT_DFLT_RPL, sys_read32(base + WDT_COMP_PARAM_1)); in dw_wdt_dflt_rpl_get()
553 return FIELD_GET(APB_DATA_WIDTH, sys_read32(base + WDT_COMP_PARAM_1)); in dw_wdt_apb_data_width_get()
568 return FIELD_GET(WDT_PAUSE, sys_read32(base + WDT_COMP_PARAM_1)); in dw_wdt_pause_get()
584 return FIELD_GET(WDT_USE_FIX_TOP, sys_read32(base + WDT_COMP_PARAM_1)); in dw_wdt_use_fix_timeout_period_get()
598 return FIELD_GET(WDT_HC_TOP, sys_read32(base + WDT_COMP_PARAM_1)); in dw_wdt_hc_timeout_period_get()
610 return FIELD_GET(WDT_HC_RPL, sys_read32(base + WDT_COMP_PARAM_1)); in dw_wdt_hc_reset_pulse_length_get()
622 return FIELD_GET(WDT_HC_RMOD, sys_read32(base + WDT_COMP_PARAM_1)); in dw_wdt_hc_response_mode_get()
637 return FIELD_GET(WDT_DUAL_TOP, sys_read32(base + WDT_COMP_PARAM_1)); in dw_wdt_dual_timeout_period_get()
654 return FIELD_GET(WDT_DFLT_RMOD, sys_read32(base + WDT_COMP_PARAM_1)); in dw_wdt_dflt_response_mode_get()
669 return FIELD_GET(WDT_ALWAYS_EN, sys_read32(base + WDT_COMP_PARAM_1)); in dw_wdt_always_en_get()
682 return sys_read32(base + WDT_COMP_VERSION); in dw_wdt_comp_version_get()
693 return sys_read32(base + WDT_COMP_TYPE); in dw_wdt_comp_type_get()