Lines Matching refs:asle
424 struct opregion_asle *asle = dev_priv->opregion.asle; in asle_set_backlight() local
454 asle->cblv = DIV_ROUND_UP(bclp * 100, 255) | ASLE_CBLV_VALID; in asle_set_backlight()
549 struct opregion_asle *asle = dev_priv->opregion.asle; in asle_work() local
553 if (!asle) in asle_work()
556 aslc_req = asle->aslc; in asle_work()
565 aslc_stat |= asle_set_als_illum(dev_priv, asle->alsi); in asle_work()
568 aslc_stat |= asle_set_backlight(dev_priv, asle->bclp); in asle_work()
571 aslc_stat |= asle_set_pfit(dev_priv, asle->pfit); in asle_work()
574 aslc_stat |= asle_set_pwm_freq(dev_priv, asle->pfmb); in asle_work()
578 asle->srot); in asle_work()
581 aslc_stat |= asle_set_button_array(dev_priv, asle->iuer); in asle_work()
584 aslc_stat |= asle_set_convertible(dev_priv, asle->iuer); in asle_work()
587 aslc_stat |= asle_set_docking(dev_priv, asle->iuer); in asle_work()
592 asle->aslc = aslc_stat; in asle_work()
597 if (dev_priv->opregion.asle) in intel_opregion_asle_intr()
906 opregion->asle = base + OPREGION_ASLE_OFFSET; in intel_opregion_setup()
908 opregion->asle->ardy = ASLE_ARDY_NOT_READY; in intel_opregion_setup()
920 if (opregion->header->over.major >= 2 && opregion->asle && in intel_opregion_setup()
921 opregion->asle->rvda && opregion->asle->rvds) { in intel_opregion_setup()
922 resource_size_t rvda = opregion->asle->rvda; in intel_opregion_setup()
937 opregion->rvda = memremap(rvda, opregion->asle->rvds, in intel_opregion_setup()
941 vbt_size = opregion->asle->rvds; in intel_opregion_setup()
1075 if (opregion->asle) { in intel_opregion_resume()
1076 opregion->asle->tche = ASLE_TCHE_BLC_EN; in intel_opregion_resume()
1077 opregion->asle->ardy = ASLE_ARDY_READY; in intel_opregion_resume()
1095 if (opregion->asle) in intel_opregion_suspend()
1096 opregion->asle->ardy = ASLE_ARDY_NOT_READY; in intel_opregion_suspend()
1131 opregion->asle = NULL; in intel_opregion_unregister()