Lines Matching refs:mgr

23 static ssize_t manager_name_show(struct omap_overlay_manager *mgr, char *buf)  in manager_name_show()  argument
25 return sysfs_emit(buf, "%s\n", mgr->name); in manager_name_show()
28 static ssize_t manager_display_show(struct omap_overlay_manager *mgr, char *buf) in manager_display_show() argument
30 struct omap_dss_device *dssdev = mgr->get_device(mgr); in manager_display_show()
43 static ssize_t manager_display_store(struct omap_overlay_manager *mgr, in manager_display_store() argument
77 old_dssdev = mgr->get_device(mgr); in manager_display_store()
95 old_dssdev = mgr->get_device(mgr); in manager_display_store()
102 r = mgr->apply(mgr); in manager_display_store()
116 static ssize_t manager_default_color_show(struct omap_overlay_manager *mgr, in manager_default_color_show() argument
121 mgr->get_manager_info(mgr, &info); in manager_default_color_show()
126 static ssize_t manager_default_color_store(struct omap_overlay_manager *mgr, in manager_default_color_store() argument
137 mgr->get_manager_info(mgr, &info); in manager_default_color_store()
141 r = mgr->set_manager_info(mgr, &info); in manager_default_color_store()
145 r = mgr->apply(mgr); in manager_default_color_store()
157 static ssize_t manager_trans_key_type_show(struct omap_overlay_manager *mgr, in manager_trans_key_type_show() argument
163 mgr->get_manager_info(mgr, &info); in manager_trans_key_type_show()
171 static ssize_t manager_trans_key_type_store(struct omap_overlay_manager *mgr, in manager_trans_key_type_store() argument
181 mgr->get_manager_info(mgr, &info); in manager_trans_key_type_store()
185 r = mgr->set_manager_info(mgr, &info); in manager_trans_key_type_store()
189 r = mgr->apply(mgr); in manager_trans_key_type_store()
196 static ssize_t manager_trans_key_value_show(struct omap_overlay_manager *mgr, in manager_trans_key_value_show() argument
201 mgr->get_manager_info(mgr, &info); in manager_trans_key_value_show()
206 static ssize_t manager_trans_key_value_store(struct omap_overlay_manager *mgr, in manager_trans_key_value_store() argument
217 mgr->get_manager_info(mgr, &info); in manager_trans_key_value_store()
221 r = mgr->set_manager_info(mgr, &info); in manager_trans_key_value_store()
225 r = mgr->apply(mgr); in manager_trans_key_value_store()
232 static ssize_t manager_trans_key_enabled_show(struct omap_overlay_manager *mgr, in manager_trans_key_enabled_show() argument
237 mgr->get_manager_info(mgr, &info); in manager_trans_key_enabled_show()
242 static ssize_t manager_trans_key_enabled_store(struct omap_overlay_manager *mgr, in manager_trans_key_enabled_store() argument
253 mgr->get_manager_info(mgr, &info); in manager_trans_key_enabled_store()
257 r = mgr->set_manager_info(mgr, &info); in manager_trans_key_enabled_store()
261 r = mgr->apply(mgr); in manager_trans_key_enabled_store()
269 struct omap_overlay_manager *mgr, char *buf) in manager_alpha_blending_enabled_show() argument
276 mgr->get_manager_info(mgr, &info); in manager_alpha_blending_enabled_show()
283 struct omap_overlay_manager *mgr, in manager_alpha_blending_enabled_store() argument
297 mgr->get_manager_info(mgr, &info); in manager_alpha_blending_enabled_store()
301 r = mgr->set_manager_info(mgr, &info); in manager_alpha_blending_enabled_store()
305 r = mgr->apply(mgr); in manager_alpha_blending_enabled_store()
312 static ssize_t manager_cpr_enable_show(struct omap_overlay_manager *mgr, in manager_cpr_enable_show() argument
317 mgr->get_manager_info(mgr, &info); in manager_cpr_enable_show()
322 static ssize_t manager_cpr_enable_store(struct omap_overlay_manager *mgr, in manager_cpr_enable_store() argument
336 mgr->get_manager_info(mgr, &info); in manager_cpr_enable_store()
343 r = mgr->set_manager_info(mgr, &info); in manager_cpr_enable_store()
347 r = mgr->apply(mgr); in manager_cpr_enable_store()
354 static ssize_t manager_cpr_coef_show(struct omap_overlay_manager *mgr, in manager_cpr_coef_show() argument
359 mgr->get_manager_info(mgr, &info); in manager_cpr_coef_show()
374 static ssize_t manager_cpr_coef_store(struct omap_overlay_manager *mgr, in manager_cpr_coef_store() argument
400 mgr->get_manager_info(mgr, &info); in manager_cpr_coef_store()
404 r = mgr->set_manager_info(mgr, &info); in manager_cpr_coef_store()
408 r = mgr->apply(mgr); in manager_cpr_coef_store()
502 int dss_manager_kobj_init(struct omap_overlay_manager *mgr, in dss_manager_kobj_init() argument
505 return kobject_init_and_add(&mgr->kobj, &manager_ktype, in dss_manager_kobj_init()
506 &pdev->dev.kobj, "manager%d", mgr->id); in dss_manager_kobj_init()
509 void dss_manager_kobj_uninit(struct omap_overlay_manager *mgr) in dss_manager_kobj_uninit() argument
511 kobject_del(&mgr->kobj); in dss_manager_kobj_uninit()
512 kobject_put(&mgr->kobj); in dss_manager_kobj_uninit()
514 memset(&mgr->kobj, 0, sizeof(mgr->kobj)); in dss_manager_kobj_uninit()