Home
last modified time | relevance | path

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

/openbsd/sys/dev/fdt/
H A Damlpwm.c38 #define PWM_MISC_REG_AB 0x02 macro
151 misc = HREAD4(sc, PWM_MISC_REG_AB); in amlpwm_get_state()
191 HCLR4(sc, PWM_MISC_REG_AB, (idx == 0) ? PWM_A_EN : PWM_B_EN); in amlpwm_set_state()
206 misc = HREAD4(sc, PWM_MISC_REG_AB); in amlpwm_set_state()
218 HWRITE4(sc, PWM_MISC_REG_AB, misc); in amlpwm_set_state()
220 HSET4(sc, PWM_MISC_REG_AB, (idx == 0) ? PWM_A_EN : PWM_B_EN); in amlpwm_set_state()