Searched defs:pwm (Results 1 - 106 of 106) sorted by relevance

/linux-4.1.27/include/linux/
H A Df75375s.h17 u8 pwm[2]; member in struct:f75375s_platform_data
H A Dleds-pca9532.h42 u8 pwm[2]; member in struct:pca9532_platform_data
H A Dpwm.h41 static inline void pwm_free(struct pwm_device *pwm) pwm_free() argument
45 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns) pwm_config() argument
50 static inline int pwm_enable(struct pwm_device *pwm) pwm_enable() argument
55 static inline void pwm_disable(struct pwm_device *pwm) pwm_disable() argument
86 unsigned int pwm; member in struct:pwm_device
95 static inline void pwm_set_period(struct pwm_device *pwm, unsigned int period) pwm_set_period() argument
101 static inline unsigned int pwm_get_period(struct pwm_device *pwm) pwm_get_period() argument
106 static inline void pwm_set_duty_cycle(struct pwm_device *pwm, unsigned int duty) pwm_set_duty_cycle() argument
112 static inline unsigned int pwm_get_duty_cycle(struct pwm_device *pwm) pwm_get_duty_cycle() argument
205 static inline int pwm_set_chip_data(struct pwm_device *pwm, void *data) pwm_set_chip_data() argument
210 static inline void *pwm_get_chip_data(struct pwm_device *pwm) pwm_get_chip_data() argument
244 static inline void pwm_put(struct pwm_device *pwm) pwm_put() argument
261 static inline void devm_pwm_put(struct device *dev, struct pwm_device *pwm) devm_pwm_put() argument
265 static inline bool pwm_can_sleep(struct pwm_device *pwm) pwm_can_sleep() argument
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dves1820.h48 ves1820_attach(const struct ves1820_config* config, struct i2c_adapter* i2c, u8 pwm) ves1820_attach() argument
H A Dtda1002x.h64 tda10021_attach(const struct tda1002x_config* config, struct i2c_adapter* i2c, u8 pwm) tda10021_attach() argument
77 tda10023_attach( const struct tda10023_config *config, struct i2c_adapter *i2c, u8 pwm) tda10023_attach() argument
H A Datbm8830.c387 u32 pwm; atbm8830_read_signal_strength() local
H A Dves1820.c43 u8 pwm; member in struct:ves1820_state
372 ves1820_attach(const struct ves1820_config* config, struct i2c_adapter* i2c, u8 pwm) ves1820_attach() argument
H A Dtda10021.c42 u8 pwm; member in struct:tda10021_state
448 tda10021_attach(const struct tda1002x_config* config, struct i2c_adapter* i2c, u8 pwm) tda10021_attach() argument
H A Dtda10023.c49 u8 pwm; member in struct:tda10023_state
520 tda10023_attach(const struct tda10023_config *config, struct i2c_adapter *i2c, u8 pwm) tda10023_attach() argument
/linux-4.1.27/drivers/media/pci/mantis/
H A Dmantis_vp2033.c55 u8 pwm; read_pwm() local
H A Dmantis_vp2040.c111 u8 pwm; read_pwm() local
/linux-4.1.27/drivers/clk/
H A Dclk-pwm.c19 struct pwm_device *pwm; member in struct:clk_pwm
61 struct pwm_device *pwm; clk_pwm_probe() local
/linux-4.1.27/drivers/pwm/
H A Dpwm-ab8500.c27 static int ab8500_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, ab8500_pwm_config() argument
57 static int ab8500_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) ab8500_pwm_enable() argument
70 static void ab8500_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) ab8500_pwm_disable() argument
H A Dpwm-bfin.c30 static int bfin_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) bfin_pwm_request() argument
55 static void bfin_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) bfin_pwm_free() argument
65 static int bfin_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, bfin_pwm_config() argument
90 static int bfin_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) bfin_pwm_enable() argument
99 static void bfin_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) bfin_pwm_disable() argument
117 struct bfin_pwm_chip *pwm; bfin_pwm_probe() local
144 struct bfin_pwm_chip *pwm = platform_get_drvdata(pdev); bfin_pwm_remove() local
H A Dpwm-jz4740.c50 static int jz4740_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) jz4740_pwm_request() argument
76 static void jz4740_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) jz4740_pwm_free() argument
88 static int jz4740_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) jz4740_pwm_enable() argument
99 static void jz4740_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) jz4740_pwm_disable() argument
108 static int jz4740_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, jz4740_pwm_config() argument
H A Dpwm-lpc32xx.c34 static int lpc32xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, lpc32xx_pwm_config() argument
80 static int lpc32xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) lpc32xx_pwm_enable() argument
97 static void lpc32xx_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) lpc32xx_pwm_disable() argument
H A Dpwm-puv3.c41 static int puv3_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, puv3_pwm_config() argument
82 static int puv3_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) puv3_pwm_enable() argument
89 static void puv3_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) puv3_pwm_disable() argument
H A Dpwm-bcm2835.c42 static int bcm2835_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) bcm2835_pwm_request() argument
55 static void bcm2835_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) bcm2835_pwm_free() argument
65 static int bcm2835_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, bcm2835_pwm_config() argument
82 static int bcm2835_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) bcm2835_pwm_enable() argument
94 static void bcm2835_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) bcm2835_pwm_disable() argument
104 static int bcm2835_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, bcm2835_set_polarity() argument
H A Dpwm-clps711x.c48 static unsigned int clps711x_get_duty(struct pwm_device *pwm, unsigned int v) clps711x_get_duty() argument
54 static int clps711x_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) clps711x_pwm_request() argument
68 static int clps711x_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, clps711x_pwm_config() argument
83 static int clps711x_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) clps711x_pwm_enable() argument
94 static void clps711x_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) clps711x_pwm_disable() argument
H A Dpwm-ep93xx.c56 static int ep93xx_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) ep93xx_pwm_request() argument
63 static void ep93xx_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) ep93xx_pwm_free() argument
70 static int ep93xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, ep93xx_pwm_config() argument
122 static int ep93xx_pwm_polarity(struct pwm_chip *chip, struct pwm_device *pwm, ep93xx_pwm_polarity() argument
146 static int ep93xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) ep93xx_pwm_enable() argument
160 static void ep93xx_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) ep93xx_pwm_disable() argument
H A Dpwm-lpss.c55 static int pwm_lpss_config(struct pwm_chip *chip, struct pwm_device *pwm, pwm_lpss_config() argument
93 static int pwm_lpss_enable(struct pwm_chip *chip, struct pwm_device *pwm) pwm_lpss_enable() argument
104 static void pwm_lpss_disable(struct pwm_chip *chip, struct pwm_device *pwm) pwm_lpss_disable() argument
H A Dpwm-mxs.c50 static int mxs_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, mxs_pwm_config() argument
101 static int mxs_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) mxs_pwm_enable() argument
115 static void mxs_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) mxs_pwm_disable() argument
H A Dpwm-pxa.c63 static int pxa_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, pxa_pwm_config() argument
107 static int pxa_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) pxa_pwm_enable() argument
114 static void pxa_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) pxa_pwm_disable() argument
157 struct pwm_device *pwm; pxa_pwm_of_xlate() local
171 struct pxa_pwm_chip *pwm; pwm_probe() local
H A Dpwm-tegra.c66 static int tegra_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, tegra_pwm_config() argument
133 static int tegra_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) tegra_pwm_enable() argument
150 static void tegra_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) tegra_pwm_disable() argument
171 struct tegra_pwm_chip *pwm; tegra_pwm_probe() local
215 struct pwm_device *pwm = &pc->chip.pwms[i]; tegra_pwm_remove() local
H A Dpwm-atmel-hlcdc.c154 static int atmel_hlcdc_pwm_enable(struct pwm_chip *c, struct pwm_device *pwm) atmel_hlcdc_pwm_enable() argument
52 atmel_hlcdc_pwm_config(struct pwm_chip *c, struct pwm_device *pwm, int duty_ns, int period_ns) atmel_hlcdc_pwm_config() argument
139 atmel_hlcdc_pwm_set_polarity(struct pwm_chip *c, struct pwm_device *pwm, enum pwm_polarity polarity) atmel_hlcdc_pwm_set_polarity() argument
179 atmel_hlcdc_pwm_disable(struct pwm_chip *c, struct pwm_device *pwm) atmel_hlcdc_pwm_disable() argument
H A Dpwm-atmel-tcb.c121 static void atmel_tcb_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) atmel_tcb_pwm_free() argument
132 static void atmel_tcb_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) atmel_tcb_pwm_disable() argument
188 static int atmel_tcb_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) atmel_tcb_pwm_enable() argument
270 static int atmel_tcb_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, atmel_tcb_pwm_config() argument
52 atmel_tcb_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) atmel_tcb_pwm_set_polarity() argument
63 atmel_tcb_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) atmel_tcb_pwm_request() argument
H A Dpwm-atmel.c101 static int atmel_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, atmel_pwm_config() argument
152 static void atmel_pwm_config_v1(struct pwm_chip *chip, struct pwm_device *pwm, atmel_pwm_config_v1() argument
178 static void atmel_pwm_config_v2(struct pwm_chip *chip, struct pwm_device *pwm, atmel_pwm_config_v2() argument
199 static int atmel_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, atmel_pwm_set_polarity() argument
226 static int atmel_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) atmel_pwm_enable() argument
242 static void atmel_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) atmel_pwm_disable() argument
H A Dpwm-bcm-kona.c94 static int kona_pwmc_config(struct pwm_chip *chip, struct pwm_device *pwm, kona_pwmc_config() argument
153 static int kona_pwmc_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, kona_pwmc_set_polarity() argument
186 static int kona_pwmc_enable(struct pwm_chip *chip, struct pwm_device *pwm) kona_pwmc_enable() argument
206 static void kona_pwmc_disable(struct pwm_chip *chip, struct pwm_device *pwm) kona_pwmc_disable() argument
H A Dpwm-img.c88 static int img_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, img_pwm_config() argument
139 static int img_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) img_pwm_enable() argument
155 static void img_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) img_pwm_disable() argument
191 struct img_pwm_chip *pwm; img_pwm_probe() local
H A Dpwm-imx.c219 static int imx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) imx_pwm_enable() argument
233 static void imx_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) imx_pwm_disable() argument
65 imx_pwm_config_v1(struct pwm_chip *chip, struct pwm_device *pwm, int duty_ns, int period_ns) imx_pwm_config_v1() argument
109 imx_pwm_config_v2(struct pwm_chip *chip, struct pwm_device *pwm, int duty_ns, int period_ns) imx_pwm_config_v2() argument
202 imx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, int duty_ns, int period_ns) imx_pwm_config() argument
H A Dpwm-lp3943.c64 static int lp3943_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) lp3943_pwm_request() argument
90 static void lp3943_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) lp3943_pwm_free() argument
98 static int lp3943_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, lp3943_pwm_config() argument
156 static int lp3943_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) lp3943_pwm_enable() argument
175 static void lp3943_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) lp3943_pwm_disable() argument
H A Dpwm-pca9685.c69 static int pca9685_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, pca9685_pwm_config() argument
118 static int pca9685_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) pca9685_pwm_enable() argument
155 static void pca9685_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) pca9685_pwm_disable() argument
176 static int pca9685_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) pca9685_pwm_request() argument
187 static void pca9685_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) pca9685_pwm_free() argument
H A Dpwm-rockchip.c101 static int rockchip_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, rockchip_pwm_config() argument
150 static int rockchip_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) rockchip_pwm_enable() argument
164 static void rockchip_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) rockchip_pwm_disable() argument
61 rockchip_pwm_set_enable_v1(struct pwm_chip *chip, struct pwm_device *pwm, bool enable) rockchip_pwm_set_enable_v1() argument
78 rockchip_pwm_set_enable_v2(struct pwm_chip *chip, struct pwm_device *pwm, bool enable) rockchip_pwm_set_enable_v2() argument
137 rockchip_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) rockchip_pwm_set_polarity() argument
H A Dpwm-spear.c77 static int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, spear_pwm_config() argument
137 static int spear_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) spear_pwm_enable() argument
154 static void spear_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) spear_pwm_disable() argument
H A Dpwm-sti.c115 static int sti_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, sti_pwm_config() argument
197 static int sti_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) sti_pwm_enable() argument
226 static void sti_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) sti_pwm_disable() argument
241 static void sti_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) sti_pwm_free() argument
H A Dpwm-sun4i.c98 static int sun4i_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, sun4i_pwm_config() argument
188 static int sun4i_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, sun4i_pwm_set_polarity() argument
217 static int sun4i_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) sun4i_pwm_enable() argument
239 static void sun4i_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) sun4i_pwm_disable() argument
287 struct sun4i_pwm_chip *pwm; sun4i_pwm_probe() local
348 struct sun4i_pwm_chip *pwm = platform_get_drvdata(pdev); sun4i_pwm_remove() local
H A Dpwm-tiecap.c65 static int ecap_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, ecap_pwm_config() argument
125 static int ecap_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, ecap_pwm_set_polarity() argument
145 static int ecap_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) ecap_pwm_enable() argument
163 static void ecap_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) ecap_pwm_disable() argument
180 static void ecap_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) ecap_pwm_free() argument
304 struct pwm_device *pwm = pc->chip.pwms; ecap_pwm_suspend() local
318 struct pwm_device *pwm = pc->chip.pwms; ecap_pwm_resume() local
H A Dpwm-twl-led.c69 static int twl4030_pwmled_config(struct pwm_chip *chip, struct pwm_device *pwm, twl4030_pwmled_config() argument
103 static int twl4030_pwmled_enable(struct pwm_chip *chip, struct pwm_device *pwm) twl4030_pwmled_enable() argument
151 static int twl6030_pwmled_config(struct pwm_chip *chip, struct pwm_device *pwm, twl6030_pwmled_config() argument
168 static int twl6030_pwmled_enable(struct pwm_chip *chip, struct pwm_device *pwm) twl6030_pwmled_enable() argument
220 static int twl6030_pwmled_request(struct pwm_chip *chip, struct pwm_device *pwm) twl6030_pwmled_request() argument
246 static void twl6030_pwmled_free(struct pwm_chip *chip, struct pwm_device *pwm) twl6030_pwmled_free() argument
127 twl4030_pwmled_disable(struct pwm_chip *chip, struct pwm_device *pwm) twl4030_pwmled_disable() argument
194 twl6030_pwmled_disable(struct pwm_chip *chip, struct pwm_device *pwm) twl6030_pwmled_disable() argument
H A Dpwm-twl.c71 static int twl_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, twl_pwm_config() argument
105 static int twl4030_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) twl4030_pwm_enable() argument
135 static void twl4030_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) twl4030_pwm_disable() argument
164 static int twl4030_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) twl4030_pwm_request() argument
202 static void twl4030_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) twl4030_pwm_free() argument
232 static int twl6030_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) twl6030_pwm_enable() argument
255 static void twl6030_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) twl6030_pwm_disable() argument
H A Dpwm-vt8500.c80 static int vt8500_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, vt8500_pwm_config() argument
134 static int vt8500_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) vt8500_pwm_enable() argument
154 static void vt8500_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) vt8500_pwm_disable() argument
167 vt8500_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) vt8500_pwm_set_polarity() argument
H A Dsysfs.c28 struct pwm_device *pwm; member in struct:pwm_export
47 const struct pwm_device *pwm = child_to_pwm_device(child); pwm_period_show() local
56 struct pwm_device *pwm = child_to_pwm_device(child); pwm_period_store() local
73 const struct pwm_device *pwm = child_to_pwm_device(child); pwm_duty_cycle_show() local
82 struct pwm_device *pwm = child_to_pwm_device(child); pwm_duty_cycle_store() local
99 const struct pwm_device *pwm = child_to_pwm_device(child); pwm_enable_show() local
109 struct pwm_device *pwm = child_to_pwm_device(child); pwm_enable_store() local
135 const struct pwm_device *pwm = child_to_pwm_device(child); pwm_polarity_show() local
144 struct pwm_device *pwm = child_to_pwm_device(child); pwm_polarity_store() local
172 ATTRIBUTE_GROUPS(pwm); variable
181 static int pwm_export_child(struct device *parent, struct pwm_device *pwm) pwm_export_child() argument
218 static int pwm_unexport_child(struct device *parent, struct pwm_device *pwm) pwm_unexport_child() argument
242 struct pwm_device *pwm; pwm_export_store() local
H A Dcore.c44 static struct pwm_device *pwm_to_device(unsigned int pwm) pwm_to_device() argument
49 static int alloc_pwms(int pwm, unsigned int count) alloc_pwms() argument
77 struct pwm_device *pwm = &chip->pwms[i]; free_pwms() local
110 static int pwm_device_request(struct pwm_device *pwm, const char *label) pwm_device_request() argument
137 struct pwm_device *pwm; of_pwm_xlate_with_flags() local
163 struct pwm_device *pwm; of_pwm_simple_xlate() local
204 int pwm_set_chip_data(struct pwm_device *pwm, void *data) pwm_set_chip_data() argument
219 void *pwm_get_chip_data(struct pwm_device *pwm) pwm_get_chip_data() argument
234 struct pwm_device *pwm; pwmchip_add() local
299 struct pwm_device *pwm = &chip->pwms[i]; pwmchip_remove() local
329 struct pwm_device *pwm_request(int pwm, const char *label) pwm_request() argument
370 struct pwm_device *pwm; pwm_request_from_chip() local
394 void pwm_free(struct pwm_device *pwm) pwm_free() argument
406 int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns) pwm_config() argument
431 int pwm_set_polarity(struct pwm_device *pwm, enum pwm_polarity polarity) pwm_set_polarity() argument
458 int pwm_enable(struct pwm_device *pwm) pwm_enable() argument
471 void pwm_disable(struct pwm_device *pwm) pwm_disable() argument
513 struct pwm_device *pwm = NULL; of_pwm_get() local
602 struct pwm_device *pwm = ERR_PTR(-EPROBE_DEFER); pwm_get() local
686 void pwm_put(struct pwm_device *pwm) pwm_put() argument
724 struct pwm_device **ptr, *pwm; devm_pwm_get() local
754 struct pwm_device **ptr, *pwm; devm_of_pwm_get() local
791 void devm_pwm_put(struct device *dev, struct pwm_device *pwm) devm_pwm_put() argument
803 bool pwm_can_sleep(struct pwm_device *pwm) pwm_can_sleep() argument
815 struct pwm_device *pwm = &chip->pwms[i]; pwm_dbg_show() local
H A Dpwm-fsl-ftm.c99 static int fsl_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) fsl_pwm_request() argument
106 static void fsl_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) fsl_pwm_free() argument
233 static int fsl_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, fsl_pwm_config() argument
323 static int fsl_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) fsl_pwm_enable() argument
356 static void fsl_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) fsl_pwm_disable() argument
280 fsl_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) fsl_pwm_set_polarity() argument
H A Dpwm-renesas-tpu.c100 static void tpu_pwm_write(struct tpu_pwm_device *pwm, int reg_nr, u16 value) tpu_pwm_write() argument
108 static void tpu_pwm_set_pin(struct tpu_pwm_device *pwm, tpu_pwm_set_pin() argument
135 static void tpu_pwm_start_stop(struct tpu_pwm_device *pwm, int start) tpu_pwm_start_stop() argument
152 static int tpu_pwm_timer_start(struct tpu_pwm_device *pwm) tpu_pwm_timer_start() argument
199 static void tpu_pwm_timer_stop(struct tpu_pwm_device *pwm) tpu_pwm_timer_stop() argument
221 struct tpu_pwm_device *pwm; tpu_pwm_request() local
246 struct tpu_pwm_device *pwm = pwm_get_chip_data(_pwm); tpu_pwm_free() local
256 struct tpu_pwm_device *pwm = pwm_get_chip_data(_pwm); tpu_pwm_config() local
338 struct tpu_pwm_device *pwm = pwm_get_chip_data(_pwm); tpu_pwm_set_polarity() local
347 struct tpu_pwm_device *pwm = pwm_get_chip_data(_pwm); tpu_pwm_enable() local
369 struct tpu_pwm_device *pwm = pwm_get_chip_data(_pwm); tpu_pwm_disable() local
H A Dpwm-samsung.c120 static void pwm_samsung_set_divisor(struct samsung_pwm_chip *pwm, pwm_samsung_set_divisor() argument
205 static int pwm_samsung_request(struct pwm_chip *chip, struct pwm_device *pwm) pwm_samsung_request() argument
226 static void pwm_samsung_free(struct pwm_chip *chip, struct pwm_device *pwm) pwm_samsung_free() argument
232 static int pwm_samsung_enable(struct pwm_chip *chip, struct pwm_device *pwm) pwm_samsung_enable() argument
256 static void pwm_samsung_disable(struct pwm_chip *chip, struct pwm_device *pwm) pwm_samsung_disable() argument
291 static int pwm_samsung_config(struct pwm_chip *chip, struct pwm_device *pwm, pwm_samsung_config() argument
596 struct pwm_device *pwm = &chip->chip.pwms[i]; pwm_samsung_suspend() local
272 pwm_samsung_manual_update(struct samsung_pwm_chip *chip, struct pwm_device *pwm) pwm_samsung_manual_update() argument
399 pwm_samsung_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) pwm_samsung_set_polarity() argument
H A Dpwm-tiehrpwm.c236 static int ehrpwm_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, ehrpwm_pwm_config() argument
333 static int ehrpwm_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) ehrpwm_pwm_enable() argument
373 static void ehrpwm_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) ehrpwm_pwm_disable() argument
406 static void ehrpwm_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) ehrpwm_pwm_free() argument
566 struct pwm_device *pwm = &pc->chip.pwms[i]; ehrpwm_pwm_suspend() local
583 struct pwm_device *pwm = &pc->chip.pwms[i]; ehrpwm_pwm_resume() local
323 ehrpwm_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) ehrpwm_pwm_set_polarity() argument
/linux-4.1.27/drivers/regulator/
H A Dpwm-regulator.c26 struct pwm_device *pwm; member in struct:pwm_regulator_data
H A Dmax8973-regulator.c205 int pwm; max8973_dcdc_set_mode() local
H A Dqcom_rpm-regulator.c664 bool pwm; rpm_reg_of_parse() local
/linux-4.1.27/drivers/input/misc/
H A Dpwm-beeper.c27 struct pwm_device *pwm; member in struct:pwm_beeper
H A Dtwl4030-vibra.c104 int pwm; vibra_play_work() local
H A Dmax8997_haptic.c58 struct pwm_device *pwm; member in struct:max8997_haptic
/linux-4.1.27/drivers/leds/
H A Dleds-pwm.c29 struct pwm_device *pwm; member in struct:led_pwm_data
H A Dleds-pca9532.c49 u8 pwm[2]; member in struct:pca9532_data
103 static int pca9532_calcpwm(struct i2c_client *client, int pwm, int blink, pca9532_calcpwm() argument
129 static int pca9532_setpwm(struct i2c_client *client, int pwm) pca9532_setpwm() argument
H A Dleds-lm3530.c234 struct lm3530_pwm_data *pwm = &pdata->pwm_data; lm3530_init_registers() local
312 struct lm3530_pwm_data *pwm = &pdata->pwm_data; lm3530_brightness_set() local
374 struct lm3530_pwm_data *pwm; lm3530_mode_set() local
/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_smu_controls.c54 static int smu_set_fan(int pwm, u8 id, u16 value) smu_set_fan() argument
/linux-4.1.27/drivers/hwmon/
H A Dpwm-fan.c33 struct pwm_device *pwm; member in struct:pwm_fan_ctx
41 static int __set_pwm(struct pwm_fan_ctx *ctx, unsigned long pwm) __set_pwm() argument
70 static void pwm_fan_update_state(struct pwm_fan_ctx *ctx, unsigned long pwm) pwm_fan_update_state() argument
85 unsigned long pwm; set_pwm() local
H A Dgpio-fan.c195 u8 pwm = fan_data->speed_index * 255 / (fan_data->num_speed - 1); show_pwm() local
204 unsigned long pwm; set_pwm() local
H A Dmax6639.c95 u8 pwm[2]; /* Register value: Duty cycle 0..120 */ member in struct:max6639_data
H A Dmax6650.c306 int pwm; get_pwm() local
329 unsigned long pwm; set_pwm() local
H A Dasb100.c165 static u8 ASB100_PWM_TO_REG(int pwm) ASB100_PWM_TO_REG() argument
212 u8 pwm; /* Register encoding */ member in struct:asb100_data
H A Df75375s.c115 u8 pwm[2]; member in struct:f75375_data
H A Dlm63.c379 int pwm; show_pwm1() local
H A Dpc87427.c69 u8 pwm[4]; /* register values */ member in struct:pc87427_data
H A Dsmsc47m1.c137 u8 pwm[3]; /* Register value (bit 0 is disable) */ member in struct:smsc47m1_data
H A Dvt1211.c135 u8 pwm[2]; member in struct:vt1211_data
H A Dw83792d.c292 u8 pwm[7]; /* member in struct:w83792d_data
H A Dw83l786ng.c142 u8 pwm[2]; member in struct:w83l786ng_data
H A Dadm1031.c95 u8 pwm[2]; member in struct:adm1031_data
255 static int AUTO_TEMP_MAX_TO_REG(int val, int reg, int pwm) AUTO_TEMP_MAX_TO_REG() argument
H A Dadt7462.c221 u8 pwm[ADT7462_PWM_COUNT]; member in struct:adt7462_data
H A Dadt7470.c165 u8 pwm[ADT7470_PWM_COUNT]; member in struct:adt7470_data
202 u8 cfg, pwm[4], pwm_cfg[2]; adt7470_read_temperatures() local
H A Dadt7475.c183 u8 pwm[4][3]; member in struct:adt7475_data
H A Df71805f.c188 u8 pwm[3]; member in struct:f71805f_data
H A Df71882fg.c269 u8 pwm[4]; member in struct:f71882fg_data
1904 int pwm = to_sensor_dev_attr_2(devattr)->index; show_pwm_auto_point_pwm() local
1925 int err, pwm = to_sensor_dev_attr_2(devattr)->index; store_pwm_auto_point_pwm() local
2104 int pwm = to_sensor_dev_attr_2(devattr)->index; show_pwm_auto_point_temp() local
2116 int err, pwm = to_sensor_dev_attr_2(devattr)->index; store_pwm_auto_point_temp() local
H A Dlm85.c314 u8 pwm[3]; /* Register value */ member in struct:lm85_data
H A Dnct6683.c328 u8 pwm[NCT6683_NUM_REG_PWM]; member in struct:nct6683_data
928 int pwm = index; /* pwm index */ nct6683_pwm_is_visible() local
H A Dpc87360.c204 u8 pwm[3]; /* Register value */ member in struct:pc87360_data
387 static struct sensor_device_attribute pwm[] = { variable in typeref:struct:sensor_device_attribute
H A Dw83627hf.c380 u8 pwm[3]; /* Register value */ member in struct:w83627hf_data
H A Dw83781d.c240 u8 pwm[4]; /* Register value */ member in struct:w83781d_data
H A Dw83791d.c315 u8 pwm[5]; /* pwm duty cycle */ member in struct:w83791d_data
H A Dw83793.c252 u8 pwm[8][3]; /* Register value */ member in struct:w83793_data
H A Dadm1026.c263 u8 pwm; member in struct:pwm_data
H A Ddme1737.c244 u8 pwm[6]; member in struct:dme1737_data
H A Dit87.c2470 u8 pwm[3]; it87_check_pwm() local
H A Dlm93.c595 static u8 LM93_PWM_TO_REG(int pwm, enum pwm_freq freq) LM93_PWM_TO_REG() argument
1985 lm93_disable_fan_smart_tach(struct i2c_client *client, struct lm93_data *data, int pwm) lm93_disable_fan_smart_tach() argument
H A Dw83627ehf.c487 u8 pwm[4]; member in struct:w83627ehf_data
H A Dw83795.c372 u8 pwm[8][5]; /* member in struct:w83795_data
H A Dnct6775.c647 static enum pwm_enable reg_to_pwm_enable(int pwm, int mode) reg_to_pwm_enable() argument
854 u8 pwm[7][NUM_FAN]; /* [0]=pwm, [1]=pwm_start, [2]=pwm_floor, member in struct:nct6775_data
2223 int pwm; show_pwm() local
2898 int pwm = index / 36; /* pwm index */ nct6775_pwm_is_visible() local
/linux-4.1.27/drivers/video/backlight/
H A D88pm860x_bl.c33 int pwm; member in struct:pm860x_backlight_data
H A Dlp8788_bl.c52 struct pwm_device *pwm; member in struct:lp8788_bl
130 struct pwm_device *pwm; lp8788_pwm_ctrl() local
H A Dpwm_bl.c28 struct pwm_device *pwm; member in struct:pwm_bl_data
H A Dlp855x_bl.c75 struct pwm_device *pwm; member in struct:lp855x
239 struct pwm_device *pwm; lp855x_pwm_ctrl() local
/linux-4.1.27/include/linux/mfd/
H A Dlm3533.h53 u8 pwm; /* 0 - 0x3f */ member in struct:lm3533_bl_platform_data
60 u8 pwm; /* 0 - 0x3f */ member in struct:lm3533_led_platform_data
H A D88pm860x.h407 int pwm; member in struct:pm860x_backlight_pdata
/linux-4.1.27/drivers/media/pci/ttpci/
H A Dbudget.c441 u8 pwm; read_pwm() local
H A Dbudget-av.c1171 u8 pwm; read_pwm() local
H A Dav7110.c2112 u8 pwm; read_pwm() local
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dcdv_intel_lvds.c764 u32 pwm; cdv_intel_lvds_init() local
/linux-4.1.27/drivers/clk/mxs/
H A Dclk-imx23.c92 clk32k, dri, pwm, filt, uart, ssp, gpmi, spdif, emi, saif, enumerator in enum:imx23_clk
H A Dclk-imx28.c145 clk32k_div, rtc, lradc, spdif_div, clk32k, pwm, uart, ssp0, enumerator in enum:imx28_clk
/linux-4.1.27/drivers/video/fbdev/
H A Dssd1307fb.c54 struct pwm_device *pwm; member in struct:ssd1307fb_par
/linux-4.1.27/drivers/clocksource/
H A Dsamsung_pwm_timer.c83 static struct samsung_pwm_clocksource pwm; variable in typeref:struct:samsung_pwm_clocksource
/linux-4.1.27/drivers/media/usb/ttusb-budget/
H A Ddvb-ttusb-budget.c1389 u8 pwm; read_pwm() local
/linux-4.1.27/drivers/input/keyboard/
H A Dlm8323.c159 struct lm8323_pwm pwm[LM8323_NUM_PWMS]; member in struct:lm8323_chip
363 static void pwm_done(struct lm8323_pwm *pwm) pwm_done() argument
428 static void lm8323_write_pwm_one(struct lm8323_pwm *pwm, int pos, u16 cmd) lm8323_write_pwm_one() argument
440 static void lm8323_write_pwm(struct lm8323_pwm *pwm, int kill, lm8323_write_pwm() argument
455 struct lm8323_pwm *pwm = work_to_pwm(work); lm8323_pwm_work() local
512 struct lm8323_pwm *pwm = cdev_to_pwm(led_cdev); lm8323_pwm_set_brightness() local
538 struct lm8323_pwm *pwm = cdev_to_pwm(led_cdev); lm8323_pwm_show_time() local
547 struct lm8323_pwm *pwm = cdev_to_pwm(led_cdev); lm8323_pwm_store_time() local
570 struct lm8323_pwm *pwm; init_pwm() local
636 int pwm; lm8323_probe() local
/linux-4.1.27/drivers/platform/x86/
H A Dcompal-laptop.c307 static void set_pwm(int pwm) set_pwm() argument
/linux-4.1.27/arch/powerpc/include/asm/
H A Dmpc52xx.h111 u32 pwm; /* GPTx + 0x08 */ member in struct:mpc52xx_gpt

Completed in 1820 milliseconds