Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
cvmx_spi_callbacks_t Struct Reference

#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)
 

Detailed Description

Callbacks structure to customize SPI4 initialization sequence

Definition at line 47 of file cvmx-spi.h.

Field Documentation

int(* calendar_setup_cb)(int interface, cvmx_spi_mode_t mode, int num_ports)

Called to setup calendar

Definition at line 52 of file cvmx-spi.h.

int(* calendar_sync_cb)(int interface, cvmx_spi_mode_t mode, int timeout)

Called for calendar data synchronization

Definition at line 63 of file cvmx-spi.h.

int(* clock_detect_cb)(int interface, cvmx_spi_mode_t mode, int timeout)

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.

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.


The documentation for this struct was generated from the following file: