Lines Matching defs:func
77 core->func->crc->set_ctx(head, ctx);
78 core->func->update(core, interlock, false);
124 const struct nv50_crc_func *func,
131 while (crc->entry_idx < func->num_entries) {
137 output_crc = func->get_entry(head, &crc->ctx[crc->ctx_idx],
152 const struct nv50_crc_func *func =
153 nv50_disp(head->base.base.dev)->core->func->crc;
157 if (!func)
172 if (crc->ctx_changed && func->ctx_finished(head, ctx)) {
173 nv50_crc_get_entries(head, func, crc->src);
201 nv50_crc_get_entries(head, func, crc->src);
215 const struct nv50_crc_func *func,
223 if (func->ctx_finished(head, ctx)) break;);
290 const struct nv50_crc_func *func =
291 nv50_disp(state->dev)->core->func->crc;
306 nv50_crc_wait_ctx_finished(head, func, ctx);
309 nv50_crc_wait_ctx_finished(head, func, ctx);
475 const struct nv50_crc_func *func = nv50_disp(dev)->core->func->crc;
487 func->set_src(head, outp->or,
494 const struct nv50_crc_func *func =
495 nv50_disp(head->base.base.dev)->core->func->crc;
497 func->set_src(head, 0, NV50_CRC_SOURCE_TYPE_NONE, NULL, 0);
567 const struct nv50_crc_func *func = nv50_disp(dev)->core->func->crc;
596 func->notifier_len, i);
626 crc->flip_threshold = func->flip_threshold;
683 const struct nv50_crc_func *func =
684 nv50_disp(crtc->dev)->core->func->crc;
691 if (value > func->flip_threshold)
694 value = func->flip_threshold;
730 const struct nv50_crc_func *func =
731 nv50_disp(crtc->dev)->core->func->crc;
734 if (!func || !crtc->debugfs_entry)
745 nv50_crc_init_head(struct nv50_disp *disp, const struct nv50_crc_func *func,
750 crc->flip_threshold = func->flip_threshold;
760 const struct nv50_crc_func *func = disp->core->func->crc;
762 if (!func)
766 nv50_crc_init_head(disp, func, nv50_head(crtc));