| /linux-4.1.27/drivers/pwm/ | 
| D | core.c | 44 static struct pwm_device *pwm_to_device(unsigned int pwm)  in pwm_to_device()49 static int alloc_pwms(int pwm, unsigned int count)  in alloc_pwms()
 77 		struct pwm_device *pwm = &chip->pwms[i];  in free_pwms()  local
 110 static int pwm_device_request(struct pwm_device *pwm, const char *label)  in pwm_device_request()
 137 	struct pwm_device *pwm;  in of_pwm_xlate_with_flags()  local
 163 	struct pwm_device *pwm;  in of_pwm_simple_xlate()  local
 204 int pwm_set_chip_data(struct pwm_device *pwm, void *data)  in pwm_set_chip_data()
 219 void *pwm_get_chip_data(struct pwm_device *pwm)  in pwm_get_chip_data()
 234 	struct pwm_device *pwm;  in pwmchip_add()  local
 299 		struct pwm_device *pwm = &chip->pwms[i];  in pwmchip_remove()  local
 [all …]
 
 | 
| D | pwm-bfin.c | 30 static int bfin_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)  in bfin_pwm_request()55 static void bfin_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)  in bfin_pwm_free()
 65 static int bfin_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in bfin_pwm_config()
 90 static int bfin_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in bfin_pwm_enable()
 99 static void bfin_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in bfin_pwm_disable()
 117 	struct bfin_pwm_chip *pwm;  in bfin_pwm_probe()  local
 144 	struct bfin_pwm_chip *pwm = platform_get_drvdata(pdev);  in bfin_pwm_remove()  local
 
 | 
| D | sysfs.c | 28 	struct pwm_device *pwm;  member47 	const struct pwm_device *pwm = child_to_pwm_device(child);  in pwm_period_show()  local
 56 	struct pwm_device *pwm = child_to_pwm_device(child);  in pwm_period_store()  local
 73 	const struct pwm_device *pwm = child_to_pwm_device(child);  in pwm_duty_cycle_show()  local
 82 	struct pwm_device *pwm = child_to_pwm_device(child);  in pwm_duty_cycle_store()  local
 99 	const struct pwm_device *pwm = child_to_pwm_device(child);  in pwm_enable_show()  local
 109 	struct pwm_device *pwm = child_to_pwm_device(child);  in pwm_enable_store()  local
 135 	const struct pwm_device *pwm = child_to_pwm_device(child);  in pwm_polarity_show()  local
 144 	struct pwm_device *pwm = child_to_pwm_device(child);  in pwm_polarity_store()  local
 181 static int pwm_export_child(struct device *parent, struct pwm_device *pwm)  in pwm_export_child()
 [all …]
 
 | 
| D | pwm-twl.c | 43 #define TWL4030_PWM_TOGGLE(pwm, x)	((x) << (pwm))  argument57 #define TWL6030_PWM_TOGGLE(pwm, x)	((x) << (pwm * 3))  argument
 71 static int twl_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in twl_pwm_config()
 105 static int twl4030_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in twl4030_pwm_enable()
 135 static void twl4030_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in twl4030_pwm_disable()
 164 static int twl4030_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)  in twl4030_pwm_request()
 202 static void twl4030_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)  in twl4030_pwm_free()
 232 static int twl6030_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in twl6030_pwm_enable()
 255 static void twl6030_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in twl6030_pwm_disable()
 
 | 
| D | pwm-vt8500.c | 39 #define REG_CTRL(pwm)		(((pwm) << 4) + 0x00)  argument40 #define REG_SCALAR(pwm)		(((pwm) << 4) + 0x04)  argument
 41 #define REG_PERIOD(pwm)		(((pwm) << 4) + 0x08)  argument
 42 #define REG_DUTY(pwm)		(((pwm) << 4) + 0x0C)  argument
 80 static int vt8500_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in vt8500_pwm_config()
 134 static int vt8500_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in vt8500_pwm_enable()
 154 static void vt8500_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in vt8500_pwm_disable()
 168 				   struct pwm_device *pwm,  in vt8500_pwm_set_polarity()
 
 | 
