Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/arcnet/
H A Drfc1201.c443 struct arc_rfc1201 *soft, int softlen, int bufnum) in load_pkt() argument
450 if (softlen > MinTU) { in load_pkt()
452 hard->offset[1] = ofs = 512 - softlen; in load_pkt()
453 } else if (softlen > MTU) { /* exception packet - add an extra header */ in load_pkt()
461 ofs = 512 - softlen; in load_pkt()
466 hard->offset[0] = ofs = 256 - softlen; in load_pkt()
470 lp->hw.copy_to_card(dev, bufnum, ofs, soft, softlen); in load_pkt()