Lines Matching refs:nic
53 static int epic100_poll(struct nic *nic, int retrieve);
54 static void epic100_transmit(struct nic *nic, const char *destaddr,
60 static void epic100_irq(struct nic *nic, irq_action_t action);
100 struct nic *nic = (struct nic *)dev; in epic100_probe() local
114 nic->irqno = 0; in epic100_probe()
115 nic->ioaddr = pci->ioaddr & ~3; in epic100_probe()
177 ap = (unsigned short*)nic->node_addr; in epic100_probe()
181 printf(" I/O %#hX %! ", ioaddr, nic->node_addr); in epic100_probe()
205 nic->poll = epic100_poll; in epic100_probe()
206 nic->transmit = epic100_transmit; in epic100_probe()
207 nic->irq = epic100_irq; in epic100_probe()
301 epic100_transmit(struct nic *nic, const char *destaddr, unsigned int type, in epic100_transmit() argument
322 memcpy(txp + ETH_ALEN, nic->node_addr, ETH_ALEN); in epic100_transmit()
368 epic100_poll(struct nic *nic, int retrieve) in epic100_poll() argument
397 nic->packetlen = le32_to_cpu((rx_ring[entry].buflength))- 4; in epic100_poll()
398 memcpy(nic->packet, &rx_packet[entry * PKT_BUF_SZ], nic->packetlen); in epic100_poll()
422 static void epic100_irq(struct nic *nic __unused, irq_action_t action __unused) in epic100_irq()