Linux Kernel
3.7.1
|
#include <cvmx-spi.h>
Data Fields | |
int(* | reset_cb )(int interface, cvmx_spi_mode_t mode) |
int(* | calendar_setup_cb )(int interface, cvmx_spi_mode_t mode, int num_ports) |
int(* | clock_detect_cb )(int interface, cvmx_spi_mode_t mode, int timeout) |
int(* | training_cb )(int interface, cvmx_spi_mode_t mode, int timeout) |
int(* | calendar_sync_cb )(int interface, cvmx_spi_mode_t mode, int timeout) |
int(* | interface_up_cb )(int interface, cvmx_spi_mode_t mode) |
Callbacks structure to customize SPI4 initialization sequence
Definition at line 47 of file cvmx-spi.h.
Called to setup calendar
Definition at line 52 of file cvmx-spi.h.
Called for calendar data synchronization
Definition at line 63 of file cvmx-spi.h.
Called for Tx and Rx clock detection
Definition at line 56 of file cvmx-spi.h.
int(* interface_up_cb)(int interface, cvmx_spi_mode_t mode) |
Called when interface is up
Definition at line 67 of file cvmx-spi.h.
int(* reset_cb)(int interface, cvmx_spi_mode_t mode) |
Called to reset SPI4 DLL
Definition at line 49 of file cvmx-spi.h.
Called to perform link training
Definition at line 60 of file cvmx-spi.h.