Home
last modified time | relevance | path

Searched refs:spi_port (Results 1 – 1 of 1) sorted by relevance

/device/soc/winnermicro/wm800/board/platform/drivers/spi/
Dwm_hostspi.c42 static struct tls_spi_port *spi_port = NULL; variable
336 spi_port->transtype = type; in tls_spi_trans_type()
341 SpiMasterInit(spi_port->mode, TLS_SPI_CS_LOW, spi_port->speed_hz); in tls_spi_trans_type()
382 if (SPI_BYTE_TRANSFER == spi_port->transtype) { in spi_fill_txfifo()
392 } else if (SPI_WORD_TRANSFER == spi_port->transtype) { in spi_fill_txfifo()
413 if (SPI_BYTE_TRANSFER == spi_port->transtype) in spi_fill_txfifo()
415 else if (SPI_WORD_TRANSFER == spi_port->transtype) { in spi_fill_txfifo()
450 if (SPI_BYTE_TRANSFER == spi_port->transtype) { in spi_get_rxfifo()
460 } else if (SPI_WORD_TRANSFER == spi_port->transtype) { in spi_get_rxfifo()
472 if (SPI_BYTE_TRANSFER == spi_port->transtype) in spi_get_rxfifo()
[all …]