D | spi_mchp_mss.c | 109 uint32_t control; member 129 uint32_t control; in mss_spi_hw_tfsz_set() local 132 control = mss_spi_read(cfg, MSS_SPI_REG_CONTROL); in mss_spi_hw_tfsz_set() 133 control &= ~MSS_SPI_CONTROL_CNT_MSK; in mss_spi_hw_tfsz_set() 134 control |= ((len & MSS_SPI_FRAMESUP_LO_BYTES_MSK) << MSS_SPI_CONTROL_CNT_SHF); in mss_spi_hw_tfsz_set() 135 mss_spi_write(cfg, MSS_SPI_REG_CONTROL, control); in mss_spi_hw_tfsz_set() 140 uint32_t control; in mss_spi_enable_controller() local 142 control = mss_spi_read(cfg, MSS_SPI_REG_CONTROL); in mss_spi_enable_controller() 143 control |= MSS_SPI_CONTROL_ENABLE; in mss_spi_enable_controller() 144 mss_spi_write(cfg, MSS_SPI_REG_CONTROL, control); in mss_spi_enable_controller() [all …]
|