Home
last modified time | relevance | path

Searched refs:lo (Results 1 – 25 of 661) sorted by relevance

12345678910>>...27

/Linux-v6.1/arch/mips/loongson2ef/common/cs5536/
Dcs5536_ide.c17 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 …]
Dcs5536_isa.c51 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 …]
Dcs5536_acc.c17 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 …]
Dcs5536_ohci.c17 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 …]
Dcs5536_ehci.c17 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-v6.1/drivers/block/
Dloop.c111 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()
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()
168 static void __loop_update_dio(struct loop_device *lo, bool dio) in __loop_update_dio() argument
170 struct file *file = lo->lo_backing_file; in __loop_update_dio()
192 if (queue_logical_block_size(lo->lo_queue) >= sb_bsize && in __loop_update_dio()
193 !(lo->lo_offset & dio_align) && in __loop_update_dio()
[all …]
/Linux-v6.1/fs/nfs/
Dpnfs.c57 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 …]
Dcallback_proc.c133 struct pnfs_layout_hdr *lo; in nfs_layout_find_inode_by_stateid() local
137 list_for_each_entry_rcu(lo, &server->layouts, plh_layouts) { in nfs_layout_find_inode_by_stateid()
138 if (!pnfs_layout_is_valid(lo)) in nfs_layout_find_inode_by_stateid()
140 if (!nfs4_stateid_match_other(stateid, &lo->plh_stateid)) in nfs_layout_find_inode_by_stateid()
143 inode = igrab(lo->plh_inode); in nfs_layout_find_inode_by_stateid()
169 struct pnfs_layout_hdr *lo; in nfs_layout_find_inode_by_fh() local
173 list_for_each_entry_rcu(lo, &server->layouts, plh_layouts) { in nfs_layout_find_inode_by_fh()
174 nfsi = NFS_I(lo->plh_inode); in nfs_layout_find_inode_by_fh()
177 if (nfsi->layout != lo) in nfs_layout_find_inode_by_fh()
180 inode = igrab(lo->plh_inode); in nfs_layout_find_inode_by_fh()
[all …]
/Linux-v6.1/block/
Dbadblocks.c57 int lo; in badblocks_check() local
73 lo = 0; 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()
99 if (hi > lo) { in badblocks_check()
103 while (lo >= 0 && in badblocks_check()
104 BB_OFFSET(p[lo]) + BB_LEN(p[lo]) > s) { in badblocks_check()
105 if (BB_OFFSET(p[lo]) < target) { in badblocks_check()
109 if (rv != -1 && BB_ACK(p[lo])) in badblocks_check()
[all …]
/Linux-v6.1/arch/riscv/net/
Dbpf_jit_comp32.c106 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-v6.1/drivers/acpi/acpica/
Dutmath.c16 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-v6.1/arch/mips/net/
Dbpf_jit_comp32.c144 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-v6.1/arch/csky/kernel/
Dperf_event.c92 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 …]
/Linux-v6.1/drivers/char/hw_random/
Dvia-rng.c132 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-v6.1/drivers/cpufreq/
De_powersaver.c94 u32 lo, hi; in eps_get() local
103 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_get()
104 return centaur->fsb * ((lo >> 8) & 0xff); in eps_get()
111 u32 lo, hi; in eps_set_state() local
115 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state()
117 while (lo & ((1 << 16) | (1 << 17))) { in eps_set_state()
119 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state()
131 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state()
136 } while (lo & ((1 << 16) | (1 << 17))); in eps_set_state()
143 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state()
[all …]
/Linux-v6.1/arch/x86/kernel/cpu/
Dcentaur.c24 u32 lo, hi; in init_c3() local
32 rdmsr(MSR_VIA_FCR, lo, hi); in init_c3()
33 lo |= ACE_FCR; /* enable ACE unit */ in init_c3()
34 wrmsr(MSR_VIA_FCR, lo, hi); in init_c3()
40 rdmsr(MSR_VIA_RNG, lo, hi); in init_c3()
41 lo |= RNG_ENABLE; /* enable RNG unit */ in init_c3()
42 wrmsr(MSR_VIA_RNG, lo, hi); in init_c3()
54 rdmsr(MSR_VIA_FCR, lo, hi); in init_c3()
55 lo |= (1<<1 | 1<<7); in init_c3()
56 wrmsr(MSR_VIA_FCR, lo, hi); in init_c3()
[all …]
/Linux-v6.1/crypto/
Dfcrypt.c58 #define ror56(hi, lo, n) \ argument
60 u32 t = lo & ((1 << n) - 1); \
61 lo = (lo >> n) | ((hi & ((1 << n) - 1)) << (32 - n)); \
347 u32 hi, lo; /* hi is upper 24 bits and lo lower 32, total 56 */ in fcrypt_setkey() local
350 lo = (*key++) >> 1; in fcrypt_setkey()
351 lo <<= 7; in fcrypt_setkey()
352 lo |= (*key++) >> 1; in fcrypt_setkey()
353 lo <<= 7; in fcrypt_setkey()
354 lo |= (*key++) >> 1; in fcrypt_setkey()
355 lo <<= 7; in fcrypt_setkey()
[all …]
/Linux-v6.1/arch/sparc/kernel/
Dtrampoline_64.S109 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 …]
Dsys32.S19 jmpl %g1 + %lo(sys_mmap), %g0
32 or %g2, %lo(__socketcall_table_begin), %g2
47 jmpl %g1 + %lo(sys_socket), %g0
56 jmpl %g1 + %lo(sys_bind), %g0
65 jmpl %g1 + %lo(sys_connect), %g0
73 jmpl %g1 + %lo(sys_listen), %g0
83 jmpl %g1 + %lo(sys_accept), %g0
92 jmpl %g1 + %lo(sys_getsockname), %g0
101 jmpl %g1 + %lo(sys_getpeername), %g0
111 jmpl %g1 + %lo(sys_socketpair), %g0
[all …]
/Linux-v6.1/drivers/net/dsa/b53/
Db53_mmap.c83 u16 lo; in b53_mmap_read48() local
87 lo = ioread16be(regs + (page << 8) + reg); in b53_mmap_read48()
90 lo = readw(regs + (page << 8) + reg); in b53_mmap_read48()
94 *val = ((u64)hi << 16) | lo; in b53_mmap_read48()
96 u32 lo; in b53_mmap_read48() local
100 lo = ioread32be(regs + (page << 8) + reg); in b53_mmap_read48()
103 lo = readl(regs + (page << 8) + reg); in b53_mmap_read48()
107 *val = ((u64)hi << 32) | lo; in b53_mmap_read48()
117 u32 hi, lo; in b53_mmap_read64() local
123 lo = ioread32be(regs + (page << 8) + reg); in b53_mmap_read64()
[all …]
/Linux-v6.1/tools/usb/usbip/
D.gitignore25 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-v6.1/arch/arm/crypto/
Dsha512-armv4.pl57 $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-v6.1/arch/mips/sgi-ip22/
Dip28-berr.c57 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-v6.1/scripts/
Dcleanfile22 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-v6.1/arch/mips/loongson2ef/lemote-2f/
Dreset.c44 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()

12345678910>>...27