Searched refs:spibrg (Results 1 – 1 of 1) sorted by relevance
70 unsigned long spibrg = 0; in spi_setup_slave() local87 spibrg = sysinfo.freq_systembus / 2; in spi_setup_slave()89 if ((spibrg / max_hz) > 32) { in spi_setup_slave()91 pm = spibrg / (max_hz * 16 * 2); in spi_setup_slave()95 "is used.\n", max_hz, spibrg / (32 * 16)); in spi_setup_slave()98 pm = spibrg / (max_hz * 2); in spi_setup_slave()104 spi_freq = spibrg / ((pm + 1) * 2 * 16); in spi_setup_slave()106 spi_freq = spibrg / ((pm + 1) * 2); in spi_setup_slave()