Lines Matching refs:kfb
284 struct komeda_fb *kfb, in komeda_layer_check_cfg() argument
290 if (!komeda_fb_is_layer_supported(kfb, layer->layer_type, dflow->rot)) in komeda_layer_check_cfg()
305 if (komeda_fb_check_src_coords(kfb, src_x, src_y, src_w, src_h)) in komeda_layer_check_cfg()
323 if (kfb->base.format->hsub > 1) in komeda_layer_check_cfg()
344 struct komeda_fb *kfb = to_kfb(fb); in komeda_layer_validate() local
349 err = komeda_layer_check_cfg(layer, kfb, dflow); in komeda_layer_validate()
363 st->hsize = kfb->aligned_w; in komeda_layer_validate()
364 st->vsize = kfb->aligned_h; in komeda_layer_validate()
366 st->afbc_crop_r = kfb->aligned_w - dflow->in_x - dflow->in_w; in komeda_layer_validate()
368 st->afbc_crop_b = kfb->aligned_h - dflow->in_y - dflow->in_h; in komeda_layer_validate()
379 st->addr[i] = komeda_fb_get_pixel_addr(kfb, dflow->in_x, in komeda_layer_validate()
403 struct komeda_fb *kfb = to_kfb(conn_st->writeback_job->fb); in komeda_wb_layer_validate() local
408 err = komeda_layer_check_cfg(wb_layer, kfb, dflow); in komeda_wb_layer_validate()
422 for (i = 0; i < kfb->base.format->num_planes; i++) in komeda_wb_layer_validate()
423 st->addr[i] = komeda_fb_get_pixel_addr(kfb, dflow->out_x, in komeda_wb_layer_validate()