Home
last modified time | relevance | path

Searched refs:pb (Results 1 – 25 of 29) sorted by relevance

12

/u-boot/drivers/power/mfd/
A Dfg_max77693.c50 struct power_battery *pb = bat->pbat; in power_update_battery() local
69 struct power_battery *pb = bat->pbat; in power_check_battery() local
92 pb->bat->state_of_chrg); in power_check_battery()
95 pb->bat->voltage_uV / 1000000, in power_check_battery()
96 pb->bat->voltage_uV % 1000000, in power_check_battery()
97 pb->bat->capacity); in power_check_battery()
99 if (pb->bat->voltage_uV > 3850000) in power_check_battery()
100 pb->bat->state = EXT_SOURCE; in power_check_battery()
101 else if (pb->bat->voltage_uV < 3600000 || pb->bat->state_of_chrg < 5) in power_check_battery()
102 pb->bat->state = CHARGE; in power_check_battery()
[all …]
/u-boot/drivers/power/fuel_gauge/
A Dfg_max17042.c207 pb->bat->state_of_chrg = (val >> 8); in power_update_battery()
212 pb->bat->voltage_uV = (pb->bat->voltage_uV * 625); in power_update_battery()
215 pb->bat->capacity = val >> 2; in power_update_battery()
238 pb->bat->version = val; in power_check_battery()
243 pb->bat->state_of_chrg); in power_check_battery()
248 pb->bat->capacity); in power_check_battery()
250 if (pb->bat->voltage_uV > 3850000) in power_check_battery()
251 pb->bat->state = EXT_SOURCE; in power_check_battery()
252 else if (pb->bat->voltage_uV < 3600000 || pb->bat->state_of_chrg < 5) in power_check_battery()
253 pb->bat->state = CHARGE; in power_check_battery()
[all …]
/u-boot/fs/yaffs2/
A Dyaffs_qsort.c90 pa = pb = (char *)a + es; in yaffs_qsort()
94 while (pb <= pc && (r = cmp(pb, a)) <= 0) { in yaffs_qsort()
97 yswap(pa, pb); in yaffs_qsort()
100 pb += es; in yaffs_qsort()
110 if (pb > pc) in yaffs_qsort()
112 yswap(pb, pc); in yaffs_qsort()
114 pb += es; in yaffs_qsort()
126 r = min(pa - (char *)a, pb - pa); in yaffs_qsort()
127 vecswap(a, pb - r, r); in yaffs_qsort()
129 vecswap(pb, pn - r, r); in yaffs_qsort()
[all …]
/u-boot/drivers/pinctrl/meson/
A Dpinctrl-meson.h113 #define BANK_DS(n, f, l, per, peb, pr, pb, dr, db, or, ob, ir, ib, \ argument
121 [REG_PULL] = {pr, pb}, \
129 #define BANK(n, f, l, per, peb, pr, pb, dr, db, or, ob, ir, ib) \ argument
130 BANK_DS(n, f, l, per, peb, pr, pb, dr, db, or, ob, ir, ib, 0, 0)
/u-boot/board/samsung/trats2/
A Dtrats2.c134 struct power_battery *pb; in exynos_power_init() local
175 pb = p_bat->pbat; in exynos_power_init()
186 if (pb->bat->state == CHARGE && chrg == CHARGER_USB) in exynos_power_init()
/u-boot/drivers/usb/host/
A Dr8a66597.h441 unsigned char *pb; in r8a66597_write_fifo() local
449 pb = (unsigned char *)buf + count * 4; in r8a66597_write_fifo()
452 writeb(pb[i], fifoaddr + i); in r8a66597_write_fifo()
454 writeb(pb[i], fifoaddr + 3 - i); in r8a66597_write_fifo()
/u-boot/board/samsung/trats/
A Dtrats.c119 struct power_battery *pb; in exynos_power_init() local
166 pb = p_bat->pbat; in exynos_power_init()
177 if (pb->bat->state == CHARGE && chrg == CHARGER_USB) in exynos_power_init()
/u-boot/arch/powerpc/dts/
A DMakefile13 dtb-$(CONFIG_TARGET_P1010RDB_PB) += p1010rdb-pb.dtb p1010rdb-pb_36b.dtb
A Dgazerbeam.dts226 fpga-pb-pixels = <2730>; /* 8192 / 3 */
277 fpga-pb-pixels = <2730>; /* 8192 / 3 */
446 fpga-pb-pixels = <2730>; /* 8192 / 3 */
497 fpga-pb-pixels = <2730>; /* 8192 / 3 */
/u-boot/lib/lzma/
A DLzmaDec.h26 unsigned lc, lp, pb; member
A DLzmaDec.c140 unsigned pbMask = ((unsigned)1 << (p->prop.pb)) - 1; in LzmaDec_DecodeReal()
526 unsigned posState = (p->processedPos) & ((1 << p->prop.pb) - 1); in LzmaDec_TryDummy()
944 p->pb = d / 5; in LzmaProps_Decode()
A Dlzma.txt209 -pb{N}: set number of pos bits - [0, 4], default: 2
210 pb switch is intended for periodical data
304 0 1 Special LZMA properties (lc,lp, pb in encoded form)
/u-boot/configs/
A DP1010RDB-PB_NOR_defconfig5 CONFIG_DEFAULT_DEVICE_TREE="p1010rdb-pb"
A DP1010RDB-PB_SDCARD_defconfig12 CONFIG_DEFAULT_DEVICE_TREE="p1010rdb-pb"
A DP1010RDB-PB_SPIFLASH_defconfig14 CONFIG_DEFAULT_DEVICE_TREE="p1010rdb-pb"
A DP1010RDB-PB_NAND_defconfig11 CONFIG_DEFAULT_DEVICE_TREE="p1010rdb-pb"
/u-boot/arch/nios2/dts/
A D3c120_devboard.dts177 gpio-bank-name = "pb";
/u-boot/arch/arm/dts/
A Dsun50i-a64-olinuxino.dts172 vcc-pb-supply = <&reg_dcdc1>;
A Dimx8mm-venice-gw700x.dtsi19 user-pb {
A Dsun6i-a31s-sinovoip-bpi-m2.dts274 regulator-name = "vcc-pb";
A Dsun50i-a64-pinephone.dtsi218 vcc-pb-supply = <&reg_dcdc1>;
A Dsun4i-a10.dtsi726 spi2_pb_pins: spi2-pb-pins {
736 spi2_cs0_pb_pin: spi2-cs0-pb-pin {
746 uart0_pb_pins: uart0-pb-pins {
A Dsun9i-a80-cubieboard4.dts213 regulator-name = "vcc-pb-io-cam";
A Dsun9i-a80-optimus.dts202 regulator-name = "vcc-pb-io-cam";
A Dsun7i-a20.dtsi916 spi2_pb_pins: spi2-pb-pins {
921 spi2_cs0_pb_pin: spi2-cs0-pb-pin {
936 uart0_pb_pins: uart0-pb-pins {

Completed in 41 milliseconds

12