Home
last modified time | relevance | path

Searched refs:negedge (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/pwm/
Dpwm-microchip-core.c156 u8 posedge, negedge; in mchp_core_pwm_apply_duty() local
169 negedge = first_edge; in mchp_core_pwm_apply_duty()
173 negedge = second_edge; in mchp_core_pwm_apply_duty()
182 writel_relaxed(negedge, mchp_core_pwm->base + MCHPCOREPWM_NEGEDGE(pwm->hwpwm)); in mchp_core_pwm_apply_duty()
383 u8 duty_steps, posedge, negedge; in mchp_core_pwm_get_state() local
417 negedge = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_NEGEDGE(pwm->hwpwm)); in mchp_core_pwm_get_state()
421 if (negedge == posedge) { in mchp_core_pwm_get_state()
425 duty_steps = abs((s16)posedge - (s16)negedge); in mchp_core_pwm_get_state()
430 state->polarity = negedge < posedge ? PWM_POLARITY_INVERSED : PWM_POLARITY_NORMAL; in mchp_core_pwm_get_state()
/Linux-v6.6/arch/microblaze/boot/dts/
Dsystem.dts132 xlnx,include-negedge-ioregs = <0x0>;