Searched refs:baud_rate_val (Results 1 – 2 of 2) sorted by relevance
280 u8 baud_rate_val = 0; in zynq_spi_set_speed() local289 baud_rate_val = 0x2; in zynq_spi_set_speed()291 while ((baud_rate_val < ZYNQ_SPI_CR_BAUD_MAX) && in zynq_spi_set_speed()293 (2 << baud_rate_val)) > speed)) in zynq_spi_set_speed()294 baud_rate_val++; in zynq_spi_set_speed()295 plat->speed_hz = speed / (2 << baud_rate_val); in zynq_spi_set_speed()298 confr |= (baud_rate_val << ZYNQ_SPI_CR_BAUD_SHIFT); in zynq_spi_set_speed()
555 u8 baud_rate_val = 0; in zynq_qspi_set_speed() local564 baud_rate_val = 0x2; in zynq_qspi_set_speed()566 while ((baud_rate_val < ZYNQ_QSPI_CR_BAUD_MAX) && in zynq_qspi_set_speed()568 (2 << baud_rate_val)) > speed)) in zynq_qspi_set_speed()569 baud_rate_val++; in zynq_qspi_set_speed()571 plat->speed_hz = speed / (2 << baud_rate_val); in zynq_qspi_set_speed()574 confr |= (baud_rate_val << ZYNQ_QSPI_CR_BAUD_SHIFT); in zynq_qspi_set_speed()