| /linux/arch/mips/include/asm/ |
| H A D | unaligned-emul.h | 11 "1:\t"type##_lb("%0", "0(%2)")"\n" \ 12 "2:\t"type##_lbu("$1", "1(%2)")"\n\t"\ 13 "sll\t%0, 0x8\n\t" \ 14 "or\t%0, $1\n\t" \ 15 "li\t%1, 0\n" \ 16 "3:\t.set\tat\n\t" \ 17 ".insn\n\t" \ 18 ".section\t.fixup,\"ax\"\n\t" \ 19 "4:\tli\t%1, %3\n\t" \ 20 "j\t3b\n\t" \ [all …]
|
| H A D | sim.h | 22 ".text\n\t" \ 23 ".globl\t__" #symbol "\n\t" \ 24 ".align\t2\n\t" \ 25 ".type\t__" #symbol ", @function\n\t" \ 27 #symbol":\n\t" \ 28 ".frame\t$29, 0, $31\n\t" \ 29 "sw\t$16,"__str(PT_R16)"($29)\t\t\t# save_static_function\n\t" \ 30 "sw\t$17,"__str(PT_R17)"($29)\n\t" \ 31 "sw\t$18,"__str(PT_R18)"($29)\n\t" \ 32 "sw\t$19,"__str(PT_R19)"($29)\n\t" \ [all …]
|
| /linux/arch/m68k/lib/ |
| H A D | checksum.c | 45 __asm__("movel %2,%3\n\t" in csum_partial() 46 "btst #1,%3\n\t" /* Check alignment */ in csum_partial() 47 "jeq 2f\n\t" in csum_partial() 48 "subql #2,%1\n\t" /* buff%4==2: treat first word */ in csum_partial() 49 "jgt 1f\n\t" in csum_partial() 50 "addql #2,%1\n\t" /* len was == 2, treat only rest */ in csum_partial() 52 "1:\t" in csum_partial() 53 "addw %2@+,%0\n\t" /* add first word to sum */ in csum_partial() 54 "clrl %3\n\t" in csum_partial() 56 "2:\t" in csum_partial() [all …]
|
| /linux/lib/crypto/powerpc/ |
| H A D | sha1-powerpc-asm.S | 22 * We roll the registers for T, A, B, C, D, E around on each 23 * iteration; T on iteration t is A on iteration t+1, and so on. 26 #define RT(t) ((((t)+5)%6)+7) argument 27 #define RA(t) ((((t)+4)%6)+7) argument 28 #define RB(t) ((((t)+3)%6)+7) argument 29 #define RC(t) ((((t)+2)%6)+7) argument 30 #define RD(t) ((((t)+1)%6)+7) argument 31 #define RE(t) ((((t)+0)%6)+7) argument 34 #define W(t) (((t)%16)+16) argument 36 #define LOADW(t) \ argument [all …]
|
| /linux/arch/mips/mm/ |
| H A D | c-r3k.c | 121 asm( "sb\t$0, 0x000(%0)\n\t" in r3k_flush_icache_range() 122 "sb\t$0, 0x004(%0)\n\t" in r3k_flush_icache_range() 123 "sb\t$0, 0x008(%0)\n\t" in r3k_flush_icache_range() 124 "sb\t$0, 0x00c(%0)\n\t" in r3k_flush_icache_range() 125 "sb\t$0, 0x010(%0)\n\t" in r3k_flush_icache_range() 126 "sb\t$0, 0x014(%0)\n\t" in r3k_flush_icache_range() 127 "sb\t$0, 0x018(%0)\n\t" in r3k_flush_icache_range() 128 "sb\t$0, 0x01c(%0)\n\t" in r3k_flush_icache_range() 129 "sb\t$0, 0x020(%0)\n\t" in r3k_flush_icache_range() 130 "sb\t$0, 0x024(%0)\n\t" in r3k_flush_icache_range() [all …]
|
| /linux/arch/sparc/include/asm/ |
| H A D | xor_32.h | |
| H A D | checksum_32.h | 52 "call __csum_partial_copy_sparc_generic\n\t" in csum_partial_copy_nocheck() 89 __asm__ __volatile__("sub\t%2, 4, %%g4\n\t" in ip_fast_csum() 90 "ld\t[%1 + 0x00], %0\n\t" in ip_fast_csum() 91 "ld\t[%1 + 0x04], %%g2\n\t" in ip_fast_csum() 92 "ld\t[%1 + 0x08], %%g3\n\t" in ip_fast_csum() 93 "addcc\t%%g2, %0, %0\n\t" in ip_fast_csum() 94 "addxcc\t%%g3, %0, %0\n\t" in ip_fast_csum() 95 "ld\t[%1 + 0x0c], %%g2\n\t" in ip_fast_csum() 96 "ld\t[%1 + 0x10], %%g3\n\t" in ip_fast_csum() 97 "addxcc\t%%g2, %0, %0\n\t" in ip_fast_csum() [all …]
|
| /linux/lib/raid6/ |
| H A D | avx512.c | 54 asm volatile("vmovdqa64 %0,%%zmm0\n\t" in raid6_avx5121_gen_syndrome() 60 asm volatile("prefetchnta %0\n\t" in raid6_avx5121_gen_syndrome() 61 "vmovdqa64 %0,%%zmm2\n\t" /* P[0] */ in raid6_avx5121_gen_syndrome() 62 "prefetchnta %1\n\t" in raid6_avx5121_gen_syndrome() 63 "vmovdqa64 %%zmm2,%%zmm4\n\t" /* Q[0] */ in raid6_avx5121_gen_syndrome() 68 asm volatile("prefetchnta %0\n\t" in raid6_avx5121_gen_syndrome() 69 "vpcmpgtb %%zmm4,%%zmm1,%%k1\n\t" in raid6_avx5121_gen_syndrome() 70 "vpmovm2b %%k1,%%zmm5\n\t" in raid6_avx5121_gen_syndrome() 71 "vpaddb %%zmm4,%%zmm4,%%zmm4\n\t" in raid6_avx5121_gen_syndrome() 72 "vpandq %%zmm0,%%zmm5,%%zmm5\n\t" in raid6_avx5121_gen_syndrome() [all …]
|
| /linux/drivers/scsi/esas2r/ |
| H A D | esas2r_targdb.c | 48 struct esas2r_target *t; in esas2r_targ_db_initialize() local 50 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_initialize() 51 memset(t, 0, sizeof(struct esas2r_target)); in esas2r_targ_db_initialize() 53 t->target_state = TS_NOT_PRESENT; in esas2r_targ_db_initialize() 54 t->buffered_target_state = TS_NOT_PRESENT; in esas2r_targ_db_initialize() 55 t->new_target_state = TS_INVALID; in esas2r_targ_db_initialize() 61 struct esas2r_target *t; in esas2r_targ_db_remove_all() local 64 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_remove_all() 65 if (t->target_state != TS_PRESENT) in esas2r_targ_db_remove_all() 69 esas2r_targ_db_remove(a, t); in esas2r_targ_db_remove_all() [all …]
|
| /linux/rust/syn/ |
| H A D | punctuated.rs | 14 //! in the form of the [`Punctuated<T, P>`] type. We store a vector of pairs of 18 //! [`Punctuated<T, P>`]: Punctuated 43 /// **A punctuated sequence of syntax tree nodes of type `T` separated by 49 pub struct Punctuated<T, P> { 50 inner: Vec<(T, P)>, 51 last: Option<Box<T>>, 54 impl<T, P> Punctuated<T, P> { 71 /// This is the number of nodes of type `T`, not counting the punctuation of 78 pub fn first(&self) -> Option<&T> { in first() argument 83 pub fn first_mut(&mut self) -> Option<&mut T> { in first_mut() argument [all …]
|
| /linux/arch/sh/include/asm/ |
| H A D | spinlock-llsc.h | 32 "1: \n\t" in arch_spin_lock() 33 "movli.l @%2, %0 ! arch_spin_lock \n\t" in arch_spin_lock() 34 "mov %0, %1 \n\t" in arch_spin_lock() 35 "mov #0, %0 \n\t" in arch_spin_lock() 36 "movco.l %0, @%2 \n\t" in arch_spin_lock() 37 "bf 1b \n\t" in arch_spin_lock() 38 "cmp/pl %1 \n\t" in arch_spin_lock() 39 "bf 1b \n\t" in arch_spin_lock() 42 : "t", "memory" in arch_spin_lock() 53 "mov #1, %0 ! arch_spin_unlock \n\t" in arch_spin_unlock() [all …]
|
| H A D | switch_to_32.h | 15 ".balign 4\n\t" \ 16 "movs.l @r2+, a0\n\t" \ 17 "movs.l @r2+, a1\n\t" \ 18 "movs.l @r2+, a0g\n\t" \ 19 "movs.l @r2+, a1g\n\t" \ 20 "movs.l @r2+, m0\n\t" \ 21 "movs.l @r2+, m1\n\t" \ 22 "movs.l @r2+, x0\n\t" \ 23 "movs.l @r2+, x1\n\t" \ 24 "movs.l @r2+, y0\n\t" \ [all …]
|
| H A D | uaccess_32.h | 42 "1:\n\t" \ 43 "mov." insn " %2, %1\n\t" \ 46 "3:\n\t" \ 47 "mov #0, %1\n\t" \ 48 "mov.l 4f, %0\n\t" \ 49 "jmp @%0\n\t" \ 50 " mov %3, %0\n\t" \ 52 "4: .long 2b\n\t" \ 54 ".section __ex_table,\"a\"\n\t" \ 55 ".long 1b, 3b\n\t" \ [all …]
|
| H A D | bitops-grb.h | 15 " .align 2 \n\t" in set_bit() 16 " mova 1f, r0 \n\t" /* r0 = end point */ in set_bit() 17 " mov r15, r1 \n\t" /* r1 = saved sp */ in set_bit() 18 " mov #-6, r15 \n\t" /* LOGIN: r15 = size */ in set_bit() 19 " mov.l @%1, %0 \n\t" /* load old value */ in set_bit() 20 " or %2, %0 \n\t" /* or */ in set_bit() 21 " mov.l %0, @%1 \n\t" /* store new value */ in set_bit() 22 "1: mov r1, r15 \n\t" /* LOGOUT */ in set_bit() 38 " .align 2 \n\t" in clear_bit() 39 " mova 1f, r0 \n\t" /* r0 = end point */ in clear_bit() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| H A D | table.c | 2898 "FCC", "2.4G", "20M", "CCK", "1T", "01", "36", 2899 "ETSI", "2.4G", "20M", "CCK", "1T", "01", "32", 2900 "MKK", "2.4G", "20M", "CCK", "1T", "01", "32", 2901 "FCC", "2.4G", "20M", "CCK", "1T", "02", "36", 2902 "ETSI", "2.4G", "20M", "CCK", "1T", "02", "32", 2903 "MKK", "2.4G", "20M", "CCK", "1T", "02", "32", 2904 "FCC", "2.4G", "20M", "CCK", "1T", "03", "36", 2905 "ETSI", "2.4G", "20M", "CCK", "1T", "03", "32", 2906 "MKK", "2.4G", "20M", "CCK", "1T", "03", "32", 2907 "FCC", "2.4G", "20M", "CCK", "1T", "04", "36", [all …]
|
| /linux/arch/sparc/math-emu/ |
| H A D | sfp-util_32.h | 8 __asm__ ("addcc %r4,%5,%1\n\t" \ 18 __asm__ ("subcc %r4,%5,%1\n\t" \ 29 __asm__ ("! Inlined umul_ppmm\n\t" \ 30 "wr %%g0,%2,%%y ! SPARC has 0-3 delay insn after a wr\n\t" \ 31 "sra %3,31,%%g2 ! Don't move this insn\n\t" \ 32 "and %2,%%g2,%%g2 ! Don't move this insn\n\t" \ 33 "andcc %%g0,0,%%g1 ! Don't move this insn\n\t" \ 34 "mulscc %%g1,%3,%%g1\n\t" \ 35 "mulscc %%g1,%3,%%g1\n\t" \ 36 "mulscc %%g1,%3,%%g1\n\t" \ [all …]
|
| /linux/arch/xtensa/include/asm/ |
| H A D | checksum.h | 70 __asm__("extui %1, %0, 16, 16\n\t" in csum_fold() 71 "extui %0 ,%0, 0, 16\n\t" in csum_fold() 72 "add %0, %0, %1\n\t" in csum_fold() 73 "slli %1, %0, 16\n\t" in csum_fold() 74 "add %0, %0, %1\n\t" in csum_fold() 75 "extui %0, %0, 16, 16\n\t" in csum_fold() 76 "neg %0, %0\n\t" in csum_fold() 77 "addi %0, %0, -1\n\t" in csum_fold() 78 "extui %0, %0, 0, 16\n\t" in csum_fold() 93 "sub %0, %0, %0\n\t" in ip_fast_csum() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_write.c | 10 const struct btf_type *t; in gen_btf() local 30 t = btf__type_by_id(btf, 1); in gen_btf() 32 ASSERT_EQ(t->name_off, str_off, "int_name_off"); in gen_btf() 33 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "int", "int_name"); in gen_btf() 34 ASSERT_EQ(btf_kind(t), BTF_KIND_INT, "int_kind"); in gen_btf() 35 ASSERT_EQ(t->size, 4, "int_sz"); in gen_btf() 36 ASSERT_EQ(btf_int_encoding(t), BTF_INT_SIGNED, "int_enc"); in gen_btf() 37 ASSERT_EQ(btf_int_bits(t), 32, "int_bits"); in gen_btf() 57 t = btf__type_by_id(btf, 2); in gen_btf() 58 ASSERT_EQ(btf_kind(t), BTF_KIND_PT in gen_btf() [all...] |
| /linux/rust/kernel/num/ |
| H A D | bounded.rs | 30 // right by the same number, doesn't change it. 37 /// Returns `true` if `value` can be represented with at most `N` bits in a `T`. 39 fn fits_within<T: Integer>(value: T, num_bits: u32) -> bool { in fits_within() argument 40 fits_within!(value, T, num_bits) in fits_within() 53 /// - `N` is less than or equal to `T::BITS`. 73 /// // This doesn't build: a `u8` is smaller than the requested 9 bits. 76 /// // This also doesn't build: the requested value doesn't fit within 4 signed bits. 149 /// // ... to the limits of the backing type. This doesn't buil 390 get(self) -> T get() argument 408 extend<const M: u32>(self) -> Bounded<T, M> extend() argument 439 try_shrink<const M: u32>(self) -> Option<Bounded<T, M>> try_shrink() argument 515 try_into_bounded(self) -> Option<Bounded<T, N>> try_into_bounded() argument 524 try_into_bounded(self) -> Option<Bounded<T, N>> try_into_bounded() argument 596 add(self, rhs: Bounded<T, M>) -> Self::Output add() argument 608 bitand(self, rhs: Bounded<T, M>) -> Self::Output bitand() argument 620 bitor(self, rhs: Bounded<T, M>) -> Self::Output bitor() argument 632 bitxor(self, rhs: Bounded<T, M>) -> Self::Output bitxor() argument 644 div(self, rhs: Bounded<T, M>) -> Self::Output div() argument 656 mul(self, rhs: Bounded<T, M>) -> Self::Output mul() argument 668 rem(self, rhs: Bounded<T, M>) -> Self::Output rem() argument 680 sub(self, rhs: Bounded<T, M>) -> Self::Output sub() argument 906 impl<T> AtLeastXBits<32> for T where T: AtLeastXBits<64> {} global() implementation 916 impl<T> AtLeastXBits<16> for T where T: AtLeastXBits<32> {} global() implementation 924 impl<T> AtLeastXBits<8> for T where T: AtLeastXBits<16> {} global() implementation 980 impl<T> FitsInXBits<16> for T where T: FitsInXBits<8> {} global() implementation 985 impl<T> FitsInXBits<32> for T where T: FitsInXBits<16> {} global() implementation 993 impl<T> FitsInXBits<64> for T where T: FitsInXBits<32> {} global() implementation 1047 from(value: Bounded<T, 1>) -> Self from() argument [all...] |
| /linux/tools/debugging/ |
| H A D | kernel-chktaint | 48 T=$taint 55 if [ `expr $T % 2` -eq 0 ]; then 62 T=`expr $T / 2` 63 if [ `expr $T % 2` -eq 0 ]; then 70 T=`expr $T / 2` 71 if [ `expr $T % 2` -eq 0 ]; then 78 T=`expr $T / [all...] |
| /linux/arch/xtensa/include/uapi/asm/ |
| H A D | ioctls.h | 32 #define TCGETA 0x80127417 /* _IOR('t', 23, struct termio) */ 33 #define TCSETA 0x40127418 /* _IOW('t', 24, struct termio) */ 34 #define TCSETAW 0x40127419 /* _IOW('t', 25, struct termio) */ 35 #define TCSETAF 0x4012741C /* _IOW('t', 28, struct termio) */ 37 #define TCSBRK _IO('t', 29) 38 #define TCXONC _IO('t', 30) 39 #define TCFLSH _IO('t', 31) 41 #define TIOCSWINSZ 0x40087467 /* _IOW('t', 103, struct winsize) */ 42 #define TIOCGWINSZ 0x80087468 /* _IOR('t', 104, struct winsize) */ 43 #define TIOCSTART _IO('t', 110) /* start output, like ^Q */ [all …]
|
| /linux/drivers/media/v4l2-core/ |
| H A D | tuner-core.c | 89 i2c_adapter_id(t->i2c->adapter), t->i2c->addr 240 struct tuner *t = fe->analog_demod_priv; in fe_set_params() local 260 struct tuner *t = fe->analog_demod_priv; in fe_set_config() local 301 struct tuner *t = to_tuner(i2c_get_clientdata(c)); in set_type() local 302 struct dvb_tuner_ops *fe_tuner_ops = &t->fe.ops.tuner_ops; in set_type() 303 struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; in set_type() 312 t->type = type; in set_type() 313 t->config = new_config; in set_type() 316 t->fe.callback = tuner_callback; in set_type() 320 tuner_detach(&t->fe); in set_type() [all …]
|
| /linux/drivers/net/wireguard/selftest/ |
| H A D | counter.c | 24 #define T(n, v) do { \ in wg_packet_counter_selftest() macro 34 /* 1 */ T(0, true); in wg_packet_counter_selftest() 35 /* 2 */ T(1, true); in wg_packet_counter_selftest() 36 /* 3 */ T(1, false); in wg_packet_counter_selftest() 37 /* 4 */ T(9, true); in wg_packet_counter_selftest() 38 /* 5 */ T(8, true); in wg_packet_counter_selftest() 39 /* 6 */ T(7, true); in wg_packet_counter_selftest() 40 /* 7 */ T(7, false); in wg_packet_counter_selftest() 41 /* 8 */ T(T_LIM, true); in wg_packet_counter_selftest() 42 /* 9 */ T(T_LIM - 1, true); in wg_packet_counter_selftest() [all …]
|
| /linux/net/sctp/ |
| H A D | transport.c | 233 /* If we don't have a fresh route, look one up */ in sctp_transport_pmtu() 257 void sctp_transport_pl_send(struct sctp_transport *t) in sctp_transport_pl_send() argument 259 if (t->pl.probe_count < SCTP_MAX_PROBES) in sctp_transport_pl_send() 262 t->pl.probe_count = 0; in sctp_transport_pl_send() 263 if (t->pl.state == SCTP_PL_BASE) { in sctp_transport_pl_send() 264 if (t->pl.probe_size == SCTP_BASE_PLPMTU) { /* BASE_PLPMTU Confirmation Failed */ in sctp_transport_pl_send() 265 t->pl.state = SCTP_PL_ERROR; /* Base -> Error */ in sctp_transport_pl_send() 267 t->pl.pmtu = SCTP_BASE_PLPMTU; in sctp_transport_pl_send() 268 t->pathmtu = t->pl.pmtu + sctp_transport_pl_hlen(t); in sctp_transport_pl_send() 269 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_send() [all …]
|
| /linux/drivers/clocksource/ |
| H A D | timer-ti-dm-systimer.c | 55 struct dmtimer_systimer t; member 61 struct dmtimer_systimer t; member 66 static bool dmtimer_systimer_revision1(struct dmtimer_systimer *t) in dmtimer_systimer_revision1() argument 68 u32 tidr = readl_relaxed(t->base); in dmtimer_systimer_revision1() 73 static void dmtimer_systimer_enable(struct dmtimer_systimer *t) in dmtimer_systimer_enable() argument 77 if (dmtimer_systimer_revision1(t)) in dmtimer_systimer_enable() 82 writel_relaxed(val, t->base + t->sysc); in dmtimer_systimer_enable() 85 static void dmtimer_systimer_disable(struct dmtimer_systimer *t) in dmtimer_systimer_disable() argument 87 if (!dmtimer_systimer_revision1(t)) in dmtimer_systimer_disable() 90 writel_relaxed(DMTIMER_TYPE1_DISABLE, t->base + t->sysc); in dmtimer_systimer_disable() [all …]
|