/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() 23 lo |= (0x03 << 4); in pci_ide_write_reg() 25 lo &= ~(0x03 << 4); 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() 31 if (lo & SB_PARE_ERR_FLAG) { in pci_ide_write_reg() 32 lo = (lo & 0x0000ffff) | SB_PARE_ERR_FLAG; 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() [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() 23 lo |= (0x03 << 8); in pci_acc_write_reg() 25 lo &= ~(0x03 << 8); 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() 31 if (lo & SB_PARE_ERR_FLAG) { in pci_acc_write_reg() 32 lo = (lo & 0x0000ffff) | SB_PARE_ERR_FLAG; 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() [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() 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() 36 if (lo & SB_PARE_ERR_FLAG) { in pci_ohci_write_reg() 37 lo = (lo & 0x0000ffff) | SB_PARE_ERR_FLAG; 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() 45 lo |= SOFT_BAR_OHCI_FLAG; in pci_ohci_write_reg() 46 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); in pci_ohci_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() 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() 36 if (lo & SB_PARE_ERR_FLAG) { in pci_ehci_write_reg() 37 lo = (lo & 0x0000ffff) | SB_PARE_ERR_FLAG; 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() 45 lo |= SOFT_BAR_EHCI_FLAG; in pci_ehci_write_reg() 46 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); in pci_ehci_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() 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() 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() 90 lo |= soft_bar_flag[n]; in pci_isa_write_bar() 91 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); in pci_isa_write_bar() [all …]
|
/openbmc/linux/drivers/block/ |
H A D | loop.c | 102 * @lo: struct loop_device 103 * @global: true if @lo is about to bind another "struct loop_device", false otherwise 111 static int loop_global_lock_killable(struct loop_device *lo, bool global) in loop_global_lock_killable() argument 120 err = mutex_lock_killable(&lo->lo_mutex); in loop_global_lock_killable() 129 * @lo: struct loop_device 130 * @global: true if @lo was about to bind another "struct loop_device", false otherwise 132 static void loop_global_unlock(struct loop_device *lo, bool global) in loop_global_unlock() argument 134 mutex_unlock(&lo->lo_mutex); in loop_global_unlock() 163 static loff_t get_loop_size(struct loop_device *lo, struct file *file) in get_loop_size() argument 165 return get_size(lo->lo_offset, lo->lo_sizelimit, file); in get_loop_size() [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | pnfs.c | 57 static void pnfs_layoutreturn_before_put_layout_hdr(struct pnfs_layout_hdr *lo); 58 static void pnfs_free_returned_lsegs(struct pnfs_layout_hdr *lo, 264 pnfs_get_layout_hdr(struct pnfs_layout_hdr *lo) in pnfs_get_layout_hdr() argument 266 refcount_inc(&lo->plh_refcount); in pnfs_get_layout_hdr() 277 pnfs_free_layout_hdr(struct pnfs_layout_hdr *lo) in pnfs_free_layout_hdr() argument 279 struct nfs_server *server = NFS_SERVER(lo->plh_inode); in pnfs_free_layout_hdr() 282 if (test_and_clear_bit(NFS_LAYOUT_HASHED, &lo->plh_flags)) { in pnfs_free_layout_hdr() 286 list_del_rcu(&lo->plh_layouts); in pnfs_free_layout_hdr() 289 put_cred(lo->plh_lc_cred); in pnfs_free_layout_hdr() 290 return ld->free_layout_hdr(lo); in pnfs_free_layout_hdr() [all …]
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 26 * | lo(R6) | 28 * | lo(R7) | 106 static s8 lo(const s8 *r) in lo() function 127 emit_imm(lo(rd), imm, ctx); in emit_imm32() 139 emit_imm(lo(rd), imm_lo, ctx); in emit_imm64() 150 emit(rv_addi(RV_REG_A0, lo(r0), 0), ctx); in __build_epilogue() 190 emit(rv_lw(lo(tmp), lo(reg), RV_REG_FP), ctx); in bpf_get_reg64() 201 emit(rv_sw(RV_REG_FP, lo(reg), lo(src)), ctx); in bpf_put_reg64() 208 if (is_stacked(lo(reg))) { in bpf_get_reg32() 209 emit(rv_lw(lo(tmp), lo(reg), RV_REG_FP), ctx); in bpf_get_reg32() [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() 241 uint64_t lo; member 243 uint64_t lo; 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() 266 return a.lo; in int128_get64() 271 return a.lo; in int128_getlo() [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | poly1305-armv4.pl | 634 vmovn.i64 $D3#lo,$D3 636 vmovn.i64 $D0#lo,$D0 638 vbic.i32 $D3#lo,#0xfc000000 @ &=0x03ffffff 640 vbic.i32 $D0#lo,#0xfc000000 642 vshrn.u64 $T0#lo,$D4,#26 643 vmovn.i64 $D4#lo,$D4 645 vmovn.i64 $D1#lo,$D1 647 vbic.i32 $D4#lo,#0xfc000000 648 vbic.i32 $D1#lo,#0xfc000000 650 vadd.i32 $D0#lo,$D0#lo,$T0#lo [all …]
|
H A D | sha512-armv4.pl | 57 $lo="LO"; 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 102 ldr $t2,[sp,#$Hoff+0] @ h.lo 114 ldr $t0,[sp,#$Foff+0] @ f.lo 118 ldr $t2,[sp,#$Goff+0] @ g.lo 131 ldr $t2,[$Ktbl,#$lo] @ K[i].lo 136 ldr $Elo,[sp,#$Doff+0] @ d.lo 143 ldr $t2,[sp,#$Boff+0] @ b.lo 147 ldr $t3,[sp,#$Coff+0] @ c.lo [all …]
|
/openbmc/qemu/util/ |
H A D | int128.c | 42 uint64_t hi, lo, tmp; in divrem128() local 48 lo = u.lo; in divrem128() 49 tmp = divu128(&lo, &hi, v.lo); in divrem128() 50 *q = int128_make128(lo, hi); in divrem128() 56 lo = u.lo; in divrem128() 58 divu128(&lo, &tmp, hi); in divrem128() 59 lo = int128_gethi(int128_lshift(int128_make128(lo, 0), s)); in divrem128() 61 lo = u.lo; in divrem128() 63 divu128(&lo, &tmp, hi); in divrem128() 64 lo = int128_gethi(int128_lshift(int128_make128(lo, 1), s)); in divrem128() [all …]
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_bootmgr.c | 31 void efi_deserialize_load_option(struct efi_load_option *lo, u8 *data) in efi_deserialize_load_option() argument 33 lo->attributes = get_unaligned_le32(data); in efi_deserialize_load_option() 36 lo->file_path_length = get_unaligned_le16(data); in efi_deserialize_load_option() 40 lo->label = (u16 *)data; in efi_deserialize_load_option() 41 data += (u16_strlen(lo->label) + 1) * sizeof(u16); in efi_deserialize_load_option() 44 lo->file_path = (struct efi_device_path *)data; in efi_deserialize_load_option() 45 data += lo->file_path_length; in efi_deserialize_load_option() 47 lo->optional_data = data; in efi_deserialize_load_option() 54 unsigned long efi_serialize_load_option(struct efi_load_option *lo, u8 **data) in efi_serialize_load_option() argument 60 label_len = (u16_strlen(lo->label) + 1) * sizeof(u16); in efi_serialize_load_option() [all …]
|
/openbmc/linux/block/ |
H A D | badblocks.c | 57 int lo; in badblocks_check() local 73 lo = 0; 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() 93 lo = 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/u-boot/arch/x86/cpu/ivybridge/ |
H A D | model_206ax.c | 43 if (msr.lo & (1 << 0)) { in enable_vmx() 55 msr.lo = 0; in enable_vmx() 76 msr.lo |= (1 << 2); in enable_vmx() 78 msr.lo |= (1 << 1); in enable_vmx() 172 if (!(msr.lo & PLATFORM_INFO_SET_TDP)) in set_power_limits() 177 power_unit = 2 << ((msr.lo & 0xf) - 1); in set_power_limits() 181 tdp = msr.lo & 0x7fff; in set_power_limits() 182 min_power = (msr.lo >> 16) & 0x7fff; in set_power_limits() 200 limit.lo = 0; in set_power_limits() 201 limit.lo |= tdp & PKG_POWER_LIMIT_MASK; in set_power_limits() [all …]
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp32.c | 27 * | lo(R9) | 29 * | lo(FP) | JIT scratch space for BPF registers 115 static s8 lo(const s8 *r) in lo() function 159 REG_SET_SEEN(ctx, lo(rd)); in emit_imm32() 160 emit_imm(lo(rd), imm, ctx); in emit_imm32() 174 emit_imm(lo(rd), imm_lo, ctx); in emit_imm64() 203 emit_hppa_copy(lo(r0), HPPA_REG_RET0, ctx); in __build_epilogue() 229 emit(hppa_ldw(REG_SIZE * lo(reg) - offset_sp, HPPA_REG_SP, lo(tmp)), ctx); in bpf_get_reg64_offset() 233 REG_SET_SEEN(ctx, lo(reg)); in bpf_get_reg64_offset() 255 REG_SET_SEEN(ctx, lo(reg)); in bpf_get_reg64_ref() [all …]
|
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
H A D | mirred.json | 17 "cmdUnderTest": "$TC actions add action mirred egress mirror index 1 dev lo", 20 "matchPattern": "action order [0-9]*: mirred \\(Egress Mirror to device lo\\).*index 1 ref", 41 "cmdUnderTest": "$TC actions add action mirred egress redirect index 2 dev lo action pipe", 44 … "matchPattern": "action order [0-9]*: mirred \\(Egress Redirect to device lo\\).*index 2 ref", 65 "$TC actions add action mirred egress mirror index 1 dev lo", 66 "$TC actions add action mirred egress redirect index 2 dev lo" 71 "matchPattern": "[Mirror|Redirect] to device lo", 92 "cmdUnderTest": "$TC actions add action mirred inbound mirror index 20 dev lo", 95 "matchPattern": "action order [0-9]*: mirred \\(.*to device lo\\).*index 20 ref", 116 "cmdUnderTest": "$TC actions add action mirred egress remirror index 20 dev lo", [all …]
|
/openbmc/u-boot/arch/x86/cpu/broadwell/ |
H A D | cpu.c | 112 perf_ctl.lo = (msr.lo & 0xff) << 8; in set_max_freq() 116 perf_ctl.lo = msr.lo & 0xff00; in set_max_freq() 123 ((perf_ctl.lo >> 8) & 0xff) * CPU_BCLK); in set_max_freq() 278 msr.lo &= ~0xff000000; in initialize_vr_config() 281 msr.lo |= (min_vid & 0xff) << 24; in initialize_vr_config() 286 msr.lo &= ~0xffff; in initialize_vr_config() 292 msr.lo |= 0x006a; /* 1.56V */ in initialize_vr_config() 294 msr.lo |= 0x006f; /* 1.60V */ in initialize_vr_config() 416 perf_ctl.lo = (msr.lo & 0xff) << 8; in set_max_ratio() 420 perf_ctl.lo = (msr.lo & 0xff) << 8; in set_max_ratio() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/hddtemp/hddtemp/ |
H A D | 0001-configure.ac-Rename-to-configure.ac-and-use-external.patch | 312 - bindtextdom.$lo \ 313 - dcgettext.$lo \ 314 - dgettext.$lo \ 315 - gettext.$lo \ 316 - finddomain.$lo \ 317 - loadmsgcat.$lo \ 318 - localealias.$lo \ 319 - textdomain.$lo \ 320 - l10nflist.$lo \ 321 - explodename.$lo \ [all …]
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp32.c | 144 static inline u8 lo(const u8 reg[]) in lo() function 176 emit_mov_i(ctx, lo(dst), imm); in emit_mov_se_i64() 228 emit(ctx, addu, lo(dst), lo(dst), src); in emit_alu_i64() 229 emit(ctx, sltu, MIPS_R_T9, lo(dst), src); in emit_alu_i64() 236 emit(ctx, sltu, MIPS_R_T9, lo(dst), src); in emit_alu_i64() 237 emit(ctx, subu, lo(dst), lo(dst), src); in emit_alu_i64() 244 emit(ctx, or, lo(dst), lo(dst), src); in emit_alu_i64() 250 emit(ctx, and, lo(dst), lo(dst), src); in emit_alu_i64() 256 emit(ctx, xor, lo(dst), lo(dst), src); in emit_alu_i64() 274 emit(ctx, srl, MIPS_R_T9, lo(dst), 31); in emit_alu_r64() [all …]
|
/openbmc/linux/samples/seccomp/ |
H A D | bpf-helper.h | 142 /* Loads lo into M[0] and hi into M[1] and A */ 145 BPF_STMT(BPF_ST, 0), /* lo -> M[0] */ \ 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 184 BPF_STMT(BPF_LD+BPF_MEM, 0), /* swap in lo */ \ 185 /* if (lo != arg.lo) goto NOMATCH; */ \ 186 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (lo), 0, 2), \ 191 #define JNE64(lo, hi, jt) \ argument 195 /* if (lo != arg.lo) goto MATCH; */ \ 196 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (lo), 2, 0), \ [all …]
|
/openbmc/linux/arch/csky/kernel/ |
H A D | perf_event.c | 92 uint32_t lo, hi, tmp; in csky_pmu_read_cc() local 97 lo = cprgr("<0, 0x2>"); in csky_pmu_read_cc() 102 result |= lo; in csky_pmu_read_cc() 116 uint32_t lo, hi, tmp; in csky_pmu_read_ic() local 121 lo = cprgr("<0, 0x4>"); in csky_pmu_read_ic() 126 result |= lo; in csky_pmu_read_ic() 140 uint32_t lo, hi, tmp; in csky_pmu_read_icac() local 145 lo = cprgr("<0, 0x6>"); in csky_pmu_read_icac() 150 result |= lo; in csky_pmu_read_icac() 164 uint32_t lo, hi, tmp; in csky_pmu_read_icmc() local [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/frequency/ |
H A D | adi,adrf6780.yaml | 47 adi,lo-buff-en: 65 adi,lo-x2-en: 72 adi,lo-ppf-en: 75 output frequency (LO x1). Either LOx1 or LOx2 can be enabled 79 adi,lo-en: 81 Enable additional cirtuitry in the LO chain. Disable to put the 91 adi,lo-sideband: 93 Switch to the Lower LO Sideband. By default the Upper LO 107 adi,lo-x2-en: [ "adi,lo-en" ] 108 adi,lo-ppf-en: [ "adi,lo-en" ]
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | xfarray.c | 469 /* Each level of quicksort uses a lo and a hi index */ in xfarray_sortinfo_alloc() 544 xfarray_idx_t lo, in xfarray_isort() argument 548 loff_t lo_pos = xfarray_pos(si->array, lo); in xfarray_isort() 549 loff_t len = xfarray_pos(si->array, hi - lo + 1); in xfarray_isort() 552 trace_xfarray_isort(si, lo, hi); in xfarray_isort() 560 sort(scratch, hi - lo + 1, si->array->obj_size, si->cmp_fn, NULL); in xfarray_isort() 605 xfarray_idx_t lo, in xfarray_want_pagesort() argument 613 lo_page = xfarray_pos(si->array, lo) >> PAGE_SHIFT; in xfarray_want_pagesort() 624 xfarray_idx_t lo, in xfarray_pagesort() argument 628 loff_t lo_pos = xfarray_pos(si->array, lo); in xfarray_pagesort() [all …]
|
/openbmc/u-boot/arch/nios2/cpu/ |
H A D | start.S | 33 ori r4, r0, %lo(ICACHE_LINE_SIZE) 35 ori r5, r5, %lo(ICACHE_SIZE_MAX) 48 ori et, et, %lo(_exception) 62 ori r4, r0, %lo(DCACHE_LINE_SIZE_MIN) 64 ori r5, r5, %lo(DCACHE_SIZE_MAX) 78 ori r5, r5, %lo(_cur - _start) 82 ori r5, r5, %lo(_start) /* r5 <- linked _start */ 87 ori r6, r6, %lo(CONFIG_SYS_MONITOR_LEN) 98 ori r4, r4, %lo(_reloc) 111 ori r2, r2, %lo(debug_uart_init@h) [all …]
|