Home
last modified time | relevance | path

Searched refs:mtt (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/include/net/irda/
Dirda_device.h200 ((struct irda_skb_cb *)(skb->cb))->mtt : 10000 \
207 __u16 mtt;
210 mtt = 10000;
212 mtt = ((struct irda_skb_cb *)(skb->cb))->mtt;
214 ASSERT(mtt <= 10000, return 10000;);
216 return mtt;
Dirda.h189 __u16 mtt; /* Minimum turn around time */ member
/linux-2.4.37.9/drivers/net/irda/
Dirda-usb.c339 int res, mtt; in irda_usb_hard_xmit() local
441 mtt = irda_get_mtt(skb); in irda_usb_hard_xmit()
442 if (mtt) { in irda_usb_hard_xmit()
457 if (mtt > diff) { in irda_usb_hard_xmit()
458 mtt -= diff; in irda_usb_hard_xmit()
459 if (mtt > 1000) in irda_usb_hard_xmit()
460 mdelay(mtt/1000); in irda_usb_hard_xmit()
462 udelay(mtt); in irda_usb_hard_xmit()
Dw83977af_ir.c502 int mtt; in w83977af_hard_xmit() local
535 mtt = irda_get_mtt(skb); in w83977af_hard_xmit()
537 if (mtt > 50) { in w83977af_hard_xmit()
539 mtt /= 1000+1; in w83977af_hard_xmit()
543 outb(mtt & 0xff, iobase+TMRL); in w83977af_hard_xmit()
544 outb((mtt >> 8) & 0x0f, iobase+TMRH); in w83977af_hard_xmit()
555 IRDA_DEBUG(4, "%s(%ld), mtt=%d\n", __FUNCTION__, jiffies, mtt); in w83977af_hard_xmit()
556 if (mtt) in w83977af_hard_xmit()
557 udelay(mtt); in w83977af_hard_xmit()
Ddonauboe.c677 toshoboe_makemttpacket (struct toshoboe_cb *self, void *buf, int mtt) in toshoboe_makemttpacket() argument
681 xbofs = ((int) (mtt/100)) * (int) (self->speed); in toshoboe_makemttpacket()
687 , xbofs,mtt,self->speed); in toshoboe_makemttpacket()
1030 int mtt, len, ctl; in toshoboe_hard_xmit() local
1094 if ((mtt = irda_get_mtt(skb))) in toshoboe_hard_xmit()
1109 mtt = toshoboe_makemttpacket (self, self->tx_bufs[self->txs], mtt); in toshoboe_hard_xmit()
1111 ,skb->len,mtt,self->txpending); in toshoboe_hard_xmit()
1112 if (mtt) in toshoboe_hard_xmit()
1114 self->ring->tx[self->txs].len = mtt & 0xfff; in toshoboe_hard_xmit()
Dali-ircc.c1436 int mtt, diff; in ali_ircc_fir_hard_xmit() local
1476 mtt = irda_get_mtt(skb); in ali_ircc_fir_hard_xmit()
1478 if (mtt) in ali_ircc_fir_hard_xmit()
1494 if (mtt > diff) in ali_ircc_fir_hard_xmit()
1496 mtt -= diff; in ali_ircc_fir_hard_xmit()
1503 if (mtt > 500) in ali_ircc_fir_hard_xmit()
1506 mtt = (mtt+250) / 500; /* 4 discard, 5 get advanced, Let's round off */ in ali_ircc_fir_hard_xmit()
1508 IRDA_DEBUG(1, "%s(), ************** mtt = %d ***********\n", __FUNCTION__, mtt); in ali_ircc_fir_hard_xmit()
1511 if (mtt == 1) /* 500 us */ in ali_ircc_fir_hard_xmit()
1516 else if (mtt == 2) /* 1 ms */ in ali_ircc_fir_hard_xmit()
[all …]
Dnsc-ircc.c1267 int mtt, diff; in nsc_ircc_hard_xmit_fir() local
1307 mtt = irda_get_mtt(skb); in nsc_ircc_hard_xmit_fir()
1308 if (mtt) { in nsc_ircc_hard_xmit_fir()
1318 if (mtt > diff) { in nsc_ircc_hard_xmit_fir()
1319 mtt -= diff; in nsc_ircc_hard_xmit_fir()
1326 if (mtt > 125) { in nsc_ircc_hard_xmit_fir()
1328 mtt = mtt / 125; in nsc_ircc_hard_xmit_fir()
1332 outb(mtt & 0xff, iobase+TMRL); in nsc_ircc_hard_xmit_fir()
1333 outb((mtt >> 8) & 0x0f, iobase+TMRH); in nsc_ircc_hard_xmit_fir()
1346 udelay(mtt); in nsc_ircc_hard_xmit_fir()
Dtoshoboe.c269 int mtt, len; in toshoboe_hard_xmit() local
327 mtt = irda_get_mtt (skb); in toshoboe_hard_xmit()
328 if (mtt) in toshoboe_hard_xmit()
329 udelay (mtt); in toshoboe_hard_xmit()
Dsmc-ircc.c719 int mtt; in ircc_hard_xmit() local
748 mtt = irda_get_mtt(skb); in ircc_hard_xmit()
749 if (mtt) { in ircc_hard_xmit()
756 bofs = mtt * (self->io->speed / 1000) / 8000; in ircc_hard_xmit()
Dsa1100_ir.c775 int mtt = irda_get_mtt(skb); in sa1100_irda_hard_xmit() local
797 if (mtt) in sa1100_irda_hard_xmit()
798 udelay(mtt); in sa1100_irda_hard_xmit()
Dvlsi_ir.c958 int mtt; in vlsi_hard_start_xmit() local
1015 if ((mtt = irda_get_mtt(skb)) > 0) { in vlsi_hard_start_xmit()
1017 ready.tv_usec = idev->last_rx.tv_usec + mtt; in vlsi_hard_start_xmit()
/linux-2.4.37.9/net/irda/
Dirlap_frame.c63 cb->mtt = self->mtt_required; in irlap_insert_info()