Searched refs:PWM_CTRL (Results 1 – 2 of 2) sorted by relevance
73 val = mmio_read_32(PWM_BASE + PWM_CTRL(i)); in disable_pwms()77 mmio_write_32(PWM_BASE + PWM_CTRL(i), val & ~PWM_ENABLE); in disable_pwms()89 val = mmio_read_32(PWM_BASE + PWM_CTRL(i)); in enable_pwms()92 mmio_write_32(PWM_BASE + PWM_CTRL(i), val | PWM_ENABLE); in enable_pwms()
228 #define PWM_CTRL(n) (0x000c + 0x10 * (n)) macro