| /linux/drivers/pwm/ |
| H A D | pwm-vt8500.c | 27 #define REG_CTRL(pwm) (((pwm) << 4) + 0x00) argument 28 #define REG_SCALAR(pwm) (((pwm) << 4) + 0x04) argument 29 #define REG_PERIOD(pwm) (((pwm) << 4) + 0x08) argument 30 #define REG_DUTY(pwm) (((pwm) << 4) + 0x0C) argument 71 static int vt8500_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in vt8500_pwm_config() 125 static int vt8500_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in vt8500_pwm_enable() 145 static void vt8500_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) in vt8500_pwm_disable() 159 struct pwm_device *pwm, in vt8500_pwm_set_polarity() 178 static int vt8500_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in vt8500_pwm_apply()
|
| H A D | pwm-max7360.c | 41 static int max7360_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) in max7360_pwm_request() 56 struct pwm_device *pwm, in max7360_pwm_round_waveform_tohw() 86 static int max7360_pwm_round_waveform_fromhw(struct pwm_chip *chip, struct pwm_device *pwm, in max7360_pwm_round_waveform_fromhw() 108 struct pwm_device *pwm, in max7360_pwm_write_waveform() 127 struct pwm_device *pwm, in max7360_pwm_read_waveform()
|
| H A D | pwm-dwc-core.c | 24 static void __dwc_pwm_set_enable(struct dwc_pwm *dwc, int pwm, int enabled) in __dwc_pwm_set_enable() 39 struct pwm_device *pwm, in __dwc_pwm_configure_timer() 98 static int dwc_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in dwc_pwm_apply() 120 static int dwc_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in dwc_pwm_get_state()
|
| H A D | pwm-lpc18xx-sct.c | 124 struct pwm_device *pwm, in lpc18xx_pwm_set_conflict_res() 163 struct pwm_device *pwm, u64 duty_ns) in lpc18xx_pwm_config_duty() 184 static int lpc18xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in lpc18xx_pwm_config() 222 static int lpc18xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity pola… in lpc18xx_pwm_enable() 257 static void lpc18xx_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) in lpc18xx_pwm_disable() 268 static int lpc18xx_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) in lpc18xx_pwm_request() 289 static void lpc18xx_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) in lpc18xx_pwm_free() 297 static int lpc18xx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in lpc18xx_pwm_apply()
|
| H A D | pwm-rz-mtu3.c | 165 static int rz_mtu3_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) in rz_mtu3_pwm_request() 195 static void rz_mtu3_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) in rz_mtu3_pwm_free() 212 static int rz_mtu3_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in rz_mtu3_pwm_enable() 244 static void rz_mtu3_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) in rz_mtu3_pwm_disable() 269 static int rz_mtu3_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in rz_mtu3_pwm_get_state() 318 static int rz_mtu3_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in rz_mtu3_pwm_config() 405 static int rz_mtu3_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in rz_mtu3_pwm_apply()
|
| H A D | pwm-berlin.c | 74 static int berlin_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in berlin_pwm_config() 113 struct pwm_device *pwm, in berlin_pwm_set_polarity() 131 static int berlin_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in berlin_pwm_enable() 144 struct pwm_device *pwm) in berlin_pwm_disable() 154 static int berlin_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in berlin_pwm_apply()
|
| H A D | pwm-sifive.c | 76 static int pwm_sifive_request(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_sifive_request() 87 static void pwm_sifive_free(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_sifive_free() 125 static int pwm_sifive_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in pwm_sifive_get_state() 152 static int pwm_sifive_apply(struct pwm_chip *chip, struct pwm_device *pwm, in pwm_sifive_apply() 343 struct pwm_device *pwm; in pwm_sifive_remove() local
|
| H A D | pwm-rzg2l-gpt.c | 135 static int rzg2l_gpt_request(struct pwm_chip *chip, struct pwm_device *pwm) in rzg2l_gpt_request() 146 static void rzg2l_gpt_free(struct pwm_chip *chip, struct pwm_device *pwm) in rzg2l_gpt_free() 171 struct pwm_device *pwm) in rzg2l_gpt_enable() 189 struct pwm_device *pwm) in rzg2l_gpt_disable() 222 static int rzg2l_gpt_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in rzg2l_gpt_get_state() 258 static int rzg2l_gpt_config(struct pwm_chip *chip, struct pwm_device *pwm, in rzg2l_gpt_config() 345 static int rzg2l_gpt_apply(struct pwm_chip *chip, struct pwm_device *pwm, in rzg2l_gpt_apply()
|
| H A D | pwm-adp5585.c | 47 static int pwm_adp5585_request(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_adp5585_request() 57 static void pwm_adp5585_free(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_adp5585_free() 67 struct pwm_device *pwm, in pwm_adp5585_apply() 120 struct pwm_device *pwm, in pwm_adp5585_get_state()
|
| H A D | pwm-microchip-core.c | 68 static void mchp_core_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm, in mchp_core_pwm_enable() 148 static void mchp_core_pwm_apply_duty(struct pwm_chip *chip, struct pwm_device *pwm, in mchp_core_pwm_apply_duty() 271 static int mchp_core_pwm_apply_locked(struct pwm_chip *chip, struct pwm_device *pwm, in mchp_core_pwm_apply_locked() 357 static int mchp_core_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in mchp_core_pwm_apply() 367 static int mchp_core_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in mchp_core_pwm_get_state()
|
| H A D | pwm-spear.c | 75 static int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in spear_pwm_config() 135 static int spear_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in spear_pwm_enable() 152 static void spear_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) in spear_pwm_disable() 164 static int spear_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in spear_pwm_apply()
|
| H A D | pwm-axi-pwmgen.c | 72 struct pwm_device *pwm, in axi_pwmgen_round_waveform_tohw() 121 static int axi_pwmgen_round_waveform_fromhw(struct pwm_chip *chip, struct pwm_device *pwm, in axi_pwmgen_round_waveform_fromhw() 140 struct pwm_device *pwm, in axi_pwmgen_write_waveform() 165 struct pwm_device *pwm, in axi_pwmgen_read_waveform()
|
| H A D | pwm-img.c | 89 static int img_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in img_pwm_config() 147 static int img_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in img_pwm_enable() 168 static void img_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) in img_pwm_disable() 180 static int img_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in img_pwm_apply()
|
| H A D | pwm-sprd.c | 70 static int sprd_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in sprd_pwm_get_state() 122 static int sprd_pwm_config(struct sprd_pwm_chip *spc, struct pwm_device *pwm, in sprd_pwm_config() 162 static int sprd_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in sprd_pwm_apply()
|
| H A D | pwm-ab8500.c | 35 static int ab8500_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in ab8500_pwm_apply() 138 static int ab8500_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in ab8500_pwm_get_state()
|
| H A D | pwm-apple.c | 43 static int apple_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in apple_pwm_apply() 75 static int apple_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in apple_pwm_get_state()
|
| H A D | pwm-crc.c | 52 static int crc_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in crc_pwm_apply() 122 static int crc_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in crc_pwm_get_state()
|
| H A D | pwm-pxa.c | 67 static int pxa_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in pxa_pwm_config() 102 static int pxa_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in pxa_pwm_apply()
|
| H A D | pwm-iqs620a.c | 67 static int iqs620_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in iqs620_pwm_apply() 112 static int iqs620_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in iqs620_pwm_get_state()
|
| H A D | pwm-sl28cpld.c | 93 struct pwm_device *pwm, in sl28cpld_pwm_get_state() 124 static int sl28cpld_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in sl28cpld_pwm_apply()
|
| H A D | pwm-airoha.c | 448 static int airoha_pwm_config(struct airoha_pwm *pc, struct pwm_device *pwm, in airoha_pwm_config() 489 static void airoha_pwm_disable(struct airoha_pwm *pc, struct pwm_device *pwm) in airoha_pwm_disable() 504 static int airoha_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in airoha_pwm_apply() 545 static int airoha_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in airoha_pwm_get_state()
|
| /linux/drivers/input/keyboard/ |
| H A D | lm8323.c | 148 struct lm8323_pwm pwm[LM8323_NUM_PWMS]; member 352 static void pwm_done(struct lm8323_pwm *pwm) in pwm_done() 415 static void lm8323_write_pwm_one(struct lm8323_pwm *pwm, int pos, u16 cmd) in lm8323_write_pwm_one() 427 static void lm8323_write_pwm(struct lm8323_pwm *pwm, int kill, in lm8323_write_pwm() 442 struct lm8323_pwm *pwm = work_to_pwm(work); in lm8323_pwm_work() local 496 struct lm8323_pwm *pwm = cdev_to_pwm(led_cdev); in lm8323_pwm_set_brightness() local 522 struct lm8323_pwm *pwm = cdev_to_pwm(led_cdev); in lm8323_pwm_show_time() local 531 struct lm8323_pwm *pwm = cdev_to_pwm(led_cdev); in lm8323_pwm_store_time() local 554 struct lm8323_pwm *pwm; in init_pwm() local 626 int pwm; in lm8323_probe() local
|
| /linux/drivers/media/rc/ |
| H A D | pwm-ir-tx.c | 21 struct pwm_device *pwm; member 64 struct pwm_device *pwm = pwm_ir->pwm; in pwm_ir_tx_sleep() local 97 struct pwm_device *pwm = pwm_ir->pwm; in pwm_ir_tx_atomic() local
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | tda1002x.h | 53 struct i2c_adapter* i2c, u8 pwm) in tda10021_attach() 67 struct i2c_adapter *i2c, u8 pwm) in tda10023_attach()
|
| /linux/drivers/hwmon/ |
| H A D | pwm-fan.c | 42 struct pwm_device *pwm; member 203 static int __set_pwm(struct pwm_fan_ctx *ctx, unsigned long pwm) in __set_pwm() 242 static int set_pwm(struct pwm_fan_ctx *ctx, unsigned long pwm) in set_pwm() 253 static void pwm_fan_update_state(struct pwm_fan_ctx *ctx, unsigned long pwm) in pwm_fan_update_state()
|