Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v4.19/arch/mips/loongson64/common/cs5536/
Dcs5536_ide.c21 u32 hi = 0, lo = value; in pci_ide_write_reg() local
25 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); in pci_ide_write_reg()
27 lo |= (0x03 << 4); in pci_ide_write_reg()
29 lo &= ~(0x03 << 4); in pci_ide_write_reg()
30 _wrmsr(GLIU_MSR_REG(GLIU_PAE), hi, lo); in pci_ide_write_reg()
34 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_ide_write_reg()
35 if (lo & SB_PARE_ERR_FLAG) { in pci_ide_write_reg()
36 lo = (lo & 0x0000ffff) | SB_PARE_ERR_FLAG; in pci_ide_write_reg()
37 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ide_write_reg()
43 _rdmsr(SB_MSR_REG(SB_CTRL), &hi, &lo); in pci_ide_write_reg()
[all …]
Dcs5536_acc.c21 u32 hi = 0, lo = value; in pci_acc_write_reg() local
25 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); in pci_acc_write_reg()
27 lo |= (0x03 << 8); in pci_acc_write_reg()
29 lo &= ~(0x03 << 8); in pci_acc_write_reg()
30 _wrmsr(GLIU_MSR_REG(GLIU_PAE), hi, lo); in pci_acc_write_reg()
34 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_acc_write_reg()
35 if (lo & SB_PARE_ERR_FLAG) { in pci_acc_write_reg()
36 lo = (lo & 0x0000ffff) | SB_PARE_ERR_FLAG; in pci_acc_write_reg()
37 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_acc_write_reg()
43 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); in pci_acc_write_reg()
[all …]
Dcs5536_isa.c55 u32 hi, lo; in divil_lbar_enable() local
63 _rdmsr(DIVIL_MSR_REG(offset), &hi, &lo); in divil_lbar_enable()
65 _wrmsr(DIVIL_MSR_REG(offset), hi, lo); in divil_lbar_enable()
74 u32 hi, lo; in divil_lbar_disable() local
78 _rdmsr(DIVIL_MSR_REG(offset), &hi, &lo); in divil_lbar_disable()
80 _wrmsr(DIVIL_MSR_REG(offset), hi, lo); in divil_lbar_disable()
90 u32 hi = 0, lo = value; in pci_isa_write_bar() local
93 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); in pci_isa_write_bar()
94 lo |= soft_bar_flag[n]; in pci_isa_write_bar()
95 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); in pci_isa_write_bar()
[all …]
Dcs5536_ohci.c21 u32 hi = 0, lo = value; in pci_ohci_write_reg() local
25 _rdmsr(USB_MSR_REG(USB_OHCI), &hi, &lo); in pci_ohci_write_reg()
35 _wrmsr(USB_MSR_REG(USB_OHCI), hi, lo); in pci_ohci_write_reg()
39 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_ohci_write_reg()
40 if (lo & SB_PARE_ERR_FLAG) { in pci_ohci_write_reg()
41 lo = (lo & 0x0000ffff) | SB_PARE_ERR_FLAG; in pci_ohci_write_reg()
42 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ohci_write_reg()
48 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); in pci_ohci_write_reg()
49 lo |= SOFT_BAR_OHCI_FLAG; in pci_ohci_write_reg()
50 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); in pci_ohci_write_reg()
[all …]
Dcs5536_ehci.c21 u32 hi = 0, lo = value; in pci_ehci_write_reg() local
25 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); in pci_ehci_write_reg()
35 _wrmsr(USB_MSR_REG(USB_EHCI), hi, lo); in pci_ehci_write_reg()
39 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_ehci_write_reg()
40 if (lo & SB_PARE_ERR_FLAG) { in pci_ehci_write_reg()
41 lo = (lo & 0x0000ffff) | SB_PARE_ERR_FLAG; in pci_ehci_write_reg()
42 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ehci_write_reg()
48 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); in pci_ehci_write_reg()
49 lo |= SOFT_BAR_EHCI_FLAG; in pci_ehci_write_reg()
50 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); in pci_ehci_write_reg()
[all …]
/Linux-v4.19/drivers/block/
Dloop.c91 static int transfer_xor(struct loop_device *lo, int cmd, in transfer_xor() argument
109 key = lo->lo_encrypt_key; in transfer_xor()
110 keysize = lo->lo_encrypt_key_size; in transfer_xor()
120 static int xor_init(struct loop_device *lo, const struct loop_info64 *info) in xor_init() argument
164 static loff_t get_loop_size(struct loop_device *lo, struct file *file) in get_loop_size() argument
166 return get_size(lo->lo_offset, lo->lo_sizelimit, file); in get_loop_size()
169 static void __loop_update_dio(struct loop_device *lo, bool dio) in __loop_update_dio() argument
171 struct file *file = lo->lo_backing_file; in __loop_update_dio()
194 if (queue_logical_block_size(lo->lo_queue) >= sb_bsize && in __loop_update_dio()
195 !(lo->lo_offset & dio_align) && in __loop_update_dio()
[all …]
/Linux-v4.19/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,
253 pnfs_get_layout_hdr(struct pnfs_layout_hdr *lo) in pnfs_get_layout_hdr() argument
255 refcount_inc(&lo->plh_refcount); in pnfs_get_layout_hdr()
266 pnfs_free_layout_hdr(struct pnfs_layout_hdr *lo) in pnfs_free_layout_hdr() argument
268 struct nfs_server *server = NFS_SERVER(lo->plh_inode); in pnfs_free_layout_hdr()
271 if (!list_empty(&lo->plh_layouts)) { in pnfs_free_layout_hdr()
275 list_del_init(&lo->plh_layouts); in pnfs_free_layout_hdr()
278 put_rpccred(lo->plh_lc_cred); in pnfs_free_layout_hdr()
279 return ld->free_layout_hdr(lo); in pnfs_free_layout_hdr()
[all …]
/Linux-v4.19/block/
Dbadblocks.c65 int lo; in badblocks_check() local
82 lo = 0; in badblocks_check()
94 while (hi - lo > 1) { in badblocks_check()
95 int mid = (lo + hi) / 2; in badblocks_check()
102 lo = mid; in badblocks_check()
108 if (hi > lo) { in badblocks_check()
112 while (lo >= 0 && in badblocks_check()
113 BB_OFFSET(p[lo]) + BB_LEN(p[lo]) > s) { in badblocks_check()
114 if (BB_OFFSET(p[lo]) < target) { in badblocks_check()
118 if (rv != -1 && BB_ACK(p[lo])) in badblocks_check()
[all …]
/Linux-v4.19/arch/ia64/lib/
Dcarta_random.S16 #define lo r8 macro
31 zxt4 lo = t0
39 add lo = lo, t0
41 cmp.gtu p6, p0 = lo, m
43 (p6) and lo = lo, m
45 (p6) add lo = 1, lo
47 add lo = lo, t1
49 cmp.gtu p6, p0 = lo, m
51 (p6) and lo = lo, m
53 (p6) add lo = 1, lo
/Linux-v4.19/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-v4.19/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-v4.19/drivers/cpufreq/
De_powersaver.c95 u32 lo, hi; in eps_get() local
104 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_get()
105 return centaur->fsb * ((lo >> 8) & 0xff); in eps_get()
112 u32 lo, hi; in eps_set_state() local
116 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state()
118 while (lo & ((1 << 16) | (1 << 17))) { in eps_set_state()
120 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state()
132 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state()
137 } while (lo & ((1 << 16) | (1 << 17))); in eps_set_state()
144 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state()
[all …]
/Linux-v4.19/arch/x86/kernel/cpu/
Dcentaur.c30 u32 lo, hi; in init_c3() local
38 rdmsr(MSR_VIA_FCR, lo, hi); in init_c3()
39 lo |= ACE_FCR; /* enable ACE unit */ in init_c3()
40 wrmsr(MSR_VIA_FCR, lo, hi); in init_c3()
46 rdmsr(MSR_VIA_RNG, lo, hi); in init_c3()
47 lo |= RNG_ENABLE; /* enable RNG unit */ in init_c3()
48 wrmsr(MSR_VIA_RNG, lo, hi); in init_c3()
60 rdmsr(MSR_VIA_FCR, lo, hi); in init_c3()
61 lo |= (1<<1 | 1<<7); in init_c3()
62 wrmsr(MSR_VIA_FCR, lo, hi); in init_c3()
[all …]
/Linux-v4.19/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)); \
350 u32 hi, lo; /* hi is upper 24 bits and lo lower 32, total 56 */ in fcrypt_setkey() local
353 lo = (*key++) >> 1; in fcrypt_setkey()
354 lo <<= 7; in fcrypt_setkey()
355 lo |= (*key++) >> 1; in fcrypt_setkey()
356 lo <<= 7; in fcrypt_setkey()
357 lo |= (*key++) >> 1; in fcrypt_setkey()
358 lo <<= 7; in fcrypt_setkey()
[all …]
/Linux-v4.19/drivers/net/dsa/b53/
Db53_mmap.c82 u16 lo; in b53_mmap_read48() local
86 lo = ioread16be(regs + (page << 8) + reg); in b53_mmap_read48()
89 lo = readw(regs + (page << 8) + reg); in b53_mmap_read48()
93 *val = ((u64)hi << 16) | lo; in b53_mmap_read48()
95 u32 lo; in b53_mmap_read48() local
99 lo = ioread32be(regs + (page << 8) + reg); in b53_mmap_read48()
102 lo = readl(regs + (page << 8) + reg); in b53_mmap_read48()
106 *val = ((u64)hi << 32) | lo; in b53_mmap_read48()
116 u32 hi, lo; in b53_mmap_read64() local
122 lo = ioread32be(regs + (page << 8) + reg); in b53_mmap_read64()
[all …]
/Linux-v4.19/tools/usb/usbip/
D.gitignore24 libsrc/libusbip_la-names.lo
25 libsrc/libusbip_la-sysfs_utils.lo
26 libsrc/libusbip_la-usbip_common.lo
27 libsrc/libusbip_la-usbip_device_driver.lo
28 libsrc/libusbip_la-usbip_host_common.lo
29 libsrc/libusbip_la-usbip_host_driver.lo
30 libsrc/libusbip_la-vhci_driver.lo
/Linux-v4.19/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-v4.19/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-v4.19/arch/mips/loongson64/lemote-2f/
Dreset.c48 u32 hi, lo; in fl2f_reboot() local
49 _rdmsr(DIVIL_MSR_REG(DIVIL_SOFT_RESET), &hi, &lo); in fl2f_reboot()
50 lo |= 0x00000001; in fl2f_reboot()
51 _wrmsr(DIVIL_MSR_REG(DIVIL_SOFT_RESET), hi, lo); in fl2f_reboot()
57 u32 hi, lo, val; in fl2f_shutdown() local
61 _rdmsr(DIVIL_MSR_REG(DIVIL_LBAR_GPIO), &hi, &lo); in fl2f_shutdown()
62 gpio_base = lo & 0xff00; in fl2f_shutdown()
/Linux-v4.19/arch/mips/sgi-ip22/
Dip28-berr.c56 u32 lo; member
74 tag[0].lo = read_c0_taglo(); /* PA[35:18], VA[13:12] */ in save_cache_tags()
77 tag[1].lo = read_c0_taglo(); /* PA[35:18], VA[13:12] */ in save_cache_tags()
92 tag[0].lo = read_c0_taglo(); /* PA[35:12] */ in save_cache_tags()
95 tag[1].lo = read_c0_taglo(); /* PA[35:12] */ in save_cache_tags()
108 tag[0].lo = read_c0_taglo(); /* PA[35:12] */ in save_cache_tags()
111 tag[1].lo = read_c0_taglo(); /* PA[35:12] */ in save_cache_tags()
181 if ((cache_tags.tagd[i][0].lo & 0x0fffff00) != scw && in print_cache_tags()
182 (cache_tags.tagd[i][1].lo & 0x0fffff00) != scw) in print_cache_tags()
186 cache_tags.tagd[i][0].hi, cache_tags.tagd[i][0].lo, in print_cache_tags()
[all …]
/Linux-v4.19/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-v4.19/arch/x86/kernel/cpu/mcheck/
Dwinchip.c30 u32 lo, hi; in winchip_mcheck_init() local
36 rdmsr(MSR_IDT_FCR1, lo, hi); in winchip_mcheck_init()
37 lo |= (1<<2); /* Enable EIERRINT (int 18 MCE) */ in winchip_mcheck_init()
38 lo &= ~(1<<4); /* Enable MCE */ in winchip_mcheck_init()
39 wrmsr(MSR_IDT_FCR1, lo, hi); in winchip_mcheck_init()
/Linux-v4.19/tools/memory-model/litmus-tests/
DMP+polockonce+poacquiresilsil.litmus16 P0(spinlock_t *lo, int *x)
18 spin_lock(lo);
20 spin_unlock(lo);
23 P1(spinlock_t *lo, int *x)
30 r2 = spin_is_locked(lo);
31 r3 = spin_is_locked(lo);
/Linux-v4.19/drivers/net/wireless/broadcom/b43/
Dlo.c40 static struct b43_lo_calib *b43_find_lo_calib(struct b43_txpower_lo_control *lo, in b43_find_lo_calib() argument
46 list_for_each_entry(c, &lo->calib_list, list) { in b43_find_lo_calib()
179 struct b43_txpower_lo_control *lo = gphy->lo_control; in lo_measure_txctl_values() local
252 lo->tx_bias = tx_bias; in lo_measure_txctl_values()
253 lo->tx_magn = tx_magn; in lo_measure_txctl_values()
256 if (lo->tx_bias == 0) in lo_measure_txctl_values()
261 & 0xFF00) | lo->tx_bias | lo-> in lo_measure_txctl_values()
265 lo->tx_magn = 0; in lo_measure_txctl_values()
266 lo->tx_bias = 0; in lo_measure_txctl_values()
269 lo->txctl_measured_time = jiffies; in lo_measure_txctl_values()
[all …]

12345678910>>...20