/openbmc/linux/drivers/hsi/clients/ |
H A D | cmt_speech.c | 39 struct cs_hsi_iface *hi; member 123 static void cs_hsi_read_on_control(struct cs_hsi_iface *hi); 124 static void cs_hsi_read_on_data(struct cs_hsi_iface *hi); 211 struct cs_hsi_iface *hi = msg->context; in cs_release_cmd() local 213 list_add_tail(&msg->link, &hi->cmdqueue); in cs_release_cmd() 218 struct cs_hsi_iface *hi = msg->context; in cs_cmd_destructor() local 220 spin_lock(&hi->lock); in cs_cmd_destructor() 224 if (hi->iface_state != CS_STATE_CLOSED) in cs_cmd_destructor() 225 dev_err(&hi->cl->device, "Cmd flushed while driver active\n"); in cs_cmd_destructor() 228 hi->control_state &= in cs_cmd_destructor() [all …]
|
/openbmc/linux/arch/mips/loongson2ef/common/cs5536/ |
H A D | cs5536_ide.c | 17 u32 hi = 0, lo = value; in pci_ide_write_reg() local 21 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); in pci_ide_write_reg() 26 _wrmsr(GLIU_MSR_REG(GLIU_PAE), hi, lo); in pci_ide_write_reg() 30 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_ide_write_reg() 33 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ide_write_reg() 39 _rdmsr(SB_MSR_REG(SB_CTRL), &hi, &lo); in pci_ide_write_reg() 40 hi &= 0xffffff00; in pci_ide_write_reg() 41 hi |= (value >> 8); in pci_ide_write_reg() 42 _wrmsr(SB_MSR_REG(SB_CTRL), hi, lo); in pci_ide_write_reg() 46 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); in pci_ide_write_reg() [all …]
|
H A D | cs5536_ehci.c | 17 u32 hi = 0, lo = value; in pci_ehci_write_reg() local 21 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); in pci_ehci_write_reg() 23 hi |= PCI_COMMAND_MASTER; in pci_ehci_write_reg() 25 hi &= ~PCI_COMMAND_MASTER; in pci_ehci_write_reg() 28 hi |= PCI_COMMAND_MEMORY; in pci_ehci_write_reg() 30 hi &= ~PCI_COMMAND_MEMORY; in pci_ehci_write_reg() 31 _wrmsr(USB_MSR_REG(USB_EHCI), hi, lo); in pci_ehci_write_reg() 35 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_ehci_write_reg() 38 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ehci_write_reg() 44 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); in pci_ehci_write_reg() [all …]
|
H A D | cs5536_ohci.c | 17 u32 hi = 0, lo = value; in pci_ohci_write_reg() local 21 _rdmsr(USB_MSR_REG(USB_OHCI), &hi, &lo); in pci_ohci_write_reg() 23 hi |= PCI_COMMAND_MASTER; in pci_ohci_write_reg() 25 hi &= ~PCI_COMMAND_MASTER; in pci_ohci_write_reg() 28 hi |= PCI_COMMAND_MEMORY; in pci_ohci_write_reg() 30 hi &= ~PCI_COMMAND_MEMORY; in pci_ohci_write_reg() 31 _wrmsr(USB_MSR_REG(USB_OHCI), hi, lo); in pci_ohci_write_reg() 35 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_ohci_write_reg() 38 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ohci_write_reg() 44 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); in pci_ohci_write_reg() [all …]
|
H A D | cs5536_isa.c | 51 u32 hi, lo; in divil_lbar_enable() local 59 _rdmsr(DIVIL_MSR_REG(offset), &hi, &lo); in divil_lbar_enable() 60 hi |= 0x01; in divil_lbar_enable() 61 _wrmsr(DIVIL_MSR_REG(offset), hi, lo); in divil_lbar_enable() 70 u32 hi, lo; in divil_lbar_disable() local 74 _rdmsr(DIVIL_MSR_REG(offset), &hi, &lo); in divil_lbar_disable() 75 hi &= ~0x01; in divil_lbar_disable() 76 _wrmsr(DIVIL_MSR_REG(offset), hi, lo); in divil_lbar_disable() 86 u32 hi = 0, lo = value; in pci_isa_write_bar() local 89 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); in pci_isa_write_bar() [all …]
|
H A D | cs5536_acc.c | 17 u32 hi = 0, lo = value; in pci_acc_write_reg() local 21 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); in pci_acc_write_reg() 26 _wrmsr(GLIU_MSR_REG(GLIU_PAE), hi, lo); in pci_acc_write_reg() 30 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_acc_write_reg() 33 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_acc_write_reg() 39 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); in pci_acc_write_reg() 41 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); in pci_acc_write_reg() 44 hi = 0xA0000000 | ((value & 0x000ff000) >> 12); in pci_acc_write_reg() 46 _wrmsr(GLIU_MSR_REG(GLIU_IOD_BM1), hi, lo); in pci_acc_write_reg() 50 _rdmsr(DIVIL_MSR_REG(PIC_YSEL_LOW), &hi, &lo); in pci_acc_write_reg() [all …]
|
/openbmc/qemu/util/ |
H A D | int128.c | 42 uint64_t hi, lo, tmp; in divrem128() local 43 int s = clz64(v.hi); in divrem128() 47 hi = u.hi; in divrem128() 49 tmp = divu128(&lo, &hi, v.lo); in divrem128() 50 *q = int128_make128(lo, hi); in divrem128() 53 hi = int128_gethi(int128_lshift(v, s)); in divrem128() 55 if (hi > u.hi) { in divrem128() 57 tmp = u.hi; in divrem128() 58 divu128(&lo, &tmp, hi); in divrem128() 62 tmp = u.hi - hi; in divrem128() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | int128.h | 25 static inline Int128 int128_make128(uint64_t lo, uint64_t hi) in int128_make128() argument 27 return (__uint128_t)hi << 64 | lo; in int128_make128() 240 int64_t hi; member 244 int64_t hi; 250 return (Int128) { .lo = a, .hi = 0 }; in int128_make64() 255 return (Int128) { .lo = a, .hi = a >> 63 }; in int128_makes64() 258 static inline Int128 int128_make128(uint64_t lo, uint64_t hi) in int128_make128() argument 260 return (Int128) { .lo = lo, .hi = hi }; in int128_make128() 265 assert(!a.hi); in int128_get64() 276 return a.hi; in int128_gethi() [all …]
|
/openbmc/linux/samples/seccomp/ |
H A D | bpf-helper.h | 142 /* Loads lo into M[0] and hi into M[1] and A */ 147 BPF_STMT(BPF_ST, 1) /* hi -> M[1] */ 178 * All the JXX64 checks assume lo is saved in M[0] and hi is saved in both 181 #define JEQ64(lo, hi, jt) \ argument 182 /* if (hi != arg.hi) goto NOMATCH; */ \ 183 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 5), \ 191 #define JNE64(lo, hi, jt) \ argument 192 /* if (hi != arg.hi) goto MATCH; */ \ 193 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 3), \ 201 #define JA64(lo, hi, jt) \ argument [all …]
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 25 * | hi(R6) | 27 * | hi(R7) | JIT scratch space for BPF registers 101 static s8 hi(const s8 *r) in hi() function 131 emit(rv_addi(hi(rd), RV_REG_ZERO, 0), ctx); in emit_imm32() 133 emit(rv_addi(hi(rd), RV_REG_ZERO, -1), ctx); in emit_imm32() 140 emit_imm(hi(rd), imm_hi, ctx); in emit_imm64() 151 emit(rv_addi(RV_REG_A1, hi(r0), 0), ctx); in __build_epilogue() 188 if (is_stacked(hi(reg))) { in bpf_get_reg64() 189 emit(rv_lw(hi(tmp), hi(reg), RV_REG_FP), ctx); in bpf_get_reg64() 199 if (is_stacked(hi(reg))) { in bpf_put_reg64() [all …]
|
/openbmc/openbmc/poky/bitbake/contrib/vim/syntax/ |
H A D | bitbake.vim | 105 hi def link bbUnmatched Error 106 hi def link bbInclude Include 107 hi def link bbTodo Todo 108 hi def link bbComment Comment 109 hi def link bbQuote String 110 hi def link bbString String 111 hi def link bbDelimiter Keyword 112 hi def link bbArrayBrackets Statement 113 hi def link bbContinue Special 114 hi def link bbExport Type [all …]
|
/openbmc/linux/arch/csky/kernel/ |
H A D | perf_event.c | 92 uint32_t lo, hi, tmp; in csky_pmu_read_cc() local 98 hi = cprgr("<0, 0x3>"); in csky_pmu_read_cc() 99 } while (hi != tmp); in csky_pmu_read_cc() 101 result = (uint64_t) (hi) << 32; in csky_pmu_read_cc() 116 uint32_t lo, hi, tmp; in csky_pmu_read_ic() local 122 hi = cprgr("<0, 0x5>"); in csky_pmu_read_ic() 123 } while (hi != tmp); in csky_pmu_read_ic() 125 result = (uint64_t) (hi) << 32; in csky_pmu_read_ic() 140 uint32_t lo, hi, tmp; in csky_pmu_read_icac() local 146 hi = cprgr("<0, 0x7>"); in csky_pmu_read_icac() [all …]
|
/openbmc/linux/block/ |
H A D | badblocks.c | 56 int hi; in badblocks_check() local 75 hi = bb->count; in badblocks_check() 77 /* Binary search between lo and hi for 'target' in badblocks_check() 80 /* INVARIANT: ranges before 'lo' and at-or-after 'hi' in badblocks_check() 82 * VARIANT: hi-lo is the number of possible in badblocks_check() 85 while (hi - lo > 1) { in badblocks_check() 86 int mid = (lo + hi) / 2; in badblocks_check() 96 hi = mid; in badblocks_check() 98 /* 'lo' might be the last that started before target, but 'hi' isn't */ in badblocks_check() 99 if (hi > lo) { in badblocks_check() [all …]
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp32.c | 28 * | hi(R9) | 30 * | hi(FP) | 75 [BPF_REG_0] = {HPPA_REG_RET0, HPPA_REG_RET1}, /* HI/LOW */ 110 static s8 hi(const s8 *r) in hi() function 163 REG_SET_SEEN(ctx, hi(rd)); in emit_imm32() 165 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in emit_imm32() 167 emit(hppa_ldi(-1, hi(rd)), ctx); in emit_imm32() 173 emit_imm(hi(rd), imm_hi, ctx); in emit_imm64() 227 if (is_stacked(hi(reg))) { in bpf_get_reg64_offset() 228 emit(hppa_ldw(REG_SIZE * hi(reg) - offset_sp, HPPA_REG_SP, hi(tmp)), ctx); in bpf_get_reg64_offset() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | trampoline_64.S | 85 sethi %hi(0x80000000), %g5 101 sethi %hi(0x80000000), %g2 108 sethi %hi(prom_entry_lock), %g2 116 sethi %hi(tramp_stack), %g1 129 sethi %hi(KERNBASE), %l3 130 sethi %hi(kern_locked_tte_data), %l4 133 sethi %hi(num_kernel_image_mappings), %l6 144 sethi %hi(call_method), %g2 151 sethi %hi(itlb_load), %g2 154 sethi %hi(prom_mmu_ihandle_cache), %g2 [all …]
|
/openbmc/linux/arch/sparc/mm/ |
H A D | ultra.S | 42 sethi %hi(KERNBASE), %g3 74 sethi %hi(KERNBASE), %o4 106 sethi %hi(KERNBASE), %o4 124 sethi %hi(PAGE_SIZE), %o4 132 2: sethi %hi(KERNBASE), %o3 181 sethi %hi(KERNBASE), %o1 194 sethi %hi(PAGE_OFFSET), %g1 196 sethi %hi(PAGE_SIZE), %g2 219 sethi %hi(PAGE_OFFSET), %g1 223 sethi %hi(1 << 14), %o2 ! D-cache size [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | sha512-armv4.pl | 56 $hi="HI"; 95 @ LO lo>>14^hi<<18 ^ lo>>18^hi<<14 ^ hi>>9^lo<<23 96 @ HI hi>>14^lo<<18 ^ hi>>18^lo<<14 ^ lo>>9^hi<<23 104 ldr $t3,[sp,#$Hoff+4] @ h.hi 116 ldr $t1,[sp,#$Foff+4] @ f.hi 120 ldr $t3,[sp,#$Goff+4] @ g.hi 133 ldr $t3,[$Ktbl,#$hi] @ K[i].hi 138 ldr $Ehi,[sp,#$Doff+4] @ d.hi 153 @ LO lo>>28^hi<<4 ^ hi>>2^lo<<30 ^ hi>>7^lo<<25 154 @ HI hi>>28^lo<<4 ^ lo>>2^hi<<30 ^ lo>>7^hi<<25 [all …]
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp32.c | 154 static inline u8 hi(const u8 reg[]) in hi() function 178 emit(ctx, addiu, hi(dst), MIPS_R_ZERO, -1); in emit_mov_se_i64() 180 emit(ctx, move, hi(dst), MIPS_R_ZERO); in emit_mov_se_i64() 188 emit(ctx, move, hi(dst), MIPS_R_ZERO); in emit_zext_ver() 189 clobber_reg(ctx, hi(dst)); in emit_zext_ver() 230 emit(ctx, addu, hi(dst), hi(dst), MIPS_R_T9); in emit_alu_i64() 232 emit(ctx, addiu, hi(dst), hi(dst), -1); in emit_alu_i64() 238 emit(ctx, subu, hi(dst), hi(dst), MIPS_R_T9); in emit_alu_i64() 240 emit(ctx, addiu, hi(dst), hi(dst), 1); in emit_alu_i64() 246 emit(ctx, addiu, hi(dst), MIPS_R_ZERO, -1); in emit_alu_i64() [all …]
|
/openbmc/linux/include/linux/ |
H A D | minmax.h | 60 #define __clamp(val, lo, hi) \ argument 61 ((val) >= (hi) ? (hi) : ((val) <= (lo) ? (lo) : (val))) 63 #define __clamp_once(val, lo, hi, unique_val, unique_lo, unique_hi) ({ \ argument 66 typeof(hi) unique_hi = (hi); \ 67 static_assert(__builtin_choose_expr(__is_constexpr((lo) > (hi)), \ 68 (lo) <= (hi), true), \ 69 "clamp() low limit " #lo " greater than high limit " #hi); \ 71 static_assert(__types_ok(val, hi), "clamp() 'hi' signedness error"); \ 74 #define __careful_clamp(val, lo, hi) ({ \ argument 75 __builtin_choose_expr(__is_constexpr((val) - (lo) + (hi)), \ [all …]
|
/openbmc/u-boot/arch/nios2/cpu/ |
H A D | start.S | 34 movhi r5, %hi(ICACHE_SIZE_MAX) 47 movhi et, %hi(_exception) 63 movhi r5, %hi(DCACHE_SIZE_MAX) 77 _cur: movhi r5, %hi(_cur - _start) 81 movhi r5, %hi(_start) 86 movhi r6, %hi(CONFIG_SYS_MONITOR_LEN) 97 movhi r4, %hi(_reloc) 110 movhi r2, %hi(debug_uart_init@h) 117 movhi r2, %hi(board_init_f_alloc_reserve@h) 122 movhi r2, %hi(board_init_f_init_reserve@h) [all …]
|
/openbmc/linux/scripts/mod/ |
H A D | symsearch.c | 157 unsigned int hi = elf->symsearch->table_size; in symsearch_find_nearest() local 165 while (hi > lo) { in symsearch_find_nearest() 166 unsigned int mid = lo + (hi - lo) / 2; /* Avoids overflow */ in symsearch_find_nearest() 169 hi = mid; in symsearch_find_nearest() 175 * table[hi], if it exists, is the first entry in the array which in symsearch_find_nearest() 176 * lies beyond target. table[hi - 1], if it exists, is the last in symsearch_find_nearest() 187 hi < elf->symsearch->table_size && in symsearch_find_nearest() 188 table[hi].section_index == secndx && in symsearch_find_nearest() 189 table[hi].addr - addr <= min_distance) { in symsearch_find_nearest() 190 min_distance = table[hi].addr - addr; in symsearch_find_nearest() [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-hypothesis/ |
H A D | test_binary_search.py | 54 # Invariant: There is an insertion point i with i <= hi 55 hi = len(ls) 56 while lo + 1 < hi: 57 mid = (lo + hi) // 2 69 # < hi. Either way, mid is a valid new hi. 70 hi = mid 71 assert lo + 1 == hi 72 # We now know that there is a valid insertion point <= hi and there is no 73 # valid insertion point < hi because hi - 1 is lo. Therefore hi is the 75 return hi
|
/openbmc/u-boot/arch/x86/cpu/broadwell/ |
H A D | cpu.c | 109 if ((platform_info.hi >> 1) & 3) { in set_max_freq() 119 perf_ctl.hi = 0; in set_max_freq() 242 msr.hi &= 0xc0000000; in initialize_vr_config() 243 msr.hi |= (0x01 << (52 - 32)); /* PSI3 threshold - 1A */ in initialize_vr_config() 244 msr.hi |= (0x05 << (42 - 32)); /* PSI2 threshold - 5A */ in initialize_vr_config() 245 msr.hi |= (0x14 << (32 - 32)); /* PSI1 threshold - 20A */ in initialize_vr_config() 246 msr.hi |= (1 << (62 - 32)); /* Enable PSI4 */ in initialize_vr_config() 253 msr.hi &= ~(0x3ff << (40 - 32)); in initialize_vr_config() 254 msr.hi |= (0x200 << (40 - 32)); /* 1.0 */ in initialize_vr_config() 256 msr.hi &= ~0xff; in initialize_vr_config() [all …]
|
/openbmc/qemu/tests/tcg/mips/user/isa/r5900/ |
H A D | test_r5900_maddu.c | 12 uint32_t hi = a >> 32; in maddu() local 22 : "=r" (rd), "=r" (lo), "=r" (hi) in maddu() 23 : "r" (rs), "r" (rt), "r" (lo), "r" (hi)); in maddu() 24 r = ((uint64_t)hi << 32) | (uint32_t)lo; in maddu() 35 uint32_t hi = a >> 32; in maddu1() local 45 : "=r" (rd), "=r" (lo), "=r" (hi) in maddu1() 46 : "r" (rs), "r" (rt), "r" (lo), "r" (hi)); in maddu1() 47 r = ((uint64_t)hi << 32) | (uint32_t)lo; in maddu1()
|
/openbmc/linux/drivers/net/dsa/b53/ |
H A D | b53_mmap.c | 85 u32 hi; in b53_mmap_read48() local 89 hi = ioread32be(regs + (page << 8) + reg + 2); in b53_mmap_read48() 92 hi = readl(regs + (page << 8) + reg + 2); in b53_mmap_read48() 95 *val = ((u64)hi << 16) | lo; in b53_mmap_read48() 98 u16 hi; in b53_mmap_read48() local 102 hi = ioread16be(regs + (page << 8) + reg + 4); in b53_mmap_read48() 105 hi = readw(regs + (page << 8) + reg + 4); in b53_mmap_read48() 108 *val = ((u64)hi << 32) | lo; in b53_mmap_read48() 118 u32 hi, lo; in b53_mmap_read64() local 125 hi = ioread32be(regs + (page << 8) + reg + 4); in b53_mmap_read64() [all …]
|