Home
last modified time | relevance | path

Searched refs:hi (Results 1 – 25 of 588) sorted by relevance

12345678910>>...24

/Linux-v5.10/drivers/hsi/clients/
Dcmt_speech.c39 struct cs_hsi_iface *hi; member
123 static void cs_hsi_read_on_control(struct cs_hsi_iface *hi);
124 static void cs_hsi_read_on_data(struct cs_hsi_iface *hi);
211 struct cs_hsi_iface *hi = msg->context; in cs_release_cmd() local
213 list_add_tail(&msg->link, &hi->cmdqueue); in cs_release_cmd()
218 struct cs_hsi_iface *hi = msg->context; in cs_cmd_destructor() local
220 spin_lock(&hi->lock); in cs_cmd_destructor()
224 if (hi->iface_state != CS_STATE_CLOSED) in cs_cmd_destructor()
225 dev_err(&hi->cl->device, "Cmd flushed while driver active\n"); in cs_cmd_destructor()
228 hi->control_state &= in cs_cmd_destructor()
[all …]
/Linux-v5.10/arch/mips/loongson2ef/common/cs5536/
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()
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()
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()
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()
[all …]
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()
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()
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()
46 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); in pci_ide_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()
60 hi |= 0x01; 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()
75 hi &= ~0x01; 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()
[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()
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()
35 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); 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()
[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()
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()
39 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); in pci_acc_write_reg()
41 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); in pci_acc_write_reg()
44 hi = 0xA0000000 | ((value & 0x000ff000) >> 12); in pci_acc_write_reg()
46 _wrmsr(GLIU_MSR_REG(GLIU_IOD_BM1), hi, lo); in pci_acc_write_reg()
50 _rdmsr(DIVIL_MSR_REG(PIC_YSEL_LOW), &hi, &lo); in pci_acc_write_reg()
[all …]
/Linux-v5.10/arch/csky/kernel/
Dperf_event.c92 uint32_t lo, hi, tmp; in csky_pmu_read_cc() local
98 hi = cprgr("<0, 0x3>"); in csky_pmu_read_cc()
99 } while (hi != tmp); in csky_pmu_read_cc()
101 result = (uint64_t) (hi) << 32; in csky_pmu_read_cc()
116 uint32_t lo, hi, tmp; in csky_pmu_read_ic() local
122 hi = cprgr("<0, 0x5>"); in csky_pmu_read_ic()
123 } while (hi != tmp); in csky_pmu_read_ic()
125 result = (uint64_t) (hi) << 32; in csky_pmu_read_ic()
140 uint32_t lo, hi, tmp; in csky_pmu_read_icac() local
146 hi = cprgr("<0, 0x7>"); in csky_pmu_read_icac()
[all …]
/Linux-v5.10/block/
Dbadblocks.c56 int hi; in badblocks_check() local
76 hi = bb->count; in badblocks_check()
86 while (hi - lo > 1) { in badblocks_check()
87 int mid = (lo + hi) / 2; in badblocks_check()
97 hi = mid; in badblocks_check()
100 if (hi > lo) { in badblocks_check()
167 int lo, hi; in badblocks_set() local
189 hi = bb->count; in badblocks_set()
191 while (hi - lo > 1) { in badblocks_set()
192 int mid = (lo + hi) / 2; in badblocks_set()
[all …]
/Linux-v5.10/drivers/acpi/acpica/
Dutmath.c17 u32 hi; member
62 ACPI_MUL_64_BY_32(0, multiplicand_ovl.part.hi, multiplier, in acpi_ut_short_multiply()
63 product.part.hi, carry32); in acpi_ut_short_multiply()
68 product.part.hi += carry32; in acpi_ut_short_multiply()
100 operand_ovl.part.hi = operand_ovl.part.lo; in acpi_ut_short_shift_left()
104 ACPI_SHIFT_LEFT_64_BY_32(operand_ovl.part.hi, in acpi_ut_short_shift_left()
137 operand_ovl.part.lo = operand_ovl.part.hi; in acpi_ut_short_shift_right()
138 operand_ovl.part.hi = 0; in acpi_ut_short_shift_right()
141 ACPI_SHIFT_RIGHT_64_BY_32(operand_ovl.part.hi, in acpi_ut_short_shift_right()
278 ACPI_DIV_64_BY_32(0, dividend_ovl.part.hi, divisor, in acpi_ut_short_divide()
[all …]
/Linux-v5.10/arch/riscv/net/
Dbpf_jit_comp32.c101 static s8 hi(const s8 *r) in hi() function
131 emit(rv_addi(hi(rd), RV_REG_ZERO, 0), ctx); in emit_imm32()
133 emit(rv_addi(hi(rd), RV_REG_ZERO, -1), ctx); in emit_imm32()
140 emit_imm(hi(rd), imm_hi, ctx); in emit_imm64()
151 emit(rv_addi(RV_REG_A1, hi(r0), 0), ctx); in __build_epilogue()
188 if (is_stacked(hi(reg))) { in bpf_get_reg64()
189 emit(rv_lw(hi(tmp), hi(reg), RV_REG_FP), ctx); in bpf_get_reg64()
199 if (is_stacked(hi(reg))) { in bpf_put_reg64()
200 emit(rv_sw(RV_REG_FP, hi(reg), hi(src)), ctx); in bpf_put_reg64()
221 emit(rv_sw(RV_REG_FP, hi(reg), RV_REG_ZERO), ctx); in bpf_put_reg32()
[all …]
/Linux-v5.10/arch/sparc/kernel/
Dtrampoline_64.S85 sethi %hi(0x80000000), %g5
101 sethi %hi(0x80000000), %g2
108 sethi %hi(prom_entry_lock), %g2
116 sethi %hi(tramp_stack), %g1
129 sethi %hi(KERNBASE), %l3
130 sethi %hi(kern_locked_tte_data), %l4
133 sethi %hi(num_kernel_image_mappings), %l6
144 sethi %hi(call_method), %g2
151 sethi %hi(itlb_load), %g2
154 sethi %hi(prom_mmu_ihandle_cache), %g2
[all …]
Dsys32.S18 sethi %hi(sys_mmap), %g1
31 sethi %hi(__socketcall_table_begin), %g2
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
90 sethi %hi(sys_getsockname), %g1
99 sethi %hi(sys_getpeername), %g1
108 sethi %hi(sys_socketpair), %g1
[all …]
/Linux-v5.10/include/linux/
Dcnt32_to_63.h21 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-v5.10/drivers/net/dsa/b53/
Db53_mmap.c83 u32 hi; in b53_mmap_read48() local
87 hi = ioread32be(regs + (page << 8) + reg + 2); in b53_mmap_read48()
90 hi = readl(regs + (page << 8) + reg + 2); in b53_mmap_read48()
93 *val = ((u64)hi << 16) | lo; in b53_mmap_read48()
96 u16 hi; in b53_mmap_read48() local
100 hi = ioread16be(regs + (page << 8) + reg + 4); in b53_mmap_read48()
103 hi = readw(regs + (page << 8) + reg + 4); in b53_mmap_read48()
106 *val = ((u64)hi << 32) | lo; in b53_mmap_read48()
116 u32 hi, lo; in b53_mmap_read64() local
123 hi = ioread32be(regs + (page << 8) + reg + 4); in b53_mmap_read64()
[all …]
/Linux-v5.10/arch/sparc/mm/
Dultra.S42 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
194 sethi %hi(PAGE_OFFSET), %g1
196 sethi %hi(PAGE_SIZE), %g2
219 sethi %hi(PAGE_OFFSET), %g1
223 sethi %hi(1 << 14), %o2 ! D-cache size
[all …]
/Linux-v5.10/samples/seccomp/
Dbpf-helper.h181 #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
203 BPF_JUMP(BPF_JMP+BPF_JSET+BPF_K, (hi), 3, 0), \
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
[all …]
/Linux-v5.10/drivers/scsi/esas2r/
Desas2r_ioctl.c668 struct atto_ioctl *hi, in hba_ioctl_tunnel() argument
677 hi->status = ATTO_STS_OUT_OF_RSRC; in hba_ioctl_tunnel()
690 struct atto_ioctl *hi = (struct atto_ioctl *)rq->aux_req_cx; in scsi_passthru_comp_cb() local
691 struct atto_hba_scsi_pass_thru *spt = &hi->data.scsi_pass_thru; in scsi_passthru_comp_cb()
749 struct atto_ioctl *hi = (struct atto_ioctl *)esas2r_buffered_ioctl; in hba_ioctl_callback() local
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()
762 hi->status = ATTO_STS_UNSUPPORTED; in hba_ioctl_callback()
[all …]
/Linux-v5.10/arch/arm/crypto/
Dsha512-armv4.pl56 $hi="HI";
133 ldr $t3,[$Ktbl,#$hi] @ K[i].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]
[all …]
/Linux-v5.10/drivers/clk/meson/
Dsclk-div.c114 unsigned int hi = DIV_ROUND_CLOSEST(sclk->cached_div * in sclk_apply_ratio() local
118 if (hi) in sclk_apply_ratio()
119 hi -= 1; in sclk_apply_ratio()
121 meson_parm_write(clk->map, &sclk->hi, hi); in sclk_apply_ratio()
130 if (MESON_PARM_APPLICABLE(&sclk->hi)) { in sclk_div_set_duty_cycle()
143 int hi; in sclk_div_get_duty_cycle() local
145 if (!MESON_PARM_APPLICABLE(&sclk->hi)) { in sclk_div_get_duty_cycle()
151 hi = meson_parm_read(clk->map, &sclk->hi); in sclk_div_get_duty_cycle()
152 duty->num = hi + 1; in sclk_div_get_duty_cycle()
160 if (MESON_PARM_APPLICABLE(&sclk->hi)) in sclk_apply_divider()
/Linux-v5.10/drivers/cpufreq/
De_powersaver.c94 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()
119 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state()
131 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()
[all …]
/Linux-v5.10/arch/x86/kernel/cpu/
Dcentaur.c24 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-v5.10/drivers/net/hamradio/
Dbaycom_epp.c1011 struct hdlcdrv_ioctl hi; in baycom_ioctl() local
1016 if (copy_from_user(&hi, ifr->ifr_data, sizeof(hi))) in baycom_ioctl()
1018 switch (hi.cmd) { in baycom_ioctl()
1023 hi.data.cp.tx_delay = bc->ch_params.tx_delay; in baycom_ioctl()
1024 hi.data.cp.tx_tail = bc->ch_params.tx_tail; in baycom_ioctl()
1025 hi.data.cp.slottime = bc->ch_params.slottime; in baycom_ioctl()
1026 hi.data.cp.ppersist = bc->ch_params.ppersist; in baycom_ioctl()
1027 hi.data.cp.fulldup = bc->ch_params.fulldup; in baycom_ioctl()
1033 bc->ch_params.tx_delay = hi.data.cp.tx_delay; in baycom_ioctl()
1034 bc->ch_params.tx_tail = hi.data.cp.tx_tail; in baycom_ioctl()
[all …]
/Linux-v5.10/drivers/infiniband/hw/mthca/
Dmthca_doorbell.h59 static inline void mthca_write64(u32 hi, u32 lo, void __iomem *dest, in mthca_write64() argument
62 __raw_writeq((__force u64) cpu_to_be64((u64) hi << 32 | lo), dest); in mthca_write64()
88 static inline void mthca_write64(u32 hi, u32 lo, void __iomem *dest, in mthca_write64() argument
93 hi = (__force u32) cpu_to_be32(hi); in mthca_write64()
97 __raw_writel(hi, dest); in mthca_write64()
/Linux-v5.10/drivers/char/
Dds1620.c204 ds1620_out(THERM_WRITE_TH, 9, therm->hi); in ds1620_write_state()
211 therm->hi = cvt_9_to_int(ds1620_in(THERM_READ_TH, 9)); in ds1620_read_state()
255 if (get_user(therm.hi, uarg.i)) in ds1620_ioctl()
257 therm.lo = therm.hi - 3; in ds1620_ioctl()
264 therm.hi <<= 1; in ds1620_ioctl()
274 therm.hi >>= 1; in ds1620_ioctl()
277 if (put_user(therm.hi, uarg.i)) in ds1620_ioctl()
343 th.hi >> 1, th.hi & 1 ? 5 : 0, in ds1620_proc_therm_show()
384 th_start.hi = 1; in ds1620_init()
405 th.hi >> 1, th.hi & 1 ? 5 : 0, in ds1620_init()
/Linux-v5.10/arch/m68k/ifpsp060/src/
Dilsp.S75 # 0x8(sp) = hi(dividend) #
138 mov.l 0xc(%a6), %d5 # get dividend hi
155 tst.l %d5 # chk sign of hi(dividend)
165 # - is (hi(dividend) == 0 && (divisor <= lo(dividend))) ? (32-bit div)
167 tst.l %d5 # is (hi(dividend) == 0)
449 # returns 64 bit result in %d5 (hi) %d6(lo).
452 # multiply hi,lo words of each factor to get 4 intermediate products
528 # | hi(mplier) * hi(mplicand)| #
531 # | hi(mplier) * lo(mplicand) | #
534 # | lo(mplier) * hi(mplicand) | #
[all …]

12345678910>>...24