/* The source data is assumed to be in little-endian order in memory and is maintained in little-endian order when written to LRAM.  */
static void AscMemWordCopyPtrToLram(PortAddr iop_base, ushort s_addr, const uchar *s_buffer, int words)
/* The source data is assumed to be in little-endian order in memory and is maintained in little-endian order when written to LRAM.  */
static void AscMemWordCopyPtrToLram(PortAddr iop_base, ushort s_addr, const uchar *s_buffer, int words)
{
	int i;
	AscSetChipLramAddr(iop_base, s_addr);
	for (i = 0; i < 2 * words; i += 2) {
		outpw(iop_base + IOP_RAM_DATA,
		      ((ushort)s_buffer[i + 1] << 8) | s_buffer[i]);
	}
}