/linux/arch/x86/kernel/ |
H A D | tsc_msr.c | 168 u32 lo, hi, ratio, freq, tscref; in cpu_khz_from_msr() local 181 rdmsr(MSR_PLATFORM_INFO, lo, hi); in cpu_khz_from_msr() 184 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in cpu_khz_from_msr() 185 ratio = (hi >> 8) & 0x1f; in cpu_khz_from_msr() 189 rdmsr(MSR_FSB_FREQ, lo, hi); in cpu_khz_from_msr()
|
/linux/arch/sparc/kernel/ |
H A D | ktlb.S | 34 sethi %hi(PAGE_SIZE), %g5 42 sethi %hi(LOW_OBP_ADDRESS), %g5 119 sethi %hi(kern_linear_pte_xor), %g7 204 sethi %hi(PAGE_SIZE), %g5 211 sethi %hi(VMEMMAP_BASE), %g5 221 sethi %hi(MODULES_VADDR), %g5 224 sethi %hi(VMALLOC_END), %g5 231 sethi %hi(LOW_OBP_ADDRESS), %g5
|
H A D | sun4v_tlb_miss.S | 204 sethi %hi(sun4v_err_itlb_vaddr), %g1 206 sethi %hi(sun4v_err_itlb_ctx), %g1 210 sethi %hi(sun4v_err_itlb_pte), %g1 212 sethi %hi(sun4v_err_itlb_error), %g1 215 sethi %hi(1f), %g7 231 sethi %hi(sun4v_err_dtlb_vaddr), %g1 233 sethi %hi(sun4v_err_dtlb_ctx), %g1 237 sethi %hi(sun4v_err_dtlb_pte), %g1 239 sethi %hi(sun4v_err_dtlb_error), %g1 242 sethi %hi(1f), %g7 [all …]
|
H A D | trampoline_32.S | 30 sethi %hi(trapbase_cpu1), %g3 35 sethi %hi(trapbase_cpu2), %g3 40 sethi %hi(trapbase_cpu3), %g3 65 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 126 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 182 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp
|
/linux/arch/sparc/lib/ |
H A D | NGpatch.S | 10 sethi %hi(NEW), %g1; \ 12 sethi %hi(OLD), %g2; \ 15 sethi %hi(BRANCH_ALWAYS), %g3; \ 21 sethi %hi(NOP), %g3; \
|
H A D | GENpatch.S | 10 sethi %hi(NEW), %g1; \ 12 sethi %hi(OLD), %g2; \ 15 sethi %hi(BRANCH_ALWAYS), %g3; \ 21 sethi %hi(NOP), %g3; \
|
H A D | U3patch.S | 10 sethi %hi(NEW), %g1; \ 12 sethi %hi(OLD), %g2; \ 15 sethi %hi(BRANCH_ALWAYS), %g3; \ 21 sethi %hi(NOP), %g3; \
|
H A D | NG2patch.S | 10 sethi %hi(NEW), %g1; \ 12 sethi %hi(OLD), %g2; \ 15 sethi %hi(BRANCH_ALWAYS), %g3; \ 21 sethi %hi(NOP), %g3; \
|
H A D | M7patch.S | 12 sethi %hi(NEW), %g1; \ 14 sethi %hi(OLD), %g2; \ 17 sethi %hi(BRANCH_ALWAYS), %g3; \ 23 sethi %hi(NOP), %g3; \
|
H A D | copy_page.S | 52 sethi %hi(PAGE_OFFSET), %g2 53 sethi %hi(PAGE_SIZE), %o3 56 sethi %hi(PAGE_KERNEL_LOCKED), %g3 67 sethi %hi(TLBTEMP_BASE), %o3 69 sethi %hi(DCACHE_SIZE), %o1 97 sethi %hi((PAGE_SIZE/64)-2), %o2 183 sethi %hi(PAGE_SIZE), %o2 235 sethi %hi(DCACHE_SIZE), %g2 246 sethi %hi(0x01000000), %o1 ! NOP 247 sethi %hi(cheetah_copy_page_insn), %o0
|
H A D | hweight.S | 8 sethi %hi(__sw_hweight8), %g1 21 sethi %hi(__sw_hweight16), %g1 34 sethi %hi(__sw_hweight32), %g1 47 sethi %hi(__sw_hweight64), %g1
|
H A D | mcount.S | 30 sethi %hi(ftrace_trace_function), %g1 31 sethi %hi(ftrace_stub), %g2 46 sethi %hi(ftrace_graph_return), %g1 50 sethi %hi(ftrace_graph_entry_stub), %g2 51 sethi %hi(ftrace_graph_entry), %g1
|
H A D | NG4patch.S | 12 sethi %hi(NEW), %g1; \ 14 sethi %hi(OLD), %g2; \ 17 sethi %hi(BRANCH_ALWAYS), %g3; \ 23 sethi %hi(NOP), %g3; \
|
/linux/arch/powerpc/include/asm/vdso/ |
H A D | gettimeofday.h | 121 u32 hi = ns >> 32; in vdso_shift_ns() local 125 lo |= hi << (32 - shift); in vdso_shift_ns() 126 hi >>= shift; in vdso_shift_ns() 128 if (likely(hi == 0)) in vdso_shift_ns() 131 return ((u64)hi << 32) | lo; in vdso_shift_ns()
|
/linux/drivers/scsi/qedf/ |
H A D | drv_scsi_fw_funcs.c | 27 val = cpu_to_le32(sgl_task_params->sgl_phys_addr.hi); in init_scsi_sgl_context() 28 ctx_sgl_params->sgl_addr.hi = val; in init_scsi_sgl_context() 36 val = cpu_to_le32(sgl_task_params->sgl[sge_index].sge_addr.hi); in init_scsi_sgl_context() 37 ctx_data_desc->sge[sge_index].sge_addr.hi = val; in init_scsi_sgl_context()
|
/linux/crypto/ |
H A D | fcrypt.c | 58 #define ror56(hi, lo, n) \ argument 61 lo = (lo >> n) | ((hi & ((1 << n) - 1)) << (32 - n)); \ 62 hi = (hi >> n) | (t << (24-n)); \ 347 u32 hi, lo; /* hi is upper 24 bits and lo lower 32, total 56 */ in fcrypt_setkey() local 357 hi = lo >> 4; in fcrypt_setkey() 369 ctx->sched[0x0] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey() 370 ctx->sched[0x1] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey() 371 ctx->sched[0x2] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey() 372 ctx->sched[0x3] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey() 373 ctx->sched[0x4] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey() [all …]
|
/linux/arch/sparc/mm/ |
H A D | hypersparc.S | 29 sethi %hi(vac_cache_size), %g4 31 sethi %hi(vac_line_size), %g1 49 sethi %hi(vac_line_size), %g1 51 sethi %hi(vac_cache_size), %g2 87 sethi %hi(vac_line_size), %g1 89 sethi %hi(vac_cache_size), %g2 176 sethi %hi(vac_line_size), %g1 224 sethi %hi(vac_line_size), %g1 297 sethi %hi(~((1 << PGDIR_SHIFT) - 1)), %o4 386 sethi %hi(bzero_1page), %o0 [all …]
|
/linux/arch/x86/kernel/cpu/mce/ |
H A D | amd.c | 384 static int lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi) in lvt_off_valid() argument 386 int msr = (hi & MASK_LVTOFF_HI) >> 20; in lvt_off_valid() 391 b->bank, b->block, b->address, hi, lo); in lvt_off_valid() 406 b->cpu, apic, b->bank, b->block, b->address, hi, lo); in lvt_off_valid() 417 u32 hi, lo; in threshold_restart_bank() local 423 rdmsr(tr->b->address, lo, hi); in threshold_restart_bank() 425 if (tr->b->threshold_limit < (hi & THRESHOLD_MAX)) in threshold_restart_bank() 429 hi = in threshold_restart_bank() 430 (hi & ~(MASK_ERR_COUNT_HI | MASK_OVERFLOW_HI)) | in threshold_restart_bank() 433 int new_count = (hi & THRESHOLD_MAX) + in threshold_restart_bank() [all …]
|
H A D | winchip.c | 31 u32 lo, hi; in winchip_mcheck_init() local 33 rdmsr(MSR_IDT_FCR1, lo, hi); in winchip_mcheck_init() 36 wrmsr(MSR_IDT_FCR1, lo, hi); in winchip_mcheck_init()
|
/linux/drivers/md/ |
H A D | md-cluster.c | 34 __le64 hi; member 268 sector_t lo, sector_t hi) in add_resync_info() argument 274 ri->hi = cpu_to_le64(hi); in add_resync_info() 286 if (le64_to_cpu(ri.hi) > 0) { in read_resync_info() 287 cinfo->suspend_hi = le64_to_cpu(ri.hi); in read_resync_info() 302 sector_t lo, hi; in recover_bitmaps() local 320 ret = mddev->bitmap_ops->copy_from_slot(mddev, slot, &lo, &hi, true); in recover_bitmaps() 339 if (hi > 0) { in recover_bitmaps() 453 int slot, sector_t lo, sector_t hi) in process_suspend_info() argument 459 if (!hi) { in process_suspend_info() [all …]
|
/linux/arch/arm/mach-orion5x/ |
H A D | tsx09-common.c | 68 int hi; in qnap_tsx09_parse_hex_byte() local 71 hi = qnap_tsx09_parse_hex_nibble(b[0]); in qnap_tsx09_parse_hex_byte() 74 if (hi < 0 || lo < 0) in qnap_tsx09_parse_hex_byte() 77 return (hi << 4) | lo; in qnap_tsx09_parse_hex_byte()
|
/linux/tools/testing/selftests/net/ |
H A D | ip_local_port_range.c | 23 static __u32 pack_port_range(__u16 lo, __u16 hi) in pack_port_range() argument 25 return (hi << 16) | (lo << 0); in pack_port_range() 28 static void unpack_port_range(__u32 range, __u16 *lo, __u16 *hi) in unpack_port_range() argument 31 *hi = range >> 16; in unpack_port_range() 419 __u16 lo, hi; in TEST_F() local 430 unpack_port_range(range, &lo, &hi); in TEST_F() 432 ASSERT_EQ(hi, 0) TH_LOG("unexpected high port"); in TEST_F() 442 unpack_port_range(range, &lo, &hi); in TEST_F() 444 ASSERT_EQ(hi, 54321) TH_LOG("unexpected high port"); in TEST_F() 455 unpack_port_range(range, &lo, &hi); in TEST_F() [all …]
|
/linux/arch/powerpc/lib/ |
H A D | div64.S | 22 divwu r7,r5,r4 # if dividend.hi >= divisor, 23 mullw r0,r7,r4 # quotient.hi = dividend.hi / divisor 24 subf. r5,r0,r5 # dividend.hi %= divisor 26 1: mr r11,r5 # here dividend.hi != 0
|
/linux/arch/alpha/kernel/ |
H A D | module.c | 156 unsigned long value, hi, lo; in apply_relocate_add() local 185 hi = got + r_got_offset; in apply_relocate_add() 186 lo = hi - gp; in apply_relocate_add() 190 *(u64 *)hi = value; in apply_relocate_add() 197 hi = (int)(value - lo); in apply_relocate_add() 198 if (hi + lo != value) in apply_relocate_add() 200 *(u16 *)location = hi >> 16; in apply_relocate_add()
|
/linux/arch/nios2/include/asm/ |
H A D | asm-macros.h | 22 movhi \reg1, %hi(\mask) 29 andhi \reg1, \reg2, %hi(\mask) 42 orhi \reg1, \reg2, %hi(\mask) 48 orhi \reg1, \reg2, %hi(\mask) 61 xorhi \reg1, \reg2, %hi(\mask) 67 xorhi \reg1, \reg2, %hi(\mask)
|