Home
last modified time | relevance | path

Searched refs:PWM_POLARITY_INVERSED (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/pwm/
H A Dpwm-atmel-tcb.c145 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable()
151 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable()
203 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable()
209 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable()
223 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable()
228 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable()
H A Dpwm-dwc-core.c103 if (state->polarity != PWM_POLARITY_INVERSED) in dwc_pwm_apply()
148 state->polarity = PWM_POLARITY_INVERSED; in dwc_pwm_get_state()
H A Dpwm-visconti.c96 if (state->polarity == PWM_POLARITY_INVERSED) in visconti_pwm_apply()
119 state->polarity = PWM_POLARITY_INVERSED; in visconti_pwm_get_state()
H A Dpwm-gpio.c61 bool invert = state->polarity == PWM_POLARITY_INVERSED; in pwm_gpio_toggle()
105 bool invert = state->polarity == PWM_POLARITY_INVERSED; in pwm_gpio_apply()
H A Dpwm-renesas-tpu.c113 tpd->polarity == PWM_POLARITY_INVERSED ? in tpu_pwm_set_pin()
118 tpd->polarity == PWM_POLARITY_INVERSED ? in tpu_pwm_set_pin()
123 tpd->polarity == PWM_POLARITY_INVERSED ? in tpu_pwm_set_pin()
H A Dpwm-loongson.c84 if (polarity == PWM_POLARITY_INVERSED) in pwm_loongson_set_polarity()
179 state->polarity = (ctrl & LOONGSON_PWM_CTRL_REG_INVERT) ? PWM_POLARITY_INVERSED : in pwm_loongson_get_state()
H A Dpwm-hibvt.c122 if (polarity == PWM_POLARITY_INVERSED) in hibvt_pwm_set_polarity()
148 state->polarity = (PWM_POLARITY_MASK & value) ? PWM_POLARITY_INVERSED : PWM_POLARITY_NORMAL; in hibvt_pwm_get_state()
H A Dpwm-microchip-core.c165 if (state->polarity == PWM_POLARITY_INVERSED) { in mchp_core_pwm_apply_duty()
416 state->polarity = negedge < posedge ? PWM_POLARITY_INVERSED : PWM_POLARITY_NORMAL; in mchp_core_pwm_get_state()
H A Dpwm-mc33xs2410.c262 if (state->polarity == PWM_POLARITY_INVERSED && rel_dc >= 0) in mc33xs2410_pwm_apply()
299 PWM_POLARITY_INVERSED : PWM_POLARITY_NORMAL; in mc33xs2410_pwm_get_state()
H A Dpwm-imx27.c128 state->polarity = PWM_POLARITY_INVERSED; in pwm_imx27_get_state()
354 if (state->polarity == PWM_POLARITY_INVERSED) in pwm_imx27_apply()
H A Dpwm-omap-dmtimer.c254 polarity == PWM_POLARITY_INVERSED, in pwm_omap_dmtimer_set_polarity()
292 state->polarity == PWM_POLARITY_INVERSED, in pwm_omap_dmtimer_apply()
H A Dpwm-rockchip.c95 state->polarity = PWM_POLARITY_INVERSED; in rockchip_pwm_get_state()
146 if (state->polarity == PWM_POLARITY_INVERSED) in rockchip_pwm_config()
H A Dpwm-meson.c177 if (state->polarity == PWM_POLARITY_INVERSED && !meson->data->has_polarity) in meson_pwm_calc()
298 channel->inverted = (state->polarity == PWM_POLARITY_INVERSED); in meson_pwm_apply()
355 state->polarity = PWM_POLARITY_INVERSED; in meson_pwm_get_state()
H A Dpwm-clk.c74 if (state->polarity == PWM_POLARITY_INVERSED) in pwm_clk_apply()
H A Dpwm-apple.c49 if (state->polarity == PWM_POLARITY_INVERSED) in apple_pwm_apply()
H A Dpwm-ep93xx.c72 if (state->polarity == PWM_POLARITY_INVERSED) in ep93xx_pwm_apply()
H A Dcore.c93 .polarity = PWM_POLARITY_INVERSED, in pwm_wf2state()
1059 pwm->args.polarity = PWM_POLARITY_INVERSED; in of_pwm_xlate_with_flags()
1095 pwm->args.polarity = PWM_POLARITY_INVERSED; in of_pwm_single_xlate()
1255 case PWM_POLARITY_INVERSED: in polarity_show()
1276 polarity = PWM_POLARITY_INVERSED; in polarity_store()
1889 pwm->args.polarity = PWM_POLARITY_INVERSED; in acpi_pwm_get()
H A Dpwm-sophgo-sg2042.c103 if (state->polarity == PWM_POLARITY_INVERSED) in pwm_sg2042_apply()
H A Dpwm-bcm-iproc.c87 state->polarity = PWM_POLARITY_INVERSED; in iproc_pwmc_get_state()
H A Dpwm-vt8500.c168 if (polarity == PWM_POLARITY_INVERSED) in vt8500_pwm_set_polarity()
H A Dpwm-tiecap.c121 if (polarity == PWM_POLARITY_INVERSED) in ecap_pwm_set_polarity()
H A Dpwm-imx-tpm.c159 state->polarity = PWM_POLARITY_INVERSED; in pwm_imx_tpm_get_state()
/linux/drivers/regulator/
H A Dpwm-regulator.c161 if (pstate.polarity == PWM_POLARITY_INVERSED) in pwm_regulator_get_voltage()
342 if (pstate.polarity == PWM_POLARITY_INVERSED) in pwm_regulator_init_boot_on()
/linux/drivers/hwmon/
H A Damc6821.c928 return PWM_POLARITY_INVERSED; in amc6821_pwm_polarity()
938 polarity = PWM_POLARITY_INVERSED; in amc6821_pwm_polarity()
989 if (data->pwm_polarity == PWM_POLARITY_INVERSED) in amc6821_init_client()
/linux/include/linux/
H A Dpwm.h28 PWM_POLARITY_INVERSED, enumerator

12