Home
last modified time | relevance | path

Searched full:lo (Results 1 – 25 of 1161) sorted by relevance

12345678910>>...47

/Linux-v6.6/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_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_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_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 …]
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 …]
/Linux-v6.6/drivers/block/
Dloop.c102 * @lo: struct loop_device
103 * @global: true if @lo is about to bind another "struct loop_device", false otherwise
111 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()
129 * @lo: struct loop_device
130 * @global: true if @lo was about to bind another "struct loop_device", false otherwise
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()
[all …]
/Linux-v6.6/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 …]
/Linux-v6.6/arch/riscv/net/
Dbpf_jit_comp32.c26 * | lo(R6) |
28 * | lo(R7) |
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()
[all …]
/Linux-v6.6/arch/arm/crypto/
Dpoly1305-armv4.pl634 vmovn.i64 $D3#lo,$D3
636 vmovn.i64 $D0#lo,$D0
638 vbic.i32 $D3#lo,#0xfc000000 @ &=0x03ffffff
640 vbic.i32 $D0#lo,#0xfc000000
642 vshrn.u64 $T0#lo,$D4,#26
643 vmovn.i64 $D4#lo,$D4
645 vmovn.i64 $D1#lo,$D1
647 vbic.i32 $D4#lo,#0xfc000000
648 vbic.i32 $D1#lo,#0xfc000000
650 vadd.i32 $D0#lo,$D0#lo,$T0#lo
[all …]
Dsha512-armv4.pl57 $lo="LO";
95 @ LO lo>>14^hi<<18 ^ lo>>18^hi<<14 ^ hi>>9^lo<<23
96 @ HI hi>>14^lo<<18 ^ hi>>18^lo<<14 ^ lo>>9^hi<<23
102 ldr $t2,[sp,#$Hoff+0] @ h.lo
114 ldr $t0,[sp,#$Foff+0] @ f.lo
118 ldr $t2,[sp,#$Goff+0] @ g.lo
131 ldr $t2,[$Ktbl,#$lo] @ K[i].lo
136 ldr $Elo,[sp,#$Doff+0] @ d.lo
143 ldr $t2,[sp,#$Boff+0] @ b.lo
147 ldr $t3,[sp,#$Coff+0] @ c.lo
[all …]
/Linux-v6.6/block/
Dbadblocks.c57 int lo; in badblocks_check() local
73 lo = 0; in badblocks_check()
77 /* Binary search between lo and hi for 'target' in badblocks_check()
80 /* INVARIANT: ranges before 'lo' and at-or-after 'hi' in badblocks_check()
82 * VARIANT: hi-lo is the number of possible 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()
98 /* 'lo' might be the last that started before target, but 'hi' isn't */ in badblocks_check()
99 if (hi > lo) { in badblocks_check()
[all …]
/Linux-v6.6/arch/parisc/net/
Dbpf_jit_comp32.c27 * | lo(R9) |
29 * | lo(FP) | JIT scratch space for BPF registers
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()
[all …]
/Linux-v6.6/tools/testing/selftests/tc-testing/tc-tests/actions/
Dmirred.json17 "cmdUnderTest": "$TC actions add action mirred egress mirror index 1 dev lo",
20 "matchPattern": "action order [0-9]*: mirred \\(Egress Mirror to device lo\\).*index 1 ref",
41 "cmdUnderTest": "$TC actions add action mirred egress redirect index 2 dev lo action pipe",
44 … "matchPattern": "action order [0-9]*: mirred \\(Egress Redirect to device lo\\).*index 2 ref",
65 "$TC actions add action mirred egress mirror index 1 dev lo",
66 "$TC actions add action mirred egress redirect index 2 dev lo"
71 "matchPattern": "[Mirror|Redirect] to device lo",
92 "cmdUnderTest": "$TC actions add action mirred inbound mirror index 20 dev lo",
95 "matchPattern": "action order [0-9]*: mirred \\(.*to device lo\\).*index 20 ref",
116 "cmdUnderTest": "$TC actions add action mirred egress remirror index 20 dev lo",
[all …]
/Linux-v6.6/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.6/samples/seccomp/
Dbpf-helper.h142 /* Loads lo into M[0] and hi into M[1] and A */
145 BPF_STMT(BPF_ST, 0), /* lo -> M[0] */ \
178 * All the JXX64 checks assume lo is saved in M[0] and hi is saved in both
181 #define JEQ64(lo, hi, jt) \ argument
184 BPF_STMT(BPF_LD+BPF_MEM, 0), /* swap in lo */ \
185 /* if (lo != arg.lo) goto NOMATCH; */ \
186 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (lo), 0, 2), \
191 #define JNE64(lo, hi, jt) \ argument
195 /* if (lo != arg.lo) goto MATCH; */ \
196 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (lo), 2, 0), \
[all …]
/Linux-v6.6/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.6/include/linux/
Dminmax.h41 #define __clamp(val, lo, hi) \ argument
42 ((val) >= (hi) ? (hi) : ((val) <= (lo) ? (lo) : (val)))
44 #define __clamp_once(val, lo, hi, unique_val, unique_lo, unique_hi) ({ \ argument
46 typeof(lo) unique_lo = (lo); \
50 #define __clamp_input_check(lo, hi) \ argument
52 __is_constexpr((lo) > (hi)), (lo) > (hi), false)))
54 #define __careful_clamp(val, lo, hi) ({ \ argument
55 __clamp_input_check(lo, hi) + \
56 __builtin_choose_expr(__typecheck(val, lo) && __typecheck(val, hi) && \
57 __typecheck(hi, lo) && __is_constexpr(val) && \
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/iio/frequency/
Dadi,adrf6780.yaml47 adi,lo-buff-en:
65 adi,lo-x2-en:
72 adi,lo-ppf-en:
75 output frequency (LO x1). Either LOx1 or LOx2 can be enabled
79 adi,lo-en:
81 Enable additional cirtuitry in the LO chain. Disable to put the
91 adi,lo-sideband:
93 Switch to the Lower LO Sideband. By default the Upper LO
107 adi,lo-x2-en: [ "adi,lo-en" ]
108 adi,lo-ppf-en: [ "adi,lo-en" ]
/Linux-v6.6/fs/xfs/scrub/
Dxfarray.c469 /* Each level of quicksort uses a lo and a hi index */ in xfarray_sortinfo_alloc()
544 xfarray_idx_t lo, in xfarray_isort() argument
548 loff_t lo_pos = xfarray_pos(si->array, lo); in xfarray_isort()
549 loff_t len = xfarray_pos(si->array, hi - lo + 1); in xfarray_isort()
552 trace_xfarray_isort(si, lo, hi); in xfarray_isort()
560 sort(scratch, hi - lo + 1, si->array->obj_size, si->cmp_fn, NULL); in xfarray_isort()
605 xfarray_idx_t lo, in xfarray_want_pagesort() argument
613 lo_page = xfarray_pos(si->array, lo) >> PAGE_SHIFT; in xfarray_want_pagesort()
624 xfarray_idx_t lo, in xfarray_pagesort() argument
628 loff_t lo_pos = xfarray_pos(si->array, lo); in xfarray_pagesort()
[all …]
/Linux-v6.6/drivers/net/wireless/broadcom/b43/
Dlo.c6 G PHY LO (LocalOscillator) Measuring and Control routines
18 #include "lo.h"
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()
52 b43dbg(dev->wl, "Invalid LO control pair " in b43_lo_write()
117 * in the LO calibration. */ in lo_measure_feedthrough()
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()
[all …]
/Linux-v6.6/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.6/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 …]
/Linux-v6.6/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.6/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.6/drivers/net/dsa/b53/
Db53_mmap.c84 u16 lo; in b53_mmap_read48() local
88 lo = ioread16be(regs + (page << 8) + reg); in b53_mmap_read48()
91 lo = readw(regs + (page << 8) + reg); in b53_mmap_read48()
95 *val = ((u64)hi << 16) | lo; in b53_mmap_read48()
97 u32 lo; in b53_mmap_read48() local
101 lo = ioread32be(regs + (page << 8) + reg); in b53_mmap_read48()
104 lo = readl(regs + (page << 8) + reg); in b53_mmap_read48()
108 *val = ((u64)hi << 32) | lo; in b53_mmap_read48()
118 u32 hi, lo; in b53_mmap_read64() local
124 lo = ioread32be(regs + (page << 8) + reg); in b53_mmap_read64()
[all …]

12345678910>>...47