Lines Matching defs:amount
285 * Given a source and destination address, copy 'amount' of a packet from
290 mx98905_ring_copy(struct dp8390_softc *sc, int src, void *vdst, u_short amount)
302 if (src + amount > sc->mem_end) {
305 /* Copy amount up to end of NIC memory. */
309 amount -= tmp_amount;
314 mx98905_readmem(nict, nich, asict, asich, src, dst, amount, useword);
316 return (src + amount);
361 * copy 'amount' from NIC to host using programmed i/o. The 'amount' is
365 mx98905_readmem(bus_space_tag_t nict, bus_space_handle_t nich, bus_space_tag_t asict, bus_space_handle_t asich, int src, u_int8_t *dst, size_t amount, int useword)
369 resid = amount;