Home
last modified time | relevance | path

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

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/spi/
Dspi-sunxi.h305 u16 dbi_mode; member
338 #define DBI_READ(dbi_mode) (dbi_mode |= (SPI_DBI_READ)) argument
339 #define DBI_WRITE(dbi_mode) (dbi_mode &= ~(SPI_DBI_READ)) argument
340 #define DBI_LSB_FIRST(dbi_mode) (dbi_mode |= SPI_DBI_LSB_FIRST) argument
341 #define DBI_MSB_FIRST(dbi_mode) (dbi_mode &= ~SPI_DBI_LSB_FIRST) argument
342 #define DBI_TR_VIDEO(dbi_mode) (dbi_mode |= SPI_DBI_TRANSMIT_VIDEO) argument
343 #define DBI_TR_COMMAND(dbi_mode) (dbi_mode &= ~(SPI_DBI_TRANSMIT_VIDEO)) argument
344 #define DBI_DCX_DATA(dbi_mode) (dbi_mode |= SPI_DBI_DCX_DATA) argument
345 #define DBI_DCX_COMMAND(dbi_mode) (dbi_mode &= ~(SPI_DBI_DCX_DATA)) argument
Dspi-sunxi.c297 u32 config = sspi->dbi_config->dbi_mode; in spi_config_dbi()
1764 if ((status & DBI_INT_FIFO_EMPTY) && !(sspi->dbi_config->dbi_mode in sunxi_spi_handler()
1775 (sspi->dbi_config->dbi_mode & SPI_DBI_TRANSMIT_VIDEO_)) { in sunxi_spi_handler()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/lcd_fb/
Ddisp_lcd.c749 DBI_WRITE(dbi_config->dbi_mode); in spi_dbi_config_init()
750 DBI_MSB_FIRST(dbi_config->dbi_mode); in spi_dbi_config_init()
751 DBI_TR_COMMAND(dbi_config->dbi_mode); in spi_dbi_config_init()
752 DBI_DCX_COMMAND(dbi_config->dbi_mode); in spi_dbi_config_init()
809 DBI_WRITE(dbi_config.dbi_mode); in disp_lcd_spi_init()
810 DBI_MSB_FIRST(dbi_config.dbi_mode); in disp_lcd_spi_init()
811 DBI_TR_COMMAND(dbi_config.dbi_mode); in disp_lcd_spi_init()
812 DBI_DCX_COMMAND(dbi_config.dbi_mode); in disp_lcd_spi_init()
1632 DBI_WRITE(dbi_config.dbi_mode); in disp_lcd_panel_dma_transfer()
1633 DBI_MSB_FIRST(dbi_config.dbi_mode); in disp_lcd_panel_dma_transfer()
[all …]