Searched refs:th1520_pwm_ctrl (Results 1 – 1 of 1) sorted by relevance
42 const fn th1520_pwm_ctrl(n: u32) -> usize { in th1520_pwm_ctrl() function241 let ctrl = iomap.try_read32(th1520_pwm_ctrl(hwpwm))?; in read_waveform()281 iomap.try_write32(wfhw.ctrl_val, th1520_pwm_ctrl(hwpwm))?; in write_waveform()285 th1520_pwm_ctrl(hwpwm), in write_waveform()291 iomap.try_write32(wfhw.ctrl_val, th1520_pwm_ctrl(hwpwm))?; in write_waveform()296 th1520_pwm_ctrl(hwpwm), in write_waveform()302 iomap.try_write32(wfhw.ctrl_val | TH1520_PWM_START, th1520_pwm_ctrl(hwpwm))?; in write_waveform()