pwm_state
aplpwm_get_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
memset(ps, 0, sizeof(struct pwm_state));
aplpwm_set_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
int aplpwm_get_state(void *, uint32_t *, struct pwm_state *);
int aplpwm_set_state(void *, uint32_t *, struct pwm_state *);
rpipwm_get_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
rpipwm_set_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
int rpipwm_get_state(void *, uint32_t *, struct pwm_state *);
int rpipwm_set_state(void *, uint32_t *, struct pwm_state *);
amlpwm_get_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
memset(ps, 0, sizeof(struct pwm_state));
amlpwm_set_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
int amlpwm_get_state(void *, uint32_t *, struct pwm_state *);
int amlpwm_set_state(void *, uint32_t *, struct pwm_state *);
imxpwm_get_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
memset(ps, 0, sizeof(struct pwm_state));
imxpwm_set_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
int imxpwm_get_state(void *, uint32_t *, struct pwm_state *);
int imxpwm_set_state(void *, uint32_t *, struct pwm_state *);
struct pwm_state ps;
struct pwm_state ps;
struct pwm_state ps;
struct pwm_state sc_ps_saved;
struct pwm_state ps;
struct pwm_state ps;
struct pwm_state ps;
struct pwm_state ps;
struct pwm_state sc_ps_saved;
struct pwm_state ps;
struct pwm_state ps;
struct pwm_state ps;
int qcpwm_get_state(void *, uint32_t *, struct pwm_state *);
int qcpwm_set_state(void *, uint32_t *, struct pwm_state *);
qcpwm_get_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
memset(ps, 0, sizeof(struct pwm_state));
qcpwm_set_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
rkpwm_get_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
memset(ps, 0, sizeof(struct pwm_state));
rkpwm_set_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
int rkpwm_get_state(void *, uint32_t *, struct pwm_state *);
int rkpwm_set_state(void *, uint32_t *, struct pwm_state *);
sxipwm_get_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
memset(ps, 0, sizeof(struct pwm_state));
sxipwm_set_state(void *cookie, uint32_t *cells, struct pwm_state *ps)
int sxipwm_get_state(void *, uint32_t *, struct pwm_state *);
int sxipwm_set_state(void *, uint32_t *, struct pwm_state *);
pwm_init_state(uint32_t *cells, struct pwm_state *ps)
memset(ps, 0, sizeof(struct pwm_state));
pwm_get_state(uint32_t *cells, struct pwm_state *ps)
pwm_set_state(uint32_t *cells, struct pwm_state *ps)
int (*pd_get_state)(void *, uint32_t *, struct pwm_state *);
int (*pd_set_state)(void *, uint32_t *, struct pwm_state *);
int pwm_init_state(uint32_t *cells, struct pwm_state *ps);
int pwm_get_state(uint32_t *cells, struct pwm_state *ps);
int pwm_set_state(uint32_t *cells, struct pwm_state *ps);
pwm_get_state(panel->backlight.pwm, &panel->backlight.pwm_state);
level = pwm_get_relative_duty_cycle(&panel->backlight.pwm_state,
NSEC_PER_SEC / (unsigned long)panel->backlight.pwm_state.period,
panel->backlight.pwm_state.period =
struct pwm_state state;
pwm_set_relative_duty_cycle(&panel->backlight.pwm_state, level, 100);
pwm_apply_might_sleep(panel->backlight.pwm, &panel->backlight.pwm_state);
panel->backlight.pwm_state.enabled = false;
pwm_apply_might_sleep(panel->backlight.pwm, &panel->backlight.pwm_state);
pwm_set_relative_duty_cycle(&panel->backlight.pwm_state, level, 100);
panel->backlight.pwm_state.enabled = true;
pwm_apply_might_sleep(panel->backlight.pwm, &panel->backlight.pwm_state);
struct pwm_state pwm_state;