Searched refs:ECCTL2 (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/pwm/
H A Dpwm-tiecap.c37 #define ECCTL2 0x2A macro
93 reg_val = readw(pc->mmio_base + ECCTL2); ecap_pwm_config()
98 writew(reg_val, pc->mmio_base + ECCTL2); ecap_pwm_config()
115 reg_val = readw(pc->mmio_base + ECCTL2); ecap_pwm_config()
118 writew(reg_val, pc->mmio_base + ECCTL2); ecap_pwm_config()
132 reg_val = readw(pc->mmio_base + ECCTL2); ecap_pwm_set_polarity()
140 writew(reg_val, pc->mmio_base + ECCTL2); ecap_pwm_set_polarity()
157 reg_val = readw(pc->mmio_base + ECCTL2); ecap_pwm_enable()
159 writew(reg_val, pc->mmio_base + ECCTL2); ecap_pwm_enable()
172 reg_val = readw(pc->mmio_base + ECCTL2); ecap_pwm_disable()
174 writew(reg_val, pc->mmio_base + ECCTL2); ecap_pwm_disable()
288 pc->ctx.ecctl2 = readw(pc->mmio_base + ECCTL2); ecap_pwm_save_context()
298 writew(pc->ctx.ecctl2, pc->mmio_base + ECCTL2); ecap_pwm_restore_context()

Completed in 180 milliseconds