Lines Matching defs:to

26  *      v0.005: started to play around with LANCE-DMA. This driver will not
29 * v0.006: added pointer arrays to lance_private and setup routine for
32 * v0.007: Big shit. The LANCE seems to use a different DMA mechanism to
37 * seems to be correct. HK
39 * v0.008: mods to make PMAX_LANCE work. 01/09/1999 triemer
45 * PMAX requirement to only use halfword accesses to the
48 * v0.011: Converted the PMAD to the driver model. macro
176 * as seen from the CPU is (max) 128 kB long and has to be on an 128 kB
182 * four 32-bit words by the IOASIC. This leads to a strange padding:
264 /* Pointers to the ring buffers as seen from the CPU */
268 /* Pointers to the ring buffers as seen from the LANCE */
280 * so we have to give the structure an extra member making rap pointing
318 /* Point back to csr0 */
326 static void cp_to_buf(const int type, void *to, const void *from, int len)
335 memcpy(to, from, len);
338 tp = to;
357 tp = to;
385 static void cp_from_buf(const int type, void *to, const void *from, int len)
394 memcpy(to, from, len);
397 tp = to;
418 tp = to;
460 /* Copy the ethernet address to the lance init block.
461 * XXX bit 0 of the physical address registers has to be zero
533 /* Wait for the lance to complete initialization */
631 /* Return the packet to the pool */
922 /* Now, give the packet to the lance */
1116 "%s: Unable to reserve MMIO resource\n",
1212 /* Copy the ethernet address to the device structure, later to the
1238 /* busmaster_regval (CSR3) should be zero according to the PMAD-AA
1248 * use a timer to try again later when necessary. -DaveM
1257 "%s: Unable to register netdev, aborting.\n", name);