---------------------------- spi_setup_slave() { spi = spi_alloc_slave(struct zynq_spi_slave, bus, cs); spi->slave.rd_cmd = RD_CMD_FULL; spi->slave.wr_cmd = WR_CMD_FULL; }