Lines Matching refs:layout

292 	if (!desc->layout.scaler_config)  in atmel_hlcdc_plane_setup_scaler()
297 desc->layout.scaler_config, 0); in atmel_hlcdc_plane_setup_scaler()
301 if (desc->layout.phicoeffs.x) { in atmel_hlcdc_plane_setup_scaler()
315 desc->layout.phicoeffs.x); in atmel_hlcdc_plane_setup_scaler()
322 desc->layout.phicoeffs.y); in atmel_hlcdc_plane_setup_scaler()
328 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.scaler_config, in atmel_hlcdc_plane_setup_scaler()
341 if (!desc->layout.scaler_config) in atmel_xlcdc_plane_setup_scaler()
346 desc->layout.scaler_config, 0); in atmel_xlcdc_plane_setup_scaler()
356 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.scaler_config, in atmel_xlcdc_plane_setup_scaler()
362 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.scaler_config + 1, in atmel_xlcdc_plane_setup_scaler()
364 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.scaler_config + 3, in atmel_xlcdc_plane_setup_scaler()
377 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.scaler_config + 2, in atmel_xlcdc_plane_setup_scaler()
379 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.scaler_config + 4, in atmel_xlcdc_plane_setup_scaler()
390 if (desc->layout.size) in atmel_hlcdc_plane_update_pos_and_size()
391 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.size, in atmel_hlcdc_plane_update_pos_and_size()
395 if (desc->layout.memsize) in atmel_hlcdc_plane_update_pos_and_size()
397 desc->layout.memsize, in atmel_hlcdc_plane_update_pos_and_size()
401 if (desc->layout.pos) in atmel_hlcdc_plane_update_pos_and_size()
402 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.pos, in atmel_hlcdc_plane_update_pos_and_size()
443 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.general_config, in atmel_hlcdc_plane_update_general_settings()
477 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.general_config, in atmel_xlcdc_plane_update_general_settings()
575 if (desc->layout.xstride[i]) in atmel_hlcdc_plane_update_buffers()
577 desc->layout.xstride[i], in atmel_hlcdc_plane_update_buffers()
580 if (desc->layout.pstride[i]) in atmel_hlcdc_plane_update_buffers()
582 desc->layout.pstride[i], in atmel_hlcdc_plane_update_buffers()
626 const struct atmel_hlcdc_layer_cfg_layout *layout; in atmel_hlcdc_plane_prepare_disc_area() local
633 layout = &primary->layer.desc->layout; in atmel_hlcdc_plane_prepare_disc_area()
634 if (!layout->disc_pos || !layout->disc_size) in atmel_hlcdc_plane_prepare_disc_area()
685 const struct atmel_hlcdc_layer_cfg_layout *layout; in atmel_hlcdc_plane_update_disc_area() local
687 layout = &plane->layer.desc->layout; in atmel_hlcdc_plane_update_disc_area()
688 if (!layout->disc_pos || !layout->disc_size) in atmel_hlcdc_plane_update_disc_area()
691 atmel_hlcdc_layer_write_cfg(&plane->layer, layout->disc_pos, in atmel_hlcdc_plane_update_disc_area()
695 atmel_hlcdc_layer_write_cfg(&plane->layer, layout->disc_size, in atmel_hlcdc_plane_update_disc_area()
806 if (!desc->layout.size && in atmel_hlcdc_plane_atomic_check()
812 (!desc->layout.memsize || in atmel_hlcdc_plane_atomic_check()
942 desc->layout.csc + i, in atmel_hlcdc_csc_init()
966 desc->layout.csc + i, in atmel_xlcdc_csc_init()
970 if (desc->layout.vxs_config && desc->layout.hxs_config) { in atmel_xlcdc_csc_init()
976 desc->layout.vxs_config, in atmel_xlcdc_csc_init()
983 desc->layout.hxs_config, in atmel_xlcdc_csc_init()
1005 if (desc->layout.xstride[0] && desc->layout.pstride[0]) { in atmel_hlcdc_plane_init_properties()
1018 if (desc->layout.csc) in atmel_hlcdc_plane_init_properties()