/openbmc/u-boot/lib/ |
H A D | charset.c | 31 s32 ch = 0; in get_code() 35 return 0; in get_code() 36 if (ch >= 0xc2 && ch <= 0xf4) { in get_code() 37 int code = 0; in get_code() 39 if (ch >= 0xe0) { in get_code() 40 if (ch >= 0xf0) { in get_code() 41 /* 0xf0 - 0xf4 */ in get_code() 42 ch &= 0x07; in get_code() 45 if (ch < 0x80 || ch > 0xbf) in get_code() 47 ch &= 0x3f; in get_code() [all …]
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | printk.c | 35 * The position of the most-significant 0 bit gives us the length of in utf8_to_utf32() 38 for (clen = 0; cx & 0x80; ++clen) in utf8_to_utf32() 41 * If the 0 bit is in position 8, this is a valid single-octet in utf8_to_utf32() 42 * encoding. If the 0 bit is in position 7 or positions 1-3, the in utf8_to_utf32() 50 for (i = 0; i < clen; ++i) { in utf8_to_utf32() 52 cx = (*s8)[i] ^ 0x80; in utf8_to_utf32() 53 if (cx & 0xc0) in utf8_to_utf32() 63 if (c32 > 0x10ffff || in utf8_to_utf32() 64 (c32 & 0xf800) == 0xd800 || in utf8_to_utf32() 65 clen != (c32 >= 0x80) + (c32 >= 0x800) + (c32 >= 0x10000)) in utf8_to_utf32() [all …]
|
H A D | vsprintf.c | 25 int i = 0; in skip_atoi() 28 i = i * 10 + *((*s)++) - '0'; in skip_atoi() 33 * put_dec_full4 handles numbers in the range 0 <= r < 10000. 34 * The multiplier 0xccd is round(2^15/10), and the approximation 35 * r/10 == (r * 0xccd) >> 15 is exact for all r < 16389. 42 for (i = 0; i < 3; i++) { in put_dec_full4() 43 unsigned int q = (r * 0xccd) >> 15; in put_dec_full4() 44 *--end = '0' + (r - q * 10); in put_dec_full4() 47 *--end = '0' + r; in put_dec_full4() 54 * The approximation x/10000 == (x * 0x346DC5D7) >> 43 [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | pmi8994.dtsi | 9 reg = <0x2 SPMI_USID>; 11 #size-cells = <0>; 15 reg = <0xc000>; 17 gpio-ranges = <&pmi8994_gpios 0 0 10>; 25 reg = <0xa000>; 27 gpio-ranges = <&pmi8994_mpps 0 0 4>; 36 reg = <0x3 SPMI_USID>; 38 #size-cells = <0>; 44 #size-cells = <0>; 56 reg = <0xd800>, <0xd900>; [all …]
|
H A D | pm660l.dtsi | 40 reg = <0x2 SPMI_USID>; 42 #size-cells = <0>; 46 reg = <0x2400>; 47 interrupts = <0x2 0x24 0x0 IRQ_TYPE_EDGE_BOTH>; 48 #thermal-sensor-cells = <0>; 53 reg = <0xc000>; 55 gpio-ranges = <&pm660l_gpios 0 0 12>; 64 reg = <0x3 SPMI_USID>; 66 #size-cells = <0>; 76 reg = <0xd800>, <0xd900>; [all …]
|
H A D | pmi8998.dtsi | 8 reg = <0x2 SPMI_USID>; 10 #size-cells = <0>; 14 reg = <0x1000>; 16 interrupts = <0x2 0x13 0x4 IRQ_TYPE_EDGE_BOTH>, 17 <0x2 0x12 0x2 IRQ_TYPE_EDGE_BOTH>, 18 <0x2 0x16 0x1 IRQ_TYPE_EDGE_RISING>, 19 <0x2 0x13 0x6 IRQ_TYPE_EDGE_RISING>; 34 reg = <0xc000>; 36 gpio-ranges = <&pmi8998_gpios 0 0 14>; 44 reg = <0x4500>; [all …]
|
H A D | pmi8950.dtsi | 11 reg = <0x2 SPMI_USID>; 13 #size-cells = <0>; 17 reg = <0x3100>; 18 interrupts = <0x2 0x31 0x0 IRQ_TYPE_EDGE_RISING>; 20 #size-cells = <0>; 23 channel@0 { 62 reg = <0xa000>; 64 gpio-ranges = <&pmi8950_mpps 0 0 4>; 72 reg = <0xc000>; 74 gpio-ranges = <&pmi8950_gpios 0 0 2>; [all …]
|
H A D | pm6150l.dtsi | 18 hysteresis = <0>; 24 hysteresis = <0>; 30 hysteresis = <0>; 41 reg = <0x4 SPMI_USID>; 43 #size-cells = <0>; 47 reg = <0x2400>; 48 interrupts = <0x4 0x24 0x0 IRQ_TYPE_EDGE_BOTH>; 49 #thermal-sensor-cells = <0>; 54 reg = <0x3100>; 55 interrupts = <0x4 0x31 0x0 IRQ_TYPE_EDGE_RISING>; [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/yajl/yajl/ |
H A D | CVE-2017-16516.patch | 1 From 0b5e73c4321de0ba1d495fdc0967054b2a77931c Mon Sep 17 00:00:00 2001 21 index fd08258..0d97cc5 100644 27 if ((codepoint & 0xFC00) == 0xD800) { 32 unsigned int surrogate = 0;
|
/openbmc/phosphor-webui/app/common/directives/ |
H A D | serial-console.js | 52 for (var point = 0, nextcode = 0, i = 0; i !== Len;) { 54 if (point >= 0xD800 && point <= 0xDBFF) { 56 resArr[resPos += 1] = 0xef /*0b11101111*/; 57 resArr[resPos += 1] = 0xbf /*0b10111111*/; 58 resArr[resPos += 1] = 0xbd /*0b10111101*/; 63 if (nextcode >= 0xDC00 && nextcode <= 0xDFFF) { 64 point = (point - 0xD800) * 0x400 + nextcode - 0xDC00 + 0x10000; 66 if (point > 0xffff) { 67 resArr[resPos += 1] = (0x1e /*0b11110*/ << 3) | (point >>> 18); 69 (0x2 /*0b10*/ << 6) | ((point >>> 12) & 0x3f /*0b00111111*/); [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/i2c/ |
H A D | mt9m114.h | 46 #define MISENSOR_FWBURST0 0x80 47 #define MISENSOR_FWBURST1 0x81 48 #define MISENSOR_FWBURST4 0x84 49 #define MISENSOR_FWBURST 0x88 51 #define MISENSOR_TOK_TERM 0xf000 /* terminating token for reg list */ 52 #define MISENSOR_TOK_DELAY 0xfe00 /* delay token for reg list */ 53 #define MISENSOR_TOK_FWLOAD 0xfd00 /* token indicating load FW */ 54 #define MISENSOR_TOK_POLL 0xfc00 /* token indicating poll instruction */ 55 #define MISENSOR_TOK_RMW 0x0010 /* RMW operation */ 56 #define MISENSOR_TOK_MASK 0xfff0 [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/ |
H A D | tegra.h | 10 #define NV_PA_ARM_PERIPHBASE 0x50040000 11 #define NV_PA_PG_UP_BASE 0x60000000 12 #define NV_PA_TMRUS_BASE 0x60005010 13 #define NV_PA_CLK_RST_BASE 0x60006000 14 #define NV_PA_FLOW_BASE 0x60007000 15 #define NV_PA_GPIO_BASE 0x6000D000 16 #define NV_PA_EVP_BASE 0x6000F000 17 #define NV_PA_APB_MISC_BASE 0x70000000 18 #define NV_PA_APB_MISC_GP_BASE (NV_PA_APB_MISC_BASE + 0x0800) 19 #define NV_PA_APB_UARTA_BASE (NV_PA_APB_MISC_BASE + 0x6000) [all …]
|
/openbmc/linux/drivers/staging/media/meson/vdec/ |
H A D | hevc_regs.h | 9 #define HEVC_ASSIST_MMU_MAP_ADDR 0xc024 11 #define HEVC_ASSIST_MBOX1_CLR_REG 0xc1d4 12 #define HEVC_ASSIST_MBOX1_MASK 0xc1d8 14 #define HEVC_ASSIST_SCRATCH_0 0xc300 15 #define HEVC_ASSIST_SCRATCH_1 0xc304 16 #define HEVC_ASSIST_SCRATCH_2 0xc308 17 #define HEVC_ASSIST_SCRATCH_3 0xc30c 18 #define HEVC_ASSIST_SCRATCH_4 0xc310 19 #define HEVC_ASSIST_SCRATCH_5 0xc314 20 #define HEVC_ASSIST_SCRATCH_6 0xc318 [all …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | usbstring.c | 19 int count = 0; in utf8_to_utf16le() 28 while (len != 0 && (c = (u8) *s++) != 0) { in utf8_to_utf16le() 29 if ((c & 0x80)) { in utf8_to_utf16le() 34 if ((c & 0xe0) == 0xc0) { in utf8_to_utf16le() 35 uchar = (c & 0x1f) << 6; in utf8_to_utf16le() 38 if ((c & 0xc0) != 0x80) in utf8_to_utf16le() 40 c &= 0x3f; in utf8_to_utf16le() 47 } else if ((c & 0xf0) == 0xe0) { in utf8_to_utf16le() 48 uchar = (c & 0x0f) << 12; in utf8_to_utf16le() 51 if ((c & 0xc0) != 0x80) in utf8_to_utf16le() [all …]
|
/openbmc/qemu/target/tricore/ |
H A D | csfr.h.inc | 9 A(0xfe00, PCXI, TRICORE_FEATURE_13) 10 A(0xfe08, PC, TRICORE_FEATURE_13) 11 A(0xfe14, SYSCON, TRICORE_FEATURE_13) 12 R(0xfe18, CPU_ID, TRICORE_FEATURE_13) 13 R(0xfe1c, CORE_ID, TRICORE_FEATURE_161) 14 E(0xfe20, BIV, TRICORE_FEATURE_13) 15 E(0xfe24, BTV, TRICORE_FEATURE_13) 16 E(0xfe28, ISP, TRICORE_FEATURE_13) 17 A(0xfe2c, ICR, TRICORE_FEATURE_13) 18 A(0xfe38, FCX, TRICORE_FEATURE_13) [all …]
|
/openbmc/qemu/util/ |
H A D | unicode.c | 18 if (codepoint > 0x10FFFFu) { in is_valid_codepoint() 21 if ((codepoint >= 0xFDD0 && codepoint <= 0xFDEF) in is_valid_codepoint() 22 || (codepoint & 0xFFFE) == 0xFFFE) { in is_valid_codepoint() 25 if (codepoint >= 0xD800 && codepoint <= 0xDFFF) { in is_valid_codepoint() 44 * If @s points to an impossible byte (0xFE or 0xFF) or a continuation 64 static int min_cp[5] = { 0x80, 0x800, 0x10000, 0x200000, 0x4000000 }; in mod_utf8_codepoint() 69 if (n == 0 || *s == 0) { in mod_utf8_codepoint() 77 if (byte < 0x80) { in mod_utf8_codepoint() 79 } else if (byte >= 0xFE) { in mod_utf8_codepoint() 80 cp = -1; /* impossible bytes 0xFE, 0xFF */ in mod_utf8_codepoint() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | qcom-wled.yaml | 66 minimum: 0 73 minimum: 0 111 Array of the WLED strings numbered from 0 to 3. Each 148 0 - Modulator A 152 enum: [ 0, 1 ] 153 default: 0 159 0 - CABC disabled 165 enum: [ 0, 1, 2, 3 ] 225 minimum: 0 229 minimum: 0 [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 077 | 25 seq=`basename $0` 34 trap "_cleanup; exit \$status" 0 1 2 3 15 57 aio_write -P 10 0x200 0x200 62 off=0x1000 66 aio_write -P 10 $((off + 0x200)) 0x200 68 aio_write -P 11 $((off + 0x400)) 0x200 73 off=$((off + 0x1000)) 79 aio_write -P 10 0x5000 0x200 81 aio_write -P 11 0x5200 0x200 82 aio_write -P 12 0x5400 0x200 [all …]
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | pm8941.dtsi | 11 polling-delay = <0>; 39 pm8941_0: pm8941@0 { 41 reg = <0x0 SPMI_USID>; 43 #size-cells = <0>; 47 reg = <0x6000>, 48 <0x6100>; 50 interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; 55 reg = <0x800>; 59 interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; 66 interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; [all …]
|
/openbmc/qemu/qobject/ |
H A D | json-writer.c | 138 if (cp < 0) { in quoted_str() 139 cp = 0xFFFD; /* replacement character */ in quoted_str() 141 if (cp > 0xFFFF) { in quoted_str() 144 0xD800 + ((cp - 0x10000) >> 10), in quoted_str() 145 0xDC00 + ((cp - 0x10000) & 0x3FF)); in quoted_str() 146 } else if (cp < 0x20 || cp >= 0x7F) { in quoted_str()
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/ampere/ampereone/ |
H A D | core-imp-def.json | 4 "EventCode": "0x10A", 10 "EventCode": "0x10B", 16 "EventCode": "0x110", 22 "EventCode": "0x111", 28 "EventCode": "0x112", 34 "EventCode": "0x113", 40 "EventCode": "0x114", 46 "EventCode": "0x115", 52 "EventCode": "0x116", 58 "EventCode": "0x117", [all …]
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | r8152.h | 12 #define PLA_IDR 0xc000 13 #define PLA_RCR 0xc010 14 #define PLA_RMS 0xc016 15 #define PLA_RXFIFO_CTRL0 0xc0a0 16 #define PLA_RXFIFO_CTRL1 0xc0a4 17 #define PLA_RXFIFO_CTRL2 0xc0a8 18 #define PLA_DMY_REG0 0xc0b0 19 #define PLA_FMC 0xc0b4 20 #define PLA_CFG_WOL 0xc0b6 21 #define PLA_TEREDO_CFG 0xc0bc [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | igen6_edac.c | 51 #define TOM_OFFSET 0xa0 53 #define TOLUD_OFFSET 0xbc 55 #define CAPID_C_OFFSET 0xec 59 #define CAPID_E_OFFSET 0xf0 63 #define ERRSTS_OFFSET 0xc8 68 #define ERRCMD_OFFSET 0xca 75 #define IBECC_ACTIVATE_EN BIT(0) 86 #define MCHBAR_OFFSET 0x48 87 #define MCHBAR_EN BIT_ULL(0) 89 #define MCHBAR_SIZE 0x10000 [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | init.c | 94 mt7601u_wr(dev, MT_USB_DMA_CFG, 0); in mt7601u_reset_csr_bbp() 96 mt7601u_wr(dev, MT_MAC_SYS_CTRL, 0); in mt7601u_reset_csr_bbp() 142 for (i = 0; i < 16; i++) { in mt76_init_beacon_offsets() 148 for (i = 0; i < 4; i++) in mt76_init_beacon_offsets() 167 mt7601u_wr(dev, MT_AUX_CLK_CFG, 0); in mt7601u_write_mac_initvals() 169 return 0; in mt7601u_write_mac_initvals() 181 for (i = 0; i < N_WCIDS; i++) { in mt7601u_init_wcid_mem() 182 vals[i * 2] = 0xffffffff; in mt7601u_init_wcid_mem() 183 vals[i * 2 + 1] = 0x00ffffff; in mt7601u_init_wcid_mem() 210 for (i = 0; i < N_WCIDS * 2; i++) in mt7601u_init_wcid_attr_mem() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | intel_uncore.c | 66 uncore->debug->unclaimed_mmio_check = 0; in mmio_debug_suspend() 115 if (id >= 0 && id < FW_DOMAIN_ID_COUNT) in intel_uncore_forcewake_domain_to_str() 137 fw_clear(d, 0xefff); in fw_domain_reset() 139 fw_clear(d, 0xffff); in fw_domain_reset() 167 return __wait_for_ack(d, ack, 0); in wait_ack_clear() 183 if (fw_ack(d) == ~0) in fw_domain_wait_ack_clear() 185 "%s: MMIO unreliable (forcewake register returns 0xFFFFFFFF)!\n", in fw_domain_wait_ack_clear() 196 ACK_CLEAR = 0, 205 const u32 value = type == ACK_SET ? ack_bit : 0; in fw_domain_wait_ack_with_fallback() 238 "%s had to use fallback to %s ack, 0x%x (passes %u)\n", in fw_domain_wait_ack_with_fallback() [all …]
|