Home
last modified time | relevance | path

Searched refs:pwm_state (Results 1 - 25 of 129) sorted by relevance

123456

/kernel/linux/linux-5.10/include/linux/
H A Dpwm.h52 * struct pwm_state - state of a PWM channel
58 struct pwm_state { struct
86 struct pwm_state state;
87 struct pwm_state last;
96 struct pwm_state *state) in pwm_get_state()
103 struct pwm_state state; in pwm_is_enabled()
118 struct pwm_state state; in pwm_get_period()
133 struct pwm_state state; in pwm_get_duty_cycle()
142 struct pwm_state state; in pwm_get_polarity()
173 struct pwm_state *stat in pwm_init_state()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dpwm.h49 * struct pwm_state - state of a PWM channel
59 struct pwm_state { struct
88 struct pwm_state state;
89 struct pwm_state last;
103 struct pwm_state *state) in pwm_get_state()
110 struct pwm_state state; in pwm_is_enabled()
125 struct pwm_state state; in pwm_get_period()
140 struct pwm_state state; in pwm_get_duty_cycle()
149 struct pwm_state state; in pwm_get_polarity()
180 struct pwm_state *stat in pwm_init_state()
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dpwm-fan.c43 struct pwm_state pwm_state; member
98 struct pwm_state *state, in pwm_fan_enable_mode_2_state()
141 struct pwm_state *state = &ctx->pwm_state; in pwm_fan_power_on()
171 struct pwm_state *state = &ctx->pwm_state; in pwm_fan_power_off()
199 struct pwm_state *state = &ctx->pwm_state; in __set_pwm()
273 struct pwm_state *stat in pwm_fan_update_enable()
[all...]
/kernel/linux/linux-5.10/drivers/pwm/
H A Dsysfs.c21 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 *stat in pwm_class_get_state()
[all...]
H A Dpwm-imx-tpm.c82 * This function determines for a given pwm_state *state that a consumer
83 * might request the pwm_state *real_state that eventually is implemented
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()
H A Dpwm-stm32-lp.c35 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()
234 struct pwm_state state; in stm32_pwm_lp_suspend()
H A Dpwm-atmel.c127 const struct pwm_state *state, in atmel_pwm_calculate_cprd_and_pres()
160 static void atmel_pwm_calculate_cdty(const struct pwm_state *state, in atmel_pwm_calculate_cdty()
236 const struct pwm_state *state) in atmel_pwm_apply()
239 struct pwm_state cstate; in atmel_pwm_apply()
299 struct pwm_state *state) in atmel_pwm_get_state()
H A Dpwm-crc.c55 const struct pwm_state *state) in crc_pwm_apply()
125 struct pwm_state *state) in crc_pwm_get_state()
/kernel/linux/linux-6.6/drivers/pwm/
H A Dsysfs.c21 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 *stat in pwm_class_get_state()
[all...]
H A Dpwm-microchip-core.c134 static u64 mchp_core_pwm_calc_duty(const struct pwm_state *state, u64 clk_rate, in mchp_core_pwm_calc_duty()
152 const struct pwm_state *state, u64 duty_steps, in mchp_core_pwm_apply_duty()
185 static int mchp_core_pwm_calc_period(const struct pwm_state *state, unsigned long clk_rate, in mchp_core_pwm_calc_period()
275 const struct pwm_state *state) in mchp_core_pwm_apply_locked()
361 const struct pwm_state *state) in mchp_core_pwm_apply()
378 struct pwm_state *state) in mchp_core_pwm_get_state()
H A Dpwm-stm32-lp.c35 const struct pwm_state *state) in stm32_pwm_lp_apply()
39 struct pwm_state cstate; in stm32_pwm_lp_apply()
161 struct pwm_state *state) in stm32_pwm_lp_get_state()
225 struct pwm_state state; in stm32_pwm_lp_suspend()
H A Dpwm-imx-tpm.c82 * This function determines for a given pwm_state *state that a consumer
83 * might request the pwm_state *real_state that eventually is implemented
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()
174 struct pwm_state *state, in pwm_imx_tpm_apply_hw()
182 struct pwm_state c; in pwm_imx_tpm_apply_hw()
292 const struct pwm_state *state) in pwm_imx_tpm_apply()
296 struct pwm_state real_state; in pwm_imx_tpm_apply()
H A Dpwm-keembay.c93 struct pwm_state *state) in keembay_pwm_get_state()
121 const struct pwm_state *state) in keembay_pwm_apply()
124 struct pwm_state current_state; in keembay_pwm_apply()
H A Dpwm-atmel.c194 const struct pwm_state *state, in atmel_pwm_calculate_cprd_and_pres()
227 static void atmel_pwm_calculate_cdty(const struct pwm_state *state, in atmel_pwm_calculate_cdty()
294 const struct pwm_state *state) in atmel_pwm_apply()
297 struct pwm_state cstate; in atmel_pwm_apply()
359 struct pwm_state *state) in atmel_pwm_get_state()
H A Dcore.c111 struct pwm_state state = { 0, }; in pwm_device_request()
386 const struct pwm_state *state) in pwm_apply_state_debug()
388 struct pwm_state *last = &pwm->last; in pwm_apply_state_debug()
390 struct pwm_state s1 = { 0 }, s2 = { 0 }; in pwm_apply_state_debug()
472 *last = (struct pwm_state){ 0 }; in pwm_apply_state_debug()
496 int pwm_apply_state(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_state()
577 struct pwm_state state; in pwm_adjust_config()
1062 struct pwm_state state; in pwm_dbg_show()
H A Dpwm-ab8500.c37 const struct pwm_state *state) in ab8500_pwm_apply()
140 struct pwm_state *state) in ab8500_pwm_get_state()
H A Dpwm-apple.c46 const struct pwm_state *state) in apple_pwm_apply()
78 struct pwm_state *state) in apple_pwm_get_state()
H A Dpwm-crc.c55 const struct pwm_state *state) in crc_pwm_apply()
125 struct pwm_state *state) in crc_pwm_get_state()
H A Dpwm-sl28cpld.c96 struct pwm_state *state) in sl28cpld_pwm_get_state()
127 const struct pwm_state *state) in sl28cpld_pwm_apply()
/kernel/linux/linux-5.10/include/trace/events/
H A Dpwm.h13 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),
/kernel/linux/linux-6.6/include/trace/events/
H A Dpwm.h13 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state, int err),
43 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state, int err),
50 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state, int err),
/kernel/linux/linux-5.10/drivers/regulator/
H A Dpwm-regulator.c57 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()
/kernel/linux/linux-6.6/drivers/regulator/
H A Dpwm-regulator.c57 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()
194 struct pwm_state pstate; in pwm_regulator_set_voltage()
/kernel/linux/linux-6.6/drivers/video/backlight/
H A Dpwm_bl.c77 static int compute_duty_cycle(struct pwm_bl_data *pb, int brightness, struct pwm_state *state) in compute_duty_cycle()
97 struct pwm_state state; in pwm_backlight_update_status()
458 struct pwm_state state; in pwm_backlight_probe()
629 struct pwm_state state; in pwm_backlight_remove()
646 struct pwm_state state; in pwm_backlight_shutdown()
660 struct pwm_state state; in pwm_backlight_suspend()
/kernel/linux/linux-5.10/drivers/video/backlight/
H A Dpwm_bl.c44 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()
469 struct pwm_state state; in pwm_backlight_probe()

Completed in 16 milliseconds

123456