Lines Matching +full:rx +full:- +full:mode

7  * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
35 #include <asm/octeon/cvmx-gmxx-defs.h>
37 /* CSR typedefs have been moved to cvmx-csr-*.h */
49 int (*reset_cb) (int interface, cvmx_spi_mode_t mode);
52 int (*calendar_setup_cb) (int interface, cvmx_spi_mode_t mode,
55 /** Called for Tx and Rx clock detection */
56 int (*clock_detect_cb) (int interface, cvmx_spi_mode_t mode,
60 int (*training_cb) (int interface, cvmx_spi_mode_t mode, int timeout);
63 int (*calendar_sync_cb) (int interface, cvmx_spi_mode_t mode,
67 int (*interface_up_cb) (int interface, cvmx_spi_mode_t mode);
88 * @mode: The operating mode for the SPI interface. The interface
89 * can operate as a full duplex (both Tx and Rx data paths
91 * active or the Rx data path is active, but not both).
97 extern int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode,
106 * @mode: The operating mode for the SPI interface. The interface
107 * can operate as a full duplex (both Tx and Rx data paths
109 * active or the Rx data path is active, but not both).
113 extern int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode,
117 * Return non-zero if the SPI interface has a SPI4000 attached
142 * @port: Port to poll (0-9)
175 * @mode: The operating mode for the SPI interface. The interface
176 * can operate as a full duplex (both Tx and Rx data paths
178 * active or the Rx data path is active, but not both).
180 * Returns Zero on success, non-zero error code on failure (will cause
183 extern int cvmx_spi_reset_cb(int interface, cvmx_spi_mode_t mode);
191 * @mode: The operating mode for the SPI interface. The interface
192 * can operate as a full duplex (both Tx and Rx data paths
194 * active or the Rx data path is active, but not both).
197 * Returns Zero on success, non-zero error code on failure (will cause
200 extern int cvmx_spi_calendar_setup_cb(int interface, cvmx_spi_mode_t mode,
208 * @mode: The operating mode for the SPI interface. The interface
209 * can operate as a full duplex (both Tx and Rx data paths
211 * active or the Rx data path is active, but not both).
214 * Returns Zero on success, non-zero error code on failure (will cause
217 extern int cvmx_spi_clock_detect_cb(int interface, cvmx_spi_mode_t mode,
225 * @mode: The operating mode for the SPI interface. The interface
226 * can operate as a full duplex (both Tx and Rx data paths
228 * active or the Rx data path is active, but not both).
231 * Returns Zero on success, non-zero error code on failure (will cause
234 extern int cvmx_spi_training_cb(int interface, cvmx_spi_mode_t mode,
242 * @mode: The operating mode for the SPI interface. The interface
243 * can operate as a full duplex (both Tx and Rx data paths
245 * active or the Rx data path is active, but not both).
248 * Returns Zero on success, non-zero error code on failure (will cause
251 extern int cvmx_spi_calendar_sync_cb(int interface, cvmx_spi_mode_t mode,
259 * @mode: The operating mode for the SPI interface. The interface
260 * can operate as a full duplex (both Tx and Rx data paths
262 * active or the Rx data path is active, but not both).
264 * Returns Zero on success, non-zero error code on failure (will cause
267 extern int cvmx_spi_interface_up_cb(int interface, cvmx_spi_mode_t mode);