Searched refs:chconf (Results 1 – 2 of 2) sorted by relevance
88 unsigned int chconf; /* 0x2C, 0x40, 0x54, 0x68 */ member125 writel(val, &priv->regs->channel[priv->cs].chconf); in omap3_spi_write_chconf()127 readl(&priv->regs->channel[priv->cs].chconf); in omap3_spi_write_chconf()141 int i, chconf; in omap3_spi_write() local143 chconf = readl(&priv->regs->channel[priv->cs].chconf); in omap3_spi_write()148 chconf &= ~(OMAP3_MCSPI_CHCONF_TRM_MASK | OMAP3_MCSPI_CHCONF_WL_MASK); in omap3_spi_write()149 chconf |= (priv->wordlen - 1) << 7; in omap3_spi_write()150 chconf |= OMAP3_MCSPI_CHCONF_TRM_TX_ONLY; in omap3_spi_write()151 chconf |= OMAP3_MCSPI_CHCONF_FORCE; in omap3_spi_write()152 omap3_spi_write_chconf(priv, chconf); in omap3_spi_write()[all …]
300 u32 chconf, xferlevel; in omap2_mcspi_set_fifo() local304 chconf = mcspi_cached_chconf0(spi); in omap2_mcspi_set_fifo()321 chconf |= OMAP2_MCSPI_CHCONF_FFER; in omap2_mcspi_set_fifo()326 chconf |= OMAP2_MCSPI_CHCONF_FFET; in omap2_mcspi_set_fifo()331 mcspi_write_chconf0(spi, chconf); in omap2_mcspi_set_fifo()339 chconf &= ~OMAP2_MCSPI_CHCONF_FFER; in omap2_mcspi_set_fifo()342 chconf &= ~OMAP2_MCSPI_CHCONF_FFET; in omap2_mcspi_set_fifo()344 mcspi_write_chconf0(spi, chconf); in omap2_mcspi_set_fifo()1138 u32 chconf; in omap2_mcspi_transfer_one() local1172 chconf = mcspi->ctx.modulctrl; in omap2_mcspi_transfer_one()[all …]