/arch/powerpc/crypto/ |
D | sha1-powerpc-asm.S | 15 #define RT(t) ((((t)+5)%6)+7) argument 16 #define RA(t) ((((t)+4)%6)+7) argument 17 #define RB(t) ((((t)+3)%6)+7) argument 18 #define RC(t) ((((t)+2)%6)+7) argument 19 #define RD(t) ((((t)+1)%6)+7) argument 20 #define RE(t) ((((t)+0)%6)+7) argument 23 #define W(t) (((t)%16)+16) argument 25 #define LOADW(t) \ argument 26 lwz W(t),(t)*4(r4) 28 #define STEPD0_LOAD(t) \ argument [all …]
|
/arch/sparc/lib/ |
D | bitext.c | 27 int bit_map_string_get(struct bit_map *t, int len, int align) in bit_map_string_get() argument 34 if (t->num_colors) { in bit_map_string_get() 37 align = t->num_colors; in bit_map_string_get() 46 if (align < 0 || align >= t->size) in bit_map_string_get() 48 if (len <= 0 || len > t->size) in bit_map_string_get() 52 spin_lock(&t->lock); in bit_map_string_get() 53 if (len < t->last_size) in bit_map_string_get() 54 offset = t->first_free; in bit_map_string_get() 56 offset = t->last_off & ~align1; in bit_map_string_get() 59 off_new = find_next_zero_bit(t->map, t->size, offset); in bit_map_string_get() [all …]
|
/arch/mips/kernel/ |
D | watch.c | 18 void mips_install_watch_registers(struct task_struct *t) in mips_install_watch_registers() argument 20 struct mips3264_watch_reg_state *watches = &t->thread.watch.mips3264; in mips_install_watch_registers() 104 unsigned int t; in mips_probe_watch_registers() local 114 t = read_c0_watchlo0(); in mips_probe_watch_registers() 116 c->watch_reg_masks[0] = t & 7; in mips_probe_watch_registers() 122 t = read_c0_watchhi0(); in mips_probe_watch_registers() 123 write_c0_watchhi0(t | 0xff8); in mips_probe_watch_registers() 125 t = read_c0_watchhi0(); in mips_probe_watch_registers() 126 c->watch_reg_masks[0] |= (t & 0xff8); in mips_probe_watch_registers() 127 if ((t & 0x80000000) == 0) in mips_probe_watch_registers() [all …]
|
/arch/arm/crypto/ |
D | bsaes-armv7.pl | 66 my @t=@_[8..11]; 69 &Inv_GF256 (@b[6,5,0,3,7,1,4,2],@t,@s); 121 my @t=@_[8..11]; 124 &Inv_GF256 (@b[5,1,2,6,3,7,0,4],@t,@s); 223 my @t=@_[12..15]; 225 veor @t[0], @x[0], @x[2] 226 veor @t[1], @x[1], @x[3] 228 &Mul_GF4 (@x[0], @x[1], @y[0], @y[1], @t[2..3]); 233 Mul_GF4_N_GF4 (@t[0], @t[1], @y[0], @y[1], @t[3], 234 @x[2], @x[3], @y[2], @y[3], @t[2]); [all …]
|
/arch/cris/arch-v10/kernel/ |
D | fasttimer.c | 209 void start_one_shot_timer(struct fast_timer *t, in start_one_shot_timer() argument 222 do_gettimeofday_fast(&t->tv_set); in start_one_shot_timer() 228 if (tmp == t) { in start_one_shot_timer() 239 t->delay_us = delay_us; in start_one_shot_timer() 240 t->function = function; in start_one_shot_timer() 241 t->data = data; in start_one_shot_timer() 242 t->name = name; in start_one_shot_timer() 244 t->tv_expires.tv_usec = t->tv_set.tv_usec + delay_us % 1000000; in start_one_shot_timer() 245 t->tv_expires.tv_jiff = t->tv_set.tv_jiff + delay_us / 1000000 / HZ; in start_one_shot_timer() 246 if (t->tv_expires.tv_usec > 1000000) in start_one_shot_timer() [all …]
|
/arch/cris/arch-v32/kernel/ |
D | fasttimer.c | 188 void start_one_shot_timer(struct fast_timer *t, in start_one_shot_timer() argument 201 do_gettimeofday_fast(&t->tv_set); in start_one_shot_timer() 207 if (tmp == t) { in start_one_shot_timer() 219 t->delay_us = delay_us; in start_one_shot_timer() 220 t->function = function; in start_one_shot_timer() 221 t->data = data; in start_one_shot_timer() 222 t->name = name; in start_one_shot_timer() 224 t->tv_expires.tv_usec = t->tv_set.tv_usec + delay_us % 1000000; in start_one_shot_timer() 225 t->tv_expires.tv_jiff = t->tv_set.tv_jiff + delay_us / 1000000 / HZ; in start_one_shot_timer() 226 if (t->tv_expires.tv_usec > 1000000) { in start_one_shot_timer() [all …]
|
/arch/powerpc/include/asm/ |
D | atomic.h | 17 int t; in atomic_read() local 19 __asm__ __volatile__("lwz%U1%X1 %0,%1" : "=r"(t) : "m"(v->counter)); in atomic_read() 21 return t; in atomic_read() 32 int t; \ 40 : "=&r" (t), "+m" (v->counter) \ 48 int t; \ 58 : "=&r" (t) \ 62 return t; \ 82 int t; in ATOMIC_OPS() local 90 : "=&r" (t), "+m" (v->counter) in ATOMIC_OPS() [all …]
|
D | switch_to.h | 53 static inline void flush_fp_to_thread(struct task_struct *t) { } in flush_fp_to_thread() argument 54 static inline void giveup_fpu(struct task_struct *t) { } in giveup_fpu() argument 62 static inline void flush_altivec_to_thread(struct task_struct *t) in flush_altivec_to_thread() argument 65 static inline void giveup_altivec(struct task_struct *t) in giveup_altivec() argument 73 static inline void flush_vsx_to_thread(struct task_struct *t) in flush_vsx_to_thread() argument 81 static inline void flush_spe_to_thread(struct task_struct *t) in flush_spe_to_thread() argument 86 static inline void clear_task_ebb(struct task_struct *t) in clear_task_ebb() argument 90 t->thread.ebbrr = 0; in clear_task_ebb() 91 t->thread.ebbhr = 0; in clear_task_ebb() 92 t->thread.bescr = 0; in clear_task_ebb() [all …]
|
D | local.h | 24 long t; in local_add_return() local 32 : "=&r" (t) in local_add_return() 36 return t; in local_add_return() 43 long t; in local_sub_return() local 51 : "=&r" (t) in local_sub_return() 55 return t; in local_sub_return() 60 long t; in local_inc_return() local 68 : "=&r" (t) in local_inc_return() 72 return t; in local_inc_return() 87 long t; in local_dec_return() local [all …]
|
D | mutex.h | 9 int t; in __mutex_cmpxchg_lock() local 21 : "=&r" (t) in __mutex_cmpxchg_lock() 25 return t; in __mutex_cmpxchg_lock() 30 int t; in __mutex_dec_return_lock() local 39 : "=&r" (t) in __mutex_dec_return_lock() 43 return t; in __mutex_dec_return_lock() 48 int t; in __mutex_inc_return_unlock() local 57 : "=&r" (t) in __mutex_inc_return_unlock() 61 return t; in __mutex_inc_return_unlock()
|
/arch/arm/mach-davinci/ |
D | time.c | 111 #define USING_COMPARE(t) ((t)->opts & TIMER_OPTS_USE_COMPARE) argument 120 static int timer32_config(struct timer_s *t) in timer32_config() argument 125 if (USING_COMPARE(t)) { in timer32_config() 136 __raw_writel(__raw_readl(t->base + t->tim_off) + t->period, in timer32_config() 137 t->base + dtip[event_timer].cmp_off); in timer32_config() 139 tcr = __raw_readl(t->base + TCR); in timer32_config() 142 tcr &= ~(TCR_ENAMODE_MASK << t->enamode_shift); in timer32_config() 143 __raw_writel(tcr, t->base + TCR); in timer32_config() 146 __raw_writel(0, t->base + t->tim_off); in timer32_config() 147 __raw_writel(t->period, t->base + t->prd_off); in timer32_config() [all …]
|
/arch/m68k/sun3/ |
D | intersil.c | 34 int sun3_hwclk(int set, struct rtc_time *t) in sun3_hwclk() argument 48 todintersil->hour = t->tm_hour; in sun3_hwclk() 49 todintersil->minute = t->tm_min; in sun3_hwclk() 50 todintersil->second = t->tm_sec; in sun3_hwclk() 51 todintersil->month = t->tm_mon; in sun3_hwclk() 52 todintersil->day = t->tm_mday; in sun3_hwclk() 53 todintersil->year = t->tm_year - 68; in sun3_hwclk() 54 todintersil->weekday = t->tm_wday; in sun3_hwclk() 57 t->tm_sec = todintersil->csec; in sun3_hwclk() 58 t->tm_hour = todintersil->hour; in sun3_hwclk() [all …]
|
/arch/ia64/kernel/ |
D | unwind_decoder.c | 88 unw_word t, off; in unw_decode_x1() local 91 t = unw_decode_uleb128 (&dp); in unw_decode_x1() 95 UNW_DEC_SPILL_SPREL(X1, t, abreg, off, arg); in unw_decode_x1() 97 UNW_DEC_SPILL_PSPREL(X1, t, abreg, off, arg); in unw_decode_x1() 105 unw_word t; in unw_decode_x2() local 108 t = unw_decode_uleb128 (&dp); in unw_decode_x2() 113 UNW_DEC_RESTORE(X2, t, abreg, arg); in unw_decode_x2() 115 UNW_DEC_SPILL_REG(X2, t, abreg, x, ytreg, arg); in unw_decode_x2() 123 unw_word t, off; in unw_decode_x3() local 126 t = unw_decode_uleb128 (&dp); in unw_decode_x3() [all …]
|
/arch/x86/lib/ |
D | hweight.S | 15 movl %eax, %edx # w -> t 16 shrl %edx # t >>= 1 17 andl $0x55555555, %edx # t &= 0x55555555 18 subl %edx, %eax # w -= t 20 movl %eax, %edx # w -> t 22 andl $0x33333333, %edx # t &= 0x33333333 24 addl %edx, %eax # w = w_tmp + t 26 movl %eax, %edx # w -> t 27 shrl $4, %edx # t >>= 4 28 addl %edx, %eax # w_tmp += t [all …]
|
/arch/x86/crypto/ |
D | sha512-ssse3-asm.S | 88 # WK_2(t) points to 1 of 2 qwords at frame.WK depdending on t being odd/even 102 # W[t]+K[t] (stack frame) 120 # Compute Round %%t 129 add WK_2(idx), T1 # W[t] + K[t] from message scheduler 133 add h_64, T1 # T1 = CH(e,f,g) + W[t] + K[t] + h 135 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e) 155 # Compute rounds t-2 and t-1 156 # Compute message schedule QWORDS t and t+1 158 # Two rounds are computed based on the values for K[t-2]+W[t-2] and 159 # K[t-1]+W[t-1] which were previously stored at WK_2 by the message [all …]
|
D | sha512-avx-asm.S | 78 # W[t] + K[t] | W[t+1] + K[t+1] 91 # WK_2(t) points to 1 of 2 qwords at frame.WK depdending on t being odd/even 105 # W[t]+K[t] (stack frame) 127 # Compute Round %%t 136 add WK_2(idx), T1 # W[t] + K[t] from message scheduler 140 add h_64, T1 # T1 = CH(e,f,g) + W[t] + K[t] + h 142 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e) 161 # Compute rounds t-2 and t-1 162 # Compute message schedule QWORDS t and t+1 164 # Two rounds are computed based on the values for K[t-2]+W[t-2] and [all …]
|
/arch/mips/math-emu/ |
D | dp_sqrt.c | 35 union ieee754dp y, z, t; in ieee754dp_sqrt() local 105 t = ieee754dp_div(x, y); in ieee754dp_sqrt() 106 y = ieee754dp_add(y, t); in ieee754dp_sqrt() 112 t = ieee754dp_mul(y, y); in ieee754dp_sqrt() 113 z = t; in ieee754dp_sqrt() 114 t.bexp += 0x001; in ieee754dp_sqrt() 115 t = ieee754dp_add(t, z); in ieee754dp_sqrt() 119 t = ieee754dp_div(z, ieee754dp_add(t, x)); in ieee754dp_sqrt() 120 t.bexp += 0x001; in ieee754dp_sqrt() 121 y = ieee754dp_add(y, t); in ieee754dp_sqrt() [all …]
|
/arch/m68k/sun3x/ |
D | time.c | 39 int sun3x_hwclk(int set, struct rtc_time *t) in sun3x_hwclk() argument 49 h->sec = bin2bcd(t->tm_sec); in sun3x_hwclk() 50 h->min = bin2bcd(t->tm_min); in sun3x_hwclk() 51 h->hour = bin2bcd(t->tm_hour); in sun3x_hwclk() 52 h->wday = bin2bcd(t->tm_wday); in sun3x_hwclk() 53 h->mday = bin2bcd(t->tm_mday); in sun3x_hwclk() 54 h->month = bin2bcd(t->tm_mon); in sun3x_hwclk() 55 h->year = bin2bcd(t->tm_year); in sun3x_hwclk() 59 t->tm_sec = bcd2bin(h->sec); in sun3x_hwclk() 60 t->tm_min = bcd2bin(h->min); in sun3x_hwclk() [all …]
|
/arch/parisc/math-emu/ |
D | fpudispatch.c | 290 u_int r1,r2,t; /* operand register offsets */ in decode_0c() local 306 t = extru(ir,fptpos,5) * sizeof(double)/sizeof(u_int); in decode_0c() 307 if (t == 0 && class != 2) /* don't allow fr0 as a dest */ in decode_0c() 322 t &= ~3; /* force to even reg #s */ in decode_0c() 324 fpregs[t+3] = fpregs[r1+3]; in decode_0c() 325 fpregs[t+2] = fpregs[r1+2]; in decode_0c() 327 fpregs[t+1] = fpregs[r1+1]; in decode_0c() 329 fpregs[t] = fpregs[r1]; in decode_0c() 337 t &= ~3; /* force to even reg #s */ in decode_0c() 339 fpregs[t+3] = fpregs[r1+3]; in decode_0c() [all …]
|
/arch/x86/kernel/ |
D | ioport.c | 25 struct thread_struct *t = ¤t->thread; in sys_ioperm() local 39 if (!t->io_bitmap_ptr) { in sys_ioperm() 46 t->io_bitmap_ptr = bitmap; in sys_ioperm() 60 bitmap_clear(t->io_bitmap_ptr, from, num); in sys_ioperm() 62 bitmap_set(t->io_bitmap_ptr, from, num); in sys_ioperm() 70 if (t->io_bitmap_ptr[i] != ~0UL) in sys_ioperm() 74 bytes_updated = max(bytes, t->io_bitmap_max); in sys_ioperm() 76 t->io_bitmap_max = bytes; in sys_ioperm() 79 memcpy(tss->io_bitmap, t->io_bitmap_ptr, bytes_updated); in sys_ioperm() 99 struct thread_struct *t = ¤t->thread; in SYSCALL_DEFINE1() local [all …]
|
/arch/mips/alchemy/common/ |
D | time.c | 97 unsigned long t; in alchemy_time_init() local 114 t = 0xffffff; in alchemy_time_init() 115 while ((alchemy_rdsys(AU1000_SYS_CNTRCTRL) & SYS_CNTRL_T1S) && --t) in alchemy_time_init() 117 if (!t) in alchemy_time_init() 122 t = 0xffffff; in alchemy_time_init() 123 while ((alchemy_rdsys(AU1000_SYS_CNTRCTRL) & SYS_CNTRL_C1S) && --t) in alchemy_time_init() 125 if (!t) in alchemy_time_init() 129 t = 0xffffff; in alchemy_time_init() 130 while ((alchemy_rdsys(AU1000_SYS_CNTRCTRL) & SYS_CNTRL_C1S) && --t) in alchemy_time_init() 132 if (!t) in alchemy_time_init() [all …]
|
/arch/m68k/atari/ |
D | time.c | 120 int atari_mste_hwclk( int op, struct rtc_time *t ) in atari_mste_hwclk() argument 133 val.sec_ones = t->tm_sec % 10; in atari_mste_hwclk() 134 val.sec_tens = t->tm_sec / 10; in atari_mste_hwclk() 135 val.min_ones = t->tm_min % 10; in atari_mste_hwclk() 136 val.min_tens = t->tm_min / 10; in atari_mste_hwclk() 137 hour = t->tm_hour; in atari_mste_hwclk() 146 val.day_ones = t->tm_mday % 10; in atari_mste_hwclk() 147 val.day_tens = t->tm_mday / 10; in atari_mste_hwclk() 148 val.mon_ones = (t->tm_mon+1) % 10; in atari_mste_hwclk() 149 val.mon_tens = (t->tm_mon+1) / 10; in atari_mste_hwclk() [all …]
|
/arch/m68k/hp300/ |
D | config.c | 202 static int hp300_hwclk(int op, struct rtc_time *t) in hp300_hwclk() argument 205 t->tm_sec = hp300_rtc_read(RTC_REG_SEC1) * 10 + in hp300_hwclk() 207 t->tm_min = hp300_rtc_read(RTC_REG_MIN1) * 10 + in hp300_hwclk() 209 t->tm_hour = (hp300_rtc_read(RTC_REG_HOUR1) & 3) * 10 + in hp300_hwclk() 211 t->tm_wday = -1; in hp300_hwclk() 212 t->tm_mday = hp300_rtc_read(RTC_REG_DAY1) * 10 + in hp300_hwclk() 214 t->tm_mon = hp300_rtc_read(RTC_REG_MON1) * 10 + in hp300_hwclk() 216 t->tm_year = hp300_rtc_read(RTC_REG_YEAR1) * 10 + in hp300_hwclk() 218 if (t->tm_year <= 69) in hp300_hwclk() 219 t->tm_year += 100; in hp300_hwclk() [all …]
|
/arch/x86/kernel/cpu/ |
D | mkcapflags.sh | 40 TABS="$(printf '\t\t\t\t\t\t')"
|
/arch/m68k/bvme6000/ |
D | config.c | 269 int bvme6000_hwclk(int op, struct rtc_time *t) in bvme6000_hwclk() argument 278 rtc->t0cr_rtmr = t->tm_year%4; in bvme6000_hwclk() 280 rtc->bcd_sec = bin2bcd(t->tm_sec); in bvme6000_hwclk() 281 rtc->bcd_min = bin2bcd(t->tm_min); in bvme6000_hwclk() 282 rtc->bcd_hr = bin2bcd(t->tm_hour); in bvme6000_hwclk() 283 rtc->bcd_dom = bin2bcd(t->tm_mday); in bvme6000_hwclk() 284 rtc->bcd_mth = bin2bcd(t->tm_mon + 1); in bvme6000_hwclk() 285 rtc->bcd_year = bin2bcd(t->tm_year%100); in bvme6000_hwclk() 286 if (t->tm_wday >= 0) in bvme6000_hwclk() 287 rtc->bcd_dow = bin2bcd(t->tm_wday+1); in bvme6000_hwclk() [all …]
|