Lines Matching refs:nv_conn
290 struct nouveau_connector *nv_conn, in nv50_backlight_init() argument
299 nv_conn->base.status != connector_status_connected) in nv50_backlight_init()
302 if (nv_conn->type == DCB_CONNECTOR_eDP) { in nv50_backlight_init()
308 ret = drm_dp_dpcd_read(&nv_conn->aux, DP_EDP_DPCD_REV, edp_dpcd, in nv50_backlight_init()
318 nv_conn->base.name); in nv50_backlight_init()
320 ret = drm_edp_backlight_init(&nv_conn->aux, &bl->edp_info, 0, edp_dpcd, in nv50_backlight_init()
325 ret = drm_edp_backlight_enable(&nv_conn->aux, &bl->edp_info, current_level); in nv50_backlight_init()
328 nv_conn->base.name, ret); in nv50_backlight_init()
452 struct nouveau_connector *nv_conn = nouveau_connector(connector); in nouveau_backlight_fini() local
453 struct nouveau_backlight *bl = nv_conn->backlight; in nouveau_backlight_fini()
462 nv_conn->backlight = NULL; in nouveau_backlight_fini()