| D | pwm-renesas-tpu.c | 100 static void tpu_pwm_write(struct tpu_pwm_device *pwm, int reg_nr, u16 value)  in tpu_pwm_write()108 static void tpu_pwm_set_pin(struct tpu_pwm_device *pwm,  in tpu_pwm_set_pin()
 135 static void tpu_pwm_start_stop(struct tpu_pwm_device *pwm, int start)  in tpu_pwm_start_stop()
 152 static int tpu_pwm_timer_start(struct tpu_pwm_device *pwm)  in tpu_pwm_timer_start()
 199 static void tpu_pwm_timer_stop(struct tpu_pwm_device *pwm)  in tpu_pwm_timer_stop()
 221 	struct tpu_pwm_device *pwm;  in tpu_pwm_request()  local
 246 	struct tpu_pwm_device *pwm = pwm_get_chip_data(_pwm);  in tpu_pwm_free()  local
 256 	struct tpu_pwm_device *pwm = pwm_get_chip_data(_pwm);  in tpu_pwm_config()  local
 338 	struct tpu_pwm_device *pwm = pwm_get_chip_data(_pwm);  in tpu_pwm_set_polarity()  local
 347 	struct tpu_pwm_device *pwm = pwm_get_chip_data(_pwm);  in tpu_pwm_enable()  local
 [all …]
 
 | 
| D | pwm-twl-led.c | 69 static int twl4030_pwmled_config(struct pwm_chip *chip, struct pwm_device *pwm,  in twl4030_pwmled_config()103 static int twl4030_pwmled_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in twl4030_pwmled_enable()
 128 				   struct pwm_device *pwm)  in twl4030_pwmled_disable()
 151 static int twl6030_pwmled_config(struct pwm_chip *chip, struct pwm_device *pwm,  in twl6030_pwmled_config()
 168 static int twl6030_pwmled_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in twl6030_pwmled_enable()
 195 				   struct pwm_device *pwm)  in twl6030_pwmled_disable()
 220 static int twl6030_pwmled_request(struct pwm_chip *chip, struct pwm_device *pwm)  in twl6030_pwmled_request()
 246 static void twl6030_pwmled_free(struct pwm_chip *chip, struct pwm_device *pwm)  in twl6030_pwmled_free()
 
 | 
| D | pwm-ep93xx.c | 56 static int ep93xx_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)  in ep93xx_pwm_request()63 static void ep93xx_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)  in ep93xx_pwm_free()
 70 static int ep93xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in ep93xx_pwm_config()
 122 static int ep93xx_pwm_polarity(struct pwm_chip *chip, struct pwm_device *pwm,  in ep93xx_pwm_polarity()
 146 static int ep93xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in ep93xx_pwm_enable()
 160 static void ep93xx_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in ep93xx_pwm_disable()
 
 | 
| D | pwm-jz4740.c | 50 static int jz4740_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)  in jz4740_pwm_request()76 static void jz4740_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)  in jz4740_pwm_free()
 88 static int jz4740_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in jz4740_pwm_enable()
 99 static void jz4740_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in jz4740_pwm_disable()
 108 static int jz4740_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in jz4740_pwm_config()
 
 | 
| D | pwm-tiecap.c | 65 static int ecap_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in ecap_pwm_config()125 static int ecap_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm,  in ecap_pwm_set_polarity()
 145 static int ecap_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in ecap_pwm_enable()
 163 static void ecap_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in ecap_pwm_disable()
 180 static void ecap_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)  in ecap_pwm_free()
 304 	struct pwm_device *pwm = pc->chip.pwms;  in ecap_pwm_suspend()  local
 318 	struct pwm_device *pwm = pc->chip.pwms;  in ecap_pwm_resume()  local
 
 | 
| D | pwm-bcm2835.c | 42 static int bcm2835_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)  in bcm2835_pwm_request()55 static void bcm2835_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)  in bcm2835_pwm_free()
 65 static int bcm2835_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in bcm2835_pwm_config()
 82 static int bcm2835_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in bcm2835_pwm_enable()
 94 static void bcm2835_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in bcm2835_pwm_disable()
 104 static int bcm2835_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm,  in bcm2835_set_polarity()
 
 | 
| D | pwm-clps711x.c | 48 static unsigned int clps711x_get_duty(struct pwm_device *pwm, unsigned int v)  in clps711x_get_duty()54 static int clps711x_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)  in clps711x_pwm_request()
 68 static int clps711x_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in clps711x_pwm_config()
 83 static int clps711x_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in clps711x_pwm_enable()
 94 static void clps711x_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in clps711x_pwm_disable()
 
 | 
| D | pwm-tegra.c | 66 static int tegra_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in tegra_pwm_config()133 static int tegra_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in tegra_pwm_enable()
 150 static void tegra_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in tegra_pwm_disable()
 171 	struct tegra_pwm_chip *pwm;  in tegra_pwm_probe()  local
 215 		struct pwm_device *pwm = &pc->chip.pwms[i];  in tegra_pwm_remove()  local
 
 | 
