• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/octeon-sdk/

Lines Matching refs:mode

127  * @param mode      The operating mode for the SPI interface. The interface
136 int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, int timeout, int num_ports)
144 INVOKE_CB( cvmx_spi_callbacks.reset_cb, interface, mode);
147 INVOKE_CB(cvmx_spi_callbacks.calendar_setup_cb, interface, mode, num_ports);
150 INVOKE_CB(cvmx_spi_callbacks.clock_detect_cb, interface, mode, timeout);
153 INVOKE_CB(cvmx_spi_callbacks.training_cb, interface, mode, timeout);
156 INVOKE_CB(cvmx_spi_callbacks.calendar_sync_cb, interface, mode, timeout);
159 INVOKE_CB(cvmx_spi_callbacks.interface_up_cb, interface, mode);
170 * @param mode The operating mode for the SPI interface. The interface
177 int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode, int timeout)
185 cvmx_dprintf ("SPI%d: Restart %s\n", interface, modes[mode]);
188 INVOKE_CB(cvmx_spi_callbacks.reset_cb, interface,mode);
194 INVOKE_CB(cvmx_spi_callbacks.clock_detect_cb, interface, mode, timeout);
197 INVOKE_CB(cvmx_spi_callbacks.training_cb, interface, mode, timeout);
200 INVOKE_CB(cvmx_spi_callbacks.calendar_sync_cb, interface, mode, timeout);
203 INVOKE_CB(cvmx_spi_callbacks.interface_up_cb, interface, mode);
216 * @param mode The operating mode for the SPI interface. The interface
222 int cvmx_spi_reset_cb(int interface, cvmx_spi_mode_t mode)
320 * @param mode The operating mode for the SPI interface. The interface
327 int cvmx_spi_calendar_setup_cb(int interface, cvmx_spi_mode_t mode, int num_ports)
331 if (mode & CVMX_SPI_MODE_RX_HALFPLEX)
364 if (mode & CVMX_SPI_MODE_TX_HALFPLEX)
429 * @param mode The operating mode for the SPI interface. The interface
436 int cvmx_spi_clock_detect_cb(int interface, cvmx_spi_mode_t mode, int timeout)
443 /* Regardless of operating mode, both Tx and Rx clocks must be present
501 * @param mode The operating mode for the SPI interface. The interface
508 int cvmx_spi_training_cb(int interface, cvmx_spi_mode_t mode, int timeout)
570 * @param mode The operating mode for the SPI interface. The interface
577 int cvmx_spi_calendar_sync_cb(int interface, cvmx_spi_mode_t mode, int timeout)
580 if (mode & CVMX_SPI_MODE_RX_HALFPLEX) {
590 if (mode & CVMX_SPI_MODE_TX_HALFPLEX) {
623 * @param mode The operating mode for the SPI interface. The interface
629 int cvmx_spi_interface_up_cb(int interface, cvmx_spi_mode_t mode)
635 if (mode & CVMX_SPI_MODE_RX_HALFPLEX) {
643 if (mode & CVMX_SPI_MODE_TX_HALFPLEX) {