Lines Matching refs:nv_encoder
134 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv50_get_intensity() local
135 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_get_intensity()
137 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_get_intensity()
149 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv50_set_intensity() local
150 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_set_intensity()
152 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_set_intensity()
170 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nva3_get_intensity() local
171 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nva3_get_intensity()
173 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_get_intensity()
188 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nva3_set_intensity() local
189 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nva3_set_intensity()
191 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_set_intensity()
217 struct nouveau_encoder *nv_encoder; in nv50_backlight_init() local
224 nv_encoder = find_encoder(connector, DCB_OUTPUT_LVDS); in nv50_backlight_init()
225 if (!nv_encoder) { in nv50_backlight_init()
226 nv_encoder = find_encoder(connector, DCB_OUTPUT_DP); in nv50_backlight_init()
227 if (!nv_encoder) in nv50_backlight_init()
231 if (!nvif_rd32(device, NV50_PDISP_SOR_PWM_CTL(ffs(nv_encoder->dcb->or) - 1))) in nv50_backlight_init()
249 nv_encoder, ops, &props); in nv50_backlight_init()