Lines Matching refs:asyh
246 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state);
249 if (!asyh->clr.crc)
278 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state);
282 if (!asyh->set.crc)
302 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state);
306 if (!asyh->clr.crc)
325 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state);
329 if (!asyh->set.crc)
337 crc->src = asyh->crc.src;
350 struct nv50_head_atom *asyh,
353 struct nv50_atom *atom = nv50_atom(asyh->state.state);
354 bool changed = armh->crc.src != asyh->crc.src;
356 if (!armh->crc.src && !asyh->crc.src) {
357 asyh->set.crc = false;
358 asyh->clr.crc = false;
362 if (drm_atomic_crtc_needs_modeset(&asyh->state) || changed) {
363 asyh->clr.crc = armh->crc.src && armh->state.active;
364 asyh->set.crc = asyh->crc.src && asyh->state.active;
366 asyh->set.or |= armh->or.crc_raster !=
367 asyh->or.crc_raster;
369 if (asyh->clr.crc && asyh->set.crc)
372 asyh->set.crc = false;
373 asyh->clr.crc = false;
391 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state);
406 if (!asyh->clr.crc)
449 struct nv50_head_atom *asyh)
458 encoder = nv50_head_atom_get_encoder(asyh);
466 func->set_src(head, outp->outp.or.id, nv50_crc_source_type(outp, asyh->crc.src),
547 struct nv50_head_atom *asyh;
589 asyh = nv50_head_atom(crtc_state);
590 asyh->crc.src = source;
591 asyh->or.crc_raster = nv50_crc_raster_type(source);