Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 426) sorted by relevance

12345678910>>...18

/arch/sparc/lib/
Dbitext.c27 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/arm/mach-omap2/
Dusb-tusb6010.c56 struct gpmc_timings t; in tusb_set_async_mode() local
60 memset(&t, 0, sizeof(t)); in tusb_set_async_mode()
63 t.cs_on = 8; in tusb_set_async_mode()
65 t.adv_on = next_clk(t.cs_on, t_acsnh_advnh - 7000, fclk_ps); in tusb_set_async_mode()
72 t.adv_rd_off = next_clk(t.adv_on, t_acsnh_advnh, fclk_ps); in tusb_set_async_mode()
75 t.oe_on = next_clk(t.adv_on, t_acsnh_advnh + 1000, fclk_ps); in tusb_set_async_mode()
78 tmp = t.oe_on * 1000 + 300; in tusb_set_async_mode()
79 t.access = next_clk(t.oe_on, tmp, fclk_ps); in tusb_set_async_mode()
82 tmp = t.access * 1000; in tusb_set_async_mode()
83 t.oe_off = next_clk(t.access, tmp, fclk_ps); in tusb_set_async_mode()
[all …]
Dgpmc-onenand.c35 struct gpmc_timings t; in omap2_onenand_set_async_mode() local
55 memset(&t, 0, sizeof(t)); in omap2_onenand_set_async_mode()
56 t.sync_clk = 0; in omap2_onenand_set_async_mode()
57 t.cs_on = 0; in omap2_onenand_set_async_mode()
58 t.adv_on = 0; in omap2_onenand_set_async_mode()
61 t.adv_rd_off = gpmc_round_ns_to_ticks(max_t(int, t_avdp, t_cer)); in omap2_onenand_set_async_mode()
62 t.oe_on = t.adv_rd_off + gpmc_round_ns_to_ticks(t_aavdh); in omap2_onenand_set_async_mode()
63 t.access = t.adv_on + gpmc_round_ns_to_ticks(t_aa); in omap2_onenand_set_async_mode()
64 t.access = max_t(int, t.access, t.cs_on + gpmc_round_ns_to_ticks(t_ce)); in omap2_onenand_set_async_mode()
65 t.access = max_t(int, t.access, t.oe_on + gpmc_round_ns_to_ticks(t_oe)); in omap2_onenand_set_async_mode()
[all …]
Dgpmc-smc91x.c59 struct gpmc_timings t; in smc91c96_gpmc_retime() local
70 memset(&t, 0, sizeof(t)); in smc91c96_gpmc_retime()
73 t.cs_on = 0; in smc91c96_gpmc_retime()
74 t.adv_on = t.cs_on; in smc91c96_gpmc_retime()
75 t.oe_on = t.adv_on + t3; in smc91c96_gpmc_retime()
76 t.access = t.oe_on + t5; in smc91c96_gpmc_retime()
77 t.oe_off = t.access; in smc91c96_gpmc_retime()
78 t.adv_rd_off = t.oe_off + max(t4_r, t6); in smc91c96_gpmc_retime()
79 t.cs_rd_off = t.oe_off; in smc91c96_gpmc_retime()
80 t.rd_cycle = t20 - t.oe_on; in smc91c96_gpmc_retime()
[all …]
Dgpmc-nand.c37 struct gpmc_timings t; in omap2_nand_gpmc_retime() local
43 memset(&t, 0, sizeof(t)); in omap2_nand_gpmc_retime()
44 t.sync_clk = gpmc_nand_data->gpmc_t->sync_clk; in omap2_nand_gpmc_retime()
45 t.cs_on = gpmc_round_ns_to_ticks(gpmc_nand_data->gpmc_t->cs_on); in omap2_nand_gpmc_retime()
46 t.adv_on = gpmc_round_ns_to_ticks(gpmc_nand_data->gpmc_t->adv_on); in omap2_nand_gpmc_retime()
49 t.adv_rd_off = gpmc_round_ns_to_ticks( in omap2_nand_gpmc_retime()
51 t.oe_on = t.adv_on; in omap2_nand_gpmc_retime()
52 t.access = gpmc_round_ns_to_ticks(gpmc_nand_data->gpmc_t->access); in omap2_nand_gpmc_retime()
53 t.oe_off = gpmc_round_ns_to_ticks(gpmc_nand_data->gpmc_t->oe_off); in omap2_nand_gpmc_retime()
54 t.cs_rd_off = gpmc_round_ns_to_ticks(gpmc_nand_data->gpmc_t->cs_rd_off); in omap2_nand_gpmc_retime()
[all …]
/arch/mips/kernel/
Dwatch.c105 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()
124 t = read_c0_watchhi0(); in mips_probe_watch_registers()
125 c->watch_reg_masks[0] |= (t & 0xff8); in mips_probe_watch_registers()
126 if ((t & 0x80000000) == 0) in mips_probe_watch_registers()
130 t = read_c0_watchlo1(); in mips_probe_watch_registers()
132 c->watch_reg_masks[1] = t & 7; in mips_probe_watch_registers()
[all …]
/arch/arm/crypto/
Dbsaes-armv7.pl66 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/arm/kernel/
Detm.c63 static inline bool trace_isrunning(struct tracectx *t) in trace_isrunning() argument
65 return !!(t->flags & TRACER_RUNNING); in trace_isrunning()
68 static int etm_setup_address_range(struct tracectx *t, int id, int n, in etm_setup_address_range() argument
74 if (n < 1 || n > t->ncmppairs) in etm_setup_address_range()
87 etm_writel(t, id, flags, ETMR_COMP_ACC_TYPE(n * 2)); in etm_setup_address_range()
88 etm_writel(t, id, start, ETMR_COMP_VAL(n * 2)); in etm_setup_address_range()
91 etm_writel(t, id, flags, ETMR_COMP_ACC_TYPE(n * 2 + 1)); in etm_setup_address_range()
92 etm_writel(t, id, end, ETMR_COMP_VAL(n * 2 + 1)); in etm_setup_address_range()
98 etm_writel(t, id, flags | BIT(n), ETMR_VIEWDATACTRL3); in etm_setup_address_range()
101 etm_writel(t, id, flags | (1 << n), ETMR_TRACEENCTRL); in etm_setup_address_range()
[all …]
/arch/powerpc/include/asm/
Datomic.h16 int t; in atomic_read() local
18 __asm__ __volatile__("lwz%U1%X1 %0,%1" : "=r"(t) : "m"(v->counter)); in atomic_read()
20 return t; in atomic_read()
30 int t; in atomic_add() local
38 : "=&r" (t), "+m" (v->counter) in atomic_add()
45 int t; in atomic_add_return() local
55 : "=&r" (t) in atomic_add_return()
59 return t; in atomic_add_return()
66 int t; in atomic_sub() local
74 : "=&r" (t), "+m" (v->counter) in atomic_sub()
[all …]
Dlocal.h24 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 …]
Dmutex.h9 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/cris/arch-v32/kernel/
Dfasttimer.c187 void start_one_shot_timer(struct fast_timer *t, in start_one_shot_timer() argument
200 do_gettimeofday_fast(&t->tv_set); in start_one_shot_timer()
206 if (tmp == t) { in start_one_shot_timer()
218 t->delay_us = delay_us; in start_one_shot_timer()
219 t->function = function; in start_one_shot_timer()
220 t->data = data; in start_one_shot_timer()
221 t->name = name; in start_one_shot_timer()
223 t->tv_expires.tv_usec = t->tv_set.tv_usec + delay_us % 1000000; in start_one_shot_timer()
224 t->tv_expires.tv_jiff = t->tv_set.tv_jiff + delay_us / 1000000 / HZ; in start_one_shot_timer()
225 if (t->tv_expires.tv_usec > 1000000) { in start_one_shot_timer()
[all …]
/arch/m68k/sun3/
Dintersil.c34 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/cris/arch-v10/kernel/
Dfasttimer.c210 void start_one_shot_timer(struct fast_timer *t, in start_one_shot_timer() argument
223 do_gettimeofday_fast(&t->tv_set); in start_one_shot_timer()
229 if (tmp == t) { in start_one_shot_timer()
240 t->delay_us = delay_us; in start_one_shot_timer()
241 t->function = function; in start_one_shot_timer()
242 t->data = data; in start_one_shot_timer()
243 t->name = name; in start_one_shot_timer()
245 t->tv_expires.tv_usec = t->tv_set.tv_usec + delay_us % 1000000; in start_one_shot_timer()
246 t->tv_expires.tv_jiff = t->tv_set.tv_jiff + delay_us / 1000000 / HZ; in start_one_shot_timer()
247 if (t->tv_expires.tv_usec > 1000000) in start_one_shot_timer()
[all …]
/arch/arm/mach-davinci/
Dtime.c111 #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/ia64/kernel/
Dunwind_decoder.c88 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/arm/include/asm/hardware/
Dcoresight.h34 #define etm_writel(t, id, v, x) \ argument
35 (__raw_writel((v), (t)->etm_regs[(id)] + (x)))
36 #define etm_readl(t, id, x) (__raw_readl((t)->etm_regs[(id)] + (x))) argument
119 #define etm_progbit(t) (etm_readl((t), ETMR_STATUS) & ETMST_PROGBIT) argument
120 #define etm_started(t) (etm_readl((t), ETMR_STATUS) & ETMST_STARTSTOP) argument
121 #define etm_triggered(t) (etm_readl((t), ETMR_STATUS) & ETMST_TRIGGER) argument
171 #define etb_writel(t, v, x) \ argument
172 (__raw_writel((v), (t)->etb_regs + (x)))
173 #define etb_readl(t, x) (__raw_readl((t)->etb_regs + (x))) argument
175 #define etm_lock(t, id) \ argument
[all …]
/arch/m68k/sun3x/
Dtime.c39 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/
Dfpudispatch.c290 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/arm/mach-bcmring/
Darch.c161 static void __init bcmring_fixup(struct tag *t, char **cmdline, in bcmring_fixup() argument
165 t->hdr.tag = ATAG_CORE; in bcmring_fixup()
166 t->hdr.size = tag_size(tag_core); in bcmring_fixup()
167 t->u.core.flags = 0; in bcmring_fixup()
168 t->u.core.pagesize = PAGE_SIZE; in bcmring_fixup()
169 t->u.core.rootdev = 31 << 8 | 0; in bcmring_fixup()
170 t = tag_next(t); in bcmring_fixup()
172 t->hdr.tag = ATAG_MEM; in bcmring_fixup()
173 t->hdr.size = tag_size(tag_mem32); in bcmring_fixup()
174 t->u.mem.start = CFG_GLOBAL_RAM_BASE; in bcmring_fixup()
[all …]
/arch/mips/math-emu/
Ddp_sqrt.c40 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 z = t = ieee754dp_mul(y, y); in ieee754dp_sqrt()
113 t.parts.bexp += 0x001; in ieee754dp_sqrt()
114 t = ieee754dp_add(t, z); in ieee754dp_sqrt()
118 t = ieee754dp_div(z, ieee754dp_add(t, x)); in ieee754dp_sqrt()
119 t.parts.bexp += 0x001; in ieee754dp_sqrt()
120 y = ieee754dp_add(y, t); in ieee754dp_sqrt()
129 t = ieee754dp_div(x, y); in ieee754dp_sqrt()
[all …]
/arch/x86/kernel/
Dioport.c25 struct thread_struct *t = &current->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 = &current->thread; in sys_iopl() local
[all …]
/arch/mips/alchemy/common/
Dtime.c103 unsigned long t; in alchemy_time_init() local
120 t = 0xffffff; in alchemy_time_init()
121 while ((au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_T1S) && --t) in alchemy_time_init()
123 if (!t) in alchemy_time_init()
129 t = 0xffffff; in alchemy_time_init()
130 while ((au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_C1S) && --t) in alchemy_time_init()
132 if (!t) in alchemy_time_init()
137 t = 0xffffff; in alchemy_time_init()
138 while ((au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_C1S) && --t) in alchemy_time_init()
140 if (!t) in alchemy_time_init()
[all …]
/arch/m68k/atari/
Dtime.c108 int atari_mste_hwclk( int op, struct rtc_time *t ) in atari_mste_hwclk() argument
121 val.sec_ones = t->tm_sec % 10; in atari_mste_hwclk()
122 val.sec_tens = t->tm_sec / 10; in atari_mste_hwclk()
123 val.min_ones = t->tm_min % 10; in atari_mste_hwclk()
124 val.min_tens = t->tm_min / 10; in atari_mste_hwclk()
125 hour = t->tm_hour; in atari_mste_hwclk()
134 val.day_ones = t->tm_mday % 10; in atari_mste_hwclk()
135 val.day_tens = t->tm_mday / 10; in atari_mste_hwclk()
136 val.mon_ones = (t->tm_mon+1) % 10; in atari_mste_hwclk()
137 val.mon_tens = (t->tm_mon+1) / 10; in atari_mste_hwclk()
[all …]
/arch/m68k/hp300/
Dconfig.c200 static int hp300_hwclk(int op, struct rtc_time *t) in hp300_hwclk() argument
203 t->tm_sec = hp300_rtc_read(RTC_REG_SEC1) * 10 + in hp300_hwclk()
205 t->tm_min = hp300_rtc_read(RTC_REG_MIN1) * 10 + in hp300_hwclk()
207 t->tm_hour = (hp300_rtc_read(RTC_REG_HOUR1) & 3) * 10 + in hp300_hwclk()
209 t->tm_wday = -1; in hp300_hwclk()
210 t->tm_mday = hp300_rtc_read(RTC_REG_DAY1) * 10 + in hp300_hwclk()
212 t->tm_mon = hp300_rtc_read(RTC_REG_MON1) * 10 + in hp300_hwclk()
214 t->tm_year = hp300_rtc_read(RTC_REG_YEAR1) * 10 + in hp300_hwclk()
216 if (t->tm_year <= 69) in hp300_hwclk()
217 t->tm_year += 100; in hp300_hwclk()
[all …]

12345678910>>...18