Lines Matching refs:asyw
29 base907c_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base907c_image_set() argument
38 NVVAL(NV907C, SET_PRESENT_CONTROL, BEGIN_MODE, asyw->image.mode) | in base907c_image_set()
40 NVVAL(NV907C, SET_PRESENT_CONTROL, MIN_PRESENT_INTERVAL, asyw->image.interval)); in base907c_image_set()
42 PUSH_MTHD(push, NV907C, SET_CONTEXT_DMAS_ISO(0), asyw->image.handle, 1); in base907c_image_set()
44 PUSH_MTHD(push, NV907C, SURFACE_SET_OFFSET(0, 0), asyw->image.offset[0] >> 8, in base907c_image_set()
48 NVVAL(NV907C, SURFACE_SET_SIZE, WIDTH, asyw->image.w) | in base907c_image_set()
49 NVVAL(NV907C, SURFACE_SET_SIZE, HEIGHT, asyw->image.h), in base907c_image_set()
52 NVVAL(NV907C, SURFACE_SET_STORAGE, BLOCK_HEIGHT, asyw->image.blockh) | in base907c_image_set()
53 NVVAL(NV907C, SURFACE_SET_STORAGE, PITCH, asyw->image.pitch[0] >> 8) | in base907c_image_set()
54 NVVAL(NV907C, SURFACE_SET_STORAGE, PITCH, asyw->image.blocks[0]) | in base907c_image_set()
55 NVVAL(NV907C, SURFACE_SET_STORAGE, MEMORY_LAYOUT, asyw->image.layout), in base907c_image_set()
58 NVVAL(NV907C, SURFACE_SET_PARAMS, FORMAT, asyw->image.format) | in base907c_image_set()
85 base907c_xlut_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base907c_xlut_set() argument
94 NVVAL(NV907C, SET_BASE_LUT_LO, ENABLE, asyw->xlut.i.enable) | in base907c_xlut_set()
95 NVVAL(NV907C, SET_BASE_LUT_LO, MODE, asyw->xlut.i.mode), in base907c_xlut_set()
97 SET_BASE_LUT_HI, asyw->xlut.i.offset >> 8, in base907c_xlut_set()
102 PUSH_MTHD(push, NV907C, SET_CONTEXT_DMA_LUT, asyw->xlut.handle); in base907c_xlut_set()
107 base907c_ilut(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, int size) in base907c_ilut() argument
110 asyw->xlut.i.mode = NV907C_SET_BASE_LUT_LO_MODE_INTERPOLATE_1025_UNITY_RANGE; in base907c_ilut()
112 asyw->xlut.i.mode = NV907C_SET_BASE_LUT_LO_MODE_INTERPOLATE_257_UNITY_RANGE; in base907c_ilut()
114 asyw->xlut.i.enable = NV907C_SET_BASE_LUT_LO_ENABLE_ENABLE; in base907c_ilut()
115 asyw->xlut.i.load = head907d_olut_load; in base907c_ilut()
137 base907c_csc(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, in base907c_csc() argument
144 u32 *val = &asyw->csc.matrix[j * 4 + i]; in base907c_csc()
171 base907c_csc_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base907c_csc_set() argument
181 NVVAL(NV907C, SET_CSC_RED2RED, COEFF, asyw->csc.matrix[0]), in base907c_csc_set()
183 SET_CSC_GRN2RED, &asyw->csc.matrix[1], 11); in base907c_csc_set()