Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/arch/sparc/kernel/
A Dtermios.c37 err = get_user(k->c_iflag, &u->c_iflag); in user_termios_to_kernel_termios()
38 err |= get_user(k->c_oflag, &u->c_oflag); in user_termios_to_kernel_termios()
39 err |= get_user(k->c_cflag, &u->c_cflag); in user_termios_to_kernel_termios()
41 err |= get_user(k->c_line, &u->c_line); in user_termios_to_kernel_termios()
43 if (k->c_lflag & ICANON) { in user_termios_to_kernel_termios()
56 struct ktermios *k) in kernel_termios_to_user_termios() argument
63 err |= put_user(k->c_line, &u->c_line); in kernel_termios_to_user_termios()
65 if (!(k->c_lflag & ICANON)) { in kernel_termios_to_user_termios()
87 if (k->c_lflag & ICANON) { in user_termios_to_kernel_termios_1()
98 struct ktermios *k) in kernel_termios_to_user_termios_1() argument
[all …]
/arch/powerpc/platforms/powermac/
A Dudbg_adb.c77 int k, t, on; in udbg_adb_local_getc() local
84 k = -1; in udbg_adb_local_getc()
94 k = udbg_adb_old_getc_poll(); in udbg_adb_local_getc()
98 if (k != -1) in udbg_adb_local_getc()
99 return k; in udbg_adb_local_getc()
100 k = xmon_adb_keycode; in udbg_adb_local_getc()
103 if ((k & 0x7f) == 0x38 || (k & 0x7f) == 0x7b) { in udbg_adb_local_getc()
107 if (k >= 0x80) in udbg_adb_local_getc()
109 k = (xmon_adb_shiftstate? xmon_shift_keytab: xmon_keytab)[k]; in udbg_adb_local_getc()
110 if (k != 0) in udbg_adb_local_getc()
[all …]
/arch/sparc/crypto/
A Dcamellia_asm.S35 ld [%o0 + 0x00], %f0 ! i0, k[0]
36 ld [%o0 + 0x04], %f1 ! i1, k[1]
37 ld [%o0 + 0x08], %f2 ! i2, k[2]
38 ld [%o0 + 0x0c], %f3 ! i3, k[3]
39 std %f0, [%o1 + 0x00] ! k[0, 1]
41 std %f2, [%o1 + 0x08] ! k[2, 3]
48 std %f0, [%o1 + 0x20] ! k[8, 9]
180 stw %o4, [%o1 + 0xc0] ! k[48]
181 stw %g3, [%o1 + 0xc4] ! k[49]
182 stw %o5, [%o1 + 0xc8] ! k[50]
[all …]
/arch/sh/kernel/
A Dio_trapped.c46 int k, n; in register_trapped_io() local
55 for (k = 0; k < tiop->num_resources; k++) { in register_trapped_io()
56 res = tiop->resource + k; in register_trapped_io()
70 for (k = 0; k < n; k++) in register_trapped_io()
78 for (k = 0; k < tiop->num_resources; k++) { in register_trapped_io()
79 res = tiop->resource + k; in register_trapped_io()
113 int k, len; in match_trapped_io_handler() local
119 for (k = 0; k < tiop->num_resources; k++) { in match_trapped_io_handler()
171 int k; in lookup_address() local
173 for (k = 0; k < tiop->num_resources; k++) { in lookup_address()
[all …]
/arch/sh/kernel/cpu/shmobile/
A Dcpuidle.c31 int k; in cpuidle_sleep_enter() local
34 for (k = ARRAY_SIZE(cpuidle_mode) - 1; k > 0; k--) in cpuidle_sleep_enter()
35 if (cpuidle_mode[k] == allowed_mode) in cpuidle_sleep_enter()
38 allowed_state = k; in cpuidle_sleep_enter()
44 k = min_t(int, allowed_state, requested_state); in cpuidle_sleep_enter()
46 sh_mobile_call_standby(cpuidle_mode[k]); in cpuidle_sleep_enter()
48 return k; in cpuidle_sleep_enter()
/arch/mips/kernel/
A Dcevt-r4k.c51 unsigned int cnt, i, j, k, l; in calculate_min_delta() local
70 for (k = 0; k < j; ++k) { in calculate_min_delta()
71 if (cnt < buf1[k]) { in calculate_min_delta()
74 for (; l > k; --l) in calculate_min_delta()
79 if (k < ARRAY_SIZE(buf1)) in calculate_min_delta()
80 buf1[k] = cnt; in calculate_min_delta()
84 for (k = 0; k < i && k < ARRAY_SIZE(buf2); ++k) { in calculate_min_delta()
85 if (buf1[ARRAY_SIZE(buf1) - 1] < buf2[k]) { in calculate_min_delta()
88 for (; l > k; --l) in calculate_min_delta()
93 if (k < ARRAY_SIZE(buf2)) in calculate_min_delta()
[all …]
/arch/arm64/boot/dts/allwinner/
A Dsun50i-h5-cpu-opp.dtsi12 clock-latency-ns = <244144>; /* 8 32k periods */
18 clock-latency-ns = <244144>; /* 8 32k periods */
24 clock-latency-ns = <244144>; /* 8 32k periods */
30 clock-latency-ns = <244144>; /* 8 32k periods */
36 clock-latency-ns = <244144>; /* 8 32k periods */
42 clock-latency-ns = <244144>; /* 8 32k periods */
48 clock-latency-ns = <244144>; /* 8 32k periods */
54 clock-latency-ns = <244144>; /* 8 32k periods */
60 clock-latency-ns = <244144>; /* 8 32k periods */
A Dsun50i-a64-cpu-opp.dtsi14 clock-latency-ns = <244144>; /* 8 32k periods */
20 clock-latency-ns = <244144>; /* 8 32k periods */
26 clock-latency-ns = <244144>; /* 8 32k periods */
32 clock-latency-ns = <244144>; /* 8 32k periods */
38 clock-latency-ns = <244144>; /* 8 32k periods */
44 clock-latency-ns = <244144>; /* 8 32k periods */
50 clock-latency-ns = <244144>; /* 8 32k periods */
56 clock-latency-ns = <244144>; /* 8 32k periods */
A Dsun50i-h616-cpu-opp.dtsi13 clock-latency-ns = <244144>; /* 8 32k periods */
20 clock-latency-ns = <244144>; /* 8 32k periods */
27 clock-latency-ns = <244144>; /* 8 32k periods */
35 clock-latency-ns = <244144>; /* 8 32k periods */
42 clock-latency-ns = <244144>; /* 8 32k periods */
54 clock-latency-ns = <244144>; /* 8 32k periods */
61 clock-latency-ns = <244144>; /* 8 32k periods */
71 clock-latency-ns = <244144>; /* 8 32k periods */
83 clock-latency-ns = <244144>; /* 8 32k periods */
90 clock-latency-ns = <244144>; /* 8 32k periods */
[all …]
A Dsun50i-h6-cpu-opp.dtsi12 clock-latency-ns = <244144>; /* 8 32k periods */
21 clock-latency-ns = <244144>; /* 8 32k periods */
30 clock-latency-ns = <244144>; /* 8 32k periods */
39 clock-latency-ns = <244144>; /* 8 32k periods */
48 clock-latency-ns = <244144>; /* 8 32k periods */
57 clock-latency-ns = <244144>; /* 8 32k periods */
66 clock-latency-ns = <244144>; /* 8 32k periods */
75 clock-latency-ns = <244144>; /* 8 32k periods */
84 clock-latency-ns = <244144>; /* 8 32k periods */
93 clock-latency-ns = <244144>; /* 8 32k periods */
A Dsun50i-a100-cpu-opp.dtsi12 clock-latency-ns = <244144>; /* 8 32k periods */
21 clock-latency-ns = <244144>; /* 8 32k periods */
30 clock-latency-ns = <244144>; /* 8 32k periods */
39 clock-latency-ns = <244144>; /* 8 32k periods */
48 clock-latency-ns = <244144>; /* 8 32k periods */
57 clock-latency-ns = <244144>; /* 8 32k periods */
66 clock-latency-ns = <244144>; /* 8 32k periods */
/arch/mips/sibyte/bcm1480/
A Dirq.c81 int i = 0, old_cpu, cpu, int_on, k; in bcm1480_set_affinity() local
100 for (k=0; k<2; k++) { /* Loop through high and low interrupt mask register */ in bcm1480_set_affinity()
101 …dq(IOADDR(A_BCM1480_IMR_MAPPER(old_cpu) + R_BCM1480_IMR_INTERRUPT_MASK_H + (k*BCM1480_IMR_HL_SPACI… in bcm1480_set_affinity()
106 …s, IOADDR(A_BCM1480_IMR_MAPPER(old_cpu) + R_BCM1480_IMR_INTERRUPT_MASK_H + (k*BCM1480_IMR_HL_SPACI… in bcm1480_set_affinity()
111 …cur_ints = ____raw_readq(IOADDR(A_BCM1480_IMR_MAPPER(cpu) + R_BCM1480_IMR_INTERRUPT_MASK_H + (k*BC… in bcm1480_set_affinity()
113 …____raw_writeq(cur_ints, IOADDR(A_BCM1480_IMR_MAPPER(cpu) + R_BCM1480_IMR_INTERRUPT_MASK_H + (k*BC… in bcm1480_set_affinity()
144 int k; in ack_bcm1480_irq() local
156 for (k=0; k<2; k++) { /* Loop through high and low LDT interrupts */ in ack_bcm1480_irq()
158 R_BCM1480_IMR_LDT_INTERRUPT_H + (k*BCM1480_IMR_HL_SPACING)))); in ack_bcm1480_irq()
169 R_BCM1480_IMR_LDT_INTERRUPT_CLR_H + (k*BCM1480_IMR_HL_SPACING)))); in ack_bcm1480_irq()
[all …]
/arch/x86/mm/pat/
A Dcpa-test.c124 int i, k; in pageattr_test() local
151 for (k = 0; k < len[i]; k++) { in pageattr_test()
152 pte = lookup_address(addr[i] + k*PAGE_SIZE, &level); in pageattr_test()
158 if (k == 0) { in pageattr_test()
163 len[i] = k; in pageattr_test()
167 if (test_bit(pfn + k, bm)) { in pageattr_test()
168 len[i] = k; in pageattr_test()
171 __set_bit(pfn + k, bm); in pageattr_test()
172 addrs[k] = addr[i] + k*PAGE_SIZE; in pageattr_test()
173 pages[k] = pfn_to_page(pfn + k); in pageattr_test()
[all …]
/arch/arm64/crypto/
A Daes-ce.S53 aes\de \i0\().16b, \k\().16b
56 aes\de \i1\().16b, \k\().16b
59 aes\de \i2\().16b, \k\().16b
61 aes\de \i3\().16b, \k\().16b
64 aes\de \i4\().16b, \k\().16b
72 .macro round_Nx, enc, k, i0, i1, i2, i3, i4
82 aes\de \i0\().16b, \k\().16b
84 aes\de \i1\().16b, \k\().16b
86 aes\de \i2\().16b, \k\().16b
87 aes\de \i3\().16b, \k\().16b
[all …]
/arch/arc/include/asm/
A Duaccess.h28 #define __get_user_fn(sz, u, k) \ argument
32 case 1: __arc_get_user_one(*(k), u, "ldb", __ret); break; \
33 case 2: __arc_get_user_one(*(k), u, "ldw", __ret); break; \
34 case 4: __arc_get_user_one(*(k), u, "ld", __ret); break; \
35 case 8: __arc_get_user_one_64(*(k), u, __ret); break; \
89 #define __put_user_fn(sz, u, k) \ argument
93 case 1: __arc_put_user_one(*(k), u, "stb", __ret); break; \
94 case 2: __arc_put_user_one(*(k), u, "stw", __ret); break; \
95 case 4: __arc_put_user_one(*(k), u, "st", __ret); break; \
96 case 8: __arc_put_user_one_64(*(k), u, __ret); break; \
/arch/arm64/include/asm/
A Djump_label.h34 char *k = &((char *)key)[branch]; in arch_static_branch() local
38 : : "i"(k) : : l_yes in arch_static_branch()
49 char *k = &((char *)key)[branch]; in arch_static_branch_jump() local
54 : : "i"(k) : : l_yes in arch_static_branch_jump()
/arch/x86/kvm/
A Ddebugfs.c98 int i, j, k, l, ret; in kvm_mmu_rmaps_stat_show() local
119 for (k = 0; k < KVM_NR_PAGE_SIZES; k++) { in kvm_mmu_rmaps_stat_show()
120 rmap = slot->arch.rmap[k]; in kvm_mmu_rmaps_stat_show()
121 lpage_size = kvm_mmu_slot_lpages(slot, k + 1); in kvm_mmu_rmaps_stat_show()
122 cur = log[k]; in kvm_mmu_rmaps_stat_show()
139 k = (1 << i) - 1; in kvm_mmu_rmaps_stat_show()
140 seq_printf(m, "%d-%d\t", j, k); in kvm_mmu_rmaps_stat_show()
/arch/arm/mach-shmobile/
A Dplatsmp-scu.c75 int k; in shmobile_smp_scu_cpu_kill() local
81 for (k = 0; k < 1000; k++) { in shmobile_smp_scu_cpu_kill()
/arch/arm/crypto/
A Dghash-ce-glue.c38 be128 k; member
133 h[1] = (be64_to_cpu(k->a) << 1) | (be64_to_cpu(k->b) >> 63); in ghash_reflect()
152 be128 h = key->k; in ghash_setkey()
154 gf128mul_lle(&h, &key->k); in ghash_setkey()
157 gf128mul_lle(&h, &key->k); in ghash_setkey()
160 gf128mul_lle(&h, &key->k); in ghash_setkey()
208 be128 h, k; in gcm_aes_setkey() local
224 h = k; in gcm_aes_setkey()
225 gf128mul_lle(&h, &k); in gcm_aes_setkey()
228 gf128mul_lle(&h, &k); in gcm_aes_setkey()
[all …]
/arch/sparc/vdso/
A Dvdso2c.h82 int k; in BITSFUNC() local
89 for (k = 0; k < NSYMS; k++) { in BITSFUNC()
90 if (!strcmp(name, required_syms[k].name)) { in BITSFUNC()
91 if (syms[k]) { in BITSFUNC()
93 required_syms[k].name); in BITSFUNC()
102 syms[k] = GET_BE(&sym->st_value); in BITSFUNC()
/arch/powerpc/kernel/
A Dcacheinfo.c577 return kobj_attr->show(k, kobj_attr, buf); in cache_index_show()
584 index = kobj_to_cache_index_dir(k); in index_kobj_to_cache()
594 cache = index_kobj_to_cache(k); in size_show()
611 cache = index_kobj_to_cache(k); in line_size_show()
627 cache = index_kobj_to_cache(k); in nr_sets_show()
643 cache = index_kobj_to_cache(k); in associativity_show()
658 cache = index_kobj_to_cache(k); in type_show()
671 index = kobj_to_cache_index_dir(k); in level_show()
687 index = kobj_to_cache_index_dir(k); in show_shared_cpumap()
697 return show_shared_cpumap(k, attr, buf, false); in shared_cpu_map_show()
[all …]
/arch/sh/mm/
A Dconsistent.c23 int k = strlen(name); in memchunk_cmdline_override() local
27 if (!strncmp(name, p, k) && p[k] == '=') { in memchunk_cmdline_override()
28 p += k + 1; in memchunk_cmdline_override()
/arch/loongarch/lib/
A Dxor_simd.c23 #define XOR(dj, k) "vxor.v $vr" #dj ", $vr" #dj ", $vr" #k "\n\t" argument
66 #define XOR(dj, k) "xvxor.v $xr" #dj ", $xr" #dj ", $xr" #k "\n\t" argument
/arch/x86/entry/vdso/
A Dvdso2c.h128 unsigned int k; in BITSFUNC() local
135 for (k = 0; k < NSYMS; k++) { in BITSFUNC()
136 if (!strcmp(sym_name, required_syms[k].name)) { in BITSFUNC()
137 if (syms[k]) { in BITSFUNC()
139 required_syms[k].name); in BITSFUNC()
148 syms[k] = GET_LE(&sym->st_value); in BITSFUNC()
/arch/xtensa/mm/
A Dkasan_init.c47 int k; in populate() local
49 for (k = 0; k < PTRS_PER_PTE; ++k, ++j) { in populate()

Completed in 49 milliseconds

12345678910>>...12