Lines Matching refs:ct
28 int (*set_value)(struct wf_control *ct, s32 val);
29 int (*get_value)(struct wf_control *ct, s32 *val);
30 s32 (*get_min)(struct wf_control *ct);
31 s32 (*get_max)(struct wf_control *ct);
32 void (*release)(struct wf_control *ct);
56 extern int wf_register_control(struct wf_control *ct);
57 extern void wf_unregister_control(struct wf_control *ct);
58 extern int wf_get_control(struct wf_control *ct);
59 extern void wf_put_control(struct wf_control *ct);
61 static inline int wf_control_set_max(struct wf_control *ct)
63 s32 vmax = ct->ops->get_max(ct);
64 return ct->ops->set_value(ct, vmax);
67 static inline int wf_control_set_min(struct wf_control *ct)
69 s32 vmin = ct->ops->get_min(ct);
70 return ct->ops->set_value(ct, vmin);
73 static inline int wf_control_set(struct wf_control *ct, s32 val)
75 return ct->ops->set_value(ct, val);
78 static inline int wf_control_get(struct wf_control *ct, s32 *val)
80 return ct->ops->get_value(ct, val);
83 static inline s32 wf_control_get_min(struct wf_control *ct)
85 return ct->ops->get_min(ct);
88 static inline s32 wf_control_get_max(struct wf_control *ct)
90 return ct->ops->get_max(ct);