Lines Matching refs:control
52 static int spi_config(const struct device *dev, const struct spi_config *config, uint16_t *control) in spi_config() argument
109 *control = (uint16_t) (SPI_WORD_SIZE_GET(config->operation) in spi_config()
115 litex_write16(*control, dev_config->control_addr); in spi_config()
123 uint16_t control) in spi_litex_send() argument
129 litex_write16(control | BIT(0), dev_config->control_addr); in spi_litex_send()
146 uint16_t control) in spi_litex_xfer() argument
165 spi_litex_send(dev, txd, control); in spi_litex_xfer()
193 uint16_t control = 0; in spi_litex_transceive() local
196 ret = spi_config(dev, config, &control); in spi_litex_transceive()
201 spi_litex_xfer(dev, config, control); in spi_litex_transceive()
243 .control_addr = DT_INST_REG_ADDR_BY_NAME(n, control), \