| D | pwm-pxa.c | 63 static int pxa_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in pxa_pwm_config()107 static int pxa_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in pxa_pwm_enable()
 114 static void pxa_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in pxa_pwm_disable()
 157 	struct pwm_device *pwm;  in pxa_pwm_of_xlate()  local
 171 	struct pxa_pwm_chip *pwm;  in pwm_probe()  local
 
 | 
| D | pwm-rockchip.c | 62 				       struct pwm_device *pwm, bool enable)  in rockchip_pwm_set_enable_v1()79 				       struct pwm_device *pwm, bool enable)  in rockchip_pwm_set_enable_v2()
 101 static int rockchip_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in rockchip_pwm_config()
 138 				     struct pwm_device *pwm,  in rockchip_pwm_set_polarity()
 150 static int rockchip_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in rockchip_pwm_enable()
 164 static void rockchip_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in rockchip_pwm_disable()
 
 | 
| D | pwm-samsung.c | 120 static void pwm_samsung_set_divisor(struct samsung_pwm_chip *pwm,  in pwm_samsung_set_divisor()205 static int pwm_samsung_request(struct pwm_chip *chip, struct pwm_device *pwm)  in pwm_samsung_request()
 226 static void pwm_samsung_free(struct pwm_chip *chip, struct pwm_device *pwm)  in pwm_samsung_free()
 232 static int pwm_samsung_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in pwm_samsung_enable()
 256 static void pwm_samsung_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in pwm_samsung_disable()
 273 				      struct pwm_device *pwm)  in pwm_samsung_manual_update()
 291 static int pwm_samsung_config(struct pwm_chip *chip, struct pwm_device *pwm,  in pwm_samsung_config()
 400 				    struct pwm_device *pwm,  in pwm_samsung_set_polarity()
 596 		struct pwm_device *pwm = &chip->chip.pwms[i];  in pwm_samsung_suspend()  local
 
 | 
| D | pwm-atmel-tcb.c | 53 				      struct pwm_device *pwm,  in atmel_tcb_pwm_set_polarity()64 				 struct pwm_device *pwm)  in atmel_tcb_pwm_request()
 121 static void atmel_tcb_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)  in atmel_tcb_pwm_free()
 132 static void atmel_tcb_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in atmel_tcb_pwm_disable()
 188 static int atmel_tcb_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in atmel_tcb_pwm_enable()
 270 static int atmel_tcb_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in atmel_tcb_pwm_config()
 
 | 
| D | pwm-sun4i.c | 98 static int sun4i_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in sun4i_pwm_config()188 static int sun4i_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm,  in sun4i_pwm_set_polarity()
 217 static int sun4i_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in sun4i_pwm_enable()
 239 static void sun4i_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in sun4i_pwm_disable()
 287 	struct sun4i_pwm_chip *pwm;  in sun4i_pwm_probe()  local
 348 	struct sun4i_pwm_chip *pwm = platform_get_drvdata(pdev);  in sun4i_pwm_remove()  local
 
 | 
| D | pwm-pca9685.c | 69 static int pca9685_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in pca9685_pwm_config()118 static int pca9685_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in pca9685_pwm_enable()
 155 static void pca9685_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in pca9685_pwm_disable()
 176 static int pca9685_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)  in pca9685_pwm_request()
 187 static void pca9685_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)  in pca9685_pwm_free()
 
 | 
| D | pwm-ab8500.c | 27 static int ab8500_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in ab8500_pwm_config()57 static int ab8500_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in ab8500_pwm_enable()
 70 static void ab8500_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in ab8500_pwm_disable()
 
 | 
| D | pwm-atmel.c | 101 static int atmel_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in atmel_pwm_config()152 static void atmel_pwm_config_v1(struct pwm_chip *chip, struct pwm_device *pwm,  in atmel_pwm_config_v1()
 178 static void atmel_pwm_config_v2(struct pwm_chip *chip, struct pwm_device *pwm,  in atmel_pwm_config_v2()
 199 static int atmel_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm,  in atmel_pwm_set_polarity()
 226 static int atmel_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in atmel_pwm_enable()
 242 static void atmel_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in atmel_pwm_disable()
 
 | 
| D | pwm-puv3.c | 41 static int puv3_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in puv3_pwm_config()82 static int puv3_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in puv3_pwm_enable()
 89 static void puv3_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in puv3_pwm_disable()
 
 | 
| D | pwm-lp3943.c | 64 static int lp3943_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)  in lp3943_pwm_request()90 static void lp3943_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)  in lp3943_pwm_free()
 98 static int lp3943_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in lp3943_pwm_config()
 156 static int lp3943_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in lp3943_pwm_enable()
 175 static void lp3943_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in lp3943_pwm_disable()
 
 | 
