Lines Matching refs:asyh
26 head507d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_procamp() argument
32 evo_data(push, asyh->procamp.sat.sin << 20 | in head507d_procamp()
33 asyh->procamp.sat.cos << 8); in head507d_procamp()
39 head507d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_dither() argument
45 evo_data(push, asyh->dither.mode << 3 | in head507d_dither()
46 asyh->dither.bits << 1 | in head507d_dither()
47 asyh->dither.enable); in head507d_dither()
53 head507d_ovly(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_ovly() argument
59 if (asyh->ovly.cpp) { in head507d_ovly()
60 switch (asyh->ovly.cpp) { in head507d_ovly()
80 head507d_base(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_base() argument
86 if (asyh->base.cpp) { in head507d_base()
87 switch (asyh->base.cpp) { in head507d_base()
119 head507d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_curs_set() argument
125 evo_data(push, 0x80000000 | asyh->curs.layout << 26 | in head507d_curs_set()
126 asyh->curs.format << 24); in head507d_curs_set()
127 evo_data(push, asyh->curs.offset >> 8); in head507d_curs_set()
134 struct nv50_head_atom *asyh) in head507d_curs_format() argument
137 case 0xcf: asyh->curs.format = 1; break; in head507d_curs_format()
147 struct nv50_head_atom *asyh) in head507d_curs_layout() argument
150 case 32: asyh->curs.layout = 0; break; in head507d_curs_layout()
151 case 64: asyh->curs.layout = 1; break; in head507d_curs_layout()
171 head507d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_core_set() argument
177 evo_data(push, asyh->core.offset >> 8); in head507d_core_set()
179 evo_data(push, asyh->core.h << 16 | asyh->core.w); in head507d_core_set()
180 evo_data(push, asyh->core.layout << 20 | in head507d_core_set()
181 (asyh->core.pitch >> 8) << 8 | in head507d_core_set()
182 asyh->core.blocks << 8 | in head507d_core_set()
183 asyh->core.blockh); in head507d_core_set()
184 evo_data(push, asyh->core.kind << 16 | in head507d_core_set()
185 asyh->core.format << 8); in head507d_core_set()
186 evo_data(push, asyh->core.handle); in head507d_core_set()
188 evo_data(push, asyh->core.y << 16 | asyh->core.x); in head507d_core_set()
195 asyh->set.curs = asyh->curs.visible; in head507d_core_set()
196 asyh->set.olut = asyh->olut.handle != 0; in head507d_core_set()
201 head507d_core_calc(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_core_calc() argument
204 if ((asyh->core.visible = (asyh->base.cpp != 0))) { in head507d_core_calc()
205 asyh->core.x = asyh->base.x; in head507d_core_calc()
206 asyh->core.y = asyh->base.y; in head507d_core_calc()
207 asyh->core.w = asyh->base.w; in head507d_core_calc()
208 asyh->core.h = asyh->base.h; in head507d_core_calc()
210 if ((asyh->core.visible = (asyh->ovly.cpp != 0)) || in head507d_core_calc()
211 (asyh->core.visible = asyh->curs.visible)) { in head507d_core_calc()
217 asyh->core.x = 0; in head507d_core_calc()
218 asyh->core.y = 0; in head507d_core_calc()
219 asyh->core.w = asyh->state.mode.hdisplay; in head507d_core_calc()
220 asyh->core.h = asyh->state.mode.vdisplay; in head507d_core_calc()
222 asyh->core.handle = disp->core->chan.vram.handle; in head507d_core_calc()
223 asyh->core.offset = 0; in head507d_core_calc()
224 asyh->core.format = 0xcf; in head507d_core_calc()
225 asyh->core.kind = 0; in head507d_core_calc()
226 asyh->core.layout = 1; in head507d_core_calc()
227 asyh->core.blockh = 0; in head507d_core_calc()
228 asyh->core.blocks = 0; in head507d_core_calc()
229 asyh->core.pitch = ALIGN(asyh->core.w, 64) * 4; in head507d_core_calc()
245 head507d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_olut_set() argument
251 evo_data(push, 0x80000000 | asyh->olut.mode << 30); in head507d_olut_set()
252 evo_data(push, asyh->olut.offset >> 8); in head507d_olut_set()
258 head507d_olut(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_olut() argument
260 if (asyh->base.cpp == 1) in head507d_olut()
261 asyh->olut.mode = 0; in head507d_olut()
263 asyh->olut.mode = 1; in head507d_olut()
267 head507d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_mode() argument
270 struct nv50_head_mode *m = &asyh->mode; in head507d_mode()
283 evo_data(push, asyh->mode.v.blankus); in head507d_mode()
291 head507d_view(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_view() argument
299 evo_data(push, asyh->view.iH << 16 | asyh->view.iW); in head507d_view()
301 evo_data(push, asyh->view.oH << 16 | asyh->view.oW); in head507d_view()
302 evo_data(push, asyh->view.oH << 16 | asyh->view.oW); in head507d_view()