Lines Matching refs:tp

19 	struct tulip_private *tp =  in tulip_media_task()  local
21 struct net_device *dev = tp->dev; in tulip_media_task()
22 void __iomem *ioaddr = tp->base_addr; in tulip_media_task()
34 switch (tp->chip_id) { in tulip_media_task()
43 if (tp->mtable == NULL) { /* No EEPROM info, use generic code. */ in tulip_media_task()
53 mleaf = &tp->mtable->mleaf[tp->cur_index]; in tulip_media_task()
87 if (tp->medialock) in tulip_media_task()
90 if (--tp->cur_index < 0) { in tulip_media_task()
92 tp->cur_index = tp->mtable->leafcount - 1; in tulip_media_task()
94 dev->if_port = tp->mtable->mleaf[tp->cur_index].media; in tulip_media_task()
100 medianame[tp->mtable->mleaf[tp->cur_index].media]); in tulip_media_task()
103 tulip_restart_rxtx(tp); in tulip_media_task()
126 spin_lock_irqsave(&tp->lock, flags); in tulip_media_task()
127 if (tp->timeout_recovery) { in tulip_media_task()
128 tulip_tx_timeout_complete(tp, ioaddr); in tulip_media_task()
129 tp->timeout_recovery = 0; in tulip_media_task()
131 spin_unlock_irqrestore(&tp->lock, flags); in tulip_media_task()
136 mod_timer(&tp->timer, RUN_AT(next_tick)); in tulip_media_task()
142 struct tulip_private *tp = from_timer(tp, t, timer); in mxic_timer() local
143 struct net_device *dev = tp->dev; in mxic_timer()
144 void __iomem *ioaddr = tp->base_addr; in mxic_timer()
152 mod_timer(&tp->timer, RUN_AT(next_tick)); in mxic_timer()
159 struct tulip_private *tp = from_timer(tp, t, timer); in comet_timer() local
160 struct net_device *dev = tp->dev; in comet_timer()
165 tulip_mdio_read(dev, tp->phys[0], 1), in comet_timer()
166 tulip_mdio_read(dev, tp->phys[0], 5)); in comet_timer()
174 mod_timer(&tp->timer, RUN_AT(next_tick)); in comet_timer()