Lines Matching refs:asyh
248 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state);
251 if (!asyh->clr.crc)
280 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state);
284 if (!asyh->set.crc)
304 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state);
308 if (!asyh->clr.crc)
327 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state);
331 if (!asyh->set.crc)
339 crc->src = asyh->crc.src;
352 struct nv50_head_atom *asyh,
355 struct nv50_atom *atom = nv50_atom(asyh->state.state);
356 bool changed = armh->crc.src != asyh->crc.src;
358 if (!armh->crc.src && !asyh->crc.src) {
359 asyh->set.crc = false;
360 asyh->clr.crc = false;
364 if (drm_atomic_crtc_needs_modeset(&asyh->state) || changed) {
365 asyh->clr.crc = armh->crc.src && armh->state.active;
366 asyh->set.crc = asyh->crc.src && asyh->state.active;
368 asyh->set.or |= armh->or.crc_raster !=
369 asyh->or.crc_raster;
371 if (asyh->clr.crc && asyh->set.crc)
374 asyh->set.crc = false;
375 asyh->clr.crc = false;
393 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state);
408 if (!asyh->clr.crc)
451 struct nv50_head_atom *asyh)
460 encoder = nv50_head_atom_get_encoder(asyh);
468 func->set_src(head, outp->outp.or.id, nv50_crc_source_type(outp, asyh->crc.src),
549 struct nv50_head_atom *asyh;
591 asyh = nv50_head_atom(crtc_state);
592 asyh->crc.src = source;
593 asyh->or.crc_raster = nv50_crc_raster_type(source);