/linux-4.1.27/include/linux/ |
H A D | f75375s.h | 17 u8 pwm[2]; member in struct:f75375s_platform_data
|
H A D | leds-pca9532.h | 42 u8 pwm[2]; member in struct:pca9532_platform_data
|
H A D | pwm.h | 41 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 D | ves1820.h | 48 ves1820_attach(const struct ves1820_config* config, struct i2c_adapter* i2c, u8 pwm) ves1820_attach() argument
|
H A D | tda1002x.h | 64 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 D | atbm8830.c | 387 u32 pwm; atbm8830_read_signal_strength() local
|
H A D | ves1820.c | 43 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 D | tda10021.c | 42 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 D | tda10023.c | 49 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 D | mantis_vp2033.c | 55 u8 pwm; read_pwm() local
|
H A D | mantis_vp2040.c | 111 u8 pwm; read_pwm() local
|
/linux-4.1.27/drivers/clk/ |
H A D | clk-pwm.c | 19 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 D | pwm-ab8500.c | 27 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 D | pwm-bfin.c | 30 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 D | pwm-jz4740.c | 50 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 D | pwm-lpc32xx.c | 34 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 D | pwm-puv3.c | 41 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 D | pwm-bcm2835.c | 42 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 D | pwm-clps711x.c | 48 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 D | pwm-ep93xx.c | 56 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 D | pwm-lpss.c | 55 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 D | pwm-mxs.c | 50 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 D | pwm-pxa.c | 63 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 D | pwm-tegra.c | 66 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 D | pwm-atmel-hlcdc.c | 154 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 D | pwm-atmel-tcb.c | 121 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 D | pwm-atmel.c | 101 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 D | pwm-bcm-kona.c | 94 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 D | pwm-img.c | 88 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 D | pwm-imx.c | 219 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 D | pwm-lp3943.c | 64 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 D | pwm-pca9685.c | 69 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 D | pwm-rockchip.c | 101 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 D | pwm-spear.c | 77 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 D | pwm-sti.c | 115 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 D | pwm-sun4i.c | 98 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 D | pwm-tiecap.c | 65 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 D | pwm-twl-led.c | 69 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 D | pwm-twl.c | 71 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 D | pwm-vt8500.c | 80 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 D | sysfs.c | 28 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 D | core.c | 44 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 D | pwm-fsl-ftm.c | 99 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 D | pwm-renesas-tpu.c | 100 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 D | pwm-samsung.c | 120 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 D | pwm-tiehrpwm.c | 236 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 D | pwm-regulator.c | 26 struct pwm_device *pwm; member in struct:pwm_regulator_data
|
H A D | max8973-regulator.c | 205 int pwm; max8973_dcdc_set_mode() local
|
H A D | qcom_rpm-regulator.c | 664 bool pwm; rpm_reg_of_parse() local
|
/linux-4.1.27/drivers/input/misc/ |
H A D | pwm-beeper.c | 27 struct pwm_device *pwm; member in struct:pwm_beeper
|
H A D | twl4030-vibra.c | 104 int pwm; vibra_play_work() local
|
H A D | max8997_haptic.c | 58 struct pwm_device *pwm; member in struct:max8997_haptic
|
/linux-4.1.27/drivers/leds/ |
H A D | leds-pwm.c | 29 struct pwm_device *pwm; member in struct:led_pwm_data
|
H A D | leds-pca9532.c | 49 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 D | leds-lm3530.c | 234 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 D | windfarm_smu_controls.c | 54 static int smu_set_fan(int pwm, u8 id, u16 value) smu_set_fan() argument
|
/linux-4.1.27/drivers/hwmon/ |
H A D | pwm-fan.c | 33 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 D | gpio-fan.c | 195 u8 pwm = fan_data->speed_index * 255 / (fan_data->num_speed - 1); show_pwm() local 204 unsigned long pwm; set_pwm() local
|
H A D | max6639.c | 95 u8 pwm[2]; /* Register value: Duty cycle 0..120 */ member in struct:max6639_data
|
H A D | max6650.c | 306 int pwm; get_pwm() local 329 unsigned long pwm; set_pwm() local
|
H A D | asb100.c | 165 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 D | f75375s.c | 115 u8 pwm[2]; member in struct:f75375_data
|
H A D | lm63.c | 379 int pwm; show_pwm1() local
|
H A D | pc87427.c | 69 u8 pwm[4]; /* register values */ member in struct:pc87427_data
|
H A D | smsc47m1.c | 137 u8 pwm[3]; /* Register value (bit 0 is disable) */ member in struct:smsc47m1_data
|
H A D | vt1211.c | 135 u8 pwm[2]; member in struct:vt1211_data
|
H A D | w83792d.c | 292 u8 pwm[7]; /* member in struct:w83792d_data
|
H A D | w83l786ng.c | 142 u8 pwm[2]; member in struct:w83l786ng_data
|
H A D | adm1031.c | 95 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 D | adt7462.c | 221 u8 pwm[ADT7462_PWM_COUNT]; member in struct:adt7462_data
|
H A D | adt7470.c | 165 u8 pwm[ADT7470_PWM_COUNT]; member in struct:adt7470_data 202 u8 cfg, pwm[4], pwm_cfg[2]; adt7470_read_temperatures() local
|
H A D | adt7475.c | 183 u8 pwm[4][3]; member in struct:adt7475_data
|
H A D | f71805f.c | 188 u8 pwm[3]; member in struct:f71805f_data
|
H A D | f71882fg.c | 269 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 D | lm85.c | 314 u8 pwm[3]; /* Register value */ member in struct:lm85_data
|
H A D | nct6683.c | 328 u8 pwm[NCT6683_NUM_REG_PWM]; member in struct:nct6683_data 928 int pwm = index; /* pwm index */ nct6683_pwm_is_visible() local
|
H A D | pc87360.c | 204 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 D | w83627hf.c | 380 u8 pwm[3]; /* Register value */ member in struct:w83627hf_data
|
H A D | w83781d.c | 240 u8 pwm[4]; /* Register value */ member in struct:w83781d_data
|
H A D | w83791d.c | 315 u8 pwm[5]; /* pwm duty cycle */ member in struct:w83791d_data
|
H A D | w83793.c | 252 u8 pwm[8][3]; /* Register value */ member in struct:w83793_data
|
H A D | adm1026.c | 263 u8 pwm; member in struct:pwm_data
|
H A D | dme1737.c | 244 u8 pwm[6]; member in struct:dme1737_data
|
H A D | it87.c | 2470 u8 pwm[3]; it87_check_pwm() local
|
H A D | lm93.c | 595 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 D | w83627ehf.c | 487 u8 pwm[4]; member in struct:w83627ehf_data
|
H A D | w83795.c | 372 u8 pwm[8][5]; /* member in struct:w83795_data
|
H A D | nct6775.c | 647 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 D | 88pm860x_bl.c | 33 int pwm; member in struct:pm860x_backlight_data
|
H A D | lp8788_bl.c | 52 struct pwm_device *pwm; member in struct:lp8788_bl 130 struct pwm_device *pwm; lp8788_pwm_ctrl() local
|
H A D | pwm_bl.c | 28 struct pwm_device *pwm; member in struct:pwm_bl_data
|
H A D | lp855x_bl.c | 75 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 D | lm3533.h | 53 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 D | 88pm860x.h | 407 int pwm; member in struct:pm860x_backlight_pdata
|
/linux-4.1.27/drivers/media/pci/ttpci/ |
H A D | budget.c | 441 u8 pwm; read_pwm() local
|
H A D | budget-av.c | 1171 u8 pwm; read_pwm() local
|
H A D | av7110.c | 2112 u8 pwm; read_pwm() local
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_lvds.c | 764 u32 pwm; cdv_intel_lvds_init() local
|
/linux-4.1.27/drivers/clk/mxs/ |
H A D | clk-imx23.c | 92 clk32k, dri, pwm, filt, uart, ssp, gpmi, spdif, emi, saif, enumerator in enum:imx23_clk
|
H A D | clk-imx28.c | 145 clk32k_div, rtc, lradc, spdif_div, clk32k, pwm, uart, ssp0, enumerator in enum:imx28_clk
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | ssd1307fb.c | 54 struct pwm_device *pwm; member in struct:ssd1307fb_par
|
/linux-4.1.27/drivers/clocksource/ |
H A D | samsung_pwm_timer.c | 83 static struct samsung_pwm_clocksource pwm; variable in typeref:struct:samsung_pwm_clocksource
|
/linux-4.1.27/drivers/media/usb/ttusb-budget/ |
H A D | dvb-ttusb-budget.c | 1389 u8 pwm; read_pwm() local
|
/linux-4.1.27/drivers/input/keyboard/ |
H A D | lm8323.c | 159 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 D | compal-laptop.c | 307 static void set_pwm(int pwm) set_pwm() argument
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | mpc52xx.h | 111 u32 pwm; /* GPTx + 0x08 */ member in struct:mpc52xx_gpt
|