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) in wf_control_set_max() argument
63 s32 vmax = ct->ops->get_max(ct); in wf_control_set_max()
64 return ct->ops->set_value(ct, vmax); in wf_control_set_max()
67 static inline int wf_control_set_min(struct wf_control *ct) in wf_control_set_min() argument
69 s32 vmin = ct->ops->get_min(ct); in wf_control_set_min()
70 return ct->ops->set_value(ct, vmin); in wf_control_set_min()
73 static inline int wf_control_set(struct wf_control *ct, s32 val) in wf_control_set() argument
75 return ct->ops->set_value(ct, val); in wf_control_set()
78 static inline int wf_control_get(struct wf_control *ct, s32 *val) in wf_control_get() argument
80 return ct->ops->get_value(ct, val); in wf_control_get()
83 static inline s32 wf_control_get_min(struct wf_control *ct) in wf_control_get_min() argument
85 return ct->ops->get_min(ct); in wf_control_get_min()
88 static inline s32 wf_control_get_max(struct wf_control *ct) in wf_control_get_max() argument
90 return ct->ops->get_max(ct); in wf_control_get_max()