| /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 …]
|
| H A D | efi-stub-helper.c | 64 buf[len - 1] = '\0'; in efi_parse_options() 134 if ((src->attributes & ~EFI_LOAD_OPTION_MASK) != 0) in efi_load_option_unpack() 145 } while (c != L'\0'); in efi_load_option_unpack() 192 if ((load_option->attributes & ~EFI_LOAD_OPTION_BOOT_MASK) != 0) in efi_apply_loadoptions_quirk() 313 status = efi_fn_call(&method, hash_log_extend_event, protocol, 0, in efi_measure_tagged_event() 320 efi_warn("Failed to measure data for event %d: 0x%lx\n", event, status); in efi_measure_tagged_event() 333 int options_bytes = 0, safe_options_bytes = 0; /* UTF-8 bytes */ in efi_convert_cmdline() 334 unsigned long cmdline_addr = 0; in efi_convert_cmdline() 340 if (options_size > 0) in efi_convert_cmdline() 352 if (c < 0x80) { in efi_convert_cmdline() [all …]
|
| /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 | 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 | 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 …]
|
| H A D | pm8150l.dtsi | 21 hysteresis = <0>; 27 hysteresis = <0>; 33 hysteresis = <0>; 44 reg = <0x4 SPMI_USID>; 46 #size-cells = <0>; 50 reg = <0x0800>; 57 reg = <0x2400>; 58 interrupts = <0x4 0x24 0x0 IRQ_TYPE_EDGE_BOTH>; 61 #thermal-sensor-cells = <0>; 66 reg = <0x3100>; [all …]
|
| /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 64 #define ERRSTS_OFFSET 0xc8 69 #define ERRCMD_OFFSET 0xca 76 #define IBECC_ACTIVATE_EN BIT(0) 88 #define MCHBAR_OFFSET 0x48 89 #define MCHBAR_EN BIT_ULL(0) 91 #define MCHBAR_SIZE 0x10000 [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/ |
| H A D | mmu.json | 4 "EventCode": "0xD800", 10 "EventCode": "0xd801", 16 "EventCode": "0xd802", 22 "EventCode": "0xd803", 28 "EventCode": "0xd804", 34 "EventCode": "0xd805", 40 "EventCode": "0xd806", 46 "EventCode": "0xd807", 52 "EventCode": "0xd808", 58 "EventCode": "0xd809", [all …]
|
| /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 …]
|
| H A D | codec_vp9.c | 19 #define VP9_HEAD_PARSER_DONE 0xf0 36 #define DECODE_MODE_SINGLE 0 46 #define MV_MEM_UNIT 0x240 47 #define ADAPT_PROB_SIZE 0xf80 50 KEY_FRAME = 0, 56 #define MPRED_MV_BUF_SIZE 0x120000 58 #define IPP_SIZE 0x4000 59 #define SAO_ABV_SIZE 0x30000 60 #define SAO_VB_SIZE 0x30000 61 #define SH_TM_RPS_SIZE 0x800 [all …]
|
| /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 …]
|
| /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 …]
|
| /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 …]
|
| /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 …]
|
| /linux/drivers/gpu/drm/bridge/ |
| H A D | lontium-lt9211.c | 31 #define REG_PAGE_CONTROL 0xff 32 #define REG_CHIPID0 0x8100 33 #define REG_CHIPID0_VALUE 0x18 34 #define REG_CHIPID1 0x8101 35 #define REG_CHIPID1_VALUE 0x01 36 #define REG_CHIPID2 0x8102 37 #define REG_CHIPID2_VALUE 0xe3 39 #define REG_DSI_LANE 0xd000 40 /* DSI lane count - 0 means 4 lanes ; 1, 2, 3 means 1, 2, 3 lanes. */ 56 regmap_reg_range(0xff, 0xff), [all …]
|
| /linux/fs/unicode/ |
| H A D | mkutf8data.c | 50 int verbose = 0; 63 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) 98 return 0; in age_valid() 100 return 0; in age_valid() 102 return 0; in age_valid() 119 * if offlen == 0 (non-branching node) 124 * if offlen != 0 (branching node) 133 #define BITNUM 0x07 134 #define NEXTBYTE 0x08 135 #define OFFLEN 0x30 [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | nid.h | 33 #define CAYMAN_MAX_BACKENDS_MASK 0xFF 34 #define CAYMAN_MAX_BACKENDS_PER_SE_MASK 0xF 36 #define CAYMAN_MAX_SIMDS_MASK 0xFFFF 37 #define CAYMAN_MAX_SIMDS_PER_SE_MASK 0xFFF 39 #define CAYMAN_MAX_PIPES_MASK 0xFF 40 #define CAYMAN_MAX_LDS_NUM 0xFFFF 42 #define CAYMAN_MAX_TCC_MASK 0xFF 44 #define CAYMAN_GB_ADDR_CONFIG_GOLDEN 0x02011003 45 #define ARUBA_GB_ADDR_CONFIG_GOLDEN 0x12010001 47 #define DMIF_ADDR_CONFIG 0xBD4 [all …]
|
| /linux/arch/x86/events/intel/ |
| H A D | uncore_snb.c | 8 #define PCI_DEVICE_ID_INTEL_SNB_IMC 0x0100 9 #define PCI_DEVICE_ID_INTEL_IVB_IMC 0x0154 10 #define PCI_DEVICE_ID_INTEL_IVB_E3_IMC 0x0150 11 #define PCI_DEVICE_ID_INTEL_HSW_IMC 0x0c00 12 #define PCI_DEVICE_ID_INTEL_HSW_U_IMC 0x0a04 13 #define PCI_DEVICE_ID_INTEL_BDW_IMC 0x1604 14 #define PCI_DEVICE_ID_INTEL_SKL_U_IMC 0x1904 15 #define PCI_DEVICE_ID_INTEL_SKL_Y_IMC 0x190c 16 #define PCI_DEVICE_ID_INTEL_SKL_HD_IMC 0x1900 17 #define PCI_DEVICE_ID_INTEL_SKL_HQ_IMC 0x1910 [all …]
|
| /linux/drivers/gpu/drm/amd/include/asic_reg/gca/ |
| H A D | gfx_7_2_d.h | 27 #define mmCB_BLEND_RED 0xa105 28 #define mmCB_BLEND_GREEN 0xa106 29 #define mmCB_BLEND_BLUE 0xa107 30 #define mmCB_BLEND_ALPHA 0xa108 31 #define mmCB_COLOR_CONTROL 0xa202 32 #define mmCB_BLEND0_CONTROL 0xa1e0 33 #define mmCB_BLEND1_CONTROL 0xa1e1 34 #define mmCB_BLEND2_CONTROL 0xa1e2 35 #define mmCB_BLEND3_CONTROL 0xa1e3 36 #define mmCB_BLEND4_CONTROL 0xa1e4 [all …]
|
| H A D | gfx_7_0_d.h | 27 #define mmCB_BLEND_RED 0xa105 28 #define mmCB_BLEND_GREEN 0xa106 29 #define mmCB_BLEND_BLUE 0xa107 30 #define mmCB_BLEND_ALPHA 0xa108 31 #define mmCB_COLOR_CONTROL 0xa202 32 #define mmCB_BLEND0_CONTROL 0xa1e0 33 #define mmCB_BLEND1_CONTROL 0xa1e1 34 #define mmCB_BLEND2_CONTROL 0xa1e2 35 #define mmCB_BLEND3_CONTROL 0xa1e3 36 #define mmCB_BLEND4_CONTROL 0xa1e4 [all …]
|
| H A D | gfx_8_0_d.h | 27 #define mmCB_BLEND_RED 0xa105 28 #define mmCB_BLEND_GREEN 0xa106 29 #define mmCB_BLEND_BLUE 0xa107 30 #define mmCB_BLEND_ALPHA 0xa108 31 #define mmCB_DCC_CONTROL 0xa109 32 #define mmCB_COLOR_CONTROL 0xa202 33 #define mmCB_BLEND0_CONTROL 0xa1e0 34 #define mmCB_BLEND1_CONTROL 0xa1e1 35 #define mmCB_BLEND2_CONTROL 0xa1e2 36 #define mmCB_BLEND3_CONTROL 0xa1e3 [all …]
|
| H A D | gfx_8_1_d.h | 27 #define mmCB_BLEND_RED 0xa105 28 #define mmCB_BLEND_GREEN 0xa106 29 #define mmCB_BLEND_BLUE 0xa107 30 #define mmCB_BLEND_ALPHA 0xa108 31 #define mmCB_DCC_CONTROL 0xa109 32 #define mmCB_COLOR_CONTROL 0xa202 33 #define mmCB_BLEND0_CONTROL 0xa1e0 34 #define mmCB_BLEND1_CONTROL 0xa1e1 35 #define mmCB_BLEND2_CONTROL 0xa1e2 36 #define mmCB_BLEND3_CONTROL 0xa1e3 [all …]
|
| /linux/tools/perf/util/ |
| H A D | demangle-rust-v0.c | 52 for (; n != 0; n--) { in demangle_memrchr() 64 return ch < 0x20 || (ch >= 0x7f && ch < 0xa0); in unicode_iscontrol() 73 if (ch < 0x20) { in unicode_isprint() 76 if (ch < 0x7f) { in unicode_isprint() 88 for (size_t i = 0; i < s_len; i++) { in str_isascii() 89 if (s[i] & 0x80) { in str_isascii() 112 demangle_status status; // if status == 0 parser is valid 130 0, in try_parse_path() 172 struct parser parser = { inner, inner_len, 0, 0 }; in rust_demangle_v0_demangle() 200 0, in rust_demangle_v0_display_demangle() [all …]
|
| /linux/drivers/tty/vt/ |
| H A D | keyboard.c | 63 return 0; in kbd_defleds() 67 #define KBD_DEFLOCK 0 102 .sig = 0, 152 static int shift_state = 0; 196 return d->error == 0; /* stop as soon as we successfully get one */ in getkeycode_helper() 203 .flags = 0, in getkeycode() 205 .keycode = 0, in getkeycode() 223 return d->error == 0; /* stop as soon as we successfully set one */ in setkeycode_helper() 230 .flags = 0, in setkeycode() 258 return 0; in kd_sound_helper() [all …]
|