Lines Matching full:layout

291 	if (!desc->layout.scaler_config)  in atmel_hlcdc_plane_setup_scaler()
296 desc->layout.scaler_config, 0); in atmel_hlcdc_plane_setup_scaler()
300 if (desc->layout.phicoeffs.x) { in atmel_hlcdc_plane_setup_scaler()
314 desc->layout.phicoeffs.x); in atmel_hlcdc_plane_setup_scaler()
321 desc->layout.phicoeffs.y); in atmel_hlcdc_plane_setup_scaler()
327 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.scaler_config, in atmel_hlcdc_plane_setup_scaler()
339 if (desc->layout.size) in atmel_hlcdc_plane_update_pos_and_size()
340 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.size, in atmel_hlcdc_plane_update_pos_and_size()
344 if (desc->layout.memsize) in atmel_hlcdc_plane_update_pos_and_size()
346 desc->layout.memsize, in atmel_hlcdc_plane_update_pos_and_size()
350 if (desc->layout.pos) in atmel_hlcdc_plane_update_pos_and_size()
351 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.pos, in atmel_hlcdc_plane_update_pos_and_size()
392 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.general_config, in atmel_hlcdc_plane_update_general_settings()
471 if (desc->layout.xstride[i]) in atmel_hlcdc_plane_update_buffers()
473 desc->layout.xstride[i], in atmel_hlcdc_plane_update_buffers()
476 if (desc->layout.pstride[i]) in atmel_hlcdc_plane_update_buffers()
478 desc->layout.pstride[i], in atmel_hlcdc_plane_update_buffers()
522 const struct atmel_hlcdc_layer_cfg_layout *layout; in atmel_hlcdc_plane_prepare_disc_area() local
529 layout = &primary->layer.desc->layout; in atmel_hlcdc_plane_prepare_disc_area()
530 if (!layout->disc_pos || !layout->disc_size) in atmel_hlcdc_plane_prepare_disc_area()
581 const struct atmel_hlcdc_layer_cfg_layout *layout; in atmel_hlcdc_plane_update_disc_area() local
583 layout = &plane->layer.desc->layout; in atmel_hlcdc_plane_update_disc_area()
584 if (!layout->disc_pos || !layout->disc_size) in atmel_hlcdc_plane_update_disc_area()
587 atmel_hlcdc_layer_write_cfg(&plane->layer, layout->disc_pos, in atmel_hlcdc_plane_update_disc_area()
591 atmel_hlcdc_layer_write_cfg(&plane->layer, layout->disc_size, in atmel_hlcdc_plane_update_disc_area()
702 if (!desc->layout.size && in atmel_hlcdc_plane_atomic_check()
708 (!desc->layout.memsize || in atmel_hlcdc_plane_atomic_check()
786 if (desc->layout.xstride[0] && desc->layout.pstride[0]) { in atmel_hlcdc_plane_init_properties()
799 if (desc->layout.csc) { in atmel_hlcdc_plane_init_properties()
805 desc->layout.csc, in atmel_hlcdc_plane_init_properties()
808 desc->layout.csc + 1, in atmel_hlcdc_plane_init_properties()
811 desc->layout.csc + 2, in atmel_hlcdc_plane_init_properties()