Lines Matching refs:slot

69 	struct atmel_hlcdc_layer_update_slot *slot;  in atmel_hlcdc_layer_update_reset()  local
74 slot = &upd->slots[id]; in atmel_hlcdc_layer_update_reset()
75 bitmap_clear(slot->updated_configs, 0, layer->desc->nconfigs); in atmel_hlcdc_layer_update_reset()
76 memset(slot->configs, 0, in atmel_hlcdc_layer_update_reset()
77 sizeof(*slot->configs) * layer->desc->nconfigs); in atmel_hlcdc_layer_update_reset()
79 if (slot->fb_flip) { in atmel_hlcdc_layer_update_reset()
80 atmel_hlcdc_layer_fb_flip_release_queue(layer, slot->fb_flip); in atmel_hlcdc_layer_update_reset()
81 slot->fb_flip = NULL; in atmel_hlcdc_layer_update_reset()
91 struct atmel_hlcdc_layer_update_slot *slot; in atmel_hlcdc_layer_update_apply() local
101 slot = &upd->slots[upd->pending]; in atmel_hlcdc_layer_update_apply()
103 for_each_set_bit(cfg, slot->updated_configs, layer->desc->nconfigs) { in atmel_hlcdc_layer_update_apply()
107 slot->configs[cfg]); in atmel_hlcdc_layer_update_apply()
111 fb_flip = slot->fb_flip; in atmel_hlcdc_layer_update_apply()
164 slot->fb_flip = NULL; in atmel_hlcdc_layer_update_apply()
352 struct atmel_hlcdc_layer_update_slot *slot; in atmel_hlcdc_layer_update_start() local
370 slot = &upd->slots[upd->next]; in atmel_hlcdc_layer_update_start()
393 slot->fb_flip = fb_flip; in atmel_hlcdc_layer_update_start()
396 memcpy(slot->configs, in atmel_hlcdc_layer_update_start()
399 memcpy(slot->updated_configs, in atmel_hlcdc_layer_update_start()
404 slot->fb_flip->fb = upd->slots[upd->pending].fb_flip->fb; in atmel_hlcdc_layer_update_start()
406 slot->fb_flip->fb = in atmel_hlcdc_layer_update_start()
408 slot->fb_flip->ngems = in atmel_hlcdc_layer_update_start()
410 drm_framebuffer_reference(slot->fb_flip->fb); in atmel_hlcdc_layer_update_start()
439 struct atmel_hlcdc_layer_update_slot *slot; in atmel_hlcdc_layer_update_set_fb() local
454 slot = &upd->slots[upd->next]; in atmel_hlcdc_layer_update_set_fb()
456 fb_flip = slot->fb_flip; in atmel_hlcdc_layer_update_set_fb()
457 old_fb = slot->fb_flip->fb; in atmel_hlcdc_layer_update_set_fb()
462 dscr = slot->fb_flip->dscrs[i]; in atmel_hlcdc_layer_update_set_fb()
481 struct atmel_hlcdc_layer_update_slot *slot; in atmel_hlcdc_layer_update_cfg() local
489 slot = &upd->slots[upd->next]; in atmel_hlcdc_layer_update_cfg()
490 slot->configs[cfg] &= ~mask; in atmel_hlcdc_layer_update_cfg()
491 slot->configs[cfg] |= (val & mask); in atmel_hlcdc_layer_update_cfg()
492 set_bit(cfg, slot->updated_configs); in atmel_hlcdc_layer_update_cfg()
499 struct atmel_hlcdc_layer_update_slot *slot; in atmel_hlcdc_layer_update_commit() local
505 slot = &upd->slots[upd->next]; in atmel_hlcdc_layer_update_commit()