Home
last modified time | relevance | path

Searched refs:tl (Results 1 – 25 of 58) sorted by relevance

123

/linux-3.4.99/drivers/isdn/hisax/
Dfsm.c101 ft->tl.function = (void *) FsmExpireTimer; in FsmInitTimer()
102 ft->tl.data = (long) ft; in FsmInitTimer()
107 init_timer(&ft->tl); in FsmInitTimer()
117 del_timer(&ft->tl); in FsmDelTimer()
131 if (timer_pending(&ft->tl)) { in FsmAddTimer()
136 init_timer(&ft->tl); in FsmAddTimer()
139 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in FsmAddTimer()
140 add_timer(&ft->tl); in FsmAddTimer()
155 if (timer_pending(&ft->tl)) in FsmRestartTimer()
156 del_timer(&ft->tl); in FsmRestartTimer()
[all …]
Disdnl3.c172 t->tl.function = (void *) L3ExpireTimer; in L3InitTimer()
173 t->tl.data = (long) t; in L3InitTimer()
174 init_timer(&t->tl); in L3InitTimer()
180 del_timer(&t->tl); in L3DelTimer()
187 if (timer_pending(&t->tl)) { in L3AddTimer()
191 init_timer(&t->tl); in L3AddTimer()
193 t->tl.expires = jiffies + (millisec * HZ) / 1000; in L3AddTimer()
194 add_timer(&t->tl); in L3AddTimer()
Dfsm.h45 struct timer_list tl; member
/linux-3.4.99/drivers/s390/net/
Dfsm.c145 this->tl.function = (void *)fsm_expire_timer; in fsm_settimer()
146 this->tl.data = (long)this; in fsm_settimer()
151 init_timer(&this->tl); in fsm_settimer()
161 del_timer(&this->tl); in fsm_deltimer()
173 init_timer(&this->tl); in fsm_addtimer()
174 this->tl.function = (void *)fsm_expire_timer; in fsm_addtimer()
175 this->tl.data = (long)this; in fsm_addtimer()
178 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_addtimer()
179 add_timer(&this->tl); in fsm_addtimer()
193 del_timer(&this->tl); in fsm_modtimer()
[all …]
/linux-3.4.99/drivers/isdn/mISDN/
Dfsm.c113 ft->tl.function = (void *) FsmExpireTimer; in mISDN_FsmInitTimer()
114 ft->tl.data = (long) ft; in mISDN_FsmInitTimer()
119 init_timer(&ft->tl); in mISDN_FsmInitTimer()
131 del_timer(&ft->tl); in mISDN_FsmDelTimer()
146 if (timer_pending(&ft->tl)) { in mISDN_FsmAddTimer()
155 init_timer(&ft->tl); in mISDN_FsmAddTimer()
158 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmAddTimer()
159 add_timer(&ft->tl); in mISDN_FsmAddTimer()
175 if (timer_pending(&ft->tl)) in mISDN_FsmRestartTimer()
176 del_timer(&ft->tl); in mISDN_FsmRestartTimer()
[all …]
Dtimerdev.c46 struct timer_list tl; member
80 del_timer(&timer->tl); in mISDN_close()
183 timer->tl.data = (long)timer; in misdn_add_timer()
184 timer->tl.function = dev_expire_timer; in misdn_add_timer()
185 init_timer(&timer->tl); in misdn_add_timer()
186 timer->tl.expires = jiffies + ((HZ * (u_long)timeout) / 1000); in misdn_add_timer()
187 add_timer(&timer->tl); in misdn_add_timer()
207 del_timer(&timer->tl); in misdn_del_timer()
Ddsp_tones.c481 init_timer(&tone->tl); in dsp_tone_timeout()
482 tone->tl.expires = jiffies + (pat->seq[index] * HZ) / 8000; in dsp_tone_timeout()
483 add_timer(&tone->tl); in dsp_tone_timeout()
508 if (dsp->features.hfc_loops && timer_pending(&tonet->tl)) in dsp_tone()
509 del_timer(&tonet->tl); in dsp_tone()
542 if (timer_pending(&tonet->tl)) in dsp_tone()
543 del_timer(&tonet->tl); in dsp_tone()
544 init_timer(&tonet->tl); in dsp_tone()
545 tonet->tl.expires = jiffies + (pat->seq[0] * HZ) / 8000; in dsp_tone()
546 add_timer(&tonet->tl); in dsp_tone()
Dfsm.h53 struct timer_list tl; member
Ddsp_core.c928 if (timer_pending(&dsp->tone.tl)) in dsp_function()
929 del_timer(&dsp->tone.tl); in dsp_function()
976 if (timer_pending(&dsp->tone.tl)) in dsp_ctrl()
977 del_timer(&dsp->tone.tl); in dsp_ctrl()
1092 ndsp->tone.tl.function = (void *)dsp_tone_timeout; in dspcreate()
1093 ndsp->tone.tl.data = (long) ndsp; in dspcreate()
1094 init_timer(&ndsp->tone.tl); in dspcreate()
/linux-3.4.99/drivers/block/drbd/
Ddrbd_nl.c2076 unsigned short *tl; in drbd_nl_get_config() local
2078 tl = reply->tag_list; in drbd_nl_get_config()
2081 tl = disk_conf_to_tags(mdev, &mdev->ldev->dc, tl); in drbd_nl_get_config()
2086 tl = net_conf_to_tags(mdev, mdev->net_conf, tl); in drbd_nl_get_config()
2089 tl = syncer_conf_to_tags(mdev, &mdev->sync_conf, tl); in drbd_nl_get_config()
2091 put_unaligned(TT_END, tl++); /* Close the tag list */ in drbd_nl_get_config()
2093 return (int)((char *)tl - (char *)reply->tag_list); in drbd_nl_get_config()
2099 unsigned short *tl = reply->tag_list; in drbd_nl_get_state() local
2104 tl = get_state_to_tags(mdev, (struct get_state *)&s, tl); in drbd_nl_get_state()
2110 tl = tl_add_int(tl, T_sync_progress, &res); in drbd_nl_get_state()
[all …]
/linux-3.4.99/crypto/
Dvmac.c113 int i; u64 th, tl; \
116 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
118 ADD128(rh, rl, th, tl); \
124 int i; u64 th, tl; \
127 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
129 ADD128(rh, rl, th, tl); \
130 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i+2], \
132 ADD128(rh1, rl1, th, tl); \
139 int i; u64 th, tl; \
142 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
[all …]
Dcamellia_generic.c380 u32 dw, tl, tr; in camellia_setup_tail() local
479 tl = subL[10] ^ (subR[10] & ~subR[8]); in camellia_setup_tail()
480 dw = tl & subL[8], /* FL(kl1) */ in camellia_setup_tail()
482 SUBKEY_L(7) = subL[6] ^ tl; /* round 6 */ in camellia_setup_tail()
488 tl = subL[7] ^ (subR[7] & ~subR[9]); in camellia_setup_tail()
489 dw = tl & subL[9], /* FLinv(kl2) */ in camellia_setup_tail()
491 SUBKEY_L(10) = tl ^ subL[11]; /* round 7 */ in camellia_setup_tail()
501 tl = subL[18] ^ (subR[18] & ~subR[16]); in camellia_setup_tail()
502 dw = tl & subL[16], /* FL(kl3) */ in camellia_setup_tail()
504 SUBKEY_L(15) = subL[14] ^ tl; /* round 12 */ in camellia_setup_tail()
[all …]
/linux-3.4.99/lib/
Dinflate.c589 struct huft *tl, /* literal/length decoder tables */ in inflate_codes() argument
617 if ((e = (t = tl + ((unsigned)b & ml))->e) > 16) in inflate_codes()
770 struct huft *tl; /* literal/length code table */ in inflate_fixed() local
792 if ((i = huft_build(l, 288, 257, cplens, cplext, &tl, &bl)) != 0) { in inflate_fixed()
803 huft_free(tl); in inflate_fixed()
812 if (inflate_codes(tl, td, bl, bd)) { in inflate_fixed()
819 huft_free(tl); in inflate_fixed()
836 struct huft *tl; /* literal/length code table */ in inflate_dynamic() local
900 if ((i = huft_build(ll, 19, 19, NULL, NULL, &tl, &bl)) != 0) in inflate_dynamic()
903 huft_free(tl); in inflate_dynamic()
[all …]
/linux-3.4.99/arch/x86/crypto/
Dcamellia_glue.c852 u32 dw, tl, tr; in camellia_setup_tail() local
963 tl = (subRL[10] >> 32) ^ (subRL[10] & ~subRL[8]); in camellia_setup_tail()
964 dw = tl & (subRL[8] >> 32), /* FL(kl1) */ in camellia_setup_tail()
966 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
972 tl = (subRL[7] >> 32) ^ (subRL[7] & ~subRL[9]); in camellia_setup_tail()
973 dw = tl & (subRL[9] >> 32), /* FLinv(kl2) */ in camellia_setup_tail()
975 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
983 tl = (subRL[18] >> 32) ^ (subRL[18] & ~subRL[16]); in camellia_setup_tail()
984 dw = tl & (subRL[16] >> 32), /* FL(kl3) */ in camellia_setup_tail()
986 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
[all …]
/linux-3.4.99/drivers/net/wireless/iwlegacy/
D4965-rs.c251 il4965_rs_tl_rm_old_stats(struct il_traffic_load *tl, u32 curr_time) in il4965_rs_tl_rm_old_stats() argument
256 while (tl->queue_count && tl->time_stamp < oldest_time) { in il4965_rs_tl_rm_old_stats()
257 tl->total -= tl->packet_count[tl->head]; in il4965_rs_tl_rm_old_stats()
258 tl->packet_count[tl->head] = 0; in il4965_rs_tl_rm_old_stats()
259 tl->time_stamp += TID_QUEUE_CELL_SPACING; in il4965_rs_tl_rm_old_stats()
260 tl->queue_count--; in il4965_rs_tl_rm_old_stats()
261 tl->head++; in il4965_rs_tl_rm_old_stats()
262 if (tl->head >= TID_QUEUE_MAX_SIZE) in il4965_rs_tl_rm_old_stats()
263 tl->head = 0; in il4965_rs_tl_rm_old_stats()
277 struct il_traffic_load *tl = NULL; in il4965_rs_tl_add_packet() local
[all …]
/linux-3.4.99/arch/sparc/kernel/
Detrap_64.S173 rdpr %tl, %g1
175 wrpr %g0, 1, %tl
185 wrpr %g0, 2, %tl
200 wrpr %g0, 3, %tl
210 wrpr %g0, 4, %tl
223 wrpr %g0, 1, %tl
Dcherrs.S181 rdpr %tl, %g1 ! Save original trap level
184 1: wrpr %g2, %tl ! Set trap level to check
188 wrpr %g1, %tl ! Restore original trap level
193 wrpr %g1, %tl ! Restore original trap level
234 rdpr %tl, %g1 ! Save original trap level
237 1: wrpr %g2, %tl ! Set trap level to check
241 wrpr %g1, %tl ! Restore original trap level
246 wrpr %g1, %tl ! Restore original trap level
Dentry.h168 extern void sun4v_itlb_error_report(struct pt_regs *regs, int tl);
175 extern void sun4v_dtlb_error_report(struct pt_regs *regs, int tl);
/linux-3.4.99/drivers/net/wireless/iwlwifi/
Diwl-agn-rs.c266 static void rs_tl_rm_old_stats(struct iwl_traffic_load *tl, u32 curr_time) in rs_tl_rm_old_stats() argument
271 while (tl->queue_count && in rs_tl_rm_old_stats()
272 (tl->time_stamp < oldest_time)) { in rs_tl_rm_old_stats()
273 tl->total -= tl->packet_count[tl->head]; in rs_tl_rm_old_stats()
274 tl->packet_count[tl->head] = 0; in rs_tl_rm_old_stats()
275 tl->time_stamp += TID_QUEUE_CELL_SPACING; in rs_tl_rm_old_stats()
276 tl->queue_count--; in rs_tl_rm_old_stats()
277 tl->head++; in rs_tl_rm_old_stats()
278 if (tl->head >= TID_QUEUE_MAX_SIZE) in rs_tl_rm_old_stats()
279 tl->head = 0; in rs_tl_rm_old_stats()
[all …]
/linux-3.4.99/kernel/
Dposix-cpu-timers.c1060 struct cpu_timer_list *tl = list_first_entry(timers, in check_process_timers() local
1063 if (!--maxfire || ptime < tl->expires.cpu) { in check_process_timers()
1064 prof_expires = tl->expires.cpu; in check_process_timers()
1067 tl->firing = 1; in check_process_timers()
1068 list_move_tail(&tl->entry, firing); in check_process_timers()
1075 struct cpu_timer_list *tl = list_first_entry(timers, in check_process_timers() local
1078 if (!--maxfire || utime < tl->expires.cpu) { in check_process_timers()
1079 virt_expires = tl->expires.cpu; in check_process_timers()
1082 tl->firing = 1; in check_process_timers()
1083 list_move_tail(&tl->entry, firing); in check_process_timers()
[all …]
/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_intr.c543 unsigned long tl, hd, status, lengen; in handle_sdma_errors() local
544 tl = ipath_read_kreg64(dd, dd->ipath_kregs->kr_senddmatail); in handle_sdma_errors()
551 "lengen 0x%lx\n", tl, hd, status, lengen); in handle_sdma_errors()
589 u32 hd, tl; in handle_hdrq_full() local
613 tl = ipath_read_ureg32(dd, ur_rcvhdrtail, i); in handle_hdrq_full()
615 tl = ipath_get_rcvhdrtail(pd); in handle_hdrq_full()
616 if (tl == pd->port_lastrcvhdrqtail) in handle_hdrq_full()
620 if (hd == (tl + 1) || (!hd && tl == dd->ipath_hdrqlast)) { in handle_hdrq_full()
621 pd->port_lastrcvhdrqtail = tl; in handle_hdrq_full()
/linux-3.4.99/drivers/ide/
Dpmac.c787 u32 *timings, *timings2, tl[2]; in pmac_ide_set_dma_mode() local
795 tl[0] = *timings; in pmac_ide_set_dma_mode()
796 tl[1] = *timings2; in pmac_ide_set_dma_mode()
800 ret = set_timings_udma_ata4(&tl[0], speed); in pmac_ide_set_dma_mode()
803 ret = set_timings_udma_ata6(&tl[0], &tl[1], speed); in pmac_ide_set_dma_mode()
805 ret = set_timings_udma_shasta(&tl[0], &tl[1], speed); in pmac_ide_set_dma_mode()
809 set_timings_mdma(drive, pmif->kind, &tl[0], &tl[1], speed); in pmac_ide_set_dma_mode()
815 *timings = tl[0]; in pmac_ide_set_dma_mode()
816 *timings2 = tl[1]; in pmac_ide_set_dma_mode()
/linux-3.4.99/drivers/input/keyboard/
Dmpr121_touchkey.c131 unsigned char usl, lsl, tl, eleconf; in mpr121_phys_init() local
163 tl = (usl * 90) / 100; in mpr121_phys_init()
166 ret |= i2c_smbus_write_byte_data(client, AUTO_CONFIG_TL_ADDR, tl); in mpr121_phys_init()
/linux-3.4.99/fs/ocfs2/
Dalloc.c5751 struct ocfs2_truncate_log *tl; in ocfs2_truncate_log_needs_flush() local
5754 tl = &di->id2.i_dealloc; in ocfs2_truncate_log_needs_flush()
5756 mlog_bug_on_msg(le16_to_cpu(tl->tl_used) > le16_to_cpu(tl->tl_count), in ocfs2_truncate_log_needs_flush()
5759 le16_to_cpu(tl->tl_used), le16_to_cpu(tl->tl_count)); in ocfs2_truncate_log_needs_flush()
5760 return le16_to_cpu(tl->tl_used) == le16_to_cpu(tl->tl_count); in ocfs2_truncate_log_needs_flush()
5763 static int ocfs2_truncate_log_can_coalesce(struct ocfs2_truncate_log *tl, in ocfs2_truncate_log_can_coalesce() argument
5770 if (!le16_to_cpu(tl->tl_used)) in ocfs2_truncate_log_can_coalesce()
5773 tail_index = le16_to_cpu(tl->tl_used) - 1; in ocfs2_truncate_log_can_coalesce()
5774 current_tail = le32_to_cpu(tl->tl_recs[tail_index].t_start); in ocfs2_truncate_log_can_coalesce()
5775 current_tail += le32_to_cpu(tl->tl_recs[tail_index].t_clusters); in ocfs2_truncate_log_can_coalesce()
[all …]
/linux-3.4.99/arch/um/include/shared/
Dnet_kern.h28 struct timer_list tl; member

123