Searched refs:pwr_stat (Results 1 – 3 of 3) sorted by relevance
37 u32 pwr_stat; member68 if (pd->pwr_stat) { in s3c64xx_pd_on()71 if (__raw_readl(S3C64XX_BLK_PWR_STAT) & pd->pwr_stat) in s3c64xx_pd_on()96 .pwr_stat = S3C64XX_BLKPWRSTAT_ETM,106 .pwr_stat = S3C64XX_BLKPWRSTAT_S,116 .pwr_stat = S3C64XX_BLKPWRSTAT_F,126 .pwr_stat = S3C64XX_BLKPWRSTAT_P,136 .pwr_stat = S3C64XX_BLKPWRSTAT_I,155 .pwr_stat = S3C64XX_BLKPWRSTAT_V,
131 int pwr_stat; member234 info->pwr_stat = ret; in fuel_gauge_update_registers()256 if (info->pwr_stat & PS_STAT_BAT_CHRG_DIR) { in fuel_gauge_update_registers()289 int pwr_stat = info->pwr_stat; in fuel_gauge_get_status() local294 if (!(pwr_stat & PS_STAT_VBUS_VALID)) in fuel_gauge_get_status()311 if (fg_res < 90 || (pwr_stat & PS_STAT_BAT_CHRG_DIR) || no_current_sense_res) in fuel_gauge_get_status()320 if (pwr_stat & PS_STAT_BAT_CHRG_DIR) in fuel_gauge_get_status()
201 int ret, pwr_stat; in axp288_get_vbus_attach() local203 ret = regmap_read(info->regmap, AXP288_PS_STAT_REG, &pwr_stat); in axp288_get_vbus_attach()209 return !!(pwr_stat & PS_STAT_VBUS_VALID); in axp288_get_vbus_attach()