Home
last modified time | relevance | path

Searched refs:chconf (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/spi/
H A Domap3_spi.c87 unsigned int chconf; /* 0x2C, 0x40, 0x54, 0x68 */ member
124 writel(val, &priv->regs->channel[priv->cs].chconf); in omap3_spi_write_chconf()
126 readl(&priv->regs->channel[priv->cs].chconf); in omap3_spi_write_chconf()
140 int i, chconf; in omap3_spi_write() local
142 chconf = readl(&priv->regs->channel[priv->cs].chconf); in omap3_spi_write()
147 chconf &= ~(OMAP3_MCSPI_CHCONF_TRM_MASK | OMAP3_MCSPI_CHCONF_WL_MASK); in omap3_spi_write()
148 chconf |= (priv->wordlen - 1) << 7; in omap3_spi_write()
149 chconf |= OMAP3_MCSPI_CHCONF_TRM_TX_ONLY; in omap3_spi_write()
150 chconf |= OMAP3_MCSPI_CHCONF_FORCE; in omap3_spi_write()
151 omap3_spi_write_chconf(priv, chconf); in omap3_spi_write()
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-omap2-mcspi.c301 u32 chconf, xferlevel; in omap2_mcspi_set_fifo() local
305 chconf = mcspi_cached_chconf0(spi); in omap2_mcspi_set_fifo()
322 chconf |= OMAP2_MCSPI_CHCONF_FFER; in omap2_mcspi_set_fifo()
327 chconf |= OMAP2_MCSPI_CHCONF_FFET; in omap2_mcspi_set_fifo()
332 mcspi_write_chconf0(spi, chconf); in omap2_mcspi_set_fifo()
340 chconf &= ~OMAP2_MCSPI_CHCONF_FFER; in omap2_mcspi_set_fifo()
343 chconf &= ~OMAP2_MCSPI_CHCONF_FFET; in omap2_mcspi_set_fifo()
345 mcspi_write_chconf0(spi, chconf); in omap2_mcspi_set_fifo()
1145 u32 chconf; in omap2_mcspi_transfer_one() local
1179 chconf = mcspi->ctx.modulctrl; in omap2_mcspi_transfer_one()
[all …]