Home
last modified time | relevance | path

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

12345678910>>...46

/OK3568_Linux_fs/kernel/drivers/block/
H A Dloop.c92 static int transfer_xor(struct loop_device *lo, int cmd, in transfer_xor() argument
110 key = lo->lo_encrypt_key; in transfer_xor()
111 keysize = lo->lo_encrypt_key_size; in transfer_xor()
121 static int xor_init(struct loop_device *lo, const struct loop_info64 *info) in xor_init() argument
165 static loff_t get_loop_size(struct loop_device *lo, struct file *file) in get_loop_size() argument
167 return get_size(lo->lo_offset, lo->lo_sizelimit, file); in get_loop_size()
170 static void __loop_update_dio(struct loop_device *lo, bool dio) in __loop_update_dio() argument
172 struct file *file = lo->lo_backing_file; in __loop_update_dio()
195 if (queue_logical_block_size(lo->lo_queue) >= sb_bsize && in __loop_update_dio()
196 !(lo->lo_offset & dio_align) && in __loop_update_dio()
[all …]
/OK3568_Linux_fs/kernel/arch/mips/loongson2ef/common/cs5536/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/fs/nfs/
H A 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 …]
/OK3568_Linux_fs/u-boot/arch/x86/cpu/ivybridge/
H A Dmodel_206ax.c44 if (msr.lo & (1 << 0)) { in enable_vmx()
56 msr.lo = 0; in enable_vmx()
77 msr.lo |= (1 << 2); in enable_vmx()
79 msr.lo |= (1 << 1); in enable_vmx()
173 if (!(msr.lo & PLATFORM_INFO_SET_TDP)) in set_power_limits()
178 power_unit = 2 << ((msr.lo & 0xf) - 1); in set_power_limits()
182 tdp = msr.lo & 0x7fff; in set_power_limits()
183 min_power = (msr.lo >> 16) & 0x7fff; in set_power_limits()
201 limit.lo = 0; in set_power_limits()
202 limit.lo |= tdp & PKG_POWER_LIMIT_MASK; in set_power_limits()
[all …]
/OK3568_Linux_fs/kernel/arch/riscv/net/
H A 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 …]
/OK3568_Linux_fs/kernel/block/
H A Dbadblocks.c57 int lo; in badblocks_check() local
74 lo = 0; in badblocks_check()
86 while (hi - lo > 1) { in badblocks_check()
87 int mid = (lo + hi) / 2; in badblocks_check()
94 lo = mid; in badblocks_check()
100 if (hi > lo) { in badblocks_check()
104 while (lo >= 0 && in badblocks_check()
105 BB_OFFSET(p[lo]) + BB_LEN(p[lo]) > s) { in badblocks_check()
106 if (BB_OFFSET(p[lo]) < target) { in badblocks_check()
110 if (rv != -1 && BB_ACK(p[lo])) in badblocks_check()
[all …]
/OK3568_Linux_fs/u-boot/arch/x86/cpu/broadwell/
H A Dcpu.c113 perf_ctl.lo = (msr.lo & 0xff) << 8; in set_max_freq()
117 perf_ctl.lo = msr.lo & 0xff00; in set_max_freq()
124 ((perf_ctl.lo >> 8) & 0xff) * CPU_BCLK); in set_max_freq()
279 msr.lo &= ~0xff000000; in initialize_vr_config()
282 msr.lo |= (min_vid & 0xff) << 24; in initialize_vr_config()
287 msr.lo &= ~0xffff; in initialize_vr_config()
293 msr.lo |= 0x006a; /* 1.56V */ in initialize_vr_config()
295 msr.lo |= 0x006f; /* 1.60V */ in initialize_vr_config()
417 perf_ctl.lo = (msr.lo & 0xff) << 8; in set_max_ratio()
421 perf_ctl.lo = (msr.lo & 0xff) << 8; in set_max_ratio()
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/acpica/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/csky/kernel/
H A 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 …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/agic/
H A Drk_aiq_algo_agic_v1.cpp18 #define INTERPOLATION(ratio, hi, lo) (((ratio) * ((hi) - (lo)) + (lo) * (1 << 4) + (1 << 3)) >> … argument
19 #define INTERPOLATION_F(ratioF, hi, lo) ((ratioF) * ((hi) - (lo)) + (lo)) argument
64 const rkaiq_gic_v1_param_selected_t* lo = &auto_params[index];
67 selected->iso = lo->iso;
68 selected->bypass = lo->bypass;
69 selected->gr_ratio = lo->gr_ratio;
70 selected->min_busy_thre = INTERPOLATION(ratio, hi->min_busy_thre, lo->min_busy_thre);
71 selected->min_grad_thr1 = INTERPOLATION(ratio, hi->min_grad_thr1, lo->min_grad_thr1);
72 selected->min_grad_thr2 = INTERPOLATION(ratio, hi->min_grad_thr2, lo->min_grad_thr2);
73 selected->k_grad1 = INTERPOLATION(ratio, hi->k_grad1, lo->k_grad1);
[all …]
H A Drk_aiq_algo_agic_v2.cpp18 #define INTERPOLATION(ratio, hi, lo) (((ratio) * ((hi) - (lo)) + (lo) * (1 << 4) + (1 << 3)) >> … argument
19 #define INTERPOLATION_F(ratioF, hi, lo) ((ratioF) * ((hi) - (lo)) + (lo)) argument
59 const rkaiq_gic_v2_param_selected_t* lo = &auto_params[index];
62 selected->iso = lo->iso;
63 selected->bypass = lo->bypass;
64 selected->gr_ratio = lo->gr_ratio;
65 selected->min_busy_thre = INTERPOLATION(ratio, hi->min_busy_thre, lo->min_busy_thre);
66 selected->min_grad_thr1 = INTERPOLATION(ratio, hi->min_grad_thr1, lo->min_grad_thr1);
67 selected->min_grad_thr2 = INTERPOLATION(ratio, hi->min_grad_thr2, lo->min_grad_thr2);
68 selected->k_grad1 = INTERPOLATION(ratio, hi->k_grad1, lo->k_grad1);
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/
H A Daes_gcm.c31 u64 T = U64(0xe100000000000000) & (0-(V.lo&1)); \
32 V.lo = (V.hi<<63)|(V.lo>>1); \
36 u32 T = 0xe1000000U & (0-(u32)(V.lo&1)); \
37 V.lo = (V.hi<<63)|(V.lo>>1); \
42 typedef struct { u64 hi,lo; } u128; member
115 Htable[0].lo = 0; in gcm_init_8bit()
117 V.lo = H[1]; in gcm_init_8bit()
128 Hi[j].lo = H0.lo^Htable[j].lo; in gcm_init_8bit()
207 Z.lo ^= Htable[n].lo; in gcm_gmult_8bit()
213 rem = (size_t)Z.lo&0xff; in gcm_gmult_8bit()
[all …]
H A Dsm4_gcm.c29 u64 T = U64(0xe100000000000000) & (0-(V.lo&1)); \
30 V.lo = (V.hi<<63)|(V.lo>>1); \
34 u32 T = 0xe1000000U & (0-(u32)(V.lo&1)); \
35 V.lo = (V.hi<<63)|(V.lo>>1); \
40 typedef struct { u64 hi,lo; } u128; member
109 Htable[0].lo = 0; in gcm_init_8bit()
111 V.lo = H[1]; in gcm_init_8bit()
122 Hi[j].lo = H0.lo^Htable[j].lo; in gcm_init_8bit()
201 Z.lo ^= Htable[n].lo; in gcm_gmult_8bit()
207 rem = (size_t)Z.lo&0xff; in gcm_gmult_8bit()
[all …]
/OK3568_Linux_fs/external/xserver/fb/
H A DMakefile.in117 am_libfb_la_OBJECTS = libfb_la-fballpriv.lo libfb_la-fbarc.lo \
118 libfb_la-fbbits.lo libfb_la-fbblt.lo libfb_la-fbbltone.lo \
119 libfb_la-fbcmap_mi.lo libfb_la-fbcopy.lo libfb_la-fbfill.lo \
120 libfb_la-fbfillrect.lo libfb_la-fbfillsp.lo libfb_la-fbgc.lo \
121 libfb_la-fbgetsp.lo libfb_la-fbglyph.lo libfb_la-fbimage.lo \
122 libfb_la-fbline.lo libfb_la-fboverlay.lo libfb_la-fbpict.lo \
123 libfb_la-fbpixmap.lo libfb_la-fbpoint.lo libfb_la-fbpush.lo \
124 libfb_la-fbscreen.lo libfb_la-fbseg.lo libfb_la-fbsetsp.lo \
125 libfb_la-fbsolid.lo libfb_la-fbtrap.lo libfb_la-fbutil.lo \
126 libfb_la-fbwindow.lo
[all …]
/OK3568_Linux_fs/kernel/drivers/char/hw_random/
H A 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 …]
/OK3568_Linux_fs/u-boot/arch/nios2/cpu/
H A Dstart.S34 ori r4, r0, %lo(ICACHE_LINE_SIZE)
36 ori r5, r5, %lo(ICACHE_SIZE_MAX)
49 ori et, et, %lo(_exception)
63 ori r4, r0, %lo(DCACHE_LINE_SIZE_MIN)
65 ori r5, r5, %lo(DCACHE_SIZE_MAX)
79 ori r5, r5, %lo(_cur - _start)
83 ori r5, r5, %lo(_start) /* r5 <- linked _start */
88 ori r6, r6, %lo(CONFIG_SYS_MONITOR_LEN)
99 ori r4, r4, %lo(_reloc)
112 ori r2, r2, %lo(debug_uart_init@h)
[all …]
/OK3568_Linux_fs/kernel/drivers/cpufreq/
H A 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 …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/hddtemp/hddtemp/
H A D0001-configure.ac-Rename-to-configure.ac-and-use-external.patch312 - 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 …]
/OK3568_Linux_fs/kernel/crypto/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/
H A Drtw_rf.c64 bool rtw_chbw_to_freq_range(u8 ch, u8 bw, u8 offset, u32 *hi, u32 *lo) in rtw_chbw_to_freq_range() argument
74 if (lo) in rtw_chbw_to_freq_range()
75 *lo = 0; in rtw_chbw_to_freq_range()
100 if (lo) in rtw_chbw_to_freq_range()
101 *lo = lo_ret; in rtw_chbw_to_freq_range()
195 bool rtw_is_dfs_range(u32 hi, u32 lo) in rtw_is_dfs_range() argument
197 return rtw_is_range_overlap(hi, lo, 5720 + 10, 5260 - 10)?_TRUE:_FALSE; in rtw_is_dfs_range()
202 u32 hi, lo; in rtw_is_dfs_ch() local
204 if (rtw_chbw_to_freq_range(ch, bw, offset, &hi, &lo) == _FALSE) in rtw_is_dfs_ch()
207 return rtw_is_dfs_range(hi, lo)?_TRUE:_FALSE; in rtw_is_dfs_ch()
[all …]

12345678910>>...46