Searched refs:tmo (Results 1 - 25 of 30) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/paride/
H A Dpg.c363 static int pg_wait( int unit, int go, int stop, int tmo, char * msg ) argument
370 while ((((r=RR(1,6))&go)||(stop&&(!(r&stop))))&&(time_before(jiffies,tmo))) {
375 if ((r&(STAT_ERR&stop))||time_after_eq(jiffies, tmo)) {
381 PG.name,msg,s,e,p,time_after_eq(jiffies, tmo)?" timeout":"");
384 if (time_after_eq(jiffies, tmo)) e |= 0x100;
391 static int pg_command( int unit, char * cmd, int dlen, int tmo )
399 if (pg_wait(unit,STAT_BUSY|STAT_DRQ,0,tmo,"before command")) {
408 if (pg_wait(unit,STAT_BUSY,STAT_DRQ,tmo,"command DRQ")) {
429 static int pg_completion( int unit, char * buf, int tmo) argument
434 tmo,"completio
[all...]
H A Dpt.c475 static int pt_poll_dsc( int unit, int pause, int tmo, char *msg ) argument
480 while (k < tmo) {
490 if ((k >= tmo) || (s & STAT_ERR)) {
491 if (k >= tmo) printk("%s: %s DSC timeout\n",PT.name,msg);
499 static void pt_media_access_cmd( int unit, int tmo, char *cmd, char *fun) argument
506 pt_poll_dsc(unit,HZ,tmo,fun);
554 static int pt_ready_wait( int unit, int tmo )
560 while (k < tmo) {
H A Dpcd.c629 static int pcd_ready_wait( int unit, int tmo )
635 while (k < tmo) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/
H A Dtcp_diag.c77 long tmo = tw->ttd - jiffies; local
78 if (tmo < 0)
79 tmo = 0;
83 r->tcpdiag_expires = (tmo*1000+HZ-1)/HZ;
105 #define EXPIRES_IN_MS(tmo) ((tmo-jiffies)*1000+HZ-1)/HZ
H A Dtcp_timer.c580 int tmo = tcp_fin_time(tp) - TCP_TIMEWAIT_LEN; local
582 if (tmo > 0) {
583 tcp_time_wait(sk, TCP_FIN_WAIT2, tmo);
H A Droute.c378 unsigned tmo = ip_rt_gc_timeout; local
388 tmo >>= 1;
392 } else if (!rt_may_expire(rth, tmo, ip_rt_gc_timeout)) {
393 tmo >>= 1;
453 long tmo = (long)(rt_deadline - now); local
462 if (user_mode && tmo < ip_rt_max_delay-ip_rt_min_delay)
463 tmo = 0;
465 if (delay > tmo)
466 delay = tmo;
549 unsigned tmo local
[all...]
H A Dtcp.c2028 int tmo = tcp_fin_time(tp); local
2030 if (tmo > TCP_TIMEWAIT_LEN) {
2034 tcp_time_wait(sk, TCP_FIN_WAIT2, tmo);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dsun3_scsi.c545 int tmo = 20000; /* .2 sec */ local
551 if(--tmo <= 0)
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/
H A Ddevio.c551 unsigned int tmo; local
563 tmo = (ctrl.timeout * HZ + 999) / 1000;
570 ctrl.value, ctrl.index, tbuf, ctrl.length, tmo);
585 ctrl.value, ctrl.index, tbuf, ctrl.length, tmo);
599 unsigned int tmo, len1, pipe; local
621 tmo = (bulk.timeout * HZ + 999) / 1000;
627 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo);
641 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Di810_audio.c1167 unsigned long tmo; local
1215 tmo = (count * HZ) / (dmabuf->rate);
1216 if (!schedule_timeout(tmo >= 2 ? tmo : 2)){
1415 unsigned long tmo; local
1437 tmo = (dmabuf->dmasize * HZ * 2) / (dmabuf->rate * 4);
1445 if (!schedule_timeout(tmo >= 2 ? tmo : 2)) {
1566 unsigned long tmo; local
1579 tmo
[all...]
H A Des1371.c1262 int count, tmo; local
1281 tmo = 3 * HZ * (count + s->dma_dac1.fragsize) / 2 / s->dac1rate;
1282 tmo >>= sample_shift[(s->sctrl & SCTRL_P1FMT) >> SCTRL_SH_P1FMT];
1283 if (!schedule_timeout(tmo + 1))
1297 int count, tmo; local
1316 tmo = 3 * HZ * (count + s->dma_dac2.fragsize) / 2 / s->dac2rate;
1317 tmo >>= sample_shift[(s->sctrl & SCTRL_P2FMT) >> SCTRL_SH_P2FMT];
1318 if (!schedule_timeout(tmo + 1))
2643 unsigned count, tmo; local
2661 tmo
2796 unsigned long tmo; local
[all...]
H A Dtrident.c1408 unsigned long tmo; local
1444 tmo = (diff * HZ) / dmabuf->rate;
1448 tmo = (dmabuf->dmasize * HZ) / dmabuf->rate;
1450 tmo >>= sample_shift[dmabuf->fmt];
1451 if (!schedule_timeout(tmo ? tmo : 1) && tmo){
1809 unsigned long tmo; local
1821 tmo = (dmabuf->dmasize * HZ) / (dmabuf->rate * 2);
1822 tmo >>
1934 unsigned long tmo; local
[all...]
H A Desssolo1.c917 unsigned tmo; local
936 tmo = 3 * HZ * (count + s->dma_dac.fragsize) / 2 / s->rate;
938 tmo >>= 1;
940 tmo >>= 1;
941 if (!schedule_timeout(tmo + 1))
1891 unsigned count, tmo; local
1909 tmo = (count * HZ) / 3100;
1910 if (!schedule_timeout(tmo ? : 1) && tmo)
H A Dali5455.c1293 unsigned long tmo; local
1338 tmo = (count * HZ) / (dmabuf->rate);
1339 if (!schedule_timeout(tmo >= 2 ? tmo : 2)) {
1360 unsigned long tmo; local
1412 tmo = (count * HZ) / (dmabuf->rate);
1413 if (!schedule_timeout(tmo >= 2 ? tmo : 2)) {
1645 unsigned long tmo; local
1668 tmo
1826 unsigned long tmo; local
[all...]
H A Des1370.c292 unsigned long tmo = jiffies + HZ/10, j; local
301 } while ((signed)(tmo-j) > 0);
934 int count, tmo; local
953 tmo = 3 * HZ * (count + s->dma_dac1.fragsize) / 2
955 tmo >>= sample_shift[(s->sctrl & SCTRL_P1FMT) >> SCTRL_SH_P1FMT];
956 if (!schedule_timeout(tmo + 1))
970 int count, tmo; local
989 tmo = 3 * HZ * (count + s->dma_dac2.fragsize) / 2
991 tmo >>= sample_shift[(s->sctrl & SCTRL_P2FMT) >> SCTRL_SH_P2FMT];
992 if (!schedule_timeout(tmo
2326 unsigned count, tmo; local
[all...]
H A Dnec_vrc5477.c371 unsigned long tmo; local
377 tmo = jiffies + (msec*HZ)/1000;
379 tmo2 = tmo - jiffies;
910 int count, tmo; local
925 tmo = 1000 * count / s->dacRate / 2;
926 vrc5477_ac97_delay(tmo);
H A Dau1000.c228 unsigned long tmo; local
234 tmo = jiffies + (msec * HZ) / 1000;
236 tmo2 = tmo - jiffies;
926 int count, tmo; local
941 tmo = 1000 * count / (s->no_vra ?
943 tmo /= s->dma_dac.dma_bytes_per_sample;
944 au1000_delay(tmo);
H A Dite8172.c360 unsigned long tmo; local
366 tmo = jiffies + (msec*HZ)/1000;
368 tmo2 = tmo - jiffies;
1018 int count, tmo; local
1033 tmo = 1000 * count / s->dacrate;
1034 tmo >>= sample_shift[(s->pcc & CC_FMT_MASK) >> CC_FMT_BIT];
1035 it8172_delay(tmo);
H A Dymfpci.c1166 unsigned long tmo; local
1179 tmo = (dmabuf->dmasize * HZ) / (state->format.rate * 2);
1180 tmo >>= state->format.shift;
1188 tmo = schedule_timeout(tmo);
1191 if (tmo == 0 && dmabuf->count == 0) {
H A Dcs46xx.c1472 unsigned long tmo; local
1504 tmo = (dmabuf->dmasize * HZ) / dmabuf->rate;
1505 tmo >>= sample_shift[dmabuf->fmt];
1506 tmo += (2048*HZ)/dmabuf->rate;
1508 if (!schedule_timeout(tmo ? tmo : 1) && tmo){
1900 unsigned count, tmo; local
1915 tmo = (count * HZ) / 3100;
1916 if (!schedule_timeout(tmo
[all...]
H A Dcmpci.c1483 int count, tmo; local
1502 tmo = 3 * HZ * (count + s->dma_dac.fragsize) / 2 / s->ratedac;
1503 tmo >>= sample_shift[(s->fmt >> CM_CFMT_DACSHIFT) & CM_CFMT_MASK];
1504 if (!schedule_timeout(tmo + 1))
2508 unsigned count, tmo; local
2530 tmo = (count * HZ) / 3100;
2531 if (!schedule_timeout(tmo ? : 1) && tmo)
H A Dsonicvibes.c1259 int count, tmo; local
1278 tmo = 3 * HZ * (count + s->dma_dac.fragsize) / 2 / s->ratedac;
1279 tmo >>= sample_shift[(s->fmt >> SV_CFMT_ASHIFT) & SV_CFMT_MASK];
1280 if (!schedule_timeout(tmo + 1))
2181 unsigned count, tmo; local
2199 tmo = (count * HZ) / 3100;
2200 if (!schedule_timeout(tmo ? : 1) && tmo)
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/
H A Dicmp.c233 int tmo = sysctl_icmpv6_time; local
237 tmo >>= ((128 - rt->rt6i_dst.plen)>>5);
239 res = xrlim_allow(dst, tmo);
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/decnet/
H A Ddn_route.c278 long tmo = (long)(dn_rt_deadline - now); local
280 if (user_mode && tmo < dn_rt_max_delay - dn_rt_min_delay)
281 tmo = 0;
283 if (delay > tmo)
284 delay = tmo;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/cs4281/
H A Dcs4281m.c2700 unsigned tmo; local
2724 tmo =
2728 tmo >>= 1;
2730 tmo >>= 1;
2731 if (!schedule_timeout(tmo + 1))
2746 unsigned tmo; local
2776 tmo =
2780 tmo >>= 1;
2782 tmo >>= 1;
2783 if (!schedule_timeout(tmo
4128 unsigned count, tmo; local
[all...]

Completed in 444 milliseconds

12