Home
last modified time | relevance | path

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

12

/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()
Delsa.c430 del_timer(&cs->hw.elsa.tl); in release_io_elsa()
612 del_timer(&cs->hw.elsa.tl); in elsa_led_handler()
640 init_timer(&cs->hw.elsa.tl); in elsa_led_handler()
641 cs->hw.elsa.tl.expires = jiffies + ((blink * HZ) / 1000); in elsa_led_handler()
642 add_timer(&cs->hw.elsa.tl); in elsa_led_handler()
1147 cs->hw.elsa.tl.function = (void *) elsa_led_handler; in setup_elsa_common()
1148 cs->hw.elsa.tl.data = (long) cs; in setup_elsa_common()
1149 init_timer(&cs->hw.elsa.tl); in setup_elsa_common()
Dfsm.h45 struct timer_list tl; member
Ddiva.c723 del_timer(&cs->hw.diva.tl); in release_io_diva()
807 del_timer(&cs->hw.diva.tl); in diva_led_handler()
829 init_timer(&cs->hw.diva.tl); in diva_led_handler()
830 cs->hw.diva.tl.expires = jiffies + ((blink * HZ) / 1000); in diva_led_handler()
831 add_timer(&cs->hw.diva.tl); in diva_led_handler()
979 cs->hw.diva.tl.function = (void *) diva_led_handler; in setup_diva_common()
980 cs->hw.diva.tl.data = (long) cs; in setup_diva_common()
981 init_timer(&cs->hw.diva.tl); in setup_diva_common()
Dhisax.h192 struct timer_list tl; member
199 struct timer_list tl; member
565 struct timer_list tl; member
622 struct timer_list tl; member
/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 …]
Dfsm.h91 struct timer_list tl; member
/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 …]
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()
Dtimerdev.c46 struct timer_list tl; member
84 del_timer_sync(&timer->tl); in mISDN_close()
190 setup_timer(&timer->tl, dev_expire_timer, (long)timer); in misdn_add_timer()
196 timer->tl.expires = jiffies + ((HZ * (u_long)timeout) / 1000); in misdn_add_timer()
197 add_timer(&timer->tl); in misdn_add_timer()
214 del_timer_sync(&timer->tl); in misdn_del_timer()
Ddsp_core.c929 if (timer_pending(&dsp->tone.tl)) in dsp_function()
930 del_timer(&dsp->tone.tl); in dsp_function()
977 if (timer_pending(&dsp->tone.tl)) in dsp_ctrl()
978 del_timer(&dsp->tone.tl); in dsp_ctrl()
1093 ndsp->tone.tl.function = (void *)dsp_tone_timeout; in dspcreate()
1094 ndsp->tone.tl.data = (long) ndsp; in dspcreate()
1095 init_timer(&ndsp->tone.tl); in dspcreate()
Dfsm.h53 struct timer_list tl; member
Ddsp.h154 struct timer_list tl; member
/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 …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.c28 struct channel_tlv *tl = in bnx2x_add_tlv() local
31 tl->type = type; in bnx2x_add_tlv()
32 tl->length = length; in bnx2x_add_tlv()
48 bnx2x_add_tlv(bp, &first_tlv->tl, 0, type, length); in bnx2x_vfpf_prep()
58 first_tlv->tl.type); in bnx2x_vfpf_finalize()
213 bnx2x_add_tlv(bp, req, req->first_tlv.tl.length, CHANNEL_TLV_LIST_END, in bnx2x_vfpf_acquire()
318 bnx2x_add_tlv(bp, req, req->first_tlv.tl.length, CHANNEL_TLV_LIST_END, in bnx2x_vfpf_release()
367 bnx2x_add_tlv(bp, req, req->first_tlv.tl.length, CHANNEL_TLV_LIST_END, in bnx2x_vfpf_init()
418 bnx2x_add_tlv(bp, req, req->first_tlv.tl.length, CHANNEL_TLV_LIST_END, in bnx2x_vfpf_close_vf()
505 bnx2x_add_tlv(bp, req, req->first_tlv.tl.length, CHANNEL_TLV_LIST_END, in bnx2x_vfpf_setup_q()
[all …]
Dbnx2x_vfpf.h89 struct channel_tlv tl; member
95 struct channel_tlv tl; member
107 struct channel_tlv tl; member
/drivers/net/wireless/iwlwifi/mvm/
Drs.c267 static void rs_tl_rm_old_stats(struct iwl_traffic_load *tl, u32 curr_time) in rs_tl_rm_old_stats() argument
272 while (tl->queue_count && in rs_tl_rm_old_stats()
273 (tl->time_stamp < oldest_time)) { in rs_tl_rm_old_stats()
274 tl->total -= tl->packet_count[tl->head]; in rs_tl_rm_old_stats()
275 tl->packet_count[tl->head] = 0; in rs_tl_rm_old_stats()
276 tl->time_stamp += TID_QUEUE_CELL_SPACING; in rs_tl_rm_old_stats()
277 tl->queue_count--; in rs_tl_rm_old_stats()
278 tl->head++; in rs_tl_rm_old_stats()
279 if (tl->head >= TID_QUEUE_MAX_SIZE) in rs_tl_rm_old_stats()
280 tl->head = 0; in rs_tl_rm_old_stats()
[all …]
/drivers/net/wireless/iwlwifi/dvm/
Drs.c264 static void rs_tl_rm_old_stats(struct iwl_traffic_load *tl, u32 curr_time) in rs_tl_rm_old_stats() argument
269 while (tl->queue_count && in rs_tl_rm_old_stats()
270 (tl->time_stamp < oldest_time)) { in rs_tl_rm_old_stats()
271 tl->total -= tl->packet_count[tl->head]; in rs_tl_rm_old_stats()
272 tl->packet_count[tl->head] = 0; in rs_tl_rm_old_stats()
273 tl->time_stamp += TID_QUEUE_CELL_SPACING; in rs_tl_rm_old_stats()
274 tl->queue_count--; in rs_tl_rm_old_stats()
275 tl->head++; in rs_tl_rm_old_stats()
276 if (tl->head >= TID_QUEUE_MAX_SIZE) in rs_tl_rm_old_stats()
277 tl->head = 0; in rs_tl_rm_old_stats()
[all …]
/drivers/infiniband/hw/ipath/
Dipath_intr.c542 unsigned long tl, hd, status, lengen; in handle_sdma_errors() local
543 tl = ipath_read_kreg64(dd, dd->ipath_kregs->kr_senddmatail); in handle_sdma_errors()
550 "lengen 0x%lx\n", tl, hd, status, lengen); in handle_sdma_errors()
588 u32 hd, tl; in handle_hdrq_full() local
612 tl = ipath_read_ureg32(dd, ur_rcvhdrtail, i); in handle_hdrq_full()
614 tl = ipath_get_rcvhdrtail(pd); in handle_hdrq_full()
615 if (tl == pd->port_lastrcvhdrqtail) in handle_hdrq_full()
619 if (hd == (tl + 1) || (!hd && tl == dd->ipath_hdrqlast)) { in handle_hdrq_full()
620 pd->port_lastrcvhdrqtail = tl; in handle_hdrq_full()
/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()
/drivers/staging/goldfish/
Dgoldfish_sync.c282 struct sw_sync_timeline *tl; in goldfish_sync_fence_create() local
288 tl = obj->sw_sync_tl; in goldfish_sync_fence_create()
290 syncpt = sw_sync_pt_create(tl, val); in goldfish_sync_fence_create()
294 tl, val); in goldfish_sync_fence_create()
311 tl, val, syncpt); in goldfish_sync_fence_create()
/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()
/drivers/net/usb/
Drtl8150.c131 struct tasklet_struct tl; member
438 tasklet_schedule(&dev->tl); in read_bulk_callback()
611 tasklet_schedule(&dev->tl); in rx_fixup()
875 tasklet_init(&dev->tl, rx_fixup, (unsigned long)dev); in rtl8150_probe()
925 tasklet_kill(&dev->tl); in rtl8150_disconnect()
/drivers/staging/rtl8187se/
Dr8180_core.c2049 void rtl8180_hw_sleep(struct net_device *dev, u32 th, u32 tl) in rtl8180_hw_sleep() argument
2061 tl -= MSECS(4+16+7); in rtl8180_hw_sleep()
2067 if (((tl >= rb) && (tl-rb) <= MSECS(MIN_SLEEP_TIME)) in rtl8180_hw_sleep()
2068 || ((rb > tl) && (rb-tl) < MSECS(MIN_SLEEP_TIME))) { in rtl8180_hw_sleep()
2075 u32 tmp = (tl > rb) ? (tl-rb) : (rb-tl); in rtl8180_hw_sleep()
2086 if (((tl > rb) && ((tl-rb) > MSECS(MAX_SLEEP_TIME))) || in rtl8180_hw_sleep()
2087 ((tl < rb) && ((rb-tl) > MSECS(MAX_SLEEP_TIME)))) { in rtl8180_hw_sleep()

12