Lines Matching refs:res
136 int res; in ihs_video_out_set_mem() local
160 res = set_control(dev, CONTROL_FILTER_ORIGINAL | in ihs_video_out_set_mem()
163 if (res) { in ihs_video_out_set_mem()
165 return res; in ihs_video_out_set_mem()
205 int res; in ihs_video_out_print() local
216 res = ihs_video_out_set_mem(dev, col, row, buffer, 2 * len, 1); in ihs_video_out_print()
217 if (res < 0) { in ihs_video_out_print()
219 return res; in ihs_video_out_print()
239 int res; in ihs_video_out_probe() local
241 res = regmap_init_mem(dev_ofnode(dev), &priv->map); in ihs_video_out_probe()
242 if (res) { in ihs_video_out_probe()
244 res); in ihs_video_out_probe()
245 return res; in ihs_video_out_probe()
279 res = set_control(dev, CONTROL_FILTER_ORIGINAL | in ihs_video_out_probe()
282 if (res) { in ihs_video_out_probe()
284 dev->name, res); in ihs_video_out_probe()
285 return res; in ihs_video_out_probe()
293 res = dev_read_phandle_with_args(dev, "clk_gen", NULL, 0, 0, in ihs_video_out_probe()
295 if (res) { in ihs_video_out_probe()
297 dev->name, res); in ihs_video_out_probe()
301 res = uclass_get_device_by_ofnode(UCLASS_CLK, phandle_args.node, in ihs_video_out_probe()
303 if (res) { in ihs_video_out_probe()
305 dev->name, res); in ihs_video_out_probe()
309 res = dev_read_phandle_with_args(dev, "video_tx", NULL, 0, 0, in ihs_video_out_probe()
311 if (res) { in ihs_video_out_probe()
313 dev->name, res); in ihs_video_out_probe()
317 res = uclass_get_device_by_ofnode(UCLASS_DISPLAY, phandle_args.node, in ihs_video_out_probe()
319 if (res) { in ihs_video_out_probe()
321 dev->name, res); in ihs_video_out_probe()
325 res = display_enable(priv->video_tx, 8, &timing); in ihs_video_out_probe()
326 if (res && res != -EIO) { /* Ignore missing DP sink error */ in ihs_video_out_probe()
328 dev->name, res); in ihs_video_out_probe()
329 return res; in ihs_video_out_probe()