/dports/sysutils/u-boot-utilite/u-boot-2015.07/drivers/power/ |
H A D | twl6030.c | 125 int battery_volt = 0; in twl6030_get_battery_voltage() local 148 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 149 if (battery_volt < 0) { in twl6030_get_battery_voltage() 153 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 154 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 156 return battery_volt; in twl6030_get_battery_voltage() 162 int battery_volt = 0; in twl6030_init_battery_charging() local 198 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 199 if (battery_volt < 0) in twl6030_init_battery_charging() 202 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/drivers/power/ |
H A D | twl6030.c | 131 int battery_volt = 0; in twl6030_get_battery_voltage() local 154 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 155 if (battery_volt < 0) { in twl6030_get_battery_voltage() 159 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 160 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 162 return battery_volt; in twl6030_get_battery_voltage() 168 int battery_volt = 0; in twl6030_init_battery_charging() local 204 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 205 if (battery_volt < 0) in twl6030_init_battery_charging() 208 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot/drivers/power/ |
H A D | twl6030.c | 131 int battery_volt = 0; in twl6030_get_battery_voltage() local 154 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 155 if (battery_volt < 0) { in twl6030_get_battery_voltage() 159 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 160 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 162 return battery_volt; in twl6030_get_battery_voltage() 168 int battery_volt = 0; in twl6030_init_battery_charging() local 204 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 205 if (battery_volt < 0) in twl6030_init_battery_charging() 208 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/drivers/power/ |
H A D | twl6030.c | 131 int battery_volt = 0; in twl6030_get_battery_voltage() local 154 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 155 if (battery_volt < 0) { in twl6030_get_battery_voltage() 159 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 160 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 162 return battery_volt; in twl6030_get_battery_voltage() 168 int battery_volt = 0; in twl6030_init_battery_charging() local 204 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 205 if (battery_volt < 0) in twl6030_init_battery_charging() 208 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-beaglebone/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-chip/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-sopine/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-rpi/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-qemu-arm64/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-pinebookpro/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-nanopi-m1plus/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-nanopi-r4s/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-nanopi-neo2/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-nanopi-neo-air/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/sysutils/u-boot-wandboard/u-boot-2021.07/drivers/power/ |
H A D | twl6030.c | 132 int battery_volt = 0; in twl6030_get_battery_voltage() local 155 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 156 if (battery_volt < 0) { in twl6030_get_battery_voltage() 160 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 161 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 163 return battery_volt; in twl6030_get_battery_voltage() 169 int battery_volt = 0; in twl6030_init_battery_charging() local 205 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 206 if (battery_volt < 0) in twl6030_init_battery_charging() 209 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot/drivers/power/ |
H A D | twl6030.c | 131 int battery_volt = 0; in twl6030_get_battery_voltage() local 154 battery_volt = twl6030_gpadc_read_channel(vbatch); in twl6030_get_battery_voltage() 155 if (battery_volt < 0) { in twl6030_get_battery_voltage() 159 battery_volt = (battery_volt * twl->vbat_mult) >> twl->vbat_shift; in twl6030_get_battery_voltage() 160 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage() 162 return battery_volt; in twl6030_get_battery_voltage() 168 int battery_volt = 0; in twl6030_init_battery_charging() local 204 battery_volt = twl6030_get_battery_voltage(); in twl6030_init_battery_charging() 205 if (battery_volt < 0) in twl6030_init_battery_charging() 208 if (battery_volt < 3000) in twl6030_init_battery_charging() [all …]
|