Home
last modified time | relevance | path

Searched refs:pwr_stat (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/arch/arm/mach-s3c/
Dpm-s3c64xx.c37 u32 pwr_stat; member
68 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,
/Linux-v5.10/drivers/power/supply/
Daxp288_fuel_gauge.c324 int pwr_stat, fg_res, curr, ret; in fuel_gauge_get_status() local
326 pwr_stat = fuel_gauge_reg_readb(info, AXP20X_PWR_INPUT_STATUS); in fuel_gauge_get_status()
327 if (pwr_stat < 0) { in fuel_gauge_get_status()
329 "PWR STAT read failed:%d\n", pwr_stat); in fuel_gauge_get_status()
334 if (!(pwr_stat & PS_STAT_VBUS_VALID)) in fuel_gauge_get_status()
356 if (fg_res < 90 || (pwr_stat & PS_STAT_BAT_CHRG_DIR)) in fuel_gauge_get_status()
370 if (pwr_stat & PS_STAT_BAT_CHRG_DIR) in fuel_gauge_get_status()
Daxp288_charger.c328 int ret, pwr_stat, chrg_stat; in axp288_get_charger_health() local
336 pwr_stat = val; in axp288_get_charger_health()
344 if (!(pwr_stat & PS_STAT_VBUS_VALID)) in axp288_get_charger_health()
/Linux-v5.10/drivers/extcon/
Dextcon-axp288.c200 int ret, pwr_stat; in axp288_get_vbus_attach() local
202 ret = regmap_read(info->regmap, AXP288_PS_STAT_REG, &pwr_stat); in axp288_get_vbus_attach()
208 return !!(pwr_stat & PS_STAT_VBUS_VALID); in axp288_get_vbus_attach()