/openbmc/u-boot/drivers/power/regulator/ |
H A D | s2mps11_regulator.c | 44 static int s2mps11_buck_hex2volt(int buck, int hex) in s2mps11_buck_hex2volt() argument 48 if (hex < 0) in s2mps11_buck_hex2volt() 55 if (hex > S2MPS11_BUCK7_8_10_VOLT_MAX_HEX) in s2mps11_buck_hex2volt() 58 uV = hex * S2MPS11_BUCK_HSTEP + S2MPS11_BUCK_UV_HMIN; in s2mps11_buck_hex2volt() 61 if (hex > S2MPS11_BUCK9_VOLT_MAX_HEX) in s2mps11_buck_hex2volt() 63 uV = hex * S2MPS11_BUCK9_STEP * 2 + S2MPS11_BUCK9_UV_MIN; in s2mps11_buck_hex2volt() 66 if (buck == 5 && hex > S2MPS11_BUCK5_VOLT_MAX_HEX) in s2mps11_buck_hex2volt() 68 else if (buck != 5 && hex > S2MPS11_BUCK_VOLT_MAX_HEX) in s2mps11_buck_hex2volt() 71 uV = hex * S2MPS11_BUCK_LSTEP + S2MPS11_BUCK_UV_MIN; in s2mps11_buck_hex2volt() 77 pr_err("Value: %#x is wrong for BUCK%d", hex, buck); in s2mps11_buck_hex2volt() [all …]
|
H A D | max77686.c | 71 int hex = 0; in max77686_buck_volt2hex() local 79 hex = (uV - MAX77686_BUCK_UV_LMIN) / MAX77686_BUCK_UV_LSTEP; in max77686_buck_volt2hex() 90 hex = (uV - MAX77686_BUCK_UV_HMIN) / MAX77686_BUCK_UV_HSTEP; in max77686_buck_volt2hex() 95 if (hex >= 0 && hex <= hex_max) in max77686_buck_volt2hex() 96 return hex; in max77686_buck_volt2hex() 102 static int max77686_buck_hex2volt(int buck, int hex) in max77686_buck_hex2volt() argument 107 if (hex < 0) in max77686_buck_hex2volt() 115 if (hex > hex_max) in max77686_buck_hex2volt() 119 uV = hex * MAX77686_BUCK_UV_LSTEP + MAX77686_BUCK_UV_LMIN; in max77686_buck_hex2volt() 123 if (hex > hex_max) in max77686_buck_hex2volt() [all …]
|
H A D | lp873x_regulator.c | 72 static int lp873x_buck_hex2volt(int hex) in lp873x_buck_hex2volt() argument 74 if (hex > LP873X_BUCK_VOLT_MAX_HEX) in lp873x_buck_hex2volt() 76 else if (hex > 0x9D) in lp873x_buck_hex2volt() 77 return 1400000 + (hex - 0x9D) * 20000; in lp873x_buck_hex2volt() 78 else if (hex > 0x17) in lp873x_buck_hex2volt() 79 return 730000 + (hex - 0x17) * 5000; in lp873x_buck_hex2volt() 80 else if (hex >= 0x14) in lp873x_buck_hex2volt() 81 return 700000 + (hex - 0x14) * 10000; in lp873x_buck_hex2volt() 88 unsigned int hex, adr; in lp873x_buck_val() local 113 hex = lp873x_buck_volt2hex(*uV); in lp873x_buck_val() [all …]
|
H A D | palmas_regulator.c | 100 static int palmas_smps_hex2volt(int hex, bool range) in palmas_smps_hex2volt() argument 104 if (hex > PALMAS_SMPS_VOLT_MAX_HEX) in palmas_smps_hex2volt() 107 if (hex < 0x7) in palmas_smps_hex2volt() 110 uV = 500000 + (hex - 0x6) * 10000; in palmas_smps_hex2volt() 120 unsigned int hex, adr; in palmas_smps_val() local 151 hex = palmas_smps_volt2hex(*uV); in palmas_smps_val() 152 if (hex < 0) in palmas_smps_val() 153 return hex; in palmas_smps_val() 156 ret |= hex; in palmas_smps_val() 243 static int palmas_ldo_hex2volt(int hex) in palmas_ldo_hex2volt() argument [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/ |
H A D | Kconfig | 48 hex "SIUMCR register" 53 hex "SYPCR register" 58 hex "TBSCR register" 63 hex "PISCR register" 71 hex "PLPRCR register" 77 hex "SCCR register" 82 hex "MASK for setting SCCR register" 85 hex "DER register" 92 hex "Preliminary value for BR0" 95 hex "Preliminary value for OR0" [all …]
|
/openbmc/webui-vue/docs/.vuepress/components/colors/ |
H A D | grays.vue | 6 :style="{ backgroundColor: color.hex }" 16 <dd>{{ color.hex }}</dd> 30 hex: '#f4f4f4', 35 hex: '#e6e6e6' 39 hex: '#d8d8d8' 43 hex: '#cccccc' 47 hex: '#b3b3b3' 51 hex: '#999999' 55 hex: '#666666' 59 hex: '#3f3f3f' [all …]
|
H A D | theme.vue | 6 :style="{ backgroundColor: item.hex }" 31 hex: "#2d60e5" 36 hex: "#3f3f3f" 41 hex: '#f4f4f4', 47 hex: '#161616' 52 hex: '#2d60e5' 57 hex: '#0a7d06' 62 hex: '#efc100' 67 hex: '#da1416'
|
H A D | all.vue | 6 :style="{ backgroundColor: item.hex }" 31 hex: '#2d60e5' 36 hex: '#0a7d06' 41 hex: '#da1416' 46 hex: '#efc100'
|
/openbmc/u-boot/board/freescale/ls1012ardb/ |
H A D | Kconfig | 16 hex "PPA Firmware Addr" 21 hex "PPA Firmware HDR Addr" 33 hex "Flash address of PFE firmware" 37 hex "PFE Firmware HDR Addr" 41 hex "PFE DDR physical base address" 45 hex "PFE DDR base address" 49 hex "PFE DDR base address" 53 hex "PFE DDR base address" 77 hex "PPA Firmware Addr" 89 hex "Flash address of PFE firmware" [all …]
|
/openbmc/u-boot/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 31 print("unknown ARC ID: " + hex(arc_id)) 109 headerised_image_crc = hex(zlib.crc32(fi.read()) & 0xffffffff) 116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 118 "mw.l " + hex(crc_store_adr) + " " + headerised_image_crc + " && " + \ 120 "cmp.l " + hex(crc_store_adr) + " " + hex(crc_calc_adr) + " 1" 130 "fatload mmc 0:1 " + hex(load_addr) + " " + headerised_filename + " && " + \ 133 "sf protect unlock 0x0 " + hex(errase_size) + " && " + \ 134 "sf erase 0x0 " + hex(errase_size) + " && " + \ 135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \ 136 "sf protect lock 0x0 " + hex(errase_size)
|
/openbmc/u-boot/board/freescale/ls1012aqds/ |
H A D | Kconfig | 16 hex "PPA Firmware Addr" 21 hex "PPA Firmware HDR Addr" 39 hex "Flash address of PFE firmware" 43 hex "PFE Firmware HDR Addr" 47 hex "PFE DDR physical base address" 51 hex "PFE DDR base address" 55 hex "PFE DDR base address" 59 hex "PFE DDR base address" 63 hex "PFE DDR base address" 67 hex "PFE DDR base address"
|
/openbmc/u-boot/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 127 headerised_image_crc = hex(zlib.crc32(fi.read()) & 0xffffffff) 134 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 136 "mw.l " + hex(crc_store_adr) + " " + headerised_image_crc + " && " + \ 138 "cmp.l " + hex(crc_store_adr) + " " + hex(crc_calc_adr) + " 1" 158 "fatload mmc 0:1 " + hex(load_addr) + " " + headerised_filename + " && " + \ 161 "sf erase " + hex(spi_flash_offset) + " " + hex(errase_size) + " && " + \ 162 … "sf write " + hex(load_addr) + " " + hex(spi_flash_offset) + " " + hex(load_size) + " && " + \
|
/openbmc/u-boot/board/freescale/ls1012afrdm/ |
H A D | Kconfig | 16 hex "Flash address of PFE firmware" 20 hex "PPA Firmware Addr" 33 hex "PFE DDR physical base address" 37 hex "PFE DDR base address" 41 hex "PFE DDR base address" 45 hex "PFE DDR base address" 65 hex "Flash address of PFE firmware" 69 hex "PPA Firmware Addr" 73 hex "PPA Firmware HDR Addr" 77 hex "PFE Firmware HDR Addr"
|
/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | Kconfig | 43 hex "Remote Management Unit (RMU) binary location" 63 hex 68 hex 74 hex 78 hex 84 hex 91 hex 98 hex 104 hex 110 hex [all …]
|
/openbmc/u-boot/arch/arm/mach-davinci/ |
H A D | Kconfig | 82 hex "PLLC0 Divider 1" 88 hex "PLLC0 Divider 2" 94 hex "PLLC0 Divider 3" 100 hex "PLLC0 Divider 4" 106 hex "PLLC0 Divider 5" 112 hex "PLLC0 Divider 6" 118 hex "PLLC0 Divider 7" 124 hex "PLLC1 PLL Post-Divider" 130 hex "PLLC1 Divider 2" 136 hex "PLLC1 Divider 2" [all …]
|
/openbmc/phosphor-host-ipmid/include/ipmid/ |
H A D | handler.hpp | 272 "NETFN", lg2::hex, request->ctx->netFn, "CMD", lg2::hex, in executeCallback() 280 "NETFN", lg2::hex, request->ctx->netFn, "CMD", lg2::hex, in executeCallback() 293 "NETFN", lg2::hex, request->ctx->netFn, "CMD", lg2::hex, in executeCallback() 369 "NETFN", lg2::hex, request->ctx->netFn, "CMD", lg2::hex, in executeCallback() 377 "NETFN", lg2::hex, request->ctx->netFn, "CMD", lg2::hex, in executeCallback() [all...] |
/openbmc/linux/tools/lib/api/ |
H A D | io.h | 95 static inline int io__get_hex(struct io *io, __u64 *hex) in io__get_hex() argument 99 *hex = 0; in io__get_hex() 106 *hex = (*hex << 4) | (ch - '0'); in io__get_hex() 108 *hex = (*hex << 4) | (ch - 'a' + 10); in io__get_hex() 110 *hex = (*hex << 4) | (ch - 'A' + 10); in io__get_hex()
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | slot-hsc-fault | 5 local hex="" 10 hex="${digits:remainder:1}$hex" 16 hex="0$hex"
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | host_notifier.cpp | 128 "ID", lg2::hex, id); in enqueueRequired() 177 lg2::debug("New PEL added to queue, PEL ID = {ID}", "ID", lg2::hex, in newLogCallback() 227 "ID", lg2::hex, id); in deleteLogCallback() 264 "ID", lg2::hex, _pelQueue.front()); in doNewLogNotify() 297 lg2::debug("sendNewLogCmd: ID {ID} size {SIZE}", "ID", lg2::hex, id, in doNewLogNotify() 309 lg2::error("PLDM send failed, PEL ID = {ID}", "ID", lg2::hex, in doNewLogNotify() 320 "ID", lg2::hex, id); in doNewLogNotify() 371 lg2::hex, id); in commandResponse() 387 lg2::hex, id); in commandResponse() 398 lg2::info("Attempting command retry, PEL ID = {ID}", "ID", lg2::hex, in retryTimerExpired() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-crypto-hash.c | 102 static const char hex[] = "0123456789abcdef"; variable 129 g_assert(expected_outputs[i][j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hash_alloc() 130 g_assert(expected_outputs[i][j * 2 + 1] == hex[result[j] & 0xf]); in test_hash_alloc() 165 g_assert(expected_outputs[i][j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hash_prealloc() 166 g_assert(expected_outputs[i][j * 2 + 1] == hex[result[j] & 0xf]); in test_hash_prealloc() 201 g_assert(expected_outputs[i][j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hash_iov() 202 g_assert(expected_outputs[i][j * 2 + 1] == hex[result[j] & 0xf]); in test_hash_iov() 300 g_assert(expected_outputs[i][j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hash_accumulate() 301 g_assert(expected_outputs[i][j * 2 + 1] == hex[result[j] & 0xf]); in test_hash_accumulate()
|
/openbmc/qemu/scripts/oss-fuzz/ |
H A D | minimize_qtest_trace.py | 168 addr=hex(addr), 169 size=hex(write_suffix_lookup[suffix][0]), 170 data=data.hex()) 199 addr=hex(hint_addr), 200 size=hex(hint_len), 216 addr=hex(addr), 217 size=hex(leftlength), 220 addr=hex(addr+leftlength), 221 size=hex(rightlength), 261 data_try = hex(int("".join(data_bin_list), 2))
|
/openbmc/phosphor-host-ipmid/ |
H A D | ipmid-new.cpp | 192 lg2::hex, iana, "CMD", lg2::hex, cmd, "NETFNCMD", lg2::hex, in registerOemHandler() 198 lg2::hex, iana, "CMD", lg2::hex, cmd, "NETFNCMD", lg2::hex, in registerOemHandler() 257 "NETFN", lg2::hex, keyCommon, "CMD", lg2::hex, cmd); in executeIpmiCommandCommon() 278 "NETFN", lg2::hex, keyCommon, "CMD", lg2::hex, cm in executeIpmiCommandCommon() [all...] |
/openbmc/openpower-debug-collector/dump/tools/common/include/ |
H A D | gendumpheader | 75 printf -v hex "%x" "$sizeDump" 78 hex=0$hex 86 printf \\x${hex:$i:2} >> $FILE 175 printf -v hex "%x" "$size_dump" 178 hex=0$hex 195 printf -v hex "%x" "$size_dump" 198 hex=0$hex
|
/openbmc/openpower-occ-control/ |
H A D | occ_command.cpp | 119 occInstance, "CMD", lg2::hex, cmd_type, "LEN", command.size(), in send() 135 "INST", occInstance, "CMD", lg2::hex, cmd_type, "ERR", in send() 173 "INST", occInstance, "CMD", lg2::hex, cmd_type, "ERR", in send() 190 "INST", occInstance, "CMD", lg2::hex, cmd_type, "LEN", in send() 231 "CMD", lg2::hex, command[0], "STATUS", lg2::hex, in send() 232 response[1], "SEQ", lg2::hex, response[0]); in send()
|
/openbmc/linux/tools/firmware/ |
H A D | ihex2fw.c | 46 static uint8_t hex(const uint8_t *data, uint8_t *crc) in hex() function 157 len = hex(data + i, &crc); i += 2; in process_ihex() 160 len += hex(data + i, &crc); i += 2; in process_ihex() 178 record->addr = hex(data + i, &crc) << 8; i += 2; in process_ihex() 179 record->addr |= hex(data + i, &crc); i += 2; in process_ihex() 180 type = hex(data + i, &crc); i += 2; in process_ihex() 183 record->data[j] = hex(data + i, &crc); in process_ihex() 186 crcbyte = hex(data + i, &crc); i += 2; in process_ihex()
|