Lines Matching refs:nv_encoder

66 	struct nouveau_encoder *nv_encoder = bl_get_data(bd);  in nv40_get_intensity()  local
67 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv40_get_intensity()
78 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv40_set_intensity() local
79 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv40_set_intensity()
115 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv50_get_intensity() local
116 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_get_intensity()
118 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_get_intensity()
130 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv50_set_intensity() local
131 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_set_intensity()
133 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_set_intensity()
243 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nva3_get_intensity() local
244 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nva3_get_intensity()
246 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_get_intensity()
261 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nva3_set_intensity() local
262 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nva3_set_intensity()
264 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_set_intensity()
296 struct nouveau_encoder *nv_encoder, in nv50_backlight_init() argument
300 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_backlight_init()
307 if (!nvif_rd32(device, NV50_PDISP_SOR_PWM_CTL(ffs(nv_encoder->dcb->or) - 1)) || in nv50_backlight_init()
366 struct nouveau_encoder *nv_encoder = NULL; in nouveau_backlight_init() local
379 nv_encoder = find_encoder(connector, DCB_OUTPUT_LVDS); in nouveau_backlight_init()
381 nv_encoder = find_encoder(connector, DCB_OUTPUT_DP); in nouveau_backlight_init()
385 if (!nv_encoder) in nouveau_backlight_init()
394 ret = nv40_backlight_init(nv_encoder, &props, &ops); in nouveau_backlight_init()
405 nv_encoder, &props, &ops); in nouveau_backlight_init()
430 nv_encoder, ops, &props); in nouveau_backlight_init()