| /Linux-v5.4/include/linux/ | 
| D | pwm.h | 58 struct pwm_state {  struct 85 	struct pwm_state state;  argument 94 				 struct pwm_state *state)  in pwm_get_state() 101 	struct pwm_state state;  in pwm_is_enabled() 116 	struct pwm_state state;  in pwm_get_period() 131 	struct pwm_state state;  in pwm_get_duty_cycle() 140 	struct pwm_state state;  in pwm_get_polarity() 171 				  struct pwm_state *state)  in pwm_init_state() 200 pwm_get_relative_duty_cycle(const struct pwm_state *state, unsigned int scale)  in pwm_get_relative_duty_cycle() 228 pwm_set_relative_duty_cycle(struct pwm_state *state, unsigned int duty_cycle,  in pwm_set_relative_duty_cycle() [all …] 
 | 
| /Linux-v5.4/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 | 91 				   struct pwm_state *real_state,  in pwm_imx_tpm_round_state() 92 				   const struct pwm_state *state)  in pwm_imx_tpm_round_state() 139 				  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()
  | 
| 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() 236 	struct pwm_state state;  in stm32_pwm_lp_suspend()
  | 
| D | pwm-atmel.c | 113 					     const struct pwm_state *state,  in atmel_pwm_calculate_cprd_and_pres() 136 static void atmel_pwm_calculate_cdty(const struct pwm_state *state,  in atmel_pwm_calculate_cdty() 212 			   const struct pwm_state *state)  in atmel_pwm_apply() 215 	struct pwm_state cstate;  in atmel_pwm_apply()
  | 
| 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-zx.c | 65 			     struct pwm_state *state)  in zx_pwm_get_state() 151 			const struct pwm_state *state)  in zx_pwm_apply() 154 	struct pwm_state cstate;  in zx_pwm_apply()
  | 
| 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-sun4i.c | 107 				struct pwm_state *state)  in sun4i_pwm_get_state() 148 			       const struct pwm_state *state,  in sun4i_pwm_calculate() 199 			   const struct pwm_state *state)  in sun4i_pwm_apply() 202 	struct pwm_state cstate;  in sun4i_pwm_apply()
  | 
| D | pwm-imx27.c | 119 				struct pwm_device *pwm, struct pwm_state *state)  in pwm_imx27_get_state() 212 			   const struct pwm_state *state)  in pwm_imx27_apply() 216 	struct pwm_state cstate;  in pwm_imx27_apply()
  | 
| D | pwm-sifive.c | 110 				 struct pwm_state *state)  in pwm_sifive_get_state() 150 			    const struct pwm_state *state)  in pwm_sifive_apply() 153 	struct pwm_state cur_state;  in pwm_sifive_apply()
  | 
| D | pwm-cros-ec.c | 96 			     const struct pwm_state *state)  in cros_ec_pwm_apply() 115 				  struct pwm_state *state)  in cros_ec_pwm_get_state()
  | 
| D | pwm-rcar.c | 161 			  const struct pwm_state *state)  in rcar_pwm_apply() 164 	struct pwm_state cur_state;  in rcar_pwm_apply()
  | 
| D | pwm-atmel-hlcdc.c | 42 				 const struct pwm_state *state)  in atmel_hlcdc_pwm_apply() 198 	struct pwm_state state;  in atmel_hlcdc_pwm_resume()
  | 
| D | pwm-bcm-iproc.c | 82 				 struct pwm_state *state)  in iproc_pwmc_get_state() 118 			    const struct pwm_state *state)  in iproc_pwmc_apply()
  | 
| D | pwm-lpss.c | 125 			  const struct pwm_state *state)  in pwm_lpss_apply() 163 			       struct pwm_state *state)  in pwm_lpss_get_state()
  | 
| D | pwm-fsl-ftm.c | 230 				const struct pwm_state *newstate)  in fsl_pwm_apply_config() 301 			 const struct pwm_state *newstate)  in fsl_pwm_apply() 304 	struct pwm_state *oldstate = &pwm->state;  in fsl_pwm_apply()
  | 
| D | pwm-meson.c | 162 			  const struct pwm_state *state)  in meson_pwm_calc() 268 			   const struct pwm_state *state)  in meson_pwm_apply() 331 				struct pwm_state *state)  in meson_pwm_get_state()
  | 
| D | pwm-hibvt.c | 132 				struct pwm_state *state)  in hibvt_pwm_get_state() 152 			   const struct pwm_state *state)  in hibvt_pwm_apply()
  | 
| /Linux-v5.4/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-v5.4/drivers/video/backlight/ | 
| D | pwm_bl.c | 45 	struct pwm_state state;  in pwm_backlight_power_on() 70 	struct pwm_state state;  in pwm_backlight_power_off() 93 	struct pwm_state state;  in compute_duty_cycle() 113 	struct pwm_state state;  in pwm_backlight_update_status() 453 	struct pwm_state state;  in pwm_backlight_probe()
  | 
| /Linux-v5.4/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()
  | 
| D | pwm-vibra.c | 39 	struct pwm_state state;  in pwm_vibrator_start() 125 	struct pwm_state state;  in pwm_vibrator_probe()
  | 
| /Linux-v5.4/drivers/clk/ | 
| D | clk-pwm.c | 50 	struct pwm_state state;  in clk_pwm_get_duty_cycle()
  | 
| /Linux-v5.4/drivers/hwmon/ | 
| D | pwm-fan.c | 74 	struct pwm_state state = { };  in __set_pwm() 286 	struct pwm_state state = { };  in pwm_fan_probe()
  |