Searched refs:spi_xcomm (Results 1 – 1 of 1) sorted by relevance
33 struct spi_xcomm { struct44 static int spi_xcomm_sync_config(struct spi_xcomm *spi_xcomm, unsigned int len) in spi_xcomm_sync_config() argument47 uint8_t *buf = spi_xcomm->buf; in spi_xcomm_sync_config()49 settings = spi_xcomm->settings; in spi_xcomm_sync_config()54 put_unaligned_be16(spi_xcomm->chipselect, &buf[3]); in spi_xcomm_sync_config()56 return i2c_master_send(spi_xcomm->i2c, buf, 5); in spi_xcomm_sync_config()59 static void spi_xcomm_chipselect(struct spi_xcomm *spi_xcomm, in spi_xcomm_chipselect() argument63 uint16_t chipselect = spi_xcomm->chipselect; in spi_xcomm_chipselect()70 spi_xcomm->chipselect = chipselect; in spi_xcomm_chipselect()73 static int spi_xcomm_setup_transfer(struct spi_xcomm *spi_xcomm, in spi_xcomm_setup_transfer() argument[all …]