Searched refs:pwm (Results 1 – 6 of 6) sorted by relevance
/include/linux/ |
D | pwm.h | 87 unsigned int pwm; member 108 static inline void pwm_get_state(const struct pwm_device *pwm, in pwm_get_state() argument 111 *state = pwm->state; in pwm_get_state() 114 static inline bool pwm_is_enabled(const struct pwm_device *pwm) in pwm_is_enabled() argument 118 pwm_get_state(pwm, &state); in pwm_is_enabled() 123 static inline void pwm_set_period(struct pwm_device *pwm, u64 period) in pwm_set_period() argument 125 if (pwm) in pwm_set_period() 126 pwm->state.period = period; in pwm_set_period() 129 static inline u64 pwm_get_period(const struct pwm_device *pwm) in pwm_get_period() argument 133 pwm_get_state(pwm, &state); in pwm_get_period() [all …]
|
D | f75375s.h | 17 u8 pwm[2]; member
|
D | leds-pca9532.h | 38 u8 pwm[2]; member
|
/include/trace/events/ |
D | pwm.h | 3 #define TRACE_SYSTEM pwm 11 DECLARE_EVENT_CLASS(pwm, 13 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state), 15 TP_ARGS(pwm, state), 18 __field(struct pwm_device *, pwm) 26 __entry->pwm = pwm; 34 __entry->pwm, __entry->period, __entry->duty_cycle, 39 DEFINE_EVENT(pwm, pwm_apply, 41 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state), 43 TP_ARGS(pwm, state) [all …]
|
/include/linux/mfd/ |
D | lm3533.h | 49 u8 pwm; /* 0 - 0x3f */ member 56 u8 pwm; /* 0 - 0x3f */ member
|
D | 88pm860x.h | 404 int pwm; member
|