/linux-master/include/linux/ |
H A D | pwm.h | 69 * struct pwm_device - PWM channel object 78 struct pwm_device { struct 99 static inline void pwm_get_state(const struct pwm_device *pwm, 105 static inline bool pwm_is_enabled(const struct pwm_device *pwm) 114 static inline u64 pwm_get_period(const struct pwm_device *pwm) 123 static inline u64 pwm_get_duty_cycle(const struct pwm_device *pwm) 132 static inline enum pwm_polarity pwm_get_polarity(const struct pwm_device *pwm) 141 static inline void pwm_get_args(const struct pwm_device *pwm, 164 static inline void pwm_init_state(const struct pwm_device *pwm, 257 int (*request)(struct pwm_chip *chip, struct pwm_device *pw [all...] |
/linux-master/include/trace/events/ |
H A D | pwm.h | 13 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state, int err), 18 __field(struct pwm_device *, pwm) 43 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state, int err), 50 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state, int err),
|
/linux-master/drivers/pwm/ |
H A D | pwm-lpss.c | 74 static inline u32 pwm_lpss_read(const struct pwm_device *pwm) 81 static inline void pwm_lpss_write(const struct pwm_device *pwm, u32 value) 88 static int pwm_lpss_wait_for_update(struct pwm_device *pwm) 114 static inline int pwm_lpss_is_updating(struct pwm_device *pwm) 124 static void pwm_lpss_prepare(struct pwm_lpss_chip *lpwm, struct pwm_device *pwm, 159 static inline void pwm_lpss_cond_enable(struct pwm_device *pwm, bool cond) 166 struct pwm_device *pwm, 185 static int pwm_lpss_apply(struct pwm_chip *chip, struct pwm_device *pwm, 208 static int pwm_lpss_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | core.c | 32 static void pwm_apply_debug(struct pwm_device *pwm, 143 static int __pwm_apply(struct pwm_device *pwm, const struct pwm_state *state) 183 int pwm_apply_might_sleep(struct pwm_device *pwm, const struct pwm_state *state) 218 int pwm_apply_atomic(struct pwm_device *pwm, const struct pwm_state *state) 235 int pwm_adjust_config(struct pwm_device *pwm) 291 int pwm_capture(struct pwm_device *pwm, struct pwm_capture *result, 334 static int pwm_device_request(struct pwm_device *pwm, const char *label) 397 struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip, 401 struct pwm_device *pwm; 420 struct pwm_device * [all...] |
H A D | pwm-twl-led.c | 73 static int twl4030_pwmled_config(struct pwm_chip *chip, struct pwm_device *pwm, 107 static int twl4030_pwmled_enable(struct pwm_chip *chip, struct pwm_device *pwm) 132 struct pwm_device *pwm) 155 static int twl4030_pwmled_apply(struct pwm_chip *chip, struct pwm_device *pwm, 193 static int twl6030_pwmled_config(struct pwm_chip *chip, struct pwm_device *pwm, 210 static int twl6030_pwmled_enable(struct pwm_chip *chip, struct pwm_device *pwm) 237 struct pwm_device *pwm) 262 static int twl6030_pwmled_apply(struct pwm_chip *chip, struct pwm_device *pwm, 288 static int twl6030_pwmled_request(struct pwm_chip *chip, struct pwm_device *pwm) 314 static void twl6030_pwmled_free(struct pwm_chip *chip, struct pwm_device *pw [all...] |
H A D | pwm-twl.c | 59 static int twl_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 93 static int twl4030_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 123 static void twl4030_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 152 static int twl4030_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) 190 static void twl4030_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) 220 static int twl6030_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 243 static void twl6030_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 281 static int twl4030_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 306 static int twl6030_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-lpc32xx.c | 30 static int lpc32xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 63 static int lpc32xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 80 static void lpc32xx_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 92 static int lpc32xx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-imx1.c | 65 struct pwm_device *pwm, u64 duty_ns, u64 period_ns) 95 static int pwm_imx1_enable(struct pwm_chip *chip, struct pwm_device *pwm) 112 static void pwm_imx1_disable(struct pwm_chip *chip, struct pwm_device *pwm) 124 static int pwm_imx1_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-lp3943.c | 55 static int lp3943_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) 79 static void lp3943_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) 87 static int lp3943_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 151 static int lp3943_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 170 static void lp3943_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 183 static int lp3943_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-tiecap.c | 49 static int ecap_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 107 static int ecap_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, 131 static int ecap_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 150 static void ecap_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 167 static int ecap_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 294 struct pwm_device *pwm = chip->pwms; 308 struct pwm_device *pwm = chip->pwms;
|
H A D | pwm-berlin.c | 75 static int berlin_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 114 struct pwm_device *pwm, 132 static int berlin_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 145 struct pwm_device *pwm) 155 static int berlin_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-vt8500.c | 72 static int vt8500_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 126 static int vt8500_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 146 static void vt8500_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 160 struct pwm_device *pwm, 179 static int vt8500_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-jz4740.c | 49 static int jz4740_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) 79 static void jz4740_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) 88 static int jz4740_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 101 static void jz4740_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 123 static int jz4740_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-ep93xx.c | 46 static int ep93xx_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) 53 static void ep93xx_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) 60 static int ep93xx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-dwc-core.c | 39 struct pwm_device *pwm, 98 static int dwc_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 120 static int dwc_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-mediatek.c | 74 struct pwm_device *pwm) 102 struct pwm_device *pwm) 118 static int pwm_mediatek_config(struct pwm_chip *chip, struct pwm_device *pwm, 173 static int pwm_mediatek_enable(struct pwm_chip *chip, struct pwm_device *pwm) 190 static void pwm_mediatek_disable(struct pwm_chip *chip, struct pwm_device *pwm) 202 static int pwm_mediatek_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-hibvt.c | 82 static void hibvt_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 90 static void hibvt_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 98 static void hibvt_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 117 struct pwm_device *pwm, 130 static int hibvt_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, 153 static int hibvt_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-clps711x.c | 25 static int clps711x_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) 39 static int clps711x_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-lpc18xx-sct.c | 127 struct pwm_device *pwm, 170 struct pwm_device *pwm, u64 duty_ns) 191 static int lpc18xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 234 static int lpc18xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) 269 static void lpc18xx_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 280 static int lpc18xx_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) 301 static void lpc18xx_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) 309 static int lpc18xx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-fsl-ftm.c | 86 static int fsl_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) 101 static void fsl_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) 200 struct pwm_device *pwm) 212 struct pwm_device *pwm) 224 struct pwm_device *pwm, 296 static int fsl_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 471 struct pwm_device *pwm = &chip->pwms[i]; 495 struct pwm_device *pwm = &chip->pwms[i];
|
H A D | pwm-cros-ec.c | 134 static int cros_ec_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, 164 static int cros_ec_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, 198 static struct pwm_device * 201 struct pwm_device *pwm;
|
H A D | pwm-spear.c | 75 static int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 135 static int spear_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 152 static void spear_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 164 static int spear_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-stmpe.c | 38 static int stmpe_24xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 64 struct pwm_device *pwm) 97 static int stmpe_24xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 262 static int stmpe_24xx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-renesas-tpu.c | 212 static int tpu_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) 234 static void tpu_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) 242 static int tpu_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 351 static int tpu_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, 362 static int tpu_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 385 static void tpu_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 396 static int tpu_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
H A D | pwm-rz-mtu3.c | 165 static int rz_mtu3_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) 195 static void rz_mtu3_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) 212 static int rz_mtu3_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) 244 static void rz_mtu3_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) 269 static int rz_mtu3_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, 318 static int rz_mtu3_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, 405 static int rz_mtu3_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|