Searched refs:spi_xcomm (Results 1 – 1 of 1) sorted by relevance
32 struct spi_xcomm { struct43 static int spi_xcomm_sync_config(struct spi_xcomm *spi_xcomm, unsigned int len) in spi_xcomm_sync_config() argument46 uint8_t *buf = spi_xcomm->buf; in spi_xcomm_sync_config()48 settings = spi_xcomm->settings; in spi_xcomm_sync_config()53 put_unaligned_be16(spi_xcomm->chipselect, &buf[3]); in spi_xcomm_sync_config()55 return i2c_master_send(spi_xcomm->i2c, buf, 5); in spi_xcomm_sync_config()58 static void spi_xcomm_chipselect(struct spi_xcomm *spi_xcomm, in spi_xcomm_chipselect() argument62 uint16_t chipselect = spi_xcomm->chipselect; in spi_xcomm_chipselect()69 spi_xcomm->chipselect = chipselect; in spi_xcomm_chipselect()72 static int spi_xcomm_setup_transfer(struct spi_xcomm *spi_xcomm, in spi_xcomm_setup_transfer() argument[all …]