| D | pwm-lpc32xx.c | 34 static int lpc32xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in lpc32xx_pwm_config()80 static int lpc32xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in lpc32xx_pwm_enable()
 97 static void lpc32xx_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in lpc32xx_pwm_disable()
 
 | 
| D | pwm-imx.c | 66 		struct pwm_device *pwm, int duty_ns, int period_ns)  in imx_pwm_config_v1()110 		struct pwm_device *pwm, int duty_ns, int period_ns)  in imx_pwm_config_v2()
 203 		struct pwm_device *pwm, int duty_ns, int period_ns)  in imx_pwm_config()
 219 static int imx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in imx_pwm_enable()
 233 static void imx_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in imx_pwm_disable()
 
 | 
| D | pwm-atmel-hlcdc.c | 53 				  struct pwm_device *pwm,  in atmel_hlcdc_pwm_config()140 					struct pwm_device *pwm,  in atmel_hlcdc_pwm_set_polarity()
 154 static int atmel_hlcdc_pwm_enable(struct pwm_chip *c, struct pwm_device *pwm)  in atmel_hlcdc_pwm_enable()
 180 				    struct pwm_device *pwm)  in atmel_hlcdc_pwm_disable()
 
 | 
| D | pwm-lpss.c | 55 static int pwm_lpss_config(struct pwm_chip *chip, struct pwm_device *pwm,  in pwm_lpss_config()93 static int pwm_lpss_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in pwm_lpss_enable()
 104 static void pwm_lpss_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in pwm_lpss_disable()
 
 | 
| D | pwm-bcm-kona.c | 94 static int kona_pwmc_config(struct pwm_chip *chip, struct pwm_device *pwm,  in kona_pwmc_config()153 static int kona_pwmc_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm,  in kona_pwmc_set_polarity()
 186 static int kona_pwmc_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in kona_pwmc_enable()
 206 static void kona_pwmc_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in kona_pwmc_disable()
 
 | 
| D | pwm-tiehrpwm.c | 236 static int ehrpwm_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in ehrpwm_pwm_config()324 		struct pwm_device *pwm,	enum pwm_polarity polarity)  in ehrpwm_pwm_set_polarity()
 333 static int ehrpwm_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in ehrpwm_pwm_enable()
 373 static void ehrpwm_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in ehrpwm_pwm_disable()
 406 static void ehrpwm_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)  in ehrpwm_pwm_free()
 566 		struct pwm_device *pwm = &pc->chip.pwms[i];  in ehrpwm_pwm_suspend()  local
 583 		struct pwm_device *pwm = &pc->chip.pwms[i];  in ehrpwm_pwm_resume()  local
 
 | 
| D | pwm-mxs.c | 50 static int mxs_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in mxs_pwm_config()101 static int mxs_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in mxs_pwm_enable()
 115 static void mxs_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in mxs_pwm_disable()
 
 | 
| D | pwm-img.c | 88 static int img_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in img_pwm_config()139 static int img_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in img_pwm_enable()
 155 static void img_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in img_pwm_disable()
 191 	struct img_pwm_chip *pwm;  in img_pwm_probe()  local
 
 | 
| D | pwm-fsl-ftm.c | 99 static int fsl_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)  in fsl_pwm_request()106 static void fsl_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)  in fsl_pwm_free()
 233 static int fsl_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in fsl_pwm_config()
 281 				struct pwm_device *pwm,  in fsl_pwm_set_polarity()
 323 static int fsl_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in fsl_pwm_enable()
 356 static void fsl_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in fsl_pwm_disable()
 
 | 
| D | pwm-spear.c | 77 static int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in spear_pwm_config()137 static int spear_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in spear_pwm_enable()
 154 static void spear_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in spear_pwm_disable()
 
 | 
| D | pwm-sti.c | 115 static int sti_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,  in sti_pwm_config()197 static int sti_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)  in sti_pwm_enable()
 226 static void sti_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)  in sti_pwm_disable()
 241 static void sti_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)  in sti_pwm_free()
 
 | 
