Lines Matching defs:chan
49 #define PWM_CONTROL_SMOOTH_SHIFT(chan) (24 + (chan)) argument
50 #define PWM_CONTROL_TYPE_SHIFT(chan) (16 + (chan)) argument
51 #define PWM_CONTROL_POLARITY_SHIFT(chan) (8 + (chan)) argument
52 #define PWM_CONTROL_TRIGGER_SHIFT(chan) (chan) argument
55 #define PRESCALE_SHIFT(chan) ((chan) << 2) argument
56 #define PRESCALE_MASK(chan) (0x7 << PRESCALE_SHIFT(chan)) argument
60 #define PERIOD_COUNT_OFFSET(chan) (0x00000008 + ((chan) << 3)) argument
64 #define DUTY_CYCLE_HIGH_OFFSET(chan) (0x0000000c + ((chan) << 3)) argument
83 unsigned int chan) in kona_pwmc_prepare_for_settings()
98 static void kona_pwmc_apply_settings(struct kona_pwmc *kp, unsigned int chan) in kona_pwmc_apply_settings()
117 unsigned int value, chan = pwm->hwpwm; in kona_pwmc_config() local
180 unsigned int chan = pwm->hwpwm; in kona_pwmc_set_polarity() local
232 unsigned int chan = pwm->hwpwm; in kona_pwmc_disable() local
263 unsigned int chan; in kona_pwmc_probe() local
317 unsigned int chan; in kona_pwmc_remove() local