Linux Kernel
3.7.1
|
#include <asm/octeon/cvmx-gmxx-defs.h>
Go to the source code of this file.
Data Structures | |
struct | cvmx_spi_callbacks_t |
Enumerations | |
enum | cvmx_spi_mode_t { CVMX_SPI_MODE_UNKNOWN = 0, CVMX_SPI_MODE_TX_HALFPLEX = 1, CVMX_SPI_MODE_RX_HALFPLEX = 2, CVMX_SPI_MODE_DUPLEX = 3 } |
enum cvmx_spi_mode_t |
CVMX_SPI_MODE_UNKNOWN | |
CVMX_SPI_MODE_TX_HALFPLEX | |
CVMX_SPI_MODE_RX_HALFPLEX | |
CVMX_SPI_MODE_DUPLEX |
Definition at line 39 of file cvmx-spi.h.
int cvmx_spi_calendar_setup_cb | ( | int | interface, |
cvmx_spi_mode_t | mode, | ||
int | num_ports | ||
) |
Definition at line 310 of file cvmx-spi.c.
int cvmx_spi_calendar_sync_cb | ( | int | interface, |
cvmx_spi_mode_t | mode, | ||
int | timeout | ||
) |
Definition at line 576 of file cvmx-spi.c.
int cvmx_spi_clock_detect_cb | ( | int | interface, |
cvmx_spi_mode_t | mode, | ||
int | timeout | ||
) |
Definition at line 429 of file cvmx-spi.c.
void cvmx_spi_get_callbacks | ( | cvmx_spi_callbacks_t * | callbacks | ) |
Get current SPI4 initialization callbacks
: Pointer to the callbacks structure.to fill
Returns Pointer to cvmx_spi_callbacks_t structure.
Definition at line 76 of file cvmx-spi.c.
int cvmx_spi_interface_up_cb | ( | int | interface, |
cvmx_spi_mode_t | mode | ||
) |
Definition at line 632 of file cvmx-spi.c.
int cvmx_spi_reset_cb | ( | int | interface, |
cvmx_spi_mode_t | mode | ||
) |
Definition at line 194 of file cvmx-spi.c.
int cvmx_spi_restart_interface | ( | int | interface, |
cvmx_spi_mode_t | mode, | ||
int | timeout | ||
) |
Definition at line 150 of file cvmx-spi.c.
void cvmx_spi_set_callbacks | ( | cvmx_spi_callbacks_t * | new_callbacks | ) |
Set new SPI4 initialization callbacks
: Pointer to an updated callbacks structure.
Definition at line 86 of file cvmx-spi.c.
int cvmx_spi_start_interface | ( | int | interface, |
cvmx_spi_mode_t | mode, | ||
int | timeout, | ||
int | num_ports | ||
) |
Definition at line 105 of file cvmx-spi.c.
int cvmx_spi_training_cb | ( | int | interface, |
cvmx_spi_mode_t | mode, | ||
int | timeout | ||
) |
Definition at line 507 of file cvmx-spi.c.