Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_andes_atcspi200.c70 sys_clear_bits(SPI_TFMAT(cfg->base), TFMAT_SLVMODE_MSK); in spi_config()
73 sys_clear_bits(SPI_TFMAT(cfg->base), TFMAT_DATA_MERGE_MSK); in spi_config()
77 sys_clear_bits(SPI_TFMAT(cfg->base), TFMAT_DATA_LEN_MSK); in spi_config()
78 sys_set_bits(SPI_TFMAT(cfg->base), (data_len << TFMAT_DATA_LEN_OFFSET)); in spi_config()
82 sys_set_bits(SPI_TFMAT(cfg->base), TFMAT_CPHA_MSK); in spi_config()
84 sys_clear_bits(SPI_TFMAT(cfg->base), TFMAT_CPHA_MSK); in spi_config()
88 sys_set_bits(SPI_TFMAT(cfg->base), TFMAT_CPOL_MSK); in spi_config()
90 sys_clear_bits(SPI_TFMAT(cfg->base), TFMAT_CPOL_MSK); in spi_config()
95 sys_set_bits(SPI_TFMAT(cfg->base), TFMAT_LSB_MSK); in spi_config()
97 sys_clear_bits(SPI_TFMAT(cfg->base), TFMAT_LSB_MSK); in spi_config()
Dspi_andes_atcspi200.h30 #define SPI_TFMAT(base) (base + REG_TFMAT) macro