Lines Matching refs:nv_encoder

68 	struct nouveau_encoder *nv_encoder = bl_get_data(bd);  in nv40_get_intensity()  local
69 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv40_get_intensity()
80 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv40_set_intensity() local
81 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv40_set_intensity()
118 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv50_get_intensity() local
119 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_get_intensity()
121 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_get_intensity()
133 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv50_set_intensity() local
134 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_set_intensity()
136 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_set_intensity()
154 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nva3_get_intensity() local
155 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nva3_get_intensity()
157 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_get_intensity()
172 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nva3_set_intensity() local
173 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nva3_set_intensity()
175 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_set_intensity()
198 nv50_backlight_init(struct nouveau_encoder *nv_encoder, in nv50_backlight_init() argument
202 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_backlight_init()
205 if (!nvif_rd32(device, NV50_PDISP_SOR_PWM_CTL(ffs(nv_encoder->dcb->or) - 1))) in nv50_backlight_init()
226 struct nouveau_encoder *nv_encoder = NULL; in nouveau_backlight_init() local
239 nv_encoder = find_encoder(connector, DCB_OUTPUT_LVDS); in nouveau_backlight_init()
241 nv_encoder = find_encoder(connector, DCB_OUTPUT_DP); in nouveau_backlight_init()
245 if (!nv_encoder) in nouveau_backlight_init()
250 ret = nv40_backlight_init(nv_encoder, &props, &ops); in nouveau_backlight_init()
259 ret = nv50_backlight_init(nv_encoder, &props, &ops); in nouveau_backlight_init()
280 nv_encoder, ops, &props); in nouveau_backlight_init()