Lines Matching defs:tcr
194 uint32_t tcr, cctl;
206 tcr = SPI_TCR_SS_LEVEL | SPI_TCR_SPOL;
210 tcr |= 0;
213 tcr |= SPI_TCR_CPHA;
216 tcr |= SPI_TCR_CPOL;
219 tcr |= SPI_TCR_CPHA|SPI_TCR_CPOL;
225 sc->sc_TCR = tcr;
240 device_printf(sc->sc_dev, "tcr 0x%x, cctl 0x%x, CLK %uHz, SCLK %uHz\n",
241 tcr, cctl, sc->sc_modclkrate,
271 uint32_t isr, tcr;
297 tcr = sc->sc_TCR | __SHIFTIN(st->st_slave, SPI_TCR_SS_SEL);
304 SPIREG_WRITE(sc, SPI_TCR, tcr|SPI_TCR_XCH);