| /linux-4.1.27/include/linux/ | 
| D | pwm.h | 41 static inline void pwm_free(struct pwm_device *pwm)  in pwm_free()45 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns)  in pwm_config()
 50 static inline int pwm_enable(struct pwm_device *pwm)  in pwm_enable()
 55 static inline void pwm_disable(struct pwm_device *pwm)  in pwm_disable()
 86 	unsigned int		pwm;  member
 95 static inline void pwm_set_period(struct pwm_device *pwm, unsigned int period)  in pwm_set_period()
 101 static inline unsigned int pwm_get_period(struct pwm_device *pwm)  in pwm_get_period()
 106 static inline void pwm_set_duty_cycle(struct pwm_device *pwm, unsigned int duty)  in pwm_set_duty_cycle()
 112 static inline unsigned int pwm_get_duty_cycle(struct pwm_device *pwm)  in pwm_get_duty_cycle()
 205 static inline int pwm_set_chip_data(struct pwm_device *pwm, void *data)  in pwm_set_chip_data()
 [all …]
 
 | 
| D | f75375s.h | 17 	u8 pwm[2];  member
 | 
| D | leds-pca9532.h | 42 	u8 pwm[2];  member
 | 
| /linux-4.1.27/drivers/hwmon/ | 
| D | pwm-fan.c | 33 	struct pwm_device *pwm;  member41 static int  __set_pwm(struct pwm_fan_ctx *ctx, unsigned long pwm)  in __set_pwm()
 70 static void pwm_fan_update_state(struct pwm_fan_ctx *ctx, unsigned long pwm)  in pwm_fan_update_state()
 85 	unsigned long pwm;  in set_pwm()  local
 
 | 
| D | f71882fg.c | 98 #define F71882FG_REG_POINT_PWM(pwm, point)	(0xAA + (point) + (16 * (pwm)))  argument99 #define F71882FG_REG_POINT_TEMP(pwm, point)	(0xA6 + (point) + (16 * (pwm)))  argument
 269 	u8	pwm[4];  member
 1904 	int pwm = to_sensor_dev_attr_2(devattr)->index;  in show_pwm_auto_point_pwm()  local
 1925 	int err, pwm = to_sensor_dev_attr_2(devattr)->index;  in store_pwm_auto_point_pwm()  local
 2104 	int pwm = to_sensor_dev_attr_2(devattr)->index;  in show_pwm_auto_point_temp()  local
 2116 	int err, pwm = to_sensor_dev_attr_2(devattr)->index;  in store_pwm_auto_point_temp()  local
 
 | 
| D | max6650.c | 306 	int pwm;  in get_pwm()  local329 	unsigned long pwm;  in set_pwm()  local
 
 | 
| D | gpio-fan.c | 195 	u8 pwm = fan_data->speed_index * 255 / (fan_data->num_speed - 1);  in show_pwm()  local204 	unsigned long pwm;  in set_pwm()  local
 
 | 
| D | g760a.c | 63 #define PWM_TO_CNT(pwm)		(0xff-(pwm))  argument
 | 
| D | asb100.c | 165 static u8 ASB100_PWM_TO_REG(int pwm)  in ASB100_PWM_TO_REG()212 	u8 pwm;			/* Register encoding */  member
 
 | 
| D | adm1031.c | 95 	u8 pwm[2];  member255 static int AUTO_TEMP_MAX_TO_REG(int val, int reg, int pwm)  in AUTO_TEMP_MAX_TO_REG()
 
 | 
| D | adt7470.c | 165 	u8			pwm[ADT7470_PWM_COUNT];  member202 	u8 cfg, pwm[4], pwm_cfg[2];  in adt7470_read_temperatures()  local
 
 | 
| D | max6639.c | 95 	u8 pwm[2];		/* Register value: Duty cycle 0..120 */  member
 | 
| D | nct6683.c | 328 	u8 pwm[NCT6683_NUM_REG_PWM];  member928 	int pwm = index;	/* pwm index */  in nct6683_pwm_is_visible()  local
 
 | 
| D | w83l786ng.c | 142 	u8 pwm[2];  member
 | 
| D | smsc47m1.c | 137 	u8 pwm[3];		/* Register value (bit 0 is disable) */  member
 | 
