/* We can optionally program the RF directly through CR regs, if supported by the hardware. This is much faster than the older method.  */
int zd_rfwrite_cr_locked(struct zd_chip *chip, u32 value)
/* We can optionally program the RF directly through CR regs, if supported by the hardware. This is much faster than the older method.  */
int zd_rfwrite_cr_locked(struct zd_chip *chip, u32 value)
{
	struct zd_ioreq16 ioreqs[] = {
		{ CR244, (value >> 16) & 0xff },
		{ CR243, (value >>  8) & 0xff },
		{ CR242,  value        & 0xff },
	};
	ZD_ASSERT(mutex_is_locked(&chip->mutex));
	return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs));
}