/linux-6.3-rc2/drivers/hsi/clients/ |
A D | cmt_speech.c | 589 hi->rx_slot %= hi->rx_ptr_boundary; in cs_hsi_read_on_data_complete() 591 hi->mmap_cfg->rx_ptr = hi->rx_slot; in cs_hsi_read_on_data_complete() 623 hi->rx_offsets[hi->rx_slot % hi->rx_bufs]); in cs_hsi_peek_on_data_complete() 717 address = (u32 *)(hi->mmap_base + hi->tx_offsets[hi->tx_slot]); in cs_hsi_write_on_data() 730 cs_hsi_data_write_error(hi, hi->data_tx_msg); in cs_hsi_write_on_data() 806 hi->rx_ptr_boundary = hi->rx_bufs; in set_buffer_sizes() 888 hi->slot_size = L1_CACHE_ALIGN(hi->buf_size); in cs_hsi_data_enable() 906 (i + hi->mmap_cfg->rx_bufs) * hi->slot_size; in cs_hsi_data_enable() 952 hi->mmap_cfg->buf_size = hi->buf_size; in cs_hsi_buf_config() 1412 hi = cs_char_data.hi; in cs_hsi_client_remove() [all …]
|
/linux-6.3-rc2/arch/mips/loongson2ef/common/cs5536/ |
A D | cs5536_ehci.c | 17 u32 hi = 0, lo = value; in pci_ehci_write_reg() local 23 hi |= PCI_COMMAND_MASTER; in pci_ehci_write_reg() 25 hi &= ~PCI_COMMAND_MASTER; in pci_ehci_write_reg() 28 hi |= PCI_COMMAND_MEMORY; in pci_ehci_write_reg() 30 hi &= ~PCI_COMMAND_MEMORY; in pci_ehci_write_reg() 60 hi &= 0x003f0000; in pci_ehci_write_reg() 61 hi |= (value & 0x3f) << 16; in pci_ehci_write_reg() 66 hi &= ~0x00003f00; in pci_ehci_write_reg() 67 hi |= value & 0x00003f00; in pci_ehci_write_reg() 78 u32 hi, lo; in pci_ehci_read_reg() local [all …]
|
A 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() 26 _wrmsr(GLIU_MSR_REG(GLIU_PAE), hi, lo); 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() 40 hi &= 0xffffff00; in pci_ide_write_reg() 41 hi |= (value >> 8); in pci_ide_write_reg() 42 _wrmsr(SB_MSR_REG(SB_CTRL), hi, lo); in pci_ide_write_reg() 74 _wrmsr(IDE_MSR_REG(IDE_DTC), hi, lo); in pci_ide_write_reg() 99 u32 hi, lo; in pci_ide_read_reg() local [all …]
|
A D | cs5536_isa.c | 51 u32 hi, lo; in divil_lbar_enable() local 60 hi |= 0x01; in divil_lbar_enable() 70 u32 hi, lo; in divil_lbar_disable() local 75 hi &= ~0x01; in divil_lbar_disable() 94 hi = 0x0000f001; in pci_isa_write_bar() 113 u32 hi, lo; in pci_isa_read_bar() local 171 hi &= 0xffffff00; in pci_isa_write_reg() 172 hi |= (value >> 8); in pci_isa_write_reg() 231 u32 hi, lo; in pci_isa_read_reg() local 242 if (hi & 0x01) in pci_isa_read_reg() [all …]
|
A 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() 23 hi |= PCI_COMMAND_MASTER; in pci_ohci_write_reg() 25 hi &= ~PCI_COMMAND_MASTER; in pci_ohci_write_reg() 28 hi |= PCI_COMMAND_MEMORY; in pci_ohci_write_reg() 30 hi &= ~PCI_COMMAND_MEMORY; in pci_ohci_write_reg() 31 _wrmsr(USB_MSR_REG(USB_OHCI), hi, lo); in pci_ohci_write_reg() 38 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ohci_write_reg() 73 u32 hi, lo; in pci_ohci_read_reg() local 82 if (hi & PCI_COMMAND_MASTER) in pci_ohci_read_reg() [all …]
|
A 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() 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() 33 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_acc_write_reg() 64 u32 hi, lo; in pci_acc_read_reg() local 75 && ((hi & 0xf0000000) == 0xa0000000)) in pci_acc_read_reg() 77 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); in pci_acc_read_reg() 84 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_acc_read_reg() 90 _rdmsr(ACC_MSR_REG(ACC_CAP), &hi, &lo); in pci_acc_read_reg() [all …]
|
/linux-6.3-rc2/arch/csky/kernel/ |
A D | perf_event.c | 92 uint32_t lo, hi, tmp; in csky_pmu_read_cc() local 99 } while (hi != tmp); in csky_pmu_read_cc() 116 uint32_t lo, hi, tmp; in csky_pmu_read_ic() local 123 } while (hi != tmp); in csky_pmu_read_ic() 140 uint32_t lo, hi, tmp; in csky_pmu_read_icac() local 147 } while (hi != tmp); in csky_pmu_read_icac() 171 } while (hi != tmp); in csky_pmu_read_icmc() 195 } while (hi != tmp); in csky_pmu_read_dcac() 219 } while (hi != tmp); in csky_pmu_read_dcmc() 243 } while (hi != tmp); in csky_pmu_read_l2ac() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | minmax.h | 40 #define __clamp(val, lo, hi) \ argument 41 ((val) >= (hi) ? (hi) : ((val) <= (lo) ? (lo) : (val))) 46 typeof(hi) unique_hi = (hi); \ 49 #define __clamp_input_check(lo, hi) \ argument 51 __is_constexpr((lo) > (hi)), (lo) > (hi), false))) 53 #define __careful_clamp(val, lo, hi) ({ \ argument 54 __clamp_input_check(lo, hi) + \ 58 __clamp(val, lo, hi), \ 111 #define clamp(val, lo, hi) __careful_clamp(val, lo, hi) argument 146 #define clamp_t(type, val, lo, hi) __careful_clamp((type)(val), (type)(lo), (type)(hi)) argument [all …]
|
A D | cnt32_to_63.h | 21 u32 lo, hi; member 23 u32 hi, lo; 96 __x.hi = __m_cnt_hi; \ 99 if (unlikely((s32)(__x.hi ^ __x.lo) < 0)) \ 100 __m_cnt_hi = __x.hi = (__x.hi ^ 0x80000000) + (__x.hi >> 31); \
|
/linux-6.3-rc2/block/ |
A D | badblocks.c | 56 int hi; in badblocks_check() local 96 hi = mid; in badblocks_check() 166 int lo, hi; in badblocks_set() local 197 hi = mid; in badblocks_set() 200 hi = lo; in badblocks_set() 260 lo = hi; in badblocks_set() 261 hi++; in badblocks_set() 277 memmove(p + hi, p + hi + 1, in badblocks_set() 293 memmove(p + hi + 1, p + hi, in badblocks_set() 389 hi = lo; in badblocks_clear() [all …]
|
/linux-6.3-rc2/drivers/acpi/acpica/ |
A D | utmath.c | 17 u32 hi; member 63 product.part.hi, carry32); in acpi_ut_short_multiply() 68 product.part.hi += carry32; in acpi_ut_short_multiply() 138 operand_ovl.part.hi = 0; in acpi_ut_short_shift_right() 336 if (divisor.part.hi == 0) { in acpi_ut_divide() 341 remainder.part.hi = 0; in acpi_ut_divide() 348 quotient.part.hi, partial1); in acpi_ut_divide() 359 quotient.part.hi = 0; in acpi_ut_divide() 391 if (partial3.part.hi == 0) { in acpi_ut_divide() 405 remainder.part.hi = (u32)-((s32)remainder.part.hi); in acpi_ut_divide() [all …]
|
/linux-6.3-rc2/arch/riscv/net/ |
A D | bpf_jit_comp32.c | 281 emit(rv_xori(hi(rd), hi(rd), -1), ctx); in emit_alu_i64() 291 emit(rv_slli(hi(rd), hi(rd), imm), ctx); in emit_alu_i64() 306 emit(rv_srli(hi(rd), hi(rd), imm), ctx); in emit_alu_i64() 312 emit(rv_srai(hi(rd), hi(rd), 31), ctx); in emit_alu_i64() 417 emit(rv_addi(hi(rd), hi(rs), 0), ctx); in emit_alu_r64() 422 emit(rv_slli(hi(rd), hi(rd), 1), ctx); in emit_alu_r64() 428 emit(rv_add(hi(rd), hi(rd), hi(rs)), ctx); in emit_alu_r64() 440 emit(rv_and(hi(rd), hi(rd), hi(rs)), ctx); in emit_alu_r64() 444 emit(rv_or(hi(rd), hi(rd), hi(rs)), ctx); in emit_alu_r64() 448 emit(rv_xor(hi(rd), hi(rd), hi(rs)), ctx); in emit_alu_r64() [all …]
|
/linux-6.3-rc2/arch/mips/net/ |
A D | bpf_jit_comp32.c | 232 emit(ctx, addiu, hi(dst), hi(dst), -1); in emit_alu_i64() 240 emit(ctx, addiu, hi(dst), hi(dst), 1); in emit_alu_i64() 280 emit(ctx, addu, hi(dst), hi(dst), hi(src)); in emit_alu_r64() 287 emit(ctx, subu, hi(dst), hi(dst), hi(src)); in emit_alu_r64() 293 emit(ctx, or, hi(dst), hi(dst), hi(src)); in emit_alu_r64() 298 emit(ctx, and, hi(dst), hi(dst), hi(src)); in emit_alu_r64() 303 emit(ctx, xor, hi(dst), hi(dst), hi(src)); in emit_alu_r64() 358 emit(ctx, sra, hi(dst), hi(dst), 31); in emit_shift_i64() 610 emit(ctx, wsbh, hi(dst), hi(dst)); in emit_bswap_r64() 860 emit(ctx, move, hi(src), hi(r0)); in emit_atomic_r64() [all …]
|
/linux-6.3-rc2/arch/sparc/kernel/ |
A D | trampoline_64.S | 85 sethi %hi(0x80000000), %g5 101 sethi %hi(0x80000000), %g2 129 sethi %hi(KERNBASE), %l3 151 sethi %hi(itlb_load), %g2 170 sethi %hi(p1275buf), %g2 184 sethi %hi(dtlb_load), %g2 203 sethi %hi(p1275buf), %g2 221 sethi %hi(KERNBASE), %l3 298 sethi %hi(tlb_type), %g3 340 sethi %hi(is_sun4v), %o0 [all …]
|
A D | sys32.S | 18 sethi %hi(sys_mmap), %g1 45 sethi %hi(sys_socket), %g1 54 sethi %hi(sys_bind), %g1 63 sethi %hi(sys_connect), %g1 72 sethi %hi(sys_listen), %g1 81 sethi %hi(sys_accept), %g1 117 sethi %hi(sys_send), %g1 126 sethi %hi(sys_recv), %g1 135 sethi %hi(sys_sendto), %g1 144 sethi %hi(sys_recvfrom), %g1 [all …]
|
/linux-6.3-rc2/arch/sparc/mm/ |
A D | ultra.S | 42 sethi %hi(KERNBASE), %g3 74 sethi %hi(KERNBASE), %o4 106 sethi %hi(KERNBASE), %o4 124 sethi %hi(PAGE_SIZE), %o4 132 2: sethi %hi(KERNBASE), %o3 181 sethi %hi(KERNBASE), %o1 196 sethi %hi(PAGE_SIZE), %g2 265 sethi %hi(KERNBASE), %o2 290 sethi %hi(KERNBASE), %o4 320 sethi %hi(KERNBASE), %o4 [all …]
|
/linux-6.3-rc2/samples/seccomp/ |
A D | bpf-helper.h | 181 #define JEQ64(lo, hi, jt) \ argument 183 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 5), \ 191 #define JNE64(lo, hi, jt) \ argument 193 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 3), \ 201 #define JA64(lo, hi, jt) \ argument 211 #define JGE64(lo, hi, jt) \ argument 213 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, (hi), 4, 0), \ 215 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 5), \ 223 #define JGT64(lo, hi, jt) \ argument 235 #define JLE64(lo, hi, jt) \ argument [all …]
|
/linux-6.3-rc2/drivers/scsi/esas2r/ |
A D | esas2r_ioctl.c | 668 struct atto_ioctl *hi, in hba_ioctl_tunnel() argument 751 hi->status = ATTO_STS_SUCCESS; in hba_ioctl_callback() 753 switch (hi->function) { in hba_ioctl_callback() 759 &hi->data.get_adap_info; in hba_ioctl_callback() 761 if (hi->flags & HBAF_TUNNEL) { in hba_ioctl_callback() 871 &hi->data.get_adap_addr; in hba_ioctl_callback() 873 if (hi->flags & HBAF_TUNNEL) { in hba_ioctl_callback() 932 u32 len = hi->data_length; in hba_ioctl_callback() 953 hi->data_length = len; in hba_ioctl_callback() 1024 rq->aux_req_cx = hi; in hba_ioctl_callback() [all …]
|
/linux-6.3-rc2/drivers/net/dsa/b53/ |
A D | b53_mmap.c | 84 u32 hi; in b53_mmap_read48() local 94 *val = ((u64)hi << 16) | lo; in b53_mmap_read48() 97 u16 hi; in b53_mmap_read48() local 107 *val = ((u64)hi << 32) | lo; in b53_mmap_read48() 117 u32 hi, lo; in b53_mmap_read64() local 130 *val = ((u64)hi << 32) | lo; in b53_mmap_read64() 186 u32 hi = (u32)(value >> 16); in b53_mmap_write48() local 192 u16 hi = (u16)(value >> 32); in b53_mmap_write48() local 205 u32 hi, lo; in b53_mmap_write64() local 207 hi = upper_32_bits(value); in b53_mmap_write64() [all …]
|
/linux-6.3-rc2/arch/arm/crypto/ |
A D | sha512-armv4.pl | 56 $hi="HI"; 294 ldr $Ehi,[$ctx,#$Eoff+$hi] 296 ldr $t1, [$ctx,#$Goff+$hi] 298 ldr $t3, [$ctx,#$Hoff+$hi] 305 ldr $Ahi,[$ctx,#$Aoff+$hi] 307 ldr $Thi,[$ctx,#$Boff+$hi] 309 ldr $t1, [$ctx,#$Coff+$hi] 311 ldr $t3, [$ctx,#$Doff+$hi] 319 ldr $Thi,[$ctx,#$Foff+$hi] 413 ldr $t1, [$ctx,#$Aoff+$hi] [all …]
|
/linux-6.3-rc2/drivers/cpufreq/ |
A D | e_powersaver.c | 94 u32 lo, hi; in eps_get() local 103 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_get() 111 u32 lo, hi; in eps_set_state() local 115 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state() 143 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state() 175 u32 lo, hi; in eps_cpu_init() local 199 rdmsr(0x1153, lo, hi); in eps_cpu_init() 204 rdmsr(0x1154, lo, hi); in eps_cpu_init() 248 max_voltage = hi & 0xff; in eps_cpu_init() 250 max_multiplier = (hi >> 8) & 0xff; in eps_cpu_init() [all …]
|
/linux-6.3-rc2/drivers/clk/meson/ |
A D | sclk-div.c | 115 unsigned int hi = DIV_ROUND_CLOSEST(sclk->cached_div * in sclk_apply_ratio() local 119 if (hi) in sclk_apply_ratio() 120 hi -= 1; in sclk_apply_ratio() 122 meson_parm_write(clk->map, &sclk->hi, hi); in sclk_apply_ratio() 131 if (MESON_PARM_APPLICABLE(&sclk->hi)) { in sclk_div_set_duty_cycle() 144 int hi; in sclk_div_get_duty_cycle() local 146 if (!MESON_PARM_APPLICABLE(&sclk->hi)) { in sclk_div_get_duty_cycle() 152 hi = meson_parm_read(clk->map, &sclk->hi); in sclk_div_get_duty_cycle() 153 duty->num = hi + 1; in sclk_div_get_duty_cycle() 161 if (MESON_PARM_APPLICABLE(&sclk->hi)) in sclk_apply_divider()
|
/linux-6.3-rc2/drivers/net/hamradio/ |
A D | baycom_epp.c | 1006 struct hdlcdrv_ioctl hi; in baycom_siocdevprivate() local 1011 if (copy_from_user(&hi, data, sizeof(hi))) in baycom_siocdevprivate() 1013 switch (hi.cmd) { in baycom_siocdevprivate() 1038 hi.data.mp.irq = dev->irq; in baycom_siocdevprivate() 1039 hi.data.mp.dma = dev->dma; in baycom_siocdevprivate() 1040 hi.data.mp.dma2 = 0; in baycom_siocdevprivate() 1041 hi.data.mp.seriobase = 0; in baycom_siocdevprivate() 1042 hi.data.mp.pariobase = 0; in baycom_siocdevprivate() 1077 strncpy(hi.data.drivername, "baycom_epp", sizeof(hi.data.drivername)); in baycom_siocdevprivate() 1090 hi.data.modename[sizeof(hi.data.modename)-1] = '\0'; in baycom_siocdevprivate() [all …]
|
/linux-6.3-rc2/arch/x86/kernel/cpu/ |
A D | centaur.c | 24 u32 lo, hi; in init_c3() local 32 rdmsr(MSR_VIA_FCR, lo, hi); in init_c3() 34 wrmsr(MSR_VIA_FCR, lo, hi); in init_c3() 40 rdmsr(MSR_VIA_RNG, lo, hi); in init_c3() 42 wrmsr(MSR_VIA_RNG, lo, hi); in init_c3() 54 rdmsr(MSR_VIA_FCR, lo, hi); in init_c3() 56 wrmsr(MSR_VIA_FCR, lo, hi); in init_c3() 120 u32 lo, hi, newlo; in init_centaur() local 184 rdmsr(MSR_IDT_FCR1, lo, hi); in init_centaur() 190 wrmsr(MSR_IDT_FCR1, newlo, hi); in init_centaur()
|
/linux-6.3-rc2/arch/m68k/ifpsp060/src/ |
A D | ilsp.S | 75 # 0x8(sp) = hi(dividend) # 528 # | hi(mplier) * hi(mplicand)| # 549 swap %d3 # hi(mr) in lo d3 550 swap %d4 # hi(md) in lo d4 556 mulu.w %d4,%d3 # [4] hi(mr) * hi(md) 572 clr.w %d2 # clear hi([3]) 654 # | hi(mplier) * hi(mplicand)| # 675 swap %d3 # hi(mr) in lo d3 676 swap %d4 # hi(md) in lo d4 682 mulu.w %d4,%d3 # [4] hi(mr) * hi(md) [all …]
|