| D | pc87360.c | 204 	u8 pwm[3];		/* Register value */  member387 static struct sensor_device_attribute pwm[] = {  variable
 
 | 
| D | nct6775.c | 647 static enum pwm_enable reg_to_pwm_enable(int pwm, int mode)  in reg_to_pwm_enable()854 	u8 pwm[7][NUM_FAN];	/* [0]=pwm, [1]=pwm_start, [2]=pwm_floor,  member
 2223 	int pwm;  in show_pwm()  local
 2898 	int pwm = index / 36;	/* pwm index */  in nct6775_pwm_is_visible()  local
 
 | 
| D | f75375s.c | 115 	u8 pwm[2];  member
 | 
| D | pc87427.c | 69 	u8 pwm[4];			/* register values */  member
 | 
| D | lm63.c | 379 	int pwm;  in show_pwm1()  local
 | 
| D | vt1211.c | 135 	u8  pwm[2];  member
 | 
| D | adt7475.c | 183 	u8 pwm[4][3];  member
 | 
| D | w83792d.c | 292 	u8 pwm[7];		/*  member
 | 
| D | w83791d.c | 315 	u8 pwm[5];		/* pwm duty cycle */  member
 | 
| D | lm93.c | 595 static u8 LM93_PWM_TO_REG(int pwm, enum pwm_freq freq)  in LM93_PWM_TO_REG()1986 	struct lm93_data *data, int pwm)  in lm93_disable_fan_smart_tach()
 
 | 
| D | w83781d.c | 240 	u8 pwm[4];		/* Register value */  member
 | 
| D | f71805f.c | 188 	u8 pwm[3];  member
 | 
| D | adt7462.c | 221 	u8			pwm[ADT7462_PWM_COUNT];  member
 | 
| D | dme1737.c | 244 	u8  pwm[6];  member
 | 
| D | lm85.c | 314 	u8 pwm[3];		/* Register value */  member
 | 
| D | w83793.c | 252 	u8 pwm[8][3];		/* Register value */  member
 | 
| D | it87.c | 2470 			u8 pwm[3];  in it87_check_pwm()  local
 | 
| D | w83627ehf.c | 487 	u8 pwm[4];  member
 | 
| D | w83627hf.c | 380 	u8 pwm[3];		/* Register value */  member
 | 
| D | adm1026.c | 263 	u8 pwm;  member
 | 
