Lines Matching refs:bus_setup
202 u32 bus_setup = 0; in cfspi_setup_slave() local
216 bus_setup |= DSPI_CTAR_DBR; in cfspi_setup_slave()
221 bus_setup |= DSPI_CTAR_CPOL; in cfspi_setup_slave()
223 bus_setup |= DSPI_CTAR_CPHA; in cfspi_setup_slave()
225 bus_setup |= DSPI_CTAR_LSBFE; in cfspi_setup_slave()
231 bus_setup |= in cfspi_setup_slave()
234 bus_setup |= ((mode & 0xF0000000) >> 1); in cfspi_setup_slave()
241 bus_setup |= DSPI_CTAR_DBR; in cfspi_setup_slave()
244 bus_setup |= (mode & 0x0FC00000) >> 4; /* PSCSCK, PASC, PDT */ in cfspi_setup_slave()
245 bus_setup |= (mode & 0x000FFF00) >> 4; /* CSSCK, ASC, DT */ in cfspi_setup_slave()
247 bus_setup |= (dspi->ctar[cfslave->slave.bus] & 0x78FCFFF0); in cfspi_setup_slave()
274 bus_setup |= (DSPI_CTAR_PBR(best_i) | DSPI_CTAR_BR(best_j)); in cfspi_setup_slave()
275 dspi->ctar[cfslave->slave.bus] = bus_setup; in cfspi_setup_slave()