Searched refs:tmo (Results 1 - 25 of 26) sorted by last modified time

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/paride/
H A Dpcd.c559 static int pcd_ready_wait(struct pcd_unit *cd, int tmo) argument
565 while (k < tmo) {
H A Dpg.c283 static int pg_wait(struct pg *dev, int go, int stop, unsigned long tmo, char *msg) argument
291 && time_before(jiffies, tmo)) {
298 to = time_after_eq(jiffies, tmo);
315 static int pg_command(struct pg *dev, char *cmd, int dlen, unsigned long tmo) argument
323 if (pg_wait(dev, STAT_BUSY | STAT_DRQ, 0, tmo, "before command"))
330 if (pg_wait(dev, STAT_BUSY, STAT_DRQ, tmo, "command DRQ"))
352 static int pg_completion(struct pg *dev, char *buf, unsigned long tmo) argument
357 tmo, "completion");
375 tmo, "completion");
H A Dpt.c389 static int pt_poll_dsc(struct pt_unit *tape, int pause, int tmo, char *msg) argument
397 while (k < tmo) {
408 if ((k >= tmo) || (s & STAT_ERR)) {
409 if (k >= tmo)
420 static void pt_media_access_cmd(struct pt_unit *tape, int tmo, char *cmd, char *fun) argument
427 pt_poll_dsc(tape, HZ, tmo, fun);
479 static int pt_ready_wait(struct pt_unit *tape, int tmo) argument
485 while (k < tmo) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dsun3_scsi.c538 int tmo = 20000; /* .2 sec */ local
544 if(--tmo <= 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/core/
H A Ddevio.c624 unsigned int tmo; local
636 tmo = ctrl.timeout;
650 ctrl.wValue, ctrl.wIndex, tbuf, ctrl.wLength, tmo);
684 ctrl.wValue, ctrl.wIndex, tbuf, ctrl.wLength, tmo);
701 unsigned int tmo, len1, pipe; local
723 tmo = bulk.timeout;
732 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo);
762 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/lpfc/
H A Dlpfc_ct.c224 uint32_t tmo)
265 if (!tmo) {
267 tmo = (3 * phba->fc_ratov);
269 icmd->ulpTimeout = tmo;
219 lpfc_gen_req(struct lpfc_hba *phba, struct lpfc_dmabuf *bmp, struct lpfc_dmabuf *inp, struct lpfc_dmabuf *outp, void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, struct lpfc_iocbq *), struct lpfc_nodelist *ndlp, uint32_t usr_flg, uint32_t num_entry, uint32_t tmo) argument
H A Dlpfc_els.c513 uint32_t tmo; local
544 tmo = phba->fc_ratov;
547 phba->fc_ratov = tmo;
H A Dlpfc_hbadisc.c1347 uint32_t tmo; local
1351 tmo = (((phba->fc_edtov + 999) / 1000) + 1);
1356 tmo = ((phba->fc_ratov * 3) + 3);
1359 mod_timer(&phba->fc_disctmo, jiffies + HZ * tmo);
1369 phba->hba_state, tmo, (unsigned long)&phba->fc_disctmo,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/qla2xxx/
H A Dqla_sup.c153 uint32_t tmo)
192 if (!--tmo) {
152 qla2x00_write_nvram_word_tmo(scsi_qla_host_t *ha, uint32_t addr, uint16_t data, uint32_t tmo) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/decnet/
H A Ddn_route.c353 long tmo = (long)(dn_rt_deadline - now); local
355 if (user_mode && tmo < dn_rt_max_delay - dn_rt_min_delay)
356 tmo = 0;
358 if (delay > tmo)
359 delay = tmo;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dinet_diag.c115 #define EXPIRES_IN_MS(tmo) ((tmo - jiffies) * 1000 + HZ - 1) / HZ
165 long tmo; local
176 tmo = tw->tw_ttd - jiffies;
177 if (tmo < 0)
178 tmo = 0;
193 r->idiag_expires = (tmo * 1000 + HZ - 1) / HZ;
542 long tmo; local
557 tmo = req->expires - jiffies;
558 if (tmo <
[all...]
H A Droute.c638 unsigned long tmo = ip_rt_gc_timeout; local
650 tmo >>= 1;
654 } else if (!rt_may_expire(rth, tmo, ip_rt_gc_timeout)) {
655 tmo >>= 1;
730 long tmo = (long)(rt_deadline - now); local
739 if (user_mode && tmo < ip_rt_max_delay-ip_rt_min_delay)
740 tmo = 0;
742 if (delay > tmo)
743 delay = tmo;
834 unsigned long tmo local
[all...]
H A Dtcp.c1682 const int tmo = tcp_fin_time(sk); local
1684 if (tmo > TCP_TIMEWAIT_LEN) {
1686 tmo - TCP_TIMEWAIT_LEN);
1688 tcp_time_wait(sk, TCP_FIN_WAIT2, tmo);
H A Dtcp_input.c4800 int tmo; local
4810 tmo = tcp_fin_time(sk);
4811 if (tmo > TCP_TIMEWAIT_LEN) {
4812 inet_csk_reset_keepalive_timer(sk, tmo - TCP_TIMEWAIT_LEN);
4820 inet_csk_reset_keepalive_timer(sk, tmo);
4822 tcp_time_wait(sk, TCP_FIN_WAIT2, tmo);
H A Dtcp_timer.c451 const int tmo = tcp_fin_time(sk) - TCP_TIMEWAIT_LEN; local
453 if (tmo > 0) {
454 tcp_time_wait(sk, TCP_FIN_WAIT2, tmo);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dicmp.c181 int tmo = sysctl_icmpv6_time; local
185 tmo >>= ((128 - rt->rt6i_dst.plen)>>5);
187 res = xrlim_allow(dst, tmo);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/xfrm/
H A Dxfrm_policy.c287 long tmo = xp->lft.hard_add_expires_seconds + local
289 if (tmo <= 0)
291 if (tmo < next)
292 next = tmo;
295 long tmo = xp->lft.hard_use_expires_seconds + local
297 if (tmo <= 0)
299 if (tmo < next)
300 next = tmo;
303 long tmo = xp->lft.soft_add_expires_seconds + local
305 if (tmo <
313 long tmo = xp->lft.soft_use_expires_seconds + local
[all...]
H A Dxfrm_state.c250 long tmo = x->lft.hard_add_expires_seconds + local
252 if (tmo <= 0)
254 if (tmo < next)
255 next = tmo;
258 long tmo = x->lft.hard_use_expires_seconds + local
260 if (tmo <= 0)
262 if (tmo < next)
263 next = tmo;
268 long tmo = x->lft.soft_add_expires_seconds + local
270 if (tmo <
276 long tmo = x->lft.soft_use_expires_seconds + local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dau1550_ac97.c165 unsigned long tmo; local
171 tmo = jiffies + (msec * HZ) / 1000;
173 tmo2 = tmo - jiffies;
846 int count, tmo; local
861 tmo = 1000 * count / (s->no_vra ?
863 tmo /= s->dma_dac.dma_bytes_per_sample;
864 au1550_delay(tmo);
H A Dau1550_i2s.c101 unsigned long tmo; local
107 tmo = jiffies + (msec * HZ) / 1000;
109 tmo2 = tmo - jiffies;
810 int count, tmo; local
825 tmo = 1000 * count / SAMP_RATE;
826 tmo /= s->dma_dac.dma_bytes_per_sample;
827 au1550_delay(tmo);
H A Dcs46xx.c1424 unsigned long tmo; local
1456 tmo = (dmabuf->dmasize * HZ) / dmabuf->rate;
1457 tmo >>= sample_shift[dmabuf->fmt];
1458 tmo += (2048*HZ)/dmabuf->rate;
1460 if (!schedule_timeout(tmo ? tmo : 1) && tmo){
1834 unsigned count, tmo; local
1849 tmo = (count * HZ) / 3100;
1850 if (!schedule_timeout(tmo
[all...]
H A Des1371.c1270 int count, tmo; local
1289 tmo = 3 * HZ * (count + s->dma_dac1.fragsize) / 2 / s->dac1rate;
1290 tmo >>= sample_shift[(s->sctrl & SCTRL_P1FMT) >> SCTRL_SH_P1FMT];
1291 if (!schedule_timeout(tmo + 1))
1305 int count, tmo; local
1324 tmo = 3 * HZ * (count + s->dma_dac2.fragsize) / 2 / s->dac2rate;
1325 tmo >>= sample_shift[(s->sctrl & SCTRL_P2FMT) >> SCTRL_SH_P2FMT];
1326 if (!schedule_timeout(tmo + 1))
2654 unsigned count, tmo; local
2671 tmo
2854 unsigned long tmo; local
[all...]
H A Di810_audio.c1365 unsigned long tmo; local
1421 tmo = (count * HZ) / (dmabuf->rate);
1422 if (!schedule_timeout(tmo >= 2 ? tmo : 2)){
1612 unsigned long tmo; local
1634 tmo = (dmabuf->dmasize * HZ * 2) / (dmabuf->rate * 4);
1642 if (!schedule_timeout(tmo >= 2 ? tmo : 2)) {
1757 unsigned long tmo; local
1770 tmo
[all...]
H A Dnec_vrc5477.c369 unsigned long tmo; local
375 tmo = jiffies + (msec*HZ)/1000;
377 tmo2 = tmo - jiffies;
946 int count, tmo; local
961 tmo = 1000 * count / s->dacRate / 2;
962 vrc5477_ac97_delay(tmo);
H A Dswarm_cs4297a.c1598 unsigned tmo; local
1611 tmo = ((count * FRAME_TX_US) * HZ) / 1000000;
1612 schedule_timeout(tmo + 1);

Completed in 251 milliseconds

12