| D | w83795.c | 372 	u8 pwm[8][5];		/*  member
 | 
| /linux-4.1.27/drivers/input/keyboard/ | 
| D | lm8323.c | 159 	struct lm8323_pwm	pwm[LM8323_NUM_PWMS];  member363 static void pwm_done(struct lm8323_pwm *pwm)  in pwm_done()
 428 static void lm8323_write_pwm_one(struct lm8323_pwm *pwm, int pos, u16 cmd)  in lm8323_write_pwm_one()
 440 static void lm8323_write_pwm(struct lm8323_pwm *pwm, int kill,  in lm8323_write_pwm()
 455 	struct lm8323_pwm *pwm = work_to_pwm(work);  in lm8323_pwm_work()  local
 512 	struct lm8323_pwm *pwm = cdev_to_pwm(led_cdev);  in lm8323_pwm_set_brightness()  local
 538 	struct lm8323_pwm *pwm = cdev_to_pwm(led_cdev);  in lm8323_pwm_show_time()  local
 547 	struct lm8323_pwm *pwm = cdev_to_pwm(led_cdev);  in lm8323_pwm_store_time()  local
 570 	struct lm8323_pwm *pwm;  in init_pwm()  local
 636 	int pwm;  in lm8323_probe()  local
 
 | 
| /linux-4.1.27/drivers/clk/ | 
| D | clk-pwm.c | 19 	struct pwm_device *pwm;  member61 	struct pwm_device *pwm;  in clk_pwm_probe()  local
 
 | 
| /linux-4.1.27/drivers/media/dvb-frontends/ | 
| D | tda1002x.h | 65 					    struct i2c_adapter* i2c, u8 pwm)  in tda10021_attach()79 	struct i2c_adapter *i2c, u8 pwm)  in tda10023_attach()
 
 | 
| D | ves1820.h | 49 					   struct i2c_adapter* i2c, u8 pwm)  in ves1820_attach()
 | 
| D | ves1820.c | 43 	u8 pwm;  member374 				    u8 pwm)  in ves1820_attach()
 
 | 
| D | tda10021.c | 42 	u8 pwm;  member450 				     u8 pwm)  in tda10021_attach()
 
 | 
| D | tda10023.c | 49 	u8 pwm;  member522 				     u8 pwm)  in tda10023_attach()
 
 | 
| D | atbm8830.c | 387 	u32 pwm;  in atbm8830_read_signal_strength()  local
 | 
| /linux-4.1.27/arch/arm/boot/dts/ | 
| D | spear320.dtsi | 86 		pwm: pwm@a8000000 {  label
 | 
| D | imx28-cfa10055.dts | 130 			pwm: pwm@80064000 {  label
 | 
| D | imx28-cfa10058.dts | 89 			pwm: pwm@80064000 {  label
 | 
| D | spear1340.dtsi | 97 		pwm: pwm@e0180000 {  label
 | 
| D | spear320-hmi.dts | 164 		pwm: pwm@a8000000 {  label
 | 
| D | imx28-cfa10057.dts | 116 			pwm: pwm@80064000 {  label
 | 
| D | bcm28155-ap.dts | 72 	pwm: pwm@3e01a000 {  label
 | 
| D | imx23-evk.dts | 98 			pwm: pwm@80064000 {  label
 | 
| D | s3c64xx.dtsi | 166 		pwm: pwm@7f006000 {  label
 | 
| D | tegra20-paz00.dts | 270 	pwm: pwm@7000a000 {  label
 | 
| D | tegra20-harmony.dts | 274 	pwm: pwm@7000a000 {  label
 | 
| D | tegra20.dtsi | 376 	pwm: pwm@7000a000 {  label
 | 
| D | imx28-apf28dev.dts | 134 			pwm: pwm@80064000 {  label
 | 
| D | imx28-m28cu3.dts | 170 			pwm: pwm@80064000 {  label
 | 
| D | tegra20-ventana.dts | 321 	pwm: pwm@7000a000 {  label
 | 
| D | tegra20-seaboard.dts | 324 	pwm: pwm@7000a000 {  label
 | 
| D | tegra114.dtsi | 311 	pwm: pwm@7000a000 {  label
 | 
| D | imx1.dtsi | 117 			pwm: pwm@00208000 {  label
 | 
| D | tegra30.dtsi | 439 	pwm: pwm@7000a000 {  label
 | 
| D | lpc32xx.dtsi | 292 			pwm: pwm@4005C000 {  label
 | 
| D | tegra124.dtsi | 373 	pwm: pwm@0,7000a000 {  label
 | 
| D | sun7i-a20-cubietruck.dts | 145 		pwm: pwm@01c20e00 {  label
 | 
| D | imx28-cfa10049.dts | 210 			pwm: pwm@80064000 {  label
 | 
| D | wm8850.dtsi | 224 		pwm: pwm@d8220000 {  label
 | 
| D | imx28-m28evk.dts | 192 			pwm: pwm@80064000 {  label
 | 
| D | imx23.dtsi | 461 			pwm: pwm@80064000 {  label
 | 
| D | sun7i-a20-hummingbird.dts | 111 		pwm: pwm@01c20e00 {  label
 | 
| D | wm8750.dtsi | 237 		pwm: pwm@d8220000 {  label
 | 
| D | imx28-evk.dts | 212 			pwm: pwm@80064000 {  label
 | 
| D | bcm11351.dtsi | 215 	pwm: pwm@3e01a000 {  label
 | 
| D | s5pv210.dtsi | 300 		pwm: pwm@e2500000 {  label
 | 
| D | imx27.dtsi | 137 			pwm: pwm@10006000 {  label
 | 
| D | exynos4415.dtsi | 622 		pwm: pwm@139D0000 {  label
 | 
| D | exynos3250.dtsi | 541 		pwm: pwm@139D0000 {  label
 | 
| D | exynos5250.dtsi | 655 	pwm: pwm@12dd0000 {  label
 | 
| D | exynos4412-trats2.dts | 695 	pwm: pwm@139D0000 {  label
 | 
| D | sun4i-a10.dtsi | 797 		pwm: pwm@01c20e00 {  label
 | 
| D | exynos5420.dtsi | 519 	pwm: pwm@12dd0000 {  label
 | 
| D | imx28.dtsi | 1100 			pwm: pwm@80064000 {  label
 | 
| D | sun7i-a20.dtsi | 1006 		pwm: pwm@01c20e00 {  label
 | 
| /linux-4.1.27/include/linux/mfd/ | 
| D | lm3533.h | 53 	u8 pwm;				/* 0 - 0x3f */  member60 	u8 pwm;				/* 0 - 0x3f */  member
 
 | 
| D | 88pm860x.h | 407 	int		pwm;  member
 | 
