Home
last modified time | relevance | path

Searched refs:pbi (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dpmu_battery.c19 struct pmu_battery_info *pbi; member
68 static char *pmu_bat_get_model_name(struct pmu_battery_info *pbi) in pmu_bat_get_model_name() argument
70 switch (pbi->flags & PMU_BATT_TYPE_MASK) { in pmu_bat_get_model_name()
87 struct pmu_battery_info *pbi = pbat->pbi; in pmu_bat_get_property() local
91 if (pbi->flags & PMU_BATT_CHARGING) in pmu_bat_get_property()
99 val->intval = !!(pbi->flags & PMU_BATT_PRESENT); in pmu_bat_get_property()
102 val->strval = pmu_bat_get_model_name(pbi); in pmu_bat_get_property()
105 val->intval = pbi->charge * 1000; /* mWh -> µWh */ in pmu_bat_get_property()
108 val->intval = pbi->max_charge * 1000; /* mWh -> µWh */ in pmu_bat_get_property()
111 val->intval = pbi->amperage * 1000; /* mA -> µA */ in pmu_bat_get_property()
[all …]
/openbmc/linux/net/xfrm/
H A Dxfrm_hash.h58 unsigned int pbi; in __xfrm6_pref_hash() local
62 pbi = prefixlen & 0x1f; /* num of bits in incomplete u32 in prefix */ in __xfrm6_pref_hash()
64 if (pbi) { in __xfrm6_pref_hash()
67 mask = htonl((0xffffffff) << (32 - pbi)); in __xfrm6_pref_hash()
H A Dxfrm_policy.c822 unsigned int pdw, pbi; in xfrm_policy_addr_delta() local
839 pbi = prefixlen & 0x1f; in xfrm_policy_addr_delta()
846 if (pbi) { in xfrm_policy_addr_delta()
847 mask = ~0U << (32 - pbi); in xfrm_policy_addr_delta()
/openbmc/u-boot/doc/
H A DREADME.pblimage63 1. Configuration files rcw.cfg and pbi.cfg must present in the
64 board/freescale/corenet_ds/, rcw.cfg is for RCW, pbi.cfg is for
81 Typical example of pbi.cfg file:
/openbmc/u-boot/include/configs/km/
H A Dkmp204x-common.h25 #define CONFIG_SYS_FSL_PBL_PBI board/keymile/kmp204x/pbi.cfg
/openbmc/linux/include/net/
H A Dipv6.h711 unsigned int pdw, pbi; in ipv6_prefix_equal() local
719 pbi = prefixlen & 0x1f; in ipv6_prefix_equal()
720 if (pbi && ((a1[pdw] ^ a2[pdw]) & htonl((0xffffffff) << (32 - pbi)))) in ipv6_prefix_equal()
H A Dxfrm.h843 unsigned int pbi; in addr_match() local
846 pbi = prefixlen & 0x1f; /* num of bits in incomplete u32 in prefix */ in addr_match()
852 if (pbi) { in addr_match()
855 mask = htonl((0xffffffff) << (32 - pbi)); in addr_match()
/openbmc/u-boot/include/configs/
H A Dcyrus.h28 #define CONFIG_SYS_FSL_PBL_PBI board/varisys/cyrus/pbi.cfg
H A DP2041RDB.h16 #define CONFIG_SYS_FSL_PBL_PBI board/freescale/corenet_ds/pbi.cfg
H A Dcorenet_ds.h25 #define CONFIG_SYS_FSL_PBL_PBI board/freescale/corenet_ds/pbi.cfg
/openbmc/linux/
H A Dopengrok1.0.log[all...]
H A Dopengrok0.0.log[all...]