Searched refs:spi_cfg_cmd (Results 1 – 1 of 1) sorted by relevance
285 static int spi_flash_read_hd_sync(const struct device *dev, struct spi_config *spi_cfg_cmd, in spi_flash_read_hd_sync() argument293 if (!dev || !spi_cfg_cmd || !spi_cfg_data || !data || !datasz in spi_flash_read_hd_sync()321 spi_cfg_cmd->operation |= SPI_HOLD_ON_CS; in spi_flash_read_hd_sync()322 err = spi_transceive(dev, spi_cfg_cmd, &txset, NULL); in spi_flash_read_hd_sync()323 spi_cfg_cmd->operation &= ~SPI_HOLD_ON_CS; in spi_flash_read_hd_sync()