/linux-6.6.21/arch/mips/loongson2ef/common/cs5536/ |
D | cs5536_ide.c | 17 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 …]
|
D | cs5536_isa.c | 51 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 …]
|
D | cs5536_acc.c | 17 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 …]
|
D | cs5536_ohci.c | 17 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 …]
|
D | cs5536_ehci.c | 17 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-6.6.21/drivers/block/ |
D | loop.c | 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() 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() 173 static bool lo_bdev_can_use_dio(struct loop_device *lo, in lo_bdev_can_use_dio() argument 178 if (queue_logical_block_size(lo->lo_queue) < sb_bsize) in lo_bdev_can_use_dio() 180 if (lo->lo_offset & (sb_bsize - 1)) in lo_bdev_can_use_dio() 185 static void __loop_update_dio(struct loop_device *lo, bool dio) in __loop_update_dio() argument [all …]
|
/linux-6.6.21/fs/nfs/ |
D | pnfs.c | 57 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-6.6.21/block/ |
D | badblocks.c | 57 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-6.6.21/arch/riscv/net/ |
D | bpf_jit_comp32.c | 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() 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-6.6.21/arch/parisc/net/ |
D | bpf_jit_comp32.c | 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() 265 emit(hppa_stw(lo(src), REG_SIZE * lo(reg), HPPA_REG_SP), ctx); in bpf_put_reg64() 283 if (is_stacked(lo(reg))) { in bpf_get_reg32() [all …]
|
/linux-6.6.21/drivers/acpi/acpica/ |
D | utmath.c | 16 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-6.6.21/arch/mips/net/ |
D | bpf_jit_comp32.c | 144 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-6.6.21/arch/csky/kernel/ |
D | perf_event.c | 92 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-6.6.21/drivers/char/hw_random/ |
D | via-rng.c | 132 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-6.6.21/include/linux/ |
D | minmax.h | 60 #define __clamp(val, lo, hi) \ argument 61 ((val) >= (hi) ? (hi) : ((val) <= (lo) ? (lo) : (val))) 63 #define __clamp_once(val, lo, hi, unique_val, unique_lo, unique_hi) ({ \ argument 65 typeof(lo) unique_lo = (lo); \ 67 static_assert(__builtin_choose_expr(__is_constexpr((lo) > (hi)), \ 68 (lo) <= (hi), true), \ 69 "clamp() low limit " #lo " greater than high limit " #hi); \ 70 static_assert(__types_ok(val, lo), "clamp() 'lo' signedness error"); \ 74 #define __careful_clamp(val, lo, hi) ({ \ argument 75 __builtin_choose_expr(__is_constexpr((val) - (lo) + (hi)), \ [all …]
|
/linux-6.6.21/drivers/cpufreq/ |
D | e_powersaver.c | 94 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-6.6.21/arch/x86/kernel/cpu/ |
D | centaur.c | 24 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-6.6.21/crypto/ |
D | fcrypt.c | 58 #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-6.6.21/fs/xfs/scrub/ |
D | xfarray.c | 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() 629 uint64_t len = xfarray_pos(si->array, hi - lo); in xfarray_pagesort() [all …]
|
/linux-6.6.21/arch/sparc/kernel/ |
D | trampoline_64.S | 109 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 …]
|
D | sys32.S | 19 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-6.6.21/drivers/net/dsa/b53/ |
D | b53_mmap.c | 84 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 …]
|
/linux-6.6.21/tools/usb/usbip/ |
D | .gitignore | 25 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-6.6.21/arch/arm/crypto/ |
D | sha512-armv4.pl | 57 $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-6.6.21/arch/mips/sgi-ip22/ |
D | ip28-berr.c | 57 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 …]
|