Home
last modified time | relevance | path

Searched full:hi (Results 1 – 25 of 1293) sorted by relevance

12345678910>>...52

/linux/drivers/hsi/clients/
H A 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/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()
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 …]
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()
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 …]
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()
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 …]
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()
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 …]
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()
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/samples/seccomp/
H A Dbpf-helper.h142 /* Loads lo into M[0] and hi into M[1] and A */
147 BPF_STMT(BPF_ST, 1) /* hi -> M[1] */
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
182 /* if (hi != arg.hi) goto NOMATCH; */ \
183 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 5), \
191 #define JNE64(lo, hi, jt) \ argument
192 /* if (hi != arg.hi) goto MATCH; */ \
193 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 3), \
201 #define JA64(lo, hi, jt) \ argument
[all …]
/linux/arch/riscv/net/
H A Dbpf_jit_comp32.c25 * | hi(R6) |
27 * | hi(R7) | JIT scratch space for BPF registers
101 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()
[all …]
/linux/arch/csky/kernel/
H A 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/arch/parisc/net/
H A Dbpf_jit_comp32.c28 * | hi(R9) |
30 * | hi(FP) |
75 [BPF_REG_0] = {HPPA_REG_RET0, HPPA_REG_RET1}, /* HI/LOW */
110 static s8 hi(const s8 *r) in hi() function
163 REG_SET_SEEN(ctx, hi(rd)); in emit_imm32()
165 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in emit_imm32()
167 emit(hppa_ldi(-1, hi(rd)), ctx); in emit_imm32()
173 emit_imm(hi(rd), imm_hi, ctx); in emit_imm64()
227 if (is_stacked(hi(reg))) { in bpf_get_reg64_offset()
228 emit(hppa_ldw(REG_SIZE * hi(reg) - offset_sp, HPPA_REG_SP, hi(tmp)), ctx); in bpf_get_reg64_offset()
[all …]
/linux/arch/sparc/kernel/
H A 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 …]
/linux/arch/sparc/mm/
H A 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 …]
H A Dviking.S39 sethi %hi(PAGE_OFFSET), %g2
44 sethi %hi(PAGE_OFFSET + PAGE_SIZE - 0x80000000), %o3
45 sethi %hi(0x80000000), %o4
46 sethi %hi(VIKING_PTAG_VALID), %o5
47 sethi %hi(2*PAGE_SIZE), %o0
48 sethi %hi(PAGE_SIZE), %g7
92 sethi %hi(PAGE_OFFSET), %g2
95 sethi %hi(MXCC_SRCSTREAM), %o3 ! assume %hi(MXCC_SRCSTREAM) == %hi(MXCC_DESTSTREAM)
161 sethi %hi(~((1 << PGDIR_SHIFT) - 1)), %o4
206 sethi %hi(sun4dsmp_flush_tlb_spin), %g3
[all …]
/linux/arch/arm/crypto/
H A Dsha512-armv4.pl56 $hi="HI";
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
104 ldr $t3,[sp,#$Hoff+4] @ h.hi
116 ldr $t1,[sp,#$Foff+4] @ f.hi
120 ldr $t3,[sp,#$Goff+4] @ g.hi
133 ldr $t3,[$Ktbl,#$hi] @ K[i].hi
138 ldr $Ehi,[sp,#$Doff+4] @ d.hi
153 @ LO lo>>28^hi<<4 ^ hi>>2^lo<<30 ^ hi>>7^lo<<25
154 @ HI hi>>28^lo<<4 ^ lo>>2^hi<<30 ^ lo>>7^hi<<25
[all …]
H A Dpoly1305-armv4.pl239 it hi
279 it hi
816 vadd.i32 $H4#hi,$H4#lo,$D4#lo @ add hash value and move to #hi
824 vadd.i32 $H3#hi,$H3#lo,$D3#lo
828 vadd.i32 $H2#hi,$H2#lo,$D2#lo
830 vadd.i32 $H0#hi,$H0#lo,$D0#lo
831 vadd.i32 $H1#hi,$H1#lo,$D1#lo
848 vld4.32 {$H0#hi,$H1#hi,$H2#hi,$H3#hi},[$in2] @ inp[2:3] (or 0)
850 itt hi
907 vmull.u32 $D2,$H2#hi,${R0}[1]
[all …]
/linux/arch/mips/net/
H A Dbpf_jit_comp32.c154 static inline u8 hi(const u8 reg[]) in hi() function
178 emit(ctx, addiu, hi(dst), MIPS_R_ZERO, -1); in emit_mov_se_i64()
180 emit(ctx, move, hi(dst), MIPS_R_ZERO); in emit_mov_se_i64()
188 emit(ctx, move, hi(dst), MIPS_R_ZERO); in emit_zext_ver()
189 clobber_reg(ctx, hi(dst)); in emit_zext_ver()
230 emit(ctx, addu, hi(dst), hi(dst), MIPS_R_T9); in emit_alu_i64()
232 emit(ctx, addiu, hi(dst), hi(dst), -1); in emit_alu_i64()
238 emit(ctx, subu, hi(dst), hi(dst), MIPS_R_T9); in emit_alu_i64()
240 emit(ctx, addiu, hi(dst), hi(dst), 1); in emit_alu_i64()
246 emit(ctx, addiu, hi(dst), MIPS_R_ZERO, -1); in emit_alu_i64()
[all …]
/linux/drivers/scsi/esas2r/
H A Desas2r_ioctl.c670 struct atto_ioctl *hi, in hba_ioctl_tunnel() argument
679 hi->status = ATTO_STS_OUT_OF_RSRC; in hba_ioctl_tunnel()
692 struct atto_ioctl *hi = (struct atto_ioctl *)rq->aux_req_cx; in scsi_passthru_comp_cb() local
693 struct atto_hba_scsi_pass_thru *spt = &hi->data.scsi_pass_thru; in scsi_passthru_comp_cb()
751 struct atto_ioctl *hi = (struct atto_ioctl *)esas2r_buffered_ioctl; in hba_ioctl_callback() local
753 hi->status = ATTO_STS_SUCCESS; in hba_ioctl_callback()
755 switch (hi->function) { in hba_ioctl_callback()
761 &hi->data.get_adap_info; in hba_ioctl_callback()
763 if (hi->flags & HBAF_TUNNEL) { in hba_ioctl_callback()
764 hi->status = ATTO_STS_UNSUPPORTED; in hba_ioctl_callback()
[all …]
/linux/scripts/mod/
H A Dsymsearch.c157 unsigned int hi = elf->symsearch->table_size; in symsearch_find_nearest() local
165 while (hi > lo) { in symsearch_find_nearest()
166 unsigned int mid = lo + (hi - lo) / 2; /* Avoids overflow */ in symsearch_find_nearest()
169 hi = mid; in symsearch_find_nearest()
175 * table[hi], if it exists, is the first entry in the array which in symsearch_find_nearest()
176 * lies beyond target. table[hi - 1], if it exists, is the last in symsearch_find_nearest()
187 hi < elf->symsearch->table_size && in symsearch_find_nearest()
188 table[hi].section_index == secndx && in symsearch_find_nearest()
189 table[hi].addr - addr <= min_distance) { in symsearch_find_nearest()
190 min_distance = table[hi].addr - addr; in symsearch_find_nearest()
[all …]
/linux/fs/bcachefs/
H A Dmean_and_variance.h70 u64 hi, lo; member
87 return a.hi; in u128_hi()
97 c.hi = a.hi + b.hi + (c.lo < a.lo); in u128_add()
106 c.hi = a.hi - b.hi - (c.lo > a.lo); in u128_sub()
116 r.hi = (i.hi << (shift & 63)) | (i.lo >> (-shift & 63)); in u128_shl()
118 r.hi = i.lo << (-shift & 63); in u128_shl()
138 static inline u128_u u64s_to_u128(u64 hi, u64 lo) in u64s_to_u128() argument
140 u128_u c = u64_to_u128(hi); in u64s_to_u128()
/linux/drivers/net/dsa/b53/
H A Db53_mmap.c85 u32 hi; in b53_mmap_read48() local
89 hi = ioread32be(regs + (page << 8) + reg + 2); in b53_mmap_read48()
92 hi = readl(regs + (page << 8) + reg + 2); in b53_mmap_read48()
95 *val = ((u64)hi << 16) | lo; in b53_mmap_read48()
98 u16 hi; in b53_mmap_read48() local
102 hi = ioread16be(regs + (page << 8) + reg + 4); in b53_mmap_read48()
105 hi = readw(regs + (page << 8) + reg + 4); in b53_mmap_read48()
108 *val = ((u64)hi << 32) | lo; in b53_mmap_read48()
118 u32 hi, lo; in b53_mmap_read64() local
125 hi = ioread32be(regs + (page << 8) + reg + 4); in b53_mmap_read64()
[all …]
/linux/drivers/acpi/acpica/
H A 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/include/linux/
H A Dminmax.h107 #define __clamp(val, lo, hi) \ argument
108 ((val) >= (hi) ? (hi) : ((val) <= (lo) ? (lo) : (val)))
110 #define __clamp_once(val, lo, hi, uval, ulo, uhi) ({ \ argument
113 __auto_type uhi = (hi); \
114 static_assert(__builtin_choose_expr(__is_constexpr((lo) > (hi)), \
115 (lo) <= (hi), true), \
116 "clamp() low limit " #lo " greater than high limit " #hi); \
117 BUILD_BUG_ON_MSG(!__types_ok3(val,lo,hi,uval,ulo,uhi), \
118 "clamp("#val", "#lo", "#hi") signedness error"); \
121 #define __careful_clamp(val, lo, hi) \ argument
[all …]
/linux/drivers/clk/meson/
H A Dsclk-div.c15 * hi = [0 - val]
16 * duty_cycle = (1 + hi) / (1 + val)
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()
[all …]
/linux/arch/m68k/ifpsp060/src/
H A Dilsp.S3 M68000 Hi-Performance Microprocessor Division
75 # 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)
186 # - is hi(dividend) >= divisor ? if yes, then overflow
243 mov.l 0xc(%a6), %d5 # get dividend hi
449 # returns 64 bit result in %d5 (hi) %d6(lo).
452 # multiply hi,lo words of each factor to get 4 intermediate products
[all …]
/linux/fs/xfs/scrub/
H A Dxfarray.c469 /* Each level of quicksort uses a lo and a hi index */ in xfarray_sortinfo_alloc()
545 xfarray_idx_t hi) in xfarray_isort() argument
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()
567 * Sort the records from lo to hi (inclusive) if they are all backed by the
575 xfarray_idx_t hi) in xfarray_foliosort() argument
580 uint64_t len = xfarray_pos(si->array, hi - lo + 1); in xfarray_foliosort()
593 trace_xfarray_foliosort(si, lo, hi); in xfarray_foliosort()
597 sort(startp, hi - lo + 1, si->array->obj_size, si->cmp_fn, NULL); in xfarray_foliosort()
[all …]

12345678910>>...52