Home
last modified time | relevance | path

Searched refs:pwm (Results 1 – 6 of 6) sorted by relevance

/include/linux/
Dpwm.h87 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 …]
Df75375s.h17 u8 pwm[2]; member
Dleds-pca9532.h38 u8 pwm[2]; member
/include/trace/events/
Dpwm.h3 #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/
Dlm3533.h49 u8 pwm; /* 0 - 0x3f */ member
56 u8 pwm; /* 0 - 0x3f */ member
D88pm860x.h404 int pwm; member