Home
last modified time | relevance | path

Searched refs:pktoff (Results 1 – 2 of 2) sorted by relevance

/external/syslinux/gpxe/src/drivers/net/
Dne2k_isa.c276 unsigned short pktoff; in ne_poll() local
292 pktoff = next << 8; in ne_poll()
294 eth_pio_read(pktoff, (unsigned char *)&pkthdr, 4); in ne_poll()
296 memcpy(&pkthdr, bus_to_virt(eth_rmem + pktoff), 4); in ne_poll()
297 pktoff += sizeof(pkthdr); in ne_poll()
308 frag = (eth_memsize << 8) - pktoff; in ne_poll()
312 eth_pio_read(pktoff, p, frag); in ne_poll()
314 memcpy(p, bus_to_virt(eth_rmem + pktoff), frag); in ne_poll()
315 pktoff = eth_rx_start << 8; in ne_poll()
321 eth_pio_read(pktoff, p, len); in ne_poll()
[all …]
Dns8390.c507 unsigned short pktoff; in ns8390_poll() local
543 pktoff = next << 8; in ns8390_poll()
545 eth_pio_read(pktoff, (unsigned char *)&pkthdr, 4); in ns8390_poll()
547 memcpy(&pkthdr, bus_to_virt(eth_rmem + pktoff), 4); in ns8390_poll()
548 pktoff += sizeof(pkthdr); in ns8390_poll()
559 frag = (eth_memsize << 8) - pktoff; in ns8390_poll()
563 eth_pio_read(pktoff, p, frag); in ns8390_poll()
565 memcpy(p, bus_to_virt(eth_rmem + pktoff), frag); in ns8390_poll()
566 pktoff = eth_rx_start << 8; in ns8390_poll()
572 eth_pio_read(pktoff, p, len); in ns8390_poll()
[all …]