Searched refs:negedge (Results 1 – 2 of 2) sorted by relevance
156 u8 posedge, negedge; in mchp_core_pwm_apply_duty() local169 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() local417 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()
132 xlnx,include-negedge-ioregs = <0x0>;