host-drivers/base-driver/vca/plx87xx/plx_hw.c
void plx_write_spad(struct plx_device *xdev, unsigned int idx, u32 val)
{
	dev_dbg(&xdev->pdev->dev, "Writing 0x%x to scratch pad index %d\n",
		val, idx);
	plx_mmio_write(&xdev->mmio, val, xdev->reg_base + PLX_SPAD0 + idx * 4);
}
/**
 * plx_write_spad() - write to the scratchpad register
 * @xdev: pointer to plx_device instance
 * @idx: index to the scratchpad register, 0 based
 * @val: the data value to put into the register
 *
 * This function allows writing of a 32bit value to the indexed scratchpad
 * register.
 *
 * RETURNS: none.
 */
write to the scratchpad register
@xdev: pointer to plx_device instance
@idx: index to the scratchpad register, 0 based
@val: the data value to put into the register

This function allows writing of a 32bit value to the indexed scratchpad
register.

none.
write to the scratchpad register @xdev : pointer to plx_device instance @idx : index to the scratchpad register 0 based @val : the data value to put into the register This function allows writing of a 32bit value to the indexed scratchpad register . none .
void plx_write_spad(struct plx_device *xdev, unsigned int idx, u32 val)
{
	dev_dbg(&xdev->pdev->dev, "Writing 0x%x to scratch pad index %d\n",
		val, idx);
	plx_mmio_write(&xdev->mmio, val, xdev->reg_base + PLX_SPAD0 + idx * 4);
}
void plx_write_spad ( struct plx_device * xdev , unsigned int idx , u32 val ) { dev_dbg ( & xdev -> pdev -> dev , " \n " , val , idx ) ; plx_mmio_write ( & xdev -> mmio , val , xdev -> reg_base + PLX_SPAD0 + idx * 4 ) ; }
plx_write_spad() - write to the scratchpad register
 @xdev: pointer to plx_device instance
 @idx: index to the scratchpad register, 0 based
 @val: the data value to put into the register
plx_write_spad () - write to the scratchpad register @xdev : pointer to plx_device instance @idx : index to the scratchpad register 0 based @val : the data value to put into the register