apm_power_info
apm_power_print(struct pxa2x0_apm_softc *sc, struct apm_power_info *powerp)
struct apm_power_info *power)
struct apm_power_info power;
apm_power_info(sc, &power);
struct apm_power_info *power;
power = (struct apm_power_info *)data;
apm_power_info(sc, power);
void apm_power_print(struct pxa2x0_apm_softc *, struct apm_power_info *);
void apm_power_info(struct pxa2x0_apm_softc *, struct apm_power_info *);
struct apm_power_info *);
int ykbec_apminfo(struct apm_power_info *);
struct apm_power_info ykbec_apmdata;
struct apm_power_info old;
ykbec_apminfo(struct apm_power_info *info)
bcopy(&ykbec_apmdata, info, sizeof(struct apm_power_info));
struct apm_power_info *power;
power = (struct apm_power_info *)data;
struct apm_power_info *powerp;
powerp = (struct apm_power_info *)data;
zapm_get_powstat(void *v, u_int batteryid, struct apm_power_info *pinfo)
static int zapm_get_powstat(void *, u_int, struct apm_power_info *);
struct apm_power_info *pinfo;
struct apm_power_info *pinfo)
static int acpiapm_get_powstat(void *, u_int, struct apm_power_info *);
static void apm_power_print(struct apm_softc *, struct apm_power_info *);
apm_power_print(struct apm_softc *sc, struct apm_power_info *pi)
struct apm_power_info pi;
struct apm_power_info *powerp;
powerp = (struct apm_power_info *)data;
#define OAPM_IOC_GETPOWER _IOR('A', 3, struct apm_power_info) /* fetch battery state */
#define APM_IOC_GETPOWER _IOWR('A', 3, struct apm_power_info) /* fetch battery state */
int (*aa_get_powstat)(void *, u_int, struct apm_power_info *);
static void apm_power_print(struct apm_softc *, struct apm_power_info *);
apm_power_print(struct apm_softc *sc, struct apm_power_info *pi)
struct apm_power_info pi;
struct apm_power_info pinfo;
struct apm_power_info *powerp;
powerp = (struct apm_power_info *)data;
hpcapm_get_powstat(void *scx, u_int batteryid, struct apm_power_info *pinfo)
static int hpcapm_get_powstat(void *, u_int, struct apm_power_info *);
struct apm_power_info *api = &reply.batterystate;
struct apm_power_info batterystate;
struct apm_power_info pinfo;
struct apm_power_info pinfo;
static int power_status (int fd, int force, struct apm_power_info *pinfo);
power_status(int fd, int force, struct apm_power_info *pinfo)
struct apm_power_info bstate;
static struct apm_power_info last;