Home
last modified time | relevance | path

Searched refs:packetlen (Results 1 – 25 of 26) sorted by relevance

12

/external/grub/netboot/
Dsmc9000.c341 nic->packetlen = (inw(smc9000_base + DATA_1) & 0x07ff); in smc9000_poll()
344 nic->packetlen -= 6; in smc9000_poll()
347 (nic->packetlen >> 1), nic->packetlen & 1); in smc9000_poll()
350 insw(smc9000_base + DATA_1, nic->packet, (nic->packetlen+2) >> 1); in smc9000_poll()
352 if (nic->packet[nic->packetlen+1] & 0x20) in smc9000_poll()
353 nic->packetlen++; in smc9000_poll()
D3c595.c272 nic->packetlen=rx_fifo; in t595_poll()
282 insw(BASE + VX_W1_RX_PIO_RD_1, nic->packet+nic->packetlen, rx_fifo / 2); in t595_poll()
284 nic->packet[nic->packetlen+rx_fifo-1]=inb(BASE + VX_W1_RX_PIO_RD_1); in t595_poll()
285 nic->packetlen+=rx_fifo; in t595_poll()
292 printf("=%d",nic->packetlen); in t595_poll()
D3c509.c262 nic->packetlen=rx_fifo; in t509_poll()
271 insw(BASE + EP_W1_RX_PIO_RD_1, nic->packet+nic->packetlen, rx_fifo / 2); in t509_poll()
273 nic->packet[nic->packetlen+rx_fifo-1]=inb(BASE + EP_W1_RX_PIO_RD_1); in t509_poll()
274 nic->packetlen+=rx_fifo; in t509_poll()
281 printf("=%d",nic->packetlen); in t509_poll()
Dcs89x0.c425 nic->packetlen = inw(eth_nic_base + RX_FRAME_PORT); in cs89x0_poll()
426 insw(eth_nic_base + RX_FRAME_PORT, nic->packet, nic->packetlen >> 1); in cs89x0_poll()
427 if (nic->packetlen & 1) in cs89x0_poll()
428 nic->packet[nic->packetlen-1] = inw(eth_nic_base + RX_FRAME_PORT); in cs89x0_poll()
Dnic.h27 unsigned int packetlen; member
Dmain.c764 if (nic.packetlen >= ETH_HLEN) in await_reply()
773 if (nic.packetlen >= ETH_HLEN + sizeof (struct arprequest) in await_reply()
824 && nic.packetlen >= ETH_HLEN + sizeof (struct arprequest) in await_reply()
845 if (nic.packetlen < protohdrlen || ptype != IP) in await_reply()
884 && (nic.packetlen in await_reply()
887 && (nic.packetlen in await_reply()
Dni5010.c230 nic->packetlen = inw(IE_RCNT); in ni5010_poll()
234 insb(IE_RBUF, nic->packet, nic->packetlen); in ni5010_poll()
Dotulip.c316 nic->packetlen = (rxd[rxd_tail].status & 0x3FFF0000) >> 16; in tulip_poll()
323 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen); in tulip_poll()
Depic100.c386 nic->packetlen = rx_ring[entry].rxlength - 4; in epic100_poll()
387 memcpy(nic->packet, (char*)rx_ring[entry].bufaddr, nic->packetlen); in epic100_poll()
Drtl8139.c420 nic->packetlen = rx_size - 4; /* no one cares about the FCS */ in rtl_poll()
430 memcpy(nic->packet, rx_ring + ring_offs + 4, nic->packetlen); in rtl_poll()
Dfa311.c253 nic->packetlen = (desc_status & 0x0fff) - 4; /* Omit CRC size. */ in fa311_poll()
254 memcpy(nic->packet, (char*)(dev->rx_ring[entry].addr), nic->packetlen); in fa311_poll()
Dtiara.c154 nic->packetlen = len; in tiara_poll()
Deepro100.c458 nic->packetlen = ACCESS(rxfd)count & 0x3fff; in eepro100_poll()
459 memcpy (nic->packet, ACCESS(rxfd)packet, nic->packetlen); in eepro100_poll()
Dnatsemi.c692 nic->packetlen = (rx_status & DSIZE) - CRC_SIZE; in natsemi_poll()
701 memcpy(nic->packet, (rxb + cur_rx*RX_BUF_SIZE), nic->packetlen); in natsemi_poll()
Ddavicom.c603 nic->packetlen = (rxd[rxd_tail].status & 0x3FFF0000) >> 16; in davicom_poll()
617 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen); in davicom_poll()
Dsis900.c989 nic->packetlen = (rx_status & DSIZE) - CRC_SIZE; in sis900_poll()
998 memcpy(nic->packet, (rxb + cur_rx*RX_BUF_SIZE), nic->packetlen); in sis900_poll()
Dvia-rhine.c1119 nic->packetlen = tp->rx_ring[tp->cur_rx].rx_status.bits.frame_length; in rhine_poll()
1120 memcpy (nic->packet, tp->rx_buffs[tp->cur_rx], nic->packetlen); in rhine_poll()
Di82586.c407 nic->packetlen = pkt_len; in i82586_poll()
Ddepca.c596 memcpy(nic->packet, lp.rx_memcpy[entry], nic->packetlen = lp.rx_ring[entry].msg_length); in depca_poll()
Deepro.c378 nic->packetlen = rcv_size; in eepro_poll()
Dlance.c315 memcpy(nic->packet, lp->rbuf[lp->rx_idx], nic->packetlen = lp->rx_ring[lp->rx_idx].msg_length); in lance_poll()
D3c90x.c652 nic->packetlen = (INF_3C90X.ReceiveUPD.UpPktStatus & 0x1FFF); in a3c90x_poll()
Dsk_g16.c594 memcpy(nic->packet, (unsigned char *) (rmdp->u.buffer & 0x00ffffff), nic->packetlen = len); in SK_poll()
Dw89c840.c452 nic->packetlen = pkt_len; in w89c840_poll()
Dns8390.c482 nic->packetlen = len; /* available to caller */ in ns8390_poll()

12