#include <linux/types.h>
Go to the source code of this file.
|
enum | ssp_loopback { LOOPBACK_DISABLED,
LOOPBACK_ENABLED
} |
|
enum | ssp_interface { SSP_INTERFACE_MOTOROLA_SPI,
SSP_INTERFACE_TI_SYNC_SERIAL,
SSP_INTERFACE_NATIONAL_MICROWIRE,
SSP_INTERFACE_UNIDIRECTIONAL
} |
|
enum | ssp_hierarchy { SSP_MASTER,
SSP_SLAVE
} |
|
enum | ssp_rx_endian { SSP_RX_MSB,
SSP_RX_LSB
} |
|
enum | ssp_tx_endian { SSP_TX_MSB,
SSP_TX_LSB
} |
|
enum | ssp_data_size {
SSP_DATA_BITS_4 = 0x03,
SSP_DATA_BITS_5,
SSP_DATA_BITS_6,
SSP_DATA_BITS_7,
SSP_DATA_BITS_8,
SSP_DATA_BITS_9,
SSP_DATA_BITS_10,
SSP_DATA_BITS_11,
SSP_DATA_BITS_12,
SSP_DATA_BITS_13,
SSP_DATA_BITS_14,
SSP_DATA_BITS_15,
SSP_DATA_BITS_16,
SSP_DATA_BITS_17,
SSP_DATA_BITS_18,
SSP_DATA_BITS_19,
SSP_DATA_BITS_20,
SSP_DATA_BITS_21,
SSP_DATA_BITS_22,
SSP_DATA_BITS_23,
SSP_DATA_BITS_24,
SSP_DATA_BITS_25,
SSP_DATA_BITS_26,
SSP_DATA_BITS_27,
SSP_DATA_BITS_28,
SSP_DATA_BITS_29,
SSP_DATA_BITS_30,
SSP_DATA_BITS_31,
SSP_DATA_BITS_32
} |
|
enum | ssp_mode { INTERRUPT_TRANSFER,
POLLING_TRANSFER,
DMA_TRANSFER
} |
|
enum | ssp_rx_level_trig {
SSP_RX_1_OR_MORE_ELEM,
SSP_RX_4_OR_MORE_ELEM,
SSP_RX_8_OR_MORE_ELEM,
SSP_RX_16_OR_MORE_ELEM,
SSP_RX_32_OR_MORE_ELEM
} |
|
enum | ssp_tx_level_trig {
SSP_TX_1_OR_MORE_EMPTY_LOC,
SSP_TX_4_OR_MORE_EMPTY_LOC,
SSP_TX_8_OR_MORE_EMPTY_LOC,
SSP_TX_16_OR_MORE_EMPTY_LOC,
SSP_TX_32_OR_MORE_EMPTY_LOC
} |
|
enum | ssp_spi_clk_phase { SSP_CLK_FIRST_EDGE,
SSP_CLK_SECOND_EDGE
} |
|
enum | ssp_spi_clk_pol { SSP_CLK_POL_IDLE_LOW,
SSP_CLK_POL_IDLE_HIGH
} |
|
enum | ssp_microwire_ctrl_len {
SSP_BITS_4 = 0x03,
SSP_BITS_5,
SSP_BITS_6,
SSP_BITS_7,
SSP_BITS_8,
SSP_BITS_9,
SSP_BITS_10,
SSP_BITS_11,
SSP_BITS_12,
SSP_BITS_13,
SSP_BITS_14,
SSP_BITS_15,
SSP_BITS_16,
SSP_BITS_17,
SSP_BITS_18,
SSP_BITS_19,
SSP_BITS_20,
SSP_BITS_21,
SSP_BITS_22,
SSP_BITS_23,
SSP_BITS_24,
SSP_BITS_25,
SSP_BITS_26,
SSP_BITS_27,
SSP_BITS_28,
SSP_BITS_29,
SSP_BITS_30,
SSP_BITS_31,
SSP_BITS_32
} |
|
enum | ssp_microwire_wait_state { SSP_MWIRE_WAIT_ZERO,
SSP_MWIRE_WAIT_ONE
} |
|
enum | ssp_duplex { SSP_MICROWIRE_CHANNEL_FULL_DUPLEX,
SSP_MICROWIRE_CHANNEL_HALF_DUPLEX
} |
|
enum | ssp_clkdelay {
SSP_FEEDBACK_CLK_DELAY_NONE,
SSP_FEEDBACK_CLK_DELAY_1T,
SSP_FEEDBACK_CLK_DELAY_2T,
SSP_FEEDBACK_CLK_DELAY_3T,
SSP_FEEDBACK_CLK_DELAY_4T,
SSP_FEEDBACK_CLK_DELAY_5T,
SSP_FEEDBACK_CLK_DELAY_6T,
SSP_FEEDBACK_CLK_DELAY_7T
} |
|
enum | ssp_chip_select { SSP_CHIP_SELECT,
SSP_CHIP_DESELECT
} |
|
CHIP select/deselect commands
- Enumerator:
SSP_CHIP_SELECT |
|
SSP_CHIP_DESELECT |
|
Definition at line 225 of file pl022.h.
enum ssp_clkdelay - an optional clock delay on the feedback clock only available in the ST Micro PL023 variant. : no delay, the data coming in from the slave is sampled directly : the incoming slave data is sampled with a delay of T-dt : dito with a delay if 2T-dt : dito with a delay if 3T-dt : dito with a delay if 4T-dt : dito with a delay if 5T-dt : dito with a delay if 6T-dt : dito with a delay if 7T-dt
- Enumerator:
SSP_FEEDBACK_CLK_DELAY_NONE |
|
SSP_FEEDBACK_CLK_DELAY_1T |
|
SSP_FEEDBACK_CLK_DELAY_2T |
|
SSP_FEEDBACK_CLK_DELAY_3T |
|
SSP_FEEDBACK_CLK_DELAY_4T |
|
SSP_FEEDBACK_CLK_DELAY_5T |
|
SSP_FEEDBACK_CLK_DELAY_6T |
|
SSP_FEEDBACK_CLK_DELAY_7T |
|
Definition at line 211 of file pl022.h.
enum ssp_data_size - number of bits in one data element
- Enumerator:
SSP_DATA_BITS_4 |
|
SSP_DATA_BITS_5 |
|
SSP_DATA_BITS_6 |
|
SSP_DATA_BITS_7 |
|
SSP_DATA_BITS_8 |
|
SSP_DATA_BITS_9 |
|
SSP_DATA_BITS_10 |
|
SSP_DATA_BITS_11 |
|
SSP_DATA_BITS_12 |
|
SSP_DATA_BITS_13 |
|
SSP_DATA_BITS_14 |
|
SSP_DATA_BITS_15 |
|
SSP_DATA_BITS_16 |
|
SSP_DATA_BITS_17 |
|
SSP_DATA_BITS_18 |
|
SSP_DATA_BITS_19 |
|
SSP_DATA_BITS_20 |
|
SSP_DATA_BITS_21 |
|
SSP_DATA_BITS_22 |
|
SSP_DATA_BITS_23 |
|
SSP_DATA_BITS_24 |
|
SSP_DATA_BITS_25 |
|
SSP_DATA_BITS_26 |
|
SSP_DATA_BITS_27 |
|
SSP_DATA_BITS_28 |
|
SSP_DATA_BITS_29 |
|
SSP_DATA_BITS_30 |
|
SSP_DATA_BITS_31 |
|
SSP_DATA_BITS_32 |
|
Definition at line 92 of file pl022.h.
enum ssp_duplex - whether Full/Half Duplex on microwire, only available in the ST Micro variant. : SSPTXD becomes bi-directional, SSPRXD not used : SSPTXD is an output, SSPRXD is an input.
- Enumerator:
SSP_MICROWIRE_CHANNEL_FULL_DUPLEX |
|
SSP_MICROWIRE_CHANNEL_HALF_DUPLEX |
|
Definition at line 192 of file pl022.h.
enum ssp_hierarchy - whether SSP is configured as Master or Slave
- Enumerator:
-
Definition at line 58 of file pl022.h.
enum ssp_interface - interfaces allowed for this SSP Controller : Motorola Interface : Texas Instrument Synchronous Serial interface : National Semiconductor Microwire interface : Unidirectional interface (STn8810 &STn8815 only)
- Enumerator:
SSP_INTERFACE_MOTOROLA_SPI |
|
SSP_INTERFACE_TI_SYNC_SERIAL |
|
SSP_INTERFACE_NATIONAL_MICROWIRE |
|
SSP_INTERFACE_UNIDIRECTIONAL |
|
Definition at line 48 of file pl022.h.
whether SSP is in loopback mode or not
- Enumerator:
LOOPBACK_DISABLED |
|
LOOPBACK_ENABLED |
|
Definition at line 33 of file pl022.h.
Microwire Conrol Lengths Command size in microwire format
- Enumerator:
SSP_BITS_4 |
|
SSP_BITS_5 |
|
SSP_BITS_6 |
|
SSP_BITS_7 |
|
SSP_BITS_8 |
|
SSP_BITS_9 |
|
SSP_BITS_10 |
|
SSP_BITS_11 |
|
SSP_BITS_12 |
|
SSP_BITS_13 |
|
SSP_BITS_14 |
|
SSP_BITS_15 |
|
SSP_BITS_16 |
|
SSP_BITS_17 |
|
SSP_BITS_18 |
|
SSP_BITS_19 |
|
SSP_BITS_20 |
|
SSP_BITS_21 |
|
SSP_BITS_22 |
|
SSP_BITS_23 |
|
SSP_BITS_24 |
|
SSP_BITS_25 |
|
SSP_BITS_26 |
|
SSP_BITS_27 |
|
SSP_BITS_28 |
|
SSP_BITS_29 |
|
SSP_BITS_30 |
|
SSP_BITS_31 |
|
SSP_BITS_32 |
|
Definition at line 161 of file pl022.h.
enum Microwire Wait State : No wait state inserted after last command bit : One wait state inserted after last command bit
- Enumerator:
SSP_MWIRE_WAIT_ZERO |
|
SSP_MWIRE_WAIT_ONE |
|
Definition at line 179 of file pl022.h.
enum ssp_mode - SSP mode of operation (Communication modes)
- Enumerator:
INTERRUPT_TRANSFER |
|
POLLING_TRANSFER |
|
DMA_TRANSFER |
|
Definition at line 108 of file pl022.h.
enum ssp_rx_endian - endianess of Rx FIFO Data this feature is only available in ST versionf of PL022
- Enumerator:
-
Definition at line 76 of file pl022.h.
enum ssp_rx_level_trig - receive FIFO watermark level which triggers IT: Interrupt fires when N or more elements in RX FIFO.
- Enumerator:
SSP_RX_1_OR_MORE_ELEM |
|
SSP_RX_4_OR_MORE_ELEM |
|
SSP_RX_8_OR_MORE_ELEM |
|
SSP_RX_16_OR_MORE_ELEM |
|
SSP_RX_32_OR_MORE_ELEM |
|
Definition at line 118 of file pl022.h.
enum SPI Clock Phase - clock phase (Motorola SPI interface only) : Receive data on first edge transition (actual direction depends on polarity) : Receive data on second edge transition (actual direction depends on polarity)
- Enumerator:
SSP_CLK_FIRST_EDGE |
|
SSP_CLK_SECOND_EDGE |
|
Definition at line 143 of file pl022.h.
enum SPI Clock Polarity - clock polarity (Motorola SPI interface only) : Low inactive level : High inactive level
- Enumerator:
SSP_CLK_POL_IDLE_LOW |
|
SSP_CLK_POL_IDLE_HIGH |
|
Definition at line 153 of file pl022.h.
enum ssp_tx_endian - endianess of Tx FIFO Data
- Enumerator:
-
Definition at line 84 of file pl022.h.
Transmit FIFO watermark level which triggers (IT Interrupt fires when N or more empty locations in TX FIFO)
- Enumerator:
SSP_TX_1_OR_MORE_EMPTY_LOC |
|
SSP_TX_4_OR_MORE_EMPTY_LOC |
|
SSP_TX_8_OR_MORE_EMPTY_LOC |
|
SSP_TX_16_OR_MORE_EMPTY_LOC |
|
SSP_TX_32_OR_MORE_EMPTY_LOC |
|
Definition at line 130 of file pl022.h.