/linux-5.19.10/include/linux/ |
D | pwm.h | 62 struct pwm_state { struct 91 struct pwm_state state; 92 struct pwm_state last; 106 struct pwm_state *state) in pwm_get_state() 113 struct pwm_state state; in pwm_is_enabled() 128 struct pwm_state state; in pwm_get_period() 143 struct pwm_state state; in pwm_get_duty_cycle() 152 struct pwm_state state; in pwm_get_polarity() 183 struct pwm_state *state) in pwm_init_state() 213 pwm_get_relative_duty_cycle(const struct pwm_state *state, unsigned int scale) in pwm_get_relative_duty_cycle() [all …]
|
/linux-5.19.10/drivers/pwm/ |
D | sysfs.c | 21 struct pwm_state suspend; 41 struct pwm_state state; in period_show() 54 struct pwm_state state; in period_store() 76 struct pwm_state state; in duty_cycle_show() 89 struct pwm_state state; in duty_cycle_store() 111 struct pwm_state state; in enable_show() 124 struct pwm_state state; in enable_store() 160 struct pwm_state state; in polarity_show() 184 struct pwm_state state; in polarity_store() 379 struct pwm_state *state) in pwm_class_get_state() [all …]
|
D | pwm-imx-tpm.c | 89 struct pwm_state *real_state, in pwm_imx_tpm_round_state() 90 const struct pwm_state *state) in pwm_imx_tpm_round_state() 137 struct pwm_state *state) in pwm_imx_tpm_get_state() 172 struct pwm_state *state, in pwm_imx_tpm_apply_hw() 180 struct pwm_state c; in pwm_imx_tpm_apply_hw() 290 const struct pwm_state *state) in pwm_imx_tpm_apply() 294 struct pwm_state real_state; in pwm_imx_tpm_apply()
|
D | pwm-stm32-lp.c | 35 const struct pwm_state *state) in stm32_pwm_lp_apply() 39 struct pwm_state cstate; in stm32_pwm_lp_apply() 162 struct pwm_state *state) in stm32_pwm_lp_get_state() 224 struct pwm_state state; in stm32_pwm_lp_suspend()
|
D | pwm-keembay.c | 93 struct pwm_state *state) in keembay_pwm_get_state() 119 const struct pwm_state *state) in keembay_pwm_apply() 122 struct pwm_state current_state; in keembay_pwm_apply()
|
D | pwm-atmel.c | 195 const struct pwm_state *state, in atmel_pwm_calculate_cprd_and_pres() 228 static void atmel_pwm_calculate_cdty(const struct pwm_state *state, in atmel_pwm_calculate_cdty() 295 const struct pwm_state *state) in atmel_pwm_apply() 298 struct pwm_state cstate; in atmel_pwm_apply() 360 struct pwm_state *state) in atmel_pwm_get_state()
|
D | pwm-rockchip.c | 62 struct pwm_state *state) in rockchip_pwm_get_state() 102 const struct pwm_state *state) in rockchip_pwm_config() 186 const struct pwm_state *state) in rockchip_pwm_apply() 189 struct pwm_state curstate; in rockchip_pwm_apply()
|
D | pwm-lpss.c | 130 const struct pwm_state *state) in pwm_lpss_prepare_enable() 149 const struct pwm_state *state) in pwm_lpss_apply() 172 struct pwm_state *state) in pwm_lpss_get_state()
|
D | pwm-sprd.c | 69 struct pwm_state *state) in sprd_pwm_get_state() 159 const struct pwm_state *state) in sprd_pwm_apply() 164 struct pwm_state *cstate = &pwm->state; in sprd_pwm_apply()
|
D | pwm-visconti.c | 47 const struct pwm_state *state) in visconti_pwm_apply() 107 struct pwm_state *state) in visconti_pwm_get_state()
|
D | pwm-dwc.c | 86 const struct pwm_state *state) in __dwc_pwm_configure_timer() 145 const struct pwm_state *state) in dwc_pwm_apply() 167 struct pwm_state *state) in dwc_pwm_get_state()
|
D | pwm-raspberrypi-poe.c | 87 struct pwm_state *state) in raspberrypi_pwm_get_state() 99 const struct pwm_state *state) in raspberrypi_pwm_apply()
|
D | pwm-sun4i.c | 113 struct pwm_state *state) in sun4i_pwm_get_state() 168 const struct pwm_state *state, in sun4i_pwm_calculate() 231 const struct pwm_state *state) in sun4i_pwm_apply() 234 struct pwm_state cstate; in sun4i_pwm_apply()
|
D | core.c | 451 const struct pwm_state *state) in pwm_apply_state_debug() 453 struct pwm_state *last = &pwm->last; in pwm_apply_state_debug() 455 struct pwm_state s1, s2; in pwm_apply_state_debug() 552 const struct pwm_state *state) in pwm_apply_legacy() 555 struct pwm_state initial_state = pwm->state; in pwm_apply_legacy() 623 int pwm_apply_state(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_state() 708 struct pwm_state state; in pwm_adjust_config() 1224 struct pwm_state state; in pwm_dbg_show()
|
D | pwm-imx27.c | 122 struct pwm_device *pwm, struct pwm_state *state) in pwm_imx27_get_state() 216 const struct pwm_state *state) in pwm_imx27_apply() 220 struct pwm_state cstate; in pwm_imx27_apply()
|
D | pwm-crc.c | 55 const struct pwm_state *state) in crc_pwm_apply() 125 struct pwm_state *state) in crc_pwm_get_state()
|
D | pwm-iqs620a.c | 63 const struct pwm_state *state) in iqs620_pwm_apply() 108 struct pwm_state *state) in iqs620_pwm_get_state()
|
D | pwm-sl28cpld.c | 92 struct pwm_state *state) in sl28cpld_pwm_get_state() 121 const struct pwm_state *state) in sl28cpld_pwm_apply()
|
D | pwm-sifive.c | 108 struct pwm_state *state) in pwm_sifive_get_state() 146 const struct pwm_state *state) in pwm_sifive_apply() 149 struct pwm_state cur_state; in pwm_sifive_apply()
|
D | pwm-intel-lgm.c | 65 const struct pwm_state *state) in lgm_pwm_apply() 90 struct pwm_state *state) in lgm_pwm_get_state()
|
/linux-5.19.10/drivers/hwmon/ |
D | pwm-fan.c | 34 struct pwm_state pwm_state; member 89 struct pwm_state *state = &ctx->pwm_state; in __set_pwm() 282 ctx->pwm_state.enabled = false; in pwm_fan_pwm_disable() 283 pwm_apply_state(ctx->pwm, &ctx->pwm_state); in pwm_fan_pwm_disable() 329 pwm_init_state(ctx->pwm, &ctx->pwm_state); in pwm_fan_probe() 336 if (ctx->pwm_state.period > ULONG_MAX / MAX_PWM + 1) { in pwm_fan_probe() 461 struct pwm_state state = ctx->pwm_state; in pwm_fan_disable() 508 return pwm_apply_state(ctx->pwm, &ctx->pwm_state); in pwm_fan_resume()
|
/linux-5.19.10/include/trace/events/ |
D | pwm.h | 13 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state), 41 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state), 49 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state),
|
/linux-5.19.10/drivers/regulator/ |
D | pwm-regulator.c | 57 struct pwm_state pwm_state; in pwm_regulator_init_state() local 61 pwm_get_state(drvdata->pwm, &pwm_state); in pwm_regulator_init_state() 62 dutycycle = pwm_get_relative_duty_cycle(&pwm_state, 100); in pwm_regulator_init_state() 86 struct pwm_state pstate; in pwm_regulator_set_voltage_sel() 154 struct pwm_state pstate; in pwm_regulator_get_voltage() 191 struct pwm_state pstate; in pwm_regulator_set_voltage()
|
/linux-5.19.10/drivers/video/backlight/ |
D | pwm_bl.c | 44 struct pwm_state state; in pwm_backlight_power_on() 69 struct pwm_state state; in pwm_backlight_power_off() 92 struct pwm_state state; in compute_duty_cycle() 112 struct pwm_state state; in pwm_backlight_update_status() 460 struct pwm_state state; in pwm_backlight_probe()
|
/linux-5.19.10/drivers/input/misc/ |
D | pwm-beeper.c | 33 struct pwm_state state; in pwm_beeper_on() 126 struct pwm_state state; in pwm_beeper_probe()
|