/linux-2.4.37.9/drivers/media/video/ |
D | tda7432.c | 264 struct tda7432 *t = i2c_get_clientdata(client); in tda7432_set() local 270 t->input,t->volume,t->bass,t->treble,t->lf,t->lr,t->rf,t->rr,t->loud); in tda7432_set() 272 buf[1] = t->input; in tda7432_set() 273 buf[2] = t->volume; in tda7432_set() 274 buf[3] = t->bass; in tda7432_set() 275 buf[4] = t->treble; in tda7432_set() 276 buf[5] = t->lf; in tda7432_set() 277 buf[6] = t->lr; in tda7432_set() 278 buf[7] = t->rf; in tda7432_set() 279 buf[8] = t->rr; in tda7432_set() [all …]
|
D | saa5249.c | 162 struct saa5249_device *t; in saa5249_attach() local 171 t = kmalloc(sizeof(*t), GFP_KERNEL); in saa5249_attach() 172 if(t==NULL) in saa5249_attach() 177 memset(t, 0, sizeof(*t)); in saa5249_attach() 179 init_MUTEX(&t->lock); in saa5249_attach() 188 kfree(t); in saa5249_attach() 196 memset(t->vdau[pgbuf].pgbuf, ' ', sizeof(t->vdau[0].pgbuf)); in saa5249_attach() 197 memset(t->vdau[pgbuf].sregs, 0, sizeof(t->vdau[0].sregs)); in saa5249_attach() 198 memset(t->vdau[pgbuf].laststat, 0, sizeof(t->vdau[0].laststat)); in saa5249_attach() 199 t->vdau[pgbuf].expire = 0; in saa5249_attach() [all …]
|
D | tda9887.c | 122 static int tda9887_miro(struct tda9887 *t) in tda9887_miro() argument 150 if (t->radio) { in tda9887_miro() 156 if (3 == t->pinnacle_id) { in tda9887_miro() 168 } else if (t->tvnorm == VIDEO_MODE_PAL) { in tda9887_miro() 173 if (1 == t->pinnacle_id) { in tda9887_miro() 199 if ((5 == t->pinnacle_id) || (6 == t->pinnacle_id)) { in tda9887_miro() 207 } else if (t->tvnorm == VIDEO_MODE_SECAM) { in tda9887_miro() 235 } else if (t->tvnorm == VIDEO_MODE_NTSC) { in tda9887_miro() 242 if ((5 == t->pinnacle_id) || (6 == t->pinnacle_id)) { in tda9887_miro() 267 bData[1],bData[2],bData[3],t->pinnacle_id); in tda9887_miro() [all …]
|
D | tda9875.c | 181 struct tda9875 *t = i2c_get_clientdata(client); in do_tda9875_init() local 216 t->mode=AUDIO_UNMUTE; in do_tda9875_init() 217 t->lvol=t->rvol =0; /* 0dB */ in do_tda9875_init() 218 t->bass=0; /* 0dB */ in do_tda9875_init() 219 t->treble=0; /* 0dB */ in do_tda9875_init() 248 struct tda9875 *t; in tda9875_attach() local 252 t = kmalloc(sizeof *t,GFP_KERNEL); in tda9875_attach() 253 if (!t) in tda9875_attach() 255 memset(t,0,sizeof *t); in tda9875_attach() 257 client = &t->c; in tda9875_attach() [all …]
|
/linux-2.4.37.9/arch/mips/ddb5xxx/ddb5476/ |
D | nile4_pic.c | 26 u32 offset, t; in nile4_map_irq() local 33 t = ddb_in32(offset); in nile4_map_irq() 34 t &= ~(7 << (nile4_irq * 4)); in nile4_map_irq() 35 t |= cpu_irq << (nile4_irq * 4); in nile4_map_irq() 36 ddb_out32(offset, t); in nile4_map_irq() 41 u32 all, t; in nile4_map_irq_all() local 47 t = ddb_in32(DDB_INTCTRL); in nile4_map_irq_all() 48 t &= 0x88888888; in nile4_map_irq_all() 49 t |= all; in nile4_map_irq_all() 50 ddb_out32(DDB_INTCTRL, t); in nile4_map_irq_all() [all …]
|
/linux-2.4.37.9/arch/m68k/hp300/ |
D | ints.c | 46 irq_node_t *t; in hp300_int_handler() local 50 for(t = hp300_irq_list[irq]; t; t=t->next) in hp300_int_handler() 51 t->handler(irq, t->dev_id, fp); in hp300_int_handler() 75 irq_node_t *t, *n = new_irq_node(); in hp300_request_irq() local 92 for(t = hp300_irq_list[irq]; t->next; t = t->next) in hp300_request_irq() 95 t->next = n; in hp300_request_irq() 109 irq_node_t *t; in hp300_free_irq() local 114 t = hp300_irq_list[irq]; in hp300_free_irq() 115 if (!t) /* no handlers at all for that IRQ */ in hp300_free_irq() 122 if (t->dev_id == dev_id) in hp300_free_irq() [all …]
|
/linux-2.4.37.9/arch/arm/mach-sa1100/ |
D | cep.c | 40 struct tag *t = (struct tag *)params; in fixup_cep() local 46 if (t->hdr.tag != ATAG_CORE) in fixup_cep() 49 if (t->hdr.tag != ATAG_CORE) { in fixup_cep() 50 t->hdr.tag = ATAG_CORE; in fixup_cep() 51 t->hdr.size = tag_size(tag_core); in fixup_cep() 52 t->u.core.flags = 0; in fixup_cep() 53 t->u.core.pagesize = PAGE_SIZE; in fixup_cep() 54 t->u.core.rootdev = RAMDISK_MAJOR << 8 | 0; in fixup_cep() 55 t = tag_next(t); in fixup_cep() 57 t->hdr.tag = ATAG_MEM; in fixup_cep() [all …]
|
D | assabet.c | 146 struct tag *t = (struct tag *)params; in fixup_assabet() local 158 if (t->hdr.tag != ATAG_CORE) in fixup_assabet() 161 if (t->hdr.tag != ATAG_CORE) { in fixup_assabet() 162 t->hdr.tag = ATAG_CORE; in fixup_assabet() 163 t->hdr.size = tag_size(tag_core); in fixup_assabet() 164 t->u.core.flags = 0; in fixup_assabet() 165 t->u.core.pagesize = PAGE_SIZE; in fixup_assabet() 166 t->u.core.rootdev = RAMDISK_MAJOR << 8 | 0; in fixup_assabet() 167 t = tag_next(t); in fixup_assabet() 169 t->hdr.tag = ATAG_MEM; in fixup_assabet() [all …]
|
/linux-2.4.37.9/crypto/ |
D | cast5.c | 584 u32 l, r, t; in cast5_encrypt() local 607 t = l; l = r; r = t ^ F1(r, Km[0], Kr[0]); in cast5_encrypt() 608 t = l; l = r; r = t ^ F2(r, Km[1], Kr[1]); in cast5_encrypt() 609 t = l; l = r; r = t ^ F3(r, Km[2], Kr[2]); in cast5_encrypt() 610 t = l; l = r; r = t ^ F1(r, Km[3], Kr[3]); in cast5_encrypt() 611 t = l; l = r; r = t ^ F2(r, Km[4], Kr[4]); in cast5_encrypt() 612 t = l; l = r; r = t ^ F3(r, Km[5], Kr[5]); in cast5_encrypt() 613 t = l; l = r; r = t ^ F1(r, Km[6], Kr[6]); in cast5_encrypt() 614 t = l; l = r; r = t ^ F2(r, Km[7], Kr[7]); in cast5_encrypt() 615 t = l; l = r; r = t ^ F3(r, Km[8], Kr[8]); in cast5_encrypt() [all …]
|
D | aes.c | 159 u32 i, t; in gen_tabs() local 192 t = p; in gen_tabs() 193 fl_tab[0][i] = t; in gen_tabs() 194 fl_tab[1][i] = rotl (t, 8); in gen_tabs() 195 fl_tab[2][i] = rotl (t, 16); in gen_tabs() 196 fl_tab[3][i] = rotl (t, 24); in gen_tabs() 198 t = ((u32) ff_mult (2, p)) | in gen_tabs() 202 ft_tab[0][i] = t; in gen_tabs() 203 ft_tab[1][i] = rotl (t, 8); in gen_tabs() 204 ft_tab[2][i] = rotl (t, 16); in gen_tabs() [all …]
|
/linux-2.4.37.9/arch/cris/kernel/ |
D | fasttimer.c | 300 void start_one_shot_timer(struct fast_timer *t, in start_one_shot_timer() argument 314 do_gettimeofday_fast(&t->tv_set); in start_one_shot_timer() 320 if (tmp == t) in start_one_shot_timer() 335 t->delay_us = delay_us; in start_one_shot_timer() 336 t->function = function; in start_one_shot_timer() 337 t->data = data; in start_one_shot_timer() 338 t->name = name; in start_one_shot_timer() 340 t->tv_expires.tv_usec = t->tv_set.tv_usec + delay_us % 1000000; in start_one_shot_timer() 341 t->tv_expires.tv_sec = t->tv_set.tv_sec + delay_us / 1000000; in start_one_shot_timer() 342 if (t->tv_expires.tv_usec > 1000000) in start_one_shot_timer() [all …]
|
/linux-2.4.37.9/arch/mips/ddb5xxx/ddb5074/ |
D | nile4_pic.c | 28 u32 offset, t; in nile4_map_irq() local 35 t = ddb_in32(offset); in nile4_map_irq() 36 t &= ~(7 << (nile4_irq * 4)); in nile4_map_irq() 37 t |= cpu_irq << (nile4_irq * 4); in nile4_map_irq() 38 ddb_out32(offset, t); in nile4_map_irq() 43 u32 all, t; in nile4_map_irq_all() local 49 t = ddb_in32(DDB_INTCTRL); in nile4_map_irq_all() 50 t &= 0x88888888; in nile4_map_irq_all() 51 t |= all; in nile4_map_irq_all() 52 ddb_out32(DDB_INTCTRL, t); in nile4_map_irq_all() [all …]
|
/linux-2.4.37.9/drivers/parport/ |
D | procfs.c | 380 struct parport_sysctl_table *t; in parport_proc_register() local 383 t = kmalloc(sizeof(*t), GFP_KERNEL); in parport_proc_register() 384 if (t == NULL) in parport_proc_register() 386 memcpy(t, &parport_sysctl_template, sizeof(*t)); in parport_proc_register() 388 t->device_dir[0].extra1 = port; in parport_proc_register() 391 t->vars[i].extra1 = port; in parport_proc_register() 393 t->vars[0].data = &port->spintime; in parport_proc_register() 394 t->vars[5].child = t->device_dir; in parport_proc_register() 397 t->vars[6 + i].extra2 = &port->probe_info[i]; in parport_proc_register() 399 t->port_dir[0].procname = port->name; in parport_proc_register() [all …]
|
/linux-2.4.37.9/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 …]
|
/linux-2.4.37.9/include/linux/ |
D | interrupt.h | 141 static inline int tasklet_trylock(struct tasklet_struct *t) in tasklet_trylock() argument 143 return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_trylock() 146 static inline void tasklet_unlock(struct tasklet_struct *t) in tasklet_unlock() argument 149 clear_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_unlock() 152 static inline void tasklet_unlock_wait(struct tasklet_struct *t) in tasklet_unlock_wait() argument 154 while (test_bit(TASKLET_STATE_RUN, &(t)->state)) { barrier(); } in tasklet_unlock_wait() 157 #define tasklet_trylock(t) 1 argument 158 #define tasklet_unlock_wait(t) do { } while (0) argument 159 #define tasklet_unlock(t) do { } while (0) argument 162 extern void FASTCALL(__tasklet_schedule(struct tasklet_struct *t)); [all …]
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | atomic.h | 27 int t; in atomic_add() local 34 : "=&r" (t), "=m" (v->counter) in atomic_add() 41 int t; in atomic_add_return() local 49 : "=&r" (t) in atomic_add_return() 53 return t; in atomic_add_return() 58 int t; in atomic_sub() local 65 : "=&r" (t), "=m" (v->counter) in atomic_sub() 72 int t; in atomic_sub_return() local 80 : "=&r" (t) in atomic_sub_return() 84 return t; in atomic_sub_return() [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | dgrs_asstruct.h | 9 # define MO(t,a) (a) argument 10 # define VMO(t,a) (a) argument 13 # define S1A(t,x,n) _Off=(_Off+0)&~0; x=_Off; _Off=_Off+(1*n) argument 14 # define S2A(t,x,n) _Off=(_Off+1)&~1; x=_Off; _Off=_Off+(2*n) argument 15 # define S4A(t,x,n) _Off=(_Off+3)&~3; x=_Off; _Off=_Off+(4*n) argument 19 # define S1(t,x) _Off=(_Off+0)&~0; x=_Off; _Off=_Off+1 argument 20 # define S2(t,x) _Off=(_Off+1)&~1; x=_Off; _Off=_Off+2 argument 21 # define S4(t,x) _Off=(_Off+3)&~3; x=_Off; _Off=_Off+4 argument 26 #define VMO(t,a) (*(volatile t *)(a)) argument 29 # define S1(t,x) t x ; argument [all …]
|
/linux-2.4.37.9/drivers/ide/ |
D | ide-timing.h | 177 static void ide_timing_quantize(struct ide_timing *t, struct ide_timing *q, int T, int UT) in ide_timing_quantize() argument 179 q->setup = EZ(t->setup * 1000, T); in ide_timing_quantize() 180 q->act8b = EZ(t->act8b * 1000, T); in ide_timing_quantize() 181 q->rec8b = EZ(t->rec8b * 1000, T); in ide_timing_quantize() 182 q->cyc8b = EZ(t->cyc8b * 1000, T); in ide_timing_quantize() 183 q->active = EZ(t->active * 1000, T); in ide_timing_quantize() 184 q->recover = EZ(t->recover * 1000, T); in ide_timing_quantize() 185 q->cycle = EZ(t->cycle * 1000, T); in ide_timing_quantize() 186 q->udma = EZ(t->udma * 1000, UT); in ide_timing_quantize() 203 struct ide_timing *t; in ide_timing_find_mode() local [all …]
|
/linux-2.4.37.9/arch/parisc/math-emu/ |
D | fpudispatch.c | 289 u_int r1,r2,t; /* operand register offsets */ in decode_0c() local 305 t = extru(ir,fptpos,5) * sizeof(double)/sizeof(u_int); in decode_0c() 306 if (t == 0 && class != 2) /* don't allow fr0 as a dest */ in decode_0c() 321 t &= ~3; /* force to even reg #s */ in decode_0c() 323 fpregs[t+3] = fpregs[r1+3]; in decode_0c() 324 fpregs[t+2] = fpregs[r1+2]; in decode_0c() 326 fpregs[t+1] = fpregs[r1+1]; in decode_0c() 328 fpregs[t] = fpregs[r1]; in decode_0c() 336 t &= ~3; /* force to even reg #s */ in decode_0c() 338 fpregs[t+3] = fpregs[r1+3]; in decode_0c() [all …]
|
/linux-2.4.37.9/include/asm-ppc/ |
D | atomic.h | 37 int t; in atomic_add() local 45 : "=&r" (t), "=m" (v->counter) in atomic_add() 52 int t; in atomic_add_return() local 61 : "=&r" (t) in atomic_add_return() 65 return t; in atomic_add_return() 70 int t; in atomic_sub() local 78 : "=&r" (t), "=m" (v->counter) in atomic_sub() 85 int t; in atomic_sub_return() local 94 : "=&r" (t) in atomic_sub_return() 98 return t; in atomic_sub_return() [all …]
|
/linux-2.4.37.9/kernel/ |
D | softirq.c | 152 void fastcall __tasklet_schedule(struct tasklet_struct *t) in __tasklet_schedule() argument 158 t->next = tasklet_vec[cpu].list; in __tasklet_schedule() 159 tasklet_vec[cpu].list = t; in __tasklet_schedule() 164 void fastcall __tasklet_hi_schedule(struct tasklet_struct *t) in __tasklet_hi_schedule() argument 170 t->next = tasklet_hi_vec[cpu].list; in __tasklet_hi_schedule() 171 tasklet_hi_vec[cpu].list = t; in __tasklet_hi_schedule() 187 struct tasklet_struct *t = list; in tasklet_action() local 191 if (tasklet_trylock(t)) { in tasklet_action() 192 if (!atomic_read(&t->count)) { in tasklet_action() 193 if (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_action() [all …]
|
/linux-2.4.37.9/include/linux/sunrpc/ |
D | sched.h | 116 #define RPC_IS_ASYNC(t) ((t)->tk_flags & RPC_TASK_ASYNC) argument 117 #define RPC_IS_SETUID(t) ((t)->tk_flags & RPC_TASK_SETUID) argument 118 #define RPC_IS_CHILD(t) ((t)->tk_flags & RPC_TASK_CHILD) argument 119 #define RPC_IS_SWAPPER(t) ((t)->tk_flags & RPC_TASK_SWAPPER) argument 120 #define RPC_DO_ROOTOVERRIDE(t) ((t)->tk_flags & RPC_TASK_ROOTCREDS) argument 121 #define RPC_ASSASSINATED(t) ((t)->tk_flags & RPC_TASK_KILLED) argument 122 #define RPC_IS_ACTIVATED(t) ((t)->tk_active) argument 123 #define RPC_DO_CALLBACK(t) ((t)->tk_callback != NULL) argument 127 #define RPC_IS_SLEEPING(t) (test_bit(RPC_TASK_SLEEPING, &(t)->tk_runstate)) argument 128 #define RPC_IS_RUNNING(t) (test_bit(RPC_TASK_RUNNING, &(t)->tk_runstate)) argument [all …]
|
/linux-2.4.37.9/lib/zlib_inflate/ |
D | infblock.c | 108 uInt t; /* temporary storage */ local 124 t = (uInt)b & 7; 125 s->last = t & 1; 126 switch (t >> 1) 130 t = k & 7; /* go to byte boundary */ 131 DUMPBITS(t) 179 t = s->sub.left; local 180 if (t > n) t = n; 181 if (t > m) t = m; 182 memcpy(q, p, t); [all …]
|
/linux-2.4.37.9/drivers/sound/emu10k1/ |
D | timer.c | 40 struct emu_timer *t; in emu10k1_timer_irqhandler() local 46 t = list_entry(entry, struct emu_timer, list); in emu10k1_timer_irqhandler() 48 if (t->state & TIMER_STATE_ACTIVE) { in emu10k1_timer_irqhandler() 49 t->count++; in emu10k1_timer_irqhandler() 50 if (t->count == t->count_max) { in emu10k1_timer_irqhandler() 51 t->count = 0; in emu10k1_timer_irqhandler() 52 tasklet_hi_schedule(&t->tasklet); in emu10k1_timer_irqhandler() 64 struct emu_timer *t; in emu10k1_timer_install() local 91 t = list_entry(entry, struct emu_timer, list); in emu10k1_timer_install() 93 t->count_max = t->delay / delay; in emu10k1_timer_install() [all …]
|
/linux-2.4.37.9/net/ipv4/ |
D | ip_gre.c | 166 struct ip_tunnel *t; in ipgre_tunnel_lookup() local 168 for (t = tunnels_r_l[h0^h1]; t; t = t->next) { in ipgre_tunnel_lookup() 169 if (local == t->parms.iph.saddr && remote == t->parms.iph.daddr) { in ipgre_tunnel_lookup() 170 if (t->parms.i_key == key && (t->dev->flags&IFF_UP)) in ipgre_tunnel_lookup() 171 return t; in ipgre_tunnel_lookup() 174 for (t = tunnels_r[h0^h1]; t; t = t->next) { in ipgre_tunnel_lookup() 175 if (remote == t->parms.iph.daddr) { in ipgre_tunnel_lookup() 176 if (t->parms.i_key == key && (t->dev->flags&IFF_UP)) in ipgre_tunnel_lookup() 177 return t; in ipgre_tunnel_lookup() 180 for (t = tunnels_l[h1]; t; t = t->next) { in ipgre_tunnel_lookup() [all …]
|