Lines Matching refs:NPCM7xxPWM
71 static uint32_t npcm7xx_pwm_calculate_freq(NPCM7xxPWM *p) in npcm7xx_pwm_calculate_freq()
100 static uint32_t npcm7xx_pwm_calculate_duty(NPCM7xxPWM *p) in npcm7xx_pwm_calculate_duty()
123 static void npcm7xx_pwm_update_freq(NPCM7xxPWM *p) in npcm7xx_pwm_update_freq()
134 static void npcm7xx_pwm_update_duty(NPCM7xxPWM *p) in npcm7xx_pwm_update_duty()
146 static void npcm7xx_pwm_update_output(NPCM7xxPWM *p) in npcm7xx_pwm_update_output()
185 NPCM7xxPWM *p; in npcm7xx_pwm_write_pcr()
354 NPCM7xxPWM *p; in npcm7xx_pwm_write()
456 NPCM7xxPWM *p = &s->pwm[i]; in npcm7xx_pwm_enter_reset()
489 NPCM7xxPWM *p = &s->pwm[i]; in npcm7xx_pwm_init()
515 VMSTATE_BOOL(running, NPCM7xxPWM),
516 VMSTATE_BOOL(inverted, NPCM7xxPWM),
517 VMSTATE_UINT8(index, NPCM7xxPWM),
518 VMSTATE_UINT32(cnr, NPCM7xxPWM),
519 VMSTATE_UINT32(cmr, NPCM7xxPWM),
520 VMSTATE_UINT32(pdr, NPCM7xxPWM),
521 VMSTATE_UINT32(pwdr, NPCM7xxPWM),
522 VMSTATE_UINT32(freq, NPCM7xxPWM),
523 VMSTATE_UINT32(duty, NPCM7xxPWM),
536 NPCM7xxPWM),