| /linux-4.1.27/drivers/leds/ | 
| D | leds-lm3530.c | 234 	struct lm3530_pwm_data *pwm = &pdata->pwm_data;  in lm3530_init_registers()  local312 	struct lm3530_pwm_data *pwm = &pdata->pwm_data;  in lm3530_brightness_set()  local
 374 	struct lm3530_pwm_data *pwm;  in lm3530_mode_set()  local
 
 | 
| D | leds-pca9532.c | 49 	u8 pwm[2];  member103 static int pca9532_calcpwm(struct i2c_client *client, int pwm, int blink,  in pca9532_calcpwm()
 129 static int pca9532_setpwm(struct i2c_client *client, int pwm)  in pca9532_setpwm()
 
 | 
| D | leds-pwm.c | 29 	struct pwm_device	*pwm;  member
 | 
| /linux-4.1.27/drivers/video/backlight/ | 
| D | lp8788_bl.c | 52 	struct pwm_device *pwm;  member130 	struct pwm_device *pwm;  in lp8788_pwm_ctrl()  local
 
 | 
| D | lp855x_bl.c | 75 	struct pwm_device *pwm;  member239 	struct pwm_device *pwm;  in lp855x_pwm_ctrl()  local
 
 | 
| D | 88pm860x_bl.c | 33 	int	pwm;  member
 | 
| D | pwm_bl.c | 28 	struct pwm_device	*pwm;  member
 | 
| /linux-4.1.27/drivers/media/pci/mantis/ | 
| D | mantis_vp2040.c | 111 	u8 pwm;  in read_pwm()  local
 | 
| D | mantis_vp2033.c | 55 	u8 pwm;  in read_pwm()  local
 | 
| /linux-4.1.27/drivers/regulator/ | 
| D | pwm-regulator.c | 26 	struct pwm_device *pwm;  member
 | 
| D | max8973-regulator.c | 205 	int pwm;  in max8973_dcdc_set_mode()  local
 | 
| D | qcom_rpm-regulator.c | 664 	bool pwm;  in rpm_reg_of_parse()  local
 | 
| /linux-4.1.27/drivers/input/misc/ | 
| D | pwm-beeper.c | 27 	struct pwm_device *pwm;  member
 | 
| D | twl4030-vibra.c | 104 	int pwm;  in vibra_play_work()  local
 | 
| D | max8997_haptic.c | 58 	struct pwm_device *pwm;  member
 | 
| /linux-4.1.27/arch/arm64/boot/dts/exynos/ | 
| D | exynos7.dtsi | 519 		pwm: pwm@136c0000 {  label
 | 
| /linux-4.1.27/drivers/macintosh/ | 
| D | windfarm_smu_controls.c | 54 static int smu_set_fan(int pwm, u8 id, u16 value)  in smu_set_fan()
 | 
| /linux-4.1.27/drivers/clk/mxs/ | 
| D | clk-imx23.c | 92 	clk32k, dri, pwm, filt, uart, ssp, gpmi, spdif, emi, saif,  enumerator
 | 
| D | clk-imx28.c | 145 	clk32k_div, rtc, lradc, spdif_div, clk32k, pwm, uart, ssp0,  enumerator
 | 
| /linux-4.1.27/drivers/video/fbdev/ | 
| D | ssd1307fb.c | 54 	struct pwm_device *pwm;  member
 | 
| /linux-4.1.27/drivers/media/pci/ttpci/ | 
| D | budget.c | 441 	u8 pwm;  in read_pwm()  local
 | 
| D | budget-av.c | 1171 	u8 pwm;  in read_pwm()  local
 | 
| D | av7110.c | 2112 	u8 pwm;  in read_pwm()  local
 | 
| /linux-4.1.27/drivers/gpu/drm/gma500/ | 
| D | cdv_intel_lvds.c | 764 		u32 pwm;  in cdv_intel_lvds_init()  local
 | 
| /linux-4.1.27/drivers/clocksource/ | 
| D | samsung_pwm_timer.c | 83 static struct samsung_pwm_clocksource pwm;  variable
 | 
| /linux-4.1.27/drivers/platform/x86/ | 
| D | compal-laptop.c | 307 static void set_pwm(int pwm)  in set_pwm()
 | 
| /linux-4.1.27/drivers/media/usb/ttusb-budget/ | 
| D | dvb-ttusb-budget.c | 1389 	u8 pwm;  in read_pwm()  local
 | 
| /linux-4.1.27/arch/powerpc/include/asm/ | 
| D | mpc52xx.h | 111 	u32 pwm;		/* GPTx + 0x08 */  member
 |