Searched refs:SPI_MODE_X_MASK (Results 1 – 18 of 18) sorted by relevance
14 #define SPI_MODE_X_MASK (SPI_CPOL|SPI_CPHA) macro
83 if ((spi->mode ^ loongson_spi->mode) & SPI_MODE_X_MASK) in loongson_spi_update_state()205 controller->mode_bits = SPI_MODE_X_MASK | SPI_CS_HIGH; in loongson_spi_init_controller()
359 switch (mode & SPI_MODE_X_MASK) { in mchp_corespi_set_mode()382 control &= ~(SPI_MODE_X_MASK << MODE_X_MASK_SHIFT); in mchp_corespi_set_mode()
237 priv->ctlr->mode_bits = SPI_3WIRE | SPI_MODE_X_MASK; in cs42l43_spi_probe()
89 hw->mode = spi->mode & SPI_MODE_X_MASK; in tiny_spi_setup()
233 switch (spi->mode & SPI_MODE_X_MASK) { in spi_ppc4xx_setup()
330 switch (spi->mode & SPI_MODE_X_MASK) { in uwire_setup_transfer()
108 switch (spi->mode & SPI_MODE_X_MASK) { in npcm_pspi_set_mode()
399 ~spi->mode & SPI_MODE_X_MASK); in rzv2m_csi_setup()
145 switch (spi->mode & SPI_MODE_X_MASK) { in uniphier_spi_set_mode()
62 #define SPI_MODE_MASK (SPI_MODE_X_MASK | SPI_CS_HIGH \
3857 spi->mode & SPI_MODE_X_MASK, in spi_setup()
179 if ((spi->mode & SPI_MODE_X_MASK) != SPI_MODE_0) in lm70_probe()
69 (__entry->mode & SPI_MODE_X_MASK),
328 switch (mode & SPI_MODE_X_MASK) { in nxp_spifi_setup_flash()
817 spi->mode &= ~SPI_MODE_X_MASK; in tsc2046_adc_probe()
1215 spi->mode &= ~SPI_MODE_X_MASK; in ads7846_probe()
1736 if ((spi->mode & SPI_MODE_X_MASK) != SPI_MODE_0) in sc16is7xx_spi_probe()