Home
last modified time | relevance | path

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

/external/u-boot/drivers/spi/
Dcf_spi.c105 struct cf_spi_slave *cfslave = to_cf_spi_slave(slave); in cfspi_xfer() local
111 if (cfslave->charbit == 16) { in cfspi_xfer()
129 if (cfslave->charbit == 16) in cfspi_xfer()
138 if (cfslave->charbit == 16) in cfspi_xfer()
153 if (cfslave->charbit == 16) in cfspi_xfer()
162 if (cfslave->charbit == 16) in cfspi_xfer()
176 static struct spi_slave *cfspi_setup_slave(struct cf_spi_slave *cfslave, in cfspi_setup_slave() argument
206 if ((cfslave->baudrate > (gd->bus_clk >> 1)) || in cfspi_setup_slave()
207 (cfslave->baudrate < (gd->bus_clk / tmp))) { in cfspi_setup_slave()
215 (cfslave->baudrate > (gd->bus_clk / (prescaler[0] * scaler[0])))) { in cfspi_setup_slave()
[all …]