Searched refs:regmap_st (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/clocksource/ |
D | timer-atmel-st.c | 23 static struct regmap *regmap_st; variable 35 regmap_read(regmap_st, AT91_ST_CRTR, &x1); in read_CRTR() 37 regmap_read(regmap_st, AT91_ST_CRTR, &x2); in read_CRTR() 52 regmap_read(regmap_st, AT91_ST_SR, &sr); in at91rm9200_timer_interrupt() 100 regmap_write(regmap_st, AT91_ST_IDR, AT91_ST_PITS | AT91_ST_ALMS); in clkdev32k_disable_and_flush_irq() 101 regmap_read(regmap_st, AT91_ST_SR, &val); in clkdev32k_disable_and_flush_irq() 109 regmap_write(regmap_st, AT91_ST_IER, irqmask); in clkevt32k_shutdown() 122 regmap_write(regmap_st, AT91_ST_RTAR, last_crtr); in clkevt32k_set_oneshot() 123 regmap_write(regmap_st, AT91_ST_IER, irqmask); in clkevt32k_set_oneshot() 133 regmap_write(regmap_st, AT91_ST_PIMR, timer_latch); in clkevt32k_set_periodic() [all …]
|
/Linux-v5.10/drivers/watchdog/ |
D | at91rm9200_wdt.c | 37 static struct regmap *regmap_st; variable 61 regmap_write(regmap_st, AT91_ST_WDMR, in at91rm9200_restart() 63 regmap_write(regmap_st, AT91_ST_CR, AT91_ST_WDRST); in at91rm9200_restart() 81 regmap_write(regmap_st, AT91_ST_WDMR, AT91_ST_EXTEN); in at91_wdt_stop() 89 regmap_write(regmap_st, AT91_ST_WDMR, AT91_ST_EXTEN | AT91_ST_RSTEN | in at91_wdt_start() 91 regmap_write(regmap_st, AT91_ST_CR, AT91_ST_WDRST); in at91_wdt_start() 99 regmap_write(regmap_st, AT91_ST_CR, AT91_ST_WDRST); in at91_wdt_reload() 244 regmap_st = syscon_node_to_regmap(parent->of_node); in at91wdt_probe() 245 if (IS_ERR(regmap_st)) in at91wdt_probe()
|