Lines Matching defs:lvds
1022 /* Initialise delayed lvds operations for backlight. */
4576 uint32_t lvds;
4610 lvds = radeonfb_get32(sc, RADEON_LVDS_GEN_CNTL);
4611 lvds &= ~RADEON_LVDS_DISPLAY_DIS;
4612 if (!(lvds & RADEON_LVDS_BLON) || !(lvds & RADEON_LVDS_ON)) {
4613 lvds |= dp->rd_bl_lvds_val & RADEON_LVDS_DIGON;
4614 lvds |= RADEON_LVDS_BLON | RADEON_LVDS_EN;
4615 radeonfb_put32(sc, RADEON_LVDS_GEN_CNTL, lvds);
4616 lvds &= ~RADEON_LVDS_BL_MOD_LEV_MASK;
4617 lvds |= rlevel << RADEON_LVDS_BL_MOD_LEV_SHIFT;
4618 lvds |= RADEON_LVDS_ON;
4619 lvds |= dp->rd_bl_lvds_val & RADEON_LVDS_BL_MOD_EN;
4621 lvds &= ~RADEON_LVDS_BL_MOD_LEV_MASK;
4622 lvds |= rlevel << RADEON_LVDS_BL_MOD_LEV_SHIFT;
4623 radeonfb_put32(sc, RADEON_LVDS_GEN_CNTL, lvds);
4627 dp->rd_bl_lvds_val |= lvds & RADEON_LVDS_STATE_MASK;