Lines Matching refs:nv_encoder
63 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv40_get_intensity() local
64 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv40_get_intensity()
75 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv40_set_intensity() local
76 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv40_set_intensity()
113 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv50_get_intensity() local
114 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_get_intensity()
116 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_get_intensity()
128 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv50_set_intensity() local
129 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_set_intensity()
131 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_set_intensity()
241 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nva3_get_intensity() local
242 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nva3_get_intensity()
244 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_get_intensity()
259 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nva3_set_intensity() local
260 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nva3_set_intensity()
262 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_set_intensity()
290 struct nouveau_encoder *nv_encoder, in nv50_backlight_init() argument
294 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_backlight_init()
297 if (!nvif_rd32(device, NV50_PDISP_SOR_PWM_CTL(ffs(nv_encoder->dcb->or) - 1))) in nv50_backlight_init()
353 struct nouveau_encoder *nv_encoder = NULL; in nouveau_backlight_init() local
366 nv_encoder = find_encoder(connector, DCB_OUTPUT_LVDS); in nouveau_backlight_init()
368 nv_encoder = find_encoder(connector, DCB_OUTPUT_DP); in nouveau_backlight_init()
372 if (!nv_encoder) in nouveau_backlight_init()
381 ret = nv40_backlight_init(nv_encoder, &props, &ops); in nouveau_backlight_init()
392 nv_encoder, &props, &ops); in nouveau_backlight_init()
411 nv_encoder, ops, &props); in nouveau_backlight_init()