Lines Matching full:r
47 int r = 0; in manager_display_store() local
67 r = -EINVAL; in manager_display_store()
73 r = -EINVAL; in manager_display_store()
82 r = -EINVAL; in manager_display_store()
90 r = dssdev->driver->connect(dssdev); in manager_display_store()
91 if (r) { in manager_display_store()
103 r = mgr->apply(mgr); in manager_display_store()
104 if (r) { in manager_display_store()
114 return r ? r : size; in manager_display_store()
132 int r; in manager_default_color_store() local
134 r = kstrtouint(buf, 0, &color); in manager_default_color_store()
135 if (r) in manager_default_color_store()
136 return r; in manager_default_color_store()
142 r = mgr->set_manager_info(mgr, &info); in manager_default_color_store()
143 if (r) in manager_default_color_store()
144 return r; in manager_default_color_store()
146 r = mgr->apply(mgr); in manager_default_color_store()
147 if (r) in manager_default_color_store()
148 return r; in manager_default_color_store()
176 int r; in manager_trans_key_type_store() local
178 r = sysfs_match_string(trans_key_type_str, buf); in manager_trans_key_type_store()
179 if (r < 0) in manager_trans_key_type_store()
180 return r; in manager_trans_key_type_store()
184 info.trans_key_type = r; in manager_trans_key_type_store()
186 r = mgr->set_manager_info(mgr, &info); in manager_trans_key_type_store()
187 if (r) in manager_trans_key_type_store()
188 return r; in manager_trans_key_type_store()
190 r = mgr->apply(mgr); in manager_trans_key_type_store()
191 if (r) in manager_trans_key_type_store()
192 return r; in manager_trans_key_type_store()
212 int r; in manager_trans_key_value_store() local
214 r = kstrtouint(buf, 0, &key_value); in manager_trans_key_value_store()
215 if (r) in manager_trans_key_value_store()
216 return r; in manager_trans_key_value_store()
222 r = mgr->set_manager_info(mgr, &info); in manager_trans_key_value_store()
223 if (r) in manager_trans_key_value_store()
224 return r; in manager_trans_key_value_store()
226 r = mgr->apply(mgr); in manager_trans_key_value_store()
227 if (r) in manager_trans_key_value_store()
228 return r; in manager_trans_key_value_store()
248 int r; in manager_trans_key_enabled_store() local
250 r = kstrtobool(buf, &enable); in manager_trans_key_enabled_store()
251 if (r) in manager_trans_key_enabled_store()
252 return r; in manager_trans_key_enabled_store()
258 r = mgr->set_manager_info(mgr, &info); in manager_trans_key_enabled_store()
259 if (r) in manager_trans_key_enabled_store()
260 return r; in manager_trans_key_enabled_store()
262 r = mgr->apply(mgr); in manager_trans_key_enabled_store()
263 if (r) in manager_trans_key_enabled_store()
264 return r; in manager_trans_key_enabled_store()
289 int r; in manager_alpha_blending_enabled_store() local
294 r = kstrtobool(buf, &enable); in manager_alpha_blending_enabled_store()
295 if (r) in manager_alpha_blending_enabled_store()
296 return r; in manager_alpha_blending_enabled_store()
302 r = mgr->set_manager_info(mgr, &info); in manager_alpha_blending_enabled_store()
303 if (r) in manager_alpha_blending_enabled_store()
304 return r; in manager_alpha_blending_enabled_store()
306 r = mgr->apply(mgr); in manager_alpha_blending_enabled_store()
307 if (r) in manager_alpha_blending_enabled_store()
308 return r; in manager_alpha_blending_enabled_store()
327 int r; in manager_cpr_enable_store() local
333 r = kstrtobool(buf, &enable); in manager_cpr_enable_store()
334 if (r) in manager_cpr_enable_store()
335 return r; in manager_cpr_enable_store()
344 r = mgr->set_manager_info(mgr, &info); in manager_cpr_enable_store()
345 if (r) in manager_cpr_enable_store()
346 return r; in manager_cpr_enable_store()
348 r = mgr->apply(mgr); in manager_cpr_enable_store()
349 if (r) in manager_cpr_enable_store()
350 return r; in manager_cpr_enable_store()
380 int r, i; in manager_cpr_coef_store() local
405 r = mgr->set_manager_info(mgr, &info); in manager_cpr_coef_store()
406 if (r) in manager_cpr_coef_store()
407 return r; in manager_cpr_coef_store()
409 r = mgr->apply(mgr); in manager_cpr_coef_store()
410 if (r) in manager_cpr_coef_store()
411 return r; in manager_cpr_coef_store()