Home
last modified time | relevance | path

Searched refs:fpwm (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/pwm/
H A Dpwm-apple.c47 struct apple_pwm *fpwm; in apple_pwm_apply() local
52 fpwm = to_apple_pwm(chip); in apple_pwm_apply()
56 on_cycles = mul_u64_u64_div_u64(fpwm->clkrate, in apple_pwm_apply()
61 off_cycles = mul_u64_u64_div_u64(fpwm->clkrate, in apple_pwm_apply()
66 writel(on_cycles, fpwm->base + APPLE_PWM_ON_CYCLES); in apple_pwm_apply()
67 writel(off_cycles, fpwm->base + APPLE_PWM_OFF_CYCLES); in apple_pwm_apply()
69 fpwm->base + APPLE_PWM_CTRL); in apple_pwm_apply()
71 writel(0, fpwm->base + APPLE_PWM_CTRL); in apple_pwm_apply()
79 struct apple_pwm *fpwm; in apple_pwm_get_state() local
82 fpwm = to_apple_pwm(chip); in apple_pwm_get_state()
[all …]
/linux/drivers/regulator/
H A Dmax77620-regulator.c492 bool fpwm = false; in max77620_regulator_set_mode() local
499 fpwm = true; in max77620_regulator_set_mode()
520 val = (fpwm) ? MAX77620_SD_FPWM_MASK : 0; in max77620_regulator_set_mode()
545 int fpwm = 0; in max77620_regulator_get_mode() local
563 fpwm = !!(val & MAX77620_SD_FPWM_MASK); in max77620_regulator_get_mode()
569 if (fpwm) in max77620_regulator_get_mode()
/linux/arch/arm64/boot/dts/apple/
H A Dt600x-die0.dtsi75 compatible = "apple,t6000-fpwm", "apple,s5l-fpwm";
H A Dt8103.dtsi436 compatible = "apple,t8103-fpwm", "apple,s5l-fpwm";
H A Dt8112.dtsi462 compatible = "apple,t8112-fpwm", "apple,s5l-fpwm";
/linux/
H A DMAINTAINERS2160 F: Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml