/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2011, 2012 Cavium, Inc. */ #include <linux/spi/spi.h> #include <linux/module.h> #include <linux/delay.h> #include <linux/io.h> #include "spi-cavium.h" static void octeon_spi_wait_ready(struct octeon_spi *p) { … } static int octeon_spi_do_transfer(struct octeon_spi *p, struct spi_message *msg, struct spi_transfer *xfer, bool last_xfer) { … } int octeon_spi_transfer_one_message(struct spi_controller *ctlr, struct spi_message *msg) { … }