Lines Matching refs:msec
604 #define DE4X5_AUTOSENSE_MS 250 /* msec autosense tick (DE500) */
929 static int test_media(struct net_device *dev, s32 irqs, s32 irq_mask, s32 csr13, s32 csr14, s32 csr15, s32 msec);
930 static int test_for_100Mb(struct net_device *dev, int msec);
932 static int test_mii_reg(struct net_device *dev, int reg, int mask, bool pol, long msec);
937 static int ping_media(struct net_device *dev, int msec);
951 static int test_ans(struct net_device *dev, s32 irqs, s32 irq_mask, s32 msec);
952 static int test_tp(struct net_device *dev, s32 msec);
3332 test_media(struct net_device *dev, s32 irqs, s32 irq_mask, s32 csr13, s32 csr14, s32 csr15, s32 msec)
3339 lp->timeout = msec/100;
3370 test_tp(struct net_device *dev, s32 msec)
3377 lp->timeout = msec/100;
3399 test_for_100Mb(struct net_device *dev, int msec)
3405 if ((msec/SAMPLE_INTERVAL) <= 0) return 0;
3406 if (msec > SAMPLE_DELAY) {
3407 lp->timeout = (msec - SAMPLE_DELAY)/SAMPLE_INTERVAL;
3411 lp->timeout = msec/SAMPLE_INTERVAL;
3452 test_mii_reg(struct net_device *dev, int reg, int mask, bool pol, long msec)
3459 lp->timeout = msec/100;
3562 ping_media(struct net_device *dev, int msec)
3569 lp->timeout = msec/100;
3794 test_ans(struct net_device *dev, s32 irqs, s32 irq_mask, s32 msec)
3801 lp->timeout = msec/100;