Lines Matching refs:rinfo
21 struct radeonfb_info *rinfo; member
32 rlevel = pdata->rinfo->info->bl_curve[level] * in radeon_bl_get_level_brightness()
49 struct radeonfb_info *rinfo = pdata->rinfo; in radeon_bl_update_status() local
53 if (rinfo->mon1_type != MT_LCD) in radeon_bl_update_status()
66 del_timer_sync(&rinfo->lvds_timer); in radeon_bl_update_status()
73 lvds_gen_cntl |= (rinfo->init_state.lvds_gen_cntl & LVDS_DIGON); in radeon_bl_update_status()
81 lvds_gen_cntl |= (rinfo->init_state.lvds_gen_cntl & LVDS_BL_MOD_EN); in radeon_bl_update_status()
82 rinfo->pending_lvds_gen_cntl = lvds_gen_cntl; in radeon_bl_update_status()
83 mod_timer(&rinfo->lvds_timer, in radeon_bl_update_status()
84 jiffies + msecs_to_jiffies(rinfo->panel_info.pwr_delay)); in radeon_bl_update_status()
92 rinfo->init_state.lvds_gen_cntl &= ~LVDS_STATE_MASK; in radeon_bl_update_status()
93 rinfo->init_state.lvds_gen_cntl |= rinfo->pending_lvds_gen_cntl in radeon_bl_update_status()
100 if (rinfo->is_mobility || rinfo->is_IGP) in radeon_bl_update_status()
111 rinfo->pending_lvds_gen_cntl = lvds_gen_cntl; in radeon_bl_update_status()
112 mod_timer(&rinfo->lvds_timer, in radeon_bl_update_status()
113 jiffies + msecs_to_jiffies(rinfo->panel_info.pwr_delay)); in radeon_bl_update_status()
114 if (rinfo->is_mobility || rinfo->is_IGP) in radeon_bl_update_status()
117 rinfo->init_state.lvds_gen_cntl &= ~LVDS_STATE_MASK; in radeon_bl_update_status()
118 rinfo->init_state.lvds_gen_cntl |= (lvds_gen_cntl & LVDS_STATE_MASK); in radeon_bl_update_status()
127 void radeonfb_bl_init(struct radeonfb_info *rinfo) in radeonfb_bl_init() argument
134 if (rinfo->mon1_type != MT_LCD) in radeonfb_bl_init()
149 snprintf(name, sizeof(name), "radeonbl%d", rinfo->info->node); in radeonfb_bl_init()
154 bd = backlight_device_register(name, rinfo->info->dev, pdata, in radeonfb_bl_init()
157 rinfo->info->bl_dev = NULL; in radeonfb_bl_init()
162 pdata->rinfo = rinfo; in radeonfb_bl_init()
168 (rinfo->family != CHIP_FAMILY_RV200 && in radeonfb_bl_init()
169 rinfo->family != CHIP_FAMILY_RV250 && in radeonfb_bl_init()
170 rinfo->family != CHIP_FAMILY_RV280 && in radeonfb_bl_init()
171 rinfo->family != CHIP_FAMILY_RV350); in radeonfb_bl_init()
180 rinfo->info->bl_dev = bd; in radeonfb_bl_init()
181 fb_bl_default_curve(rinfo->info, 0, in radeonfb_bl_init()
198 void radeonfb_bl_exit(struct radeonfb_info *rinfo) in radeonfb_bl_exit() argument
200 struct backlight_device *bd = rinfo->info->bl_dev; in radeonfb_bl_exit()
208 rinfo->info->bl_dev = NULL; in radeonfb_bl_exit()