/openbmc/linux/drivers/hsi/clients/ |
H A D | cmt_speech.c | 589 hi->rx_slot %= hi->rx_ptr_boundary; in cs_hsi_read_on_data_complete() 591 hi->mmap_cfg->rx_ptr = hi->rx_slot; in cs_hsi_read_on_data_complete() 623 hi->rx_offsets[hi->rx_slot % hi->rx_bufs]); in cs_hsi_peek_on_data_complete() 717 address = (u32 *)(hi->mmap_base + hi->tx_offsets[hi->tx_slot]); in cs_hsi_write_on_data() 730 cs_hsi_data_write_error(hi, hi->data_tx_msg); in cs_hsi_write_on_data() 806 hi->rx_ptr_boundary = hi->rx_bufs; in set_buffer_sizes() 888 hi->slot_size = L1_CACHE_ALIGN(hi->buf_size); in cs_hsi_data_enable() 906 (i + hi->mmap_cfg->rx_bufs) * hi->slot_size; in cs_hsi_data_enable() 952 hi->mmap_cfg->buf_size = hi->buf_size; in cs_hsi_buf_config() 1412 hi = cs_char_data.hi; in cs_hsi_client_remove() [all …]
|
/openbmc/linux/arch/mips/loongson2ef/common/cs5536/ |
H A D | cs5536_ehci.c | 17 u32 hi = 0, lo = value; in pci_ehci_write_reg() local 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() 60 hi &= 0x003f0000; in pci_ehci_write_reg() 61 hi |= (value & 0x3f) << 16; in pci_ehci_write_reg() 66 hi &= ~0x00003f00; in pci_ehci_write_reg() 67 hi |= value & 0x00003f00; in pci_ehci_write_reg() 78 u32 hi, lo; in pci_ehci_read_reg() local [all …]
|
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() 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() 74 _wrmsr(IDE_MSR_REG(IDE_DTC), hi, lo); in pci_ide_write_reg() 99 u32 hi, lo; in pci_ide_read_reg() local [all …]
|
H A D | cs5536_isa.c | 51 u32 hi, lo; in divil_lbar_enable() local 60 hi |= 0x01; in divil_lbar_enable() 70 u32 hi, lo; in divil_lbar_disable() local 75 hi &= ~0x01; in divil_lbar_disable() 94 hi = 0x0000f001; in pci_isa_write_bar() 113 u32 hi, lo; in pci_isa_read_bar() local 171 hi &= 0xffffff00; in pci_isa_write_reg() 172 hi |= (value >> 8); in pci_isa_write_reg() 231 u32 hi, lo; in pci_isa_read_reg() local 242 if (hi & 0x01) in pci_isa_read_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() 38 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ohci_write_reg() 73 u32 hi, lo; in pci_ohci_read_reg() local 82 if (hi & PCI_COMMAND_MASTER) in pci_ohci_read_reg() [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() 64 u32 hi, lo; in pci_acc_read_reg() local 75 && ((hi & 0xf0000000) == 0xa0000000)) in pci_acc_read_reg() 77 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); in pci_acc_read_reg() 84 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_acc_read_reg() 90 _rdmsr(ACC_MSR_REG(ACC_CAP), &hi, &lo); in pci_acc_read_reg() [all …]
|
/openbmc/qemu/util/ |
H A D | int128.c | 43 int s = clz64(v.hi); in divrem128() 47 hi = u.hi; in divrem128() 55 if (hi > u.hi) { in divrem128() 57 tmp = u.hi; in divrem128() 62 tmp = u.hi - hi; in divrem128() 69 tmp = lo * v.hi; in divrem128() 71 hi += tmp; in divrem128() 74 || hi > u.hi /* quotient * divisor > dividend */ in divrem128() 75 || (hi == u.hi && lo > u.lo)) { in divrem128() 78 hi += qq.lo * v.hi; in divrem128() [all …]
|
/openbmc/linux/arch/csky/kernel/ |
H A D | perf_event.c | 92 uint32_t lo, hi, tmp; in csky_pmu_read_cc() local 99 } while (hi != tmp); in csky_pmu_read_cc() 116 uint32_t lo, hi, tmp; in csky_pmu_read_ic() local 123 } while (hi != tmp); in csky_pmu_read_ic() 140 uint32_t lo, hi, tmp; in csky_pmu_read_icac() local 147 } while (hi != tmp); in csky_pmu_read_icac() 171 } while (hi != tmp); in csky_pmu_read_icmc() 195 } while (hi != tmp); in csky_pmu_read_dcac() 219 } while (hi != tmp); in csky_pmu_read_dcmc() 243 } while (hi != tmp); in csky_pmu_read_l2ac() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | int128.h | 240 int64_t hi; member 244 int64_t hi; 260 return (Int128) { .lo = lo, .hi = hi }; in int128_make128() 276 return a.hi; in int128_gethi() 306 return int128_make128(a.lo & b.lo, a.hi & b.hi); in int128_and() 311 return int128_make128(a.lo | b.lo, a.hi | b.hi); in int128_or() 316 return int128_make128(a.lo ^ b.lo, a.hi ^ b.hi); in int128_xor() 389 return a.lo == b.lo && a.hi == b.hi; in int128_eq() 399 return a.hi > b.hi || (a.hi == b.hi && a.lo >= b.lo); in int128_ge() 404 return (uint64_t)a.hi > (uint64_t)b.hi || (a.hi == b.hi && a.lo >= b.lo); in int128_uge() [all …]
|
/openbmc/linux/block/ |
H A D | badblocks.c | 56 int hi; in badblocks_check() local 96 hi = mid; in badblocks_check() 166 int lo, hi; in badblocks_set() local 197 hi = mid; in badblocks_set() 200 hi = lo; in badblocks_set() 260 lo = hi; in badblocks_set() 261 hi++; in badblocks_set() 277 memmove(p + hi, p + hi + 1, in badblocks_set() 293 memmove(p + hi + 1, p + hi, in badblocks_set() 389 hi = lo; in badblocks_clear() [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | utmath.c | 17 u32 hi; member 63 product.part.hi, carry32); in acpi_ut_short_multiply() 68 product.part.hi += carry32; in acpi_ut_short_multiply() 138 operand_ovl.part.hi = 0; in acpi_ut_short_shift_right() 336 if (divisor.part.hi == 0) { in acpi_ut_divide() 341 remainder.part.hi = 0; in acpi_ut_divide() 348 quotient.part.hi, partial1); in acpi_ut_divide() 359 quotient.part.hi = 0; in acpi_ut_divide() 391 if (partial3.part.hi == 0) { in acpi_ut_divide() 405 remainder.part.hi = (u32)-((s32)remainder.part.hi); in acpi_ut_divide() [all …]
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 281 emit(rv_xori(hi(rd), hi(rd), -1), ctx); in emit_alu_i64() 291 emit(rv_slli(hi(rd), hi(rd), imm), ctx); in emit_alu_i64() 306 emit(rv_srli(hi(rd), hi(rd), imm), ctx); in emit_alu_i64() 312 emit(rv_srai(hi(rd), hi(rd), 31), ctx); in emit_alu_i64() 417 emit(rv_addi(hi(rd), hi(rs), 0), ctx); in emit_alu_r64() 422 emit(rv_slli(hi(rd), hi(rd), 1), ctx); in emit_alu_r64() 428 emit(rv_add(hi(rd), hi(rd), hi(rs)), ctx); in emit_alu_r64() 440 emit(rv_and(hi(rd), hi(rd), hi(rs)), ctx); in emit_alu_r64() 444 emit(rv_or(hi(rd), hi(rd), hi(rs)), ctx); in emit_alu_r64() 448 emit(rv_xor(hi(rd), hi(rd), hi(rs)), ctx); in emit_alu_r64() [all …]
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp32.c | 484 emit(hppa_shr(hi(rd), imm, hi(rd)), ctx); in emit_alu_i64() 493 emit(hppa_extrws(hi(rd), 0, 31, hi(rd)), ctx); in emit_alu_i64() 496 emit(hppa_extrws(hi(rd), 0, 31, hi(rd)), ctx); in emit_alu_i64() 581 emit_hppa_copy(hi(rs), hi(rd), ctx); in emit_alu_r64() 585 emit(hppa_addc(hi(rd), hi(rs), hi(rd)), ctx); in emit_alu_r64() 589 emit(hppa_subb(hi(rd), hi(rs), hi(rd)), ctx); in emit_alu_r64() 593 emit(hppa_and(hi(rd), hi(rs), hi(rd)), ctx); in emit_alu_r64() 597 emit(hppa_or(hi(rd), hi(rs), hi(rd)), ctx); in emit_alu_r64() 601 emit_hppa_xor(hi(rd), hi(rs), hi(rd), ctx); in emit_alu_r64() 746 emit(hppa_bne(hi(rs1), hi(rs2), JUMP(1)), ctx); in emit_branch_r64() [all …]
|
/openbmc/u-boot/arch/x86/cpu/broadwell/ |
H A D | cpu.c | 119 perf_ctl.hi = 0; in set_max_freq() 467 msr.hi = 0; in configure_mca() 514 msr.hi = 0; in configure_c_states() 519 msr.hi = 0; in configure_c_states() 524 msr.hi = 0; in configure_c_states() 529 msr.hi = 0; in configure_c_states() 534 msr.hi = 0; in configure_c_states() 539 msr.hi = 0; in configure_c_states() 556 msr.hi = 0; in configure_misc() 561 msr.hi = 0; in configure_misc() [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))) 66 typeof(hi) unique_hi = (hi); \ 68 (lo) <= (hi), true), \ 74 #define __careful_clamp(val, lo, hi) ({ \ argument 75 __builtin_choose_expr(__is_constexpr((val) - (lo) + (hi)), \ 76 __clamp(val, lo, hi), \ 77 __clamp_once(val, lo, hi, __UNIQUE_ID(__val), \ 146 #define clamp(val, lo, hi) __careful_clamp(val, lo, hi) argument 224 #define clamp_t(type, val, lo, hi) __careful_clamp((type)(val), (type)(lo), (type)(hi)) argument [all …]
|
H A D | cnt32_to_63.h | 21 u32 lo, hi; member 23 u32 hi, lo; 96 __x.hi = __m_cnt_hi; \ 99 if (unlikely((s32)(__x.hi ^ __x.lo) < 0)) \ 100 __m_cnt_hi = __x.hi = (__x.hi ^ 0x80000000) + (__x.hi >> 31); \
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp32.c | 232 emit(ctx, addiu, hi(dst), hi(dst), -1); in emit_alu_i64() 240 emit(ctx, addiu, hi(dst), hi(dst), 1); in emit_alu_i64() 280 emit(ctx, addu, hi(dst), hi(dst), hi(src)); in emit_alu_r64() 287 emit(ctx, subu, hi(dst), hi(dst), hi(src)); in emit_alu_r64() 293 emit(ctx, or, hi(dst), hi(dst), hi(src)); in emit_alu_r64() 298 emit(ctx, and, hi(dst), hi(dst), hi(src)); in emit_alu_r64() 303 emit(ctx, xor, hi(dst), hi(dst), hi(src)); in emit_alu_r64() 358 emit(ctx, sra, hi(dst), hi(dst), 31); in emit_shift_i64() 610 emit(ctx, wsbh, hi(dst), hi(dst)); in emit_bswap_r64() 860 emit(ctx, move, hi(src), hi(r0)); in emit_atomic_r64() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | trampoline_64.S | 85 sethi %hi(0x80000000), %g5 101 sethi %hi(0x80000000), %g2 129 sethi %hi(KERNBASE), %l3 151 sethi %hi(itlb_load), %g2 170 sethi %hi(p1275buf), %g2 184 sethi %hi(dtlb_load), %g2 203 sethi %hi(p1275buf), %g2 221 sethi %hi(KERNBASE), %l3 298 sethi %hi(tlb_type), %g3 340 sethi %hi(is_sun4v), %o0 [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) 97 movhi r4, %hi(_reloc) 110 movhi r2, %hi(debug_uart_init@h) 131 movhi r2, %hi(board_init_f@h) 165 movhi r5, %hi(__bss_start) 167 movhi r6, %hi(__bss_end) [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 114 hi def link bbExport Type 115 hi def link bbExportFlag Type 119 hi def link bbVarValue String 120 hi def link bbShFakeRootFlag Type [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() 169 hi = mid; 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() 191 result = &elf->symtab_start[table[hi].symbol_index]; in symsearch_find_nearest() 193 if (hi > 0 && in symsearch_find_nearest() 194 table[hi - 1].section_index == secndx && in symsearch_find_nearest() [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/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 196 sethi %hi(PAGE_SIZE), %g2 265 sethi %hi(KERNBASE), %o2 290 sethi %hi(KERNBASE), %o4 320 sethi %hi(KERNBASE), %o4 [all …]
|
/openbmc/linux/samples/seccomp/ |
H A D | bpf-helper.h | 181 #define JEQ64(lo, hi, jt) \ argument 183 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 5), \ 191 #define JNE64(lo, hi, jt) \ argument 193 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 3), \ 201 #define JA64(lo, hi, jt) \ argument 211 #define JGE64(lo, hi, jt) \ argument 213 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, (hi), 4, 0), \ 215 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 5), \ 223 #define JGT64(lo, hi, jt) \ argument 235 #define JLE64(lo, hi, jt) \ argument [all …]
|
/openbmc/linux/drivers/net/dsa/b53/ |
H A D | b53_mmap.c | 85 u32 hi; in b53_mmap_read48() local 95 *val = ((u64)hi << 16) | lo; in b53_mmap_read48() 98 u16 hi; in b53_mmap_read48() local 108 *val = ((u64)hi << 32) | lo; in b53_mmap_read48() 118 u32 hi, lo; in b53_mmap_read64() local 131 *val = ((u64)hi << 32) | lo; in b53_mmap_read64() 187 u32 hi = (u32)(value >> 16); in b53_mmap_write48() local 193 u16 hi = (u16)(value >> 32); in b53_mmap_write48() local 206 u32 hi, lo; in b53_mmap_write64() local 208 hi = upper_32_bits(value); in b53_mmap_write64() [all …]
|