Lines Matching full:layer
281 atmel_hlcdc_layer_write_cfg(&plane->layer, cfg_offs + i, in atmel_hlcdc_plane_scaler_set_phicoeff()
289 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_hlcdc_plane_setup_scaler()
296 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_plane_setup_scaler()
328 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.scaler_config, in atmel_hlcdc_plane_setup_scaler()
338 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_xlcdc_plane_setup_scaler()
345 atmel_hlcdc_layer_write_cfg(&plane->layer, 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()
387 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; 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()
396 atmel_hlcdc_layer_write_cfg(&plane->layer, 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()
414 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_hlcdc_plane_update_general_settings()
424 atmel_hlcdc_layer_write_cfg(&plane->layer, ATMEL_HLCDC_LAYER_DMA_CFG, in atmel_hlcdc_plane_update_general_settings()
443 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.general_config, in atmel_hlcdc_plane_update_general_settings()
451 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_xlcdc_plane_update_general_settings()
455 atmel_hlcdc_layer_write_cfg(&plane->layer, ATMEL_XLCDC_LAYER_DMA_CFG, in atmel_xlcdc_plane_update_general_settings()
477 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.general_config, in atmel_xlcdc_plane_update_general_settings()
497 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_plane_update_format()
521 atmel_hlcdc_layer_write_clut(&plane->layer, idx, val); in atmel_hlcdc_plane_update_clut()
529 atmel_hlcdc_layer_write_reg(&plane->layer, in atmel_hlcdc_update_buffers()
536 atmel_hlcdc_layer_write_reg(&plane->layer, in atmel_hlcdc_update_buffers()
539 atmel_hlcdc_layer_write_reg(&plane->layer, in atmel_hlcdc_update_buffers()
542 atmel_hlcdc_layer_write_reg(&plane->layer, in atmel_hlcdc_update_buffers()
551 atmel_hlcdc_layer_write_reg(&plane->layer, in atmel_xlcdc_update_buffers()
559 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_hlcdc_plane_update_buffers()
566 sr = atmel_hlcdc_layer_read_reg(&plane->layer, ATMEL_HLCDC_LAYER_CHSR); in atmel_hlcdc_plane_update_buffers()
576 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_plane_update_buffers()
581 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_plane_update_buffers()
633 layout = &primary->layer.desc->layout; in atmel_hlcdc_plane_prepare_disc_area()
687 layout = &plane->layer.desc->layout; 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()
707 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_hlcdc_plane_atomic_check()
822 atmel_hlcdc_layer_write_reg(&plane->layer, ATMEL_HLCDC_LAYER_IDR, in atmel_hlcdc_atomic_disable()
825 /* Disable the layer */ in atmel_hlcdc_atomic_disable()
826 atmel_hlcdc_layer_write_reg(&plane->layer, ATMEL_HLCDC_LAYER_CHDR, in atmel_hlcdc_atomic_disable()
832 atmel_hlcdc_layer_read_reg(&plane->layer, ATMEL_HLCDC_LAYER_ISR); in atmel_hlcdc_atomic_disable()
838 atmel_hlcdc_layer_write_reg(&plane->layer, ATMEL_XLCDC_LAYER_IDR, in atmel_xlcdc_atomic_disable()
841 /* Disable the layer */ in atmel_xlcdc_atomic_disable()
842 atmel_hlcdc_layer_write_reg(&plane->layer, in atmel_xlcdc_atomic_disable()
846 atmel_hlcdc_layer_read_reg(&plane->layer, ATMEL_XLCDC_LAYER_ISR); in atmel_xlcdc_atomic_disable()
864 atmel_hlcdc_layer_write_reg(&plane->layer, ATMEL_HLCDC_LAYER_IER, in atmel_hlcdc_atomic_update()
870 sr = atmel_hlcdc_layer_read_reg(&plane->layer, ATMEL_HLCDC_LAYER_CHSR); in atmel_hlcdc_atomic_update()
871 atmel_hlcdc_layer_write_reg(&plane->layer, ATMEL_HLCDC_LAYER_CHER, in atmel_hlcdc_atomic_update()
881 atmel_hlcdc_layer_write_reg(&plane->layer, ATMEL_XLCDC_LAYER_IER, in atmel_xlcdc_atomic_update()
886 atmel_hlcdc_layer_write_reg(&plane->layer, ATMEL_XLCDC_LAYER_ENR, in atmel_xlcdc_atomic_update()
891 * (where xxx indicates each layer) requires writing one to the in atmel_xlcdc_atomic_update()
892 * Update Attribute field for each layer in LCDC_ATTRE register for SAM9X7. in atmel_xlcdc_atomic_update()
941 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_csc_init()
965 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_xlcdc_csc_init()
975 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_xlcdc_csc_init()
982 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_xlcdc_csc_init()
993 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_hlcdc_plane_init_properties()
1027 u32 isr = atmel_hlcdc_layer_read_reg(&plane->layer, ATMEL_HLCDC_LAYER_ISR); in atmel_hlcdc_irq_dbg()
1044 u32 isr = atmel_hlcdc_layer_read_reg(&plane->layer, ATMEL_XLCDC_LAYER_ISR); in atmel_xlcdc_irq_dbg()
1060 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_hlcdc_plane_irq()
1213 atmel_hlcdc_layer_init(&plane->layer, desc, dc->hlcdc->regmap); in atmel_hlcdc_plane_create()
1238 dc->layers[desc->id] = &plane->layer; in atmel_hlcdc_plane_create()