Lines Matching refs:asyh

37 head907d_or(struct nv50_head *head, struct nv50_head_atom *asyh)  in head907d_or()  argument
47 NVVAL(NV907D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, CRC_MODE, asyh->or.crc_raster) | in head907d_or()
48 NVVAL(NV907D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, HSYNC_POLARITY, asyh->or.nhsync) | in head907d_or()
49 NVVAL(NV907D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, VSYNC_POLARITY, asyh->or.nvsync) | in head907d_or()
50 NVVAL(NV907D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, PIXEL_DEPTH, asyh->or.depth), in head907d_or()
53 NVVAL(NV907D, HEAD_SET_CONTROL, STRUCTURE, asyh->mode.interlace)); in head907d_or()
58 head907d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_procamp() argument
70 NVVAL(NV907D, HEAD_SET_PROCAMP, SAT_COS, asyh->procamp.sat.cos) | in head907d_procamp()
71 NVVAL(NV907D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in head907d_procamp()
78 head907d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_dither() argument
88 NVVAL(NV907D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head907d_dither()
89 NVVAL(NV907D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head907d_dither()
90 NVVAL(NV907D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head907d_dither()
96 head907d_ovly(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_ovly() argument
103 if (asyh->ovly.cpp) { in head907d_ovly()
104 switch (asyh->ovly.cpp) { in head907d_ovly()
125 head907d_base(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_base() argument
132 if (asyh->base.cpp) { in head907d_base()
133 switch (asyh->base.cpp) { in head907d_base()
172 head907d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_curs_set() argument
183 NVVAL(NV907D, HEAD_SET_CONTROL_CURSOR, FORMAT, asyh->curs.format) | in head907d_curs_set()
184 NVVAL(NV907D, HEAD_SET_CONTROL_CURSOR, SIZE, asyh->curs.layout) | in head907d_curs_set()
189 HEAD_SET_OFFSET_CURSOR(i), asyh->curs.offset >> 8); in head907d_curs_set()
191 PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMA_CURSOR(i), asyh->curs.handle); in head907d_curs_set()
210 head907d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_core_set() argument
220 NVVAL(NV907D, HEAD_SET_OFFSET, ORIGIN, asyh->core.offset >> 8)); in head907d_core_set()
223 NVVAL(NV907D, HEAD_SET_SIZE, WIDTH, asyh->core.w) | in head907d_core_set()
224 NVVAL(NV907D, HEAD_SET_SIZE, HEIGHT, asyh->core.h), in head907d_core_set()
227 NVVAL(NV907D, HEAD_SET_STORAGE, BLOCK_HEIGHT, asyh->core.blockh) | in head907d_core_set()
228 NVVAL(NV907D, HEAD_SET_STORAGE, PITCH, asyh->core.pitch >> 8) | in head907d_core_set()
229 NVVAL(NV907D, HEAD_SET_STORAGE, PITCH, asyh->core.blocks) | in head907d_core_set()
230 NVVAL(NV907D, HEAD_SET_STORAGE, MEMORY_LAYOUT, asyh->core.layout), in head907d_core_set()
233 NVVAL(NV907D, HEAD_SET_PARAMS, FORMAT, asyh->core.format) | in head907d_core_set()
238 NVVAL(NV907D, HEAD_SET_CONTEXT_DMAS_ISO, HANDLE, asyh->core.handle)); in head907d_core_set()
241 NVVAL(NV907D, HEAD_SET_VIEWPORT_POINT_IN, X, asyh->core.x) | in head907d_core_set()
242 NVVAL(NV907D, HEAD_SET_VIEWPORT_POINT_IN, Y, asyh->core.y)); in head907d_core_set()
264 head907d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_olut_set() argument
275 NVVAL(NV907D, HEAD_SET_OUTPUT_LUT_LO, MODE, asyh->olut.mode) | in head907d_olut_set()
279 NVVAL(NV907D, HEAD_SET_OUTPUT_LUT_HI, ORIGIN, asyh->olut.offset >> 8)); in head907d_olut_set()
281 PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMA_LUT(i), asyh->olut.handle); in head907d_olut_set()
303 head907d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) in head907d_olut() argument
309 asyh->olut.mode = NV907D_HEAD_SET_OUTPUT_LUT_LO_MODE_INTERPOLATE_1025_UNITY_RANGE; in head907d_olut()
311 asyh->olut.mode = NV907D_HEAD_SET_OUTPUT_LUT_LO_MODE_INTERPOLATE_257_UNITY_RANGE; in head907d_olut()
313 asyh->olut.load = head907d_olut_load; in head907d_olut()
323 head907d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_mode() argument
326 struct nv50_head_mode *m = &asyh->mode; in head907d_mode()
379 head907d_view(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_view() argument
395 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in head907d_view()
396 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_IN, HEIGHT, asyh->view.iH)); in head907d_view()
399 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT, WIDTH, asyh->view.oW) | in head907d_view()
400 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT, HEIGHT, asyh->view.oH), in head907d_view()
403 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MIN, WIDTH, asyh->view.oW) | in head907d_view()
404 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MIN, HEIGHT, asyh->view.oH), in head907d_view()
407 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MAX, WIDTH, asyh->view.oW) | in head907d_view()
408 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MAX, HEIGHT, asyh->view.oH)); in head907d_view()