Lines Matching refs:asyh

31 headc37d_or(struct nv50_head *head, struct nv50_head_atom *asyh)  in headc37d_or()  argument
41 switch (asyh->or.depth) { in headc37d_or()
47 depth = asyh->or.depth; in headc37d_or()
56 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, CRC_MODE, asyh->or.crc_raster) | in headc37d_or()
57 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, HSYNC_POLARITY, asyh->or.nhsync) | in headc37d_or()
58 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, VSYNC_POLARITY, asyh->or.nvsync) | in headc37d_or()
65 headc37d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_procamp() argument
77 NVVAL(NVC37D, HEAD_SET_PROCAMP, SAT_COS, asyh->procamp.sat.cos) | in headc37d_procamp()
78 NVVAL(NVC37D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in headc37d_procamp()
86 headc37d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_dither() argument
96 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in headc37d_dither()
97 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in headc37d_dither()
99 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in headc37d_dither()
123 headc37d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_curs_set() argument
134 NVVAL(NVC37D, HEAD_SET_CONTROL_CURSOR, FORMAT, asyh->curs.format) | in headc37d_curs_set()
135 NVVAL(NVC37D, HEAD_SET_CONTROL_CURSOR, SIZE, asyh->curs.layout) | in headc37d_curs_set()
148 PUSH_MTHD(push, NVC37D, HEAD_SET_CONTEXT_DMA_CURSOR(i, 0), asyh->curs.handle); in headc37d_curs_set()
149 PUSH_MTHD(push, NVC37D, HEAD_SET_OFFSET_CURSOR(i, 0), asyh->curs.offset >> 8); in headc37d_curs_set()
155 struct nv50_head_atom *asyh) in headc37d_curs_format() argument
157 asyh->curs.format = asyw->image.format; in headc37d_curs_format()
176 headc37d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_olut_set() argument
186 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_LUT, SIZE, asyh->olut.size) | in headc37d_olut_set()
187 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_LUT, RANGE, asyh->olut.range) | in headc37d_olut_set()
188 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_LUT, OUTPUT_MODE, asyh->olut.output_mode), in headc37d_olut_set()
190 HEAD_SET_OFFSET_OUTPUT_LUT(i), asyh->olut.offset >> 8, in headc37d_olut_set()
191 HEAD_SET_CONTEXT_DMA_OUTPUT_LUT(i), asyh->olut.handle); in headc37d_olut_set()
196 headc37d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) in headc37d_olut() argument
201 asyh->olut.size = size == 1024 ? NVC37D_HEAD_SET_CONTROL_OUTPUT_LUT_SIZE_SIZE_1025 : in headc37d_olut()
203 asyh->olut.range = NVC37D_HEAD_SET_CONTROL_OUTPUT_LUT_RANGE_UNITY; in headc37d_olut()
204 asyh->olut.output_mode = NVC37D_HEAD_SET_CONTROL_OUTPUT_LUT_OUTPUT_MODE_INTERPOLATE; in headc37d_olut()
205 asyh->olut.load = head907d_olut_load; in headc37d_olut()
210 headc37d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_mode() argument
213 struct nv50_head_mode *m = &asyh->mode; in headc37d_mode()
255 headc37d_view(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_view() argument
265 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in headc37d_view()
266 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_IN, HEIGHT, asyh->view.iH)); in headc37d_view()
269 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_OUT, WIDTH, asyh->view.oW) | in headc37d_view()
270 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_OUT, HEIGHT, asyh->view.oH)); in headc37d_view()
275 headc37d_static_wndw_map(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_static_wndw_map() argument
280 asyh->wndw.owned |= BIT(i); in headc37d_static_wndw_map()