45 #include "alt_clock_manager.h"
46 #include "socal/alt_spis.h"
47 #include "socal/alt_spim.h"
48 #include "socal/alt_sysmgr.h"
49 #include "socal/hps.h"
50 #include "socal/socal.h"
179 typedef struct ALT_SPI_DEV_s
183 alt_freq_t clock_freq;
185 uint32_t last_slave_mask;
187 uint32_t last_transfer_mode;
316 #define ALT_SPI_MW_CTL_FRAME_SIZE_MAX (16)
480 ALT_STATUS_CODE
alt_spi_config_set(ALT_SPI_DEV_t *spi_dev, const ALT_SPI_CONFIG_t *cfg);
519 #define ALT_SPI_SLAVE_MASK_ALL 0xF
538 const uint32_t mask);
561 const uint32_t mask);
625 uint32_t * speed_in_hz);
641 uint32_t speed_in_hz);
881 #define ALT_SPI_RXD_SAMPLE_DELAY_MAX 4
933 #define ALT_SPI_RX_FIFO_NUM_ENTRIES 256
986 uint32_t *num_entries);
1001 uint8_t *threshold);
1016 const uint8_t threshold);
1038 #define ALT_SPI_TX_FIFO_NUM_ENTRIES 256
1093 uint32_t *num_entries);
1108 uint8_t *threshold);
1123 const uint8_t threshold);
1190 const uint32_t slave_select,
1191 const size_t num_frames,
1192 const uint16_t * tx_buf,
1224 const uint32_t slave_select,
1225 const size_t num_frames,
1226 const uint16_t * tx_buf);
1255 const uint32_t slave_select,
1256 const size_t num_frames,
1292 const uint32_t slave_select,
1293 const uint8_t opcode,
1294 const uint16_t eeprom_addr,
1295 const size_t num_frames,
1342 const uint16_t * tx_buf,
1344 const size_t buf_len);
1371 const uint16_t * tx_buf,
1372 const size_t buf_len);
1399 const size_t buf_len);