Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/mach-s3c/
H A 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,
/openbmc/linux/drivers/power/supply/
H A Daxp288_fuel_gauge.c131 int pwr_stat; member
234 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() local
294 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()
/openbmc/linux/drivers/extcon/
H A Dextcon-axp288.c201 int ret, pwr_stat; in axp288_get_vbus_attach() local
203 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()
/openbmc/u-boot/board/freescale/common/
H A Dqixis.h42 u8 pwr_stat[4]; /* Power Status Register,0x24 */ member