| /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_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 …]
|
| 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 …]
|
| /linux/drivers/block/ |
| H A D | loop.c | 110 static int loop_global_lock_killable(struct loop_device *lo, bool global) in loop_global_lock_killable() argument 119 err = mutex_lock_killable(&lo->lo_mutex); in loop_global_lock_killable() 131 static void loop_global_unlock(struct loop_device *lo, bool global) in loop_global_unlock() argument 133 mutex_unlock(&lo->lo_mutex); in loop_global_unlock() 141 static loff_t lo_calculate_size(struct loop_device *lo, struct file *file) in lo_calculate_size() argument 163 if (lo->lo_offset > 0) in lo_calculate_size() 164 loopsize -= lo->lo_offset; in lo_calculate_size() 168 if (lo->lo_sizelimit > 0 && lo->lo_sizelimit < loopsize) in lo_calculate_size() 169 loopsize = lo->lo_sizelimit; in lo_calculate_size() 182 static bool lo_can_use_dio(struct loop_device *lo) in lo_can_use_dio() argument [all …]
|
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp32.c | 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() 218 if (is_stacked(lo(reg))) { in bpf_put_reg32() 219 emit(rv_sw(RV_REG_FP, lo(reg), lo(src)), ctx); in bpf_put_reg32() [all …]
|
| /linux/arch/parisc/net/ |
| H A D | bpf_jit_comp32.c | 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() 265 emit(hppa_stw(lo(src), REG_SIZE * lo(reg), HPPA_REG_SP), ctx); in bpf_put_reg64() 283 if (is_stacked(lo(reg))) { in bpf_get_reg32() [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | utmath.c | 16 u32 lo; member 65 ACPI_MUL_64_BY_32(0, multiplicand_ovl.part.lo, multiplier, in acpi_ut_short_multiply() 66 product.part.lo, carry32); in acpi_ut_short_multiply() 100 operand_ovl.part.hi = operand_ovl.part.lo; in acpi_ut_short_shift_left() 101 operand_ovl.part.lo = 0; in acpi_ut_short_shift_left() 105 operand_ovl.part.lo, count); in acpi_ut_short_shift_left() 137 operand_ovl.part.lo = operand_ovl.part.hi; in acpi_ut_short_shift_right() 142 operand_ovl.part.lo, count); in acpi_ut_short_shift_right() 281 ACPI_DIV_64_BY_32(remainder32, dividend_ovl.part.lo, divisor, in acpi_ut_short_divide() 282 quotient.part.lo, remainder32); in acpi_ut_short_divide() [all …]
|
| /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 …]
|
| /linux/drivers/char/hw_random/ |
| H A D | via-rng.c | 132 u32 lo, hi, old_lo; in via_rng_init() local 153 rdmsr(MSR_VIA_RNG, lo, hi); in via_rng_init() 155 old_lo = lo; in via_rng_init() 156 lo &= ~(0x7f << VIA_STRFILT_CNT_SHIFT); in via_rng_init() 157 lo &= ~VIA_XSTORE_CNT_MASK; in via_rng_init() 158 lo &= ~(VIA_STRFILT_ENABLE | VIA_STRFILT_FAIL | VIA_RAWBITS_ENABLE); in via_rng_init() 159 lo |= VIA_RNG_ENABLE; in via_rng_init() 160 lo |= VIA_NOISESRC1; in via_rng_init() 166 lo |= VIA_NOISESRC2; in via_rng_init() 170 lo |= VIA_NOISESRC2; in via_rng_init() [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | xfarray.c | 543 xfarray_idx_t lo, in xfarray_isort() argument 547 loff_t lo_pos = xfarray_pos(si->array, lo); in xfarray_isort() 548 loff_t len = xfarray_pos(si->array, hi - lo + 1); in xfarray_isort() 551 trace_xfarray_isort(si, lo, hi); in xfarray_isort() 559 sort(scratch, hi - lo + 1, si->array->obj_size, si->cmp_fn, NULL); in xfarray_isort() 573 xfarray_idx_t lo, in xfarray_foliosort() argument 578 loff_t lo_pos = xfarray_pos(si->array, lo); in xfarray_foliosort() 579 uint64_t len = xfarray_pos(si->array, hi - lo + 1); in xfarray_foliosort() 592 trace_xfarray_foliosort(si, lo, hi); in xfarray_foliosort() 596 sort(startp, hi - lo + 1, si->array->obj_size, si->cmp_fn, NULL); in xfarray_foliosort() [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | trampoline_64.S | 109 1: ldstub [%g2 + %lo(prom_entry_lock)], %g1 117 or %g1, %lo(tramp_stack), %g1 131 ldx [%l4 + %lo(kern_locked_tte_data)], %l4 134 lduw [%l6 + %lo(num_kernel_image_mappings)], %l6 145 or %g2, %lo(call_method), %g2 152 or %g2, %lo(itlb_load), %g2 155 lduw [%g2 + %lo(prom_mmu_ihandle_cache)], %g2 171 or %g2, %lo(p1275buf), %g2 178 or %g2, %lo(call_method), %g2 185 or %g2, %lo(dtlb_load), %g2 [all …]
|
| /linux/tools/usb/usbip/ |
| H A D | .gitignore | 25 libsrc/libusbip_la-names.lo 26 libsrc/libusbip_la-sysfs_utils.lo 27 libsrc/libusbip_la-usbip_common.lo 28 libsrc/libusbip_la-usbip_device_driver.lo 29 libsrc/libusbip_la-usbip_host_common.lo 30 libsrc/libusbip_la-usbip_host_driver.lo 31 libsrc/libusbip_la-vhci_driver.lo
|
| /linux/lib/crypto/arm/ |
| H A D | sha512-armv4.pl | 57 $lo="LO"; 131 ldr $t2,[$Ktbl,#$lo] @ K[i].lo 293 ldr $Elo,[$ctx,#$Eoff+$lo] 295 ldr $t0, [$ctx,#$Goff+$lo] 297 ldr $t2, [$ctx,#$Hoff+$lo] 304 ldr $Alo,[$ctx,#$Aoff+$lo] 306 ldr $Tlo,[$ctx,#$Boff+$lo] 308 ldr $t0, [$ctx,#$Coff+$lo] 310 ldr $t2, [$ctx,#$Doff+$lo] 318 ldr $Tlo,[$ctx,#$Foff+$lo] [all …]
|
| /linux/include/linux/ |
| H A D | minmax.h | 181 #define __clamp(val, lo, hi) \ argument 182 ((val) >= (hi) ? (hi) : ((val) <= (lo) ? (lo) : (val))) 184 #define __clamp_once(type, val, lo, hi, uval, ulo, uhi) ({ \ argument 186 type ulo = (lo); \ 189 "clamp() low limit " #lo " greater than high limit " #hi); \ 191 "clamp("#val", "#lo", "#hi") signedness error"); \ 194 #define __careful_clamp(type, val, lo, hi) \ argument 195 __clamp_once(type, val, lo, hi, __UNIQUE_ID(v_), __UNIQUE_ID(l_), __UNIQUE_ID(h_)) 206 #define clamp(val, lo, hi) __careful_clamp(auto, val, lo, hi) argument 218 #define clamp_t(type, val, lo, hi) __careful_clamp(type, val, lo, hi) argument [all …]
|
| /linux/arch/mips/sgi-ip22/ |
| H A D | ip28-berr.c | 57 u32 lo; member 75 tag[0].lo = read_c0_taglo(); /* PA[35:18], VA[13:12] */ in save_cache_tags() 78 tag[1].lo = read_c0_taglo(); /* PA[35:18], VA[13:12] */ in save_cache_tags() 93 tag[0].lo = read_c0_taglo(); /* PA[35:12] */ in save_cache_tags() 96 tag[1].lo = read_c0_taglo(); /* PA[35:12] */ in save_cache_tags() 109 tag[0].lo = read_c0_taglo(); /* PA[35:12] */ in save_cache_tags() 112 tag[1].lo = read_c0_taglo(); /* PA[35:12] */ in save_cache_tags() 182 if ((cache_tags.tagd[i][0].lo & 0x0fffff00) != scw && in print_cache_tags() 183 (cache_tags.tagd[i][1].lo & 0x0fffff00) != scw) in print_cache_tags() 187 cache_tags.tagd[i][0].hi, cache_tags.tagd[i][0].lo, in print_cache_tags() [all …]
|
| /linux/scripts/ |
| H A D | cleanfile | 22 my($lo) = ''; 32 $lo .= "\t" x $ntab; 36 $lo .= " " x $nsp; 39 $lo .= $c; 44 $lo .= " " x $nsp; 47 $lo .= $c; 51 $lo .= " " x $nsp; 52 return $lo;
|
| /linux/arch/mips/loongson2ef/lemote-2f/ |
| H A D | reset.c | 44 u32 hi, lo; in fl2f_reboot() local 45 _rdmsr(DIVIL_MSR_REG(DIVIL_SOFT_RESET), &hi, &lo); in fl2f_reboot() 46 lo |= 0x00000001; in fl2f_reboot() 47 _wrmsr(DIVIL_MSR_REG(DIVIL_SOFT_RESET), hi, lo); in fl2f_reboot() 53 u32 hi, lo, val; in fl2f_shutdown() local 57 _rdmsr(DIVIL_MSR_REG(DIVIL_LBAR_GPIO), &hi, &lo); in fl2f_shutdown() 58 gpio_base = lo & 0xff00; in fl2f_shutdown()
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | lo.c | 27 static struct b43_lo_calib *b43_find_lo_calib(struct b43_txpower_lo_control *lo, in b43_find_lo_calib() argument 33 list_for_each_entry(c, &lo->calib_list, list) { in b43_find_lo_calib() 166 struct b43_txpower_lo_control *lo = gphy->lo_control; in lo_measure_txctl_values() local 239 lo->tx_bias = tx_bias; in lo_measure_txctl_values() 240 lo->tx_magn = tx_magn; in lo_measure_txctl_values() 243 if (lo->tx_bias == 0) in lo_measure_txctl_values() 248 & 0xFF00) | lo->tx_bias | lo-> in lo_measure_txctl_values() 252 lo->tx_magn = 0; in lo_measure_txctl_values() 253 lo->tx_bias = 0; in lo_measure_txctl_values() 256 lo->txctl_measured_time = jiffies; in lo_measure_txctl_values() [all …]
|
| /linux/arch/m68k/ifpsp060/src/ |
| H A D | ilsp.S | 76 # 0xc(sp) = lo(dividend) # 139 mov.l 0x10(%a6), %d6 # get dividend lo 165 # - is (hi(dividend) == 0 && (divisor <= lo(dividend))) ? (32-bit div) 170 tst.l %d6 # is (lo(dividend) == 0), too 173 cmp.l %d7,%d6 # is (divisor <= lo(dividend)) 449 # returns 64 bit result in %d5 (hi) %d6(lo). 452 # multiply hi,lo words of each factor to get 4 intermediate products 531 # | hi(mplier) * lo(mplicand) | # 534 # | lo(mplier) * hi(mplicand) | # 537 # --|-- | lo(mplier) * lo(mplicand) | # [all …]
|
| /linux/tools/memory-model/litmus-tests/ |
| H A D | MP+polockonce+poacquiresilsil.litmus | 15 P0(spinlock_t *lo, int *x) // Producer 17 spin_lock(lo); 19 spin_unlock(lo); 22 P1(spinlock_t *lo, int *x) // Consumer 29 r2 = spin_is_locked(lo); 30 r3 = spin_is_locked(lo);
|
| H A D | MP+polockmbonce+poacquiresilsil.litmus | 15 P0(spinlock_t *lo, int *x) // Producer 17 spin_lock(lo); 20 spin_unlock(lo); 23 P1(spinlock_t *lo, int *x) // Consumer 30 r2 = spin_is_locked(lo); 31 r3 = spin_is_locked(lo);
|
| /linux/tools/power/cpupower/debug/i386/ |
| H A D | centrino-decode.c | 29 unsigned int *lo, unsigned int *hi) in rdmsr() argument 36 *lo = *hi = 0; in rdmsr() 53 *lo = (uint32_t )(val & 0xffffffffull); in rdmsr() 77 unsigned int lo, hi; in decode_live() local 80 err = rdmsr(cpu, MSR_IA32_PERF_STATUS, &lo, &hi); in decode_live() 89 decode(lo); in decode_live()
|
| /linux/samples/seccomp/ |
| H A D | bpf-helper.h | 181 #define JEQ64(lo, hi, jt) \ argument 186 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (lo), 0, 2), \ 191 #define JNE64(lo, hi, jt) \ argument 196 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (lo), 2, 0), \ 201 #define JA64(lo, hi, jt) \ argument 206 BPF_JUMP(BPF_JMP+BPF_JSET+BPF_K, (lo), 0, 2), \ 211 #define JGE64(lo, hi, jt) \ argument 218 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, (lo), 0, 2), \ 223 #define JGT64(lo, hi, jt) \ argument 230 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, (lo), 0, 2), \ [all …]
|