Searched refs:brdv (Results 1 – 2 of 2) sorted by relevance
164 #define SPCMD_BRDV(brdv) ((brdv) << 2) argument256 int brdv = 0, spbr; in rspi_set_rate() local260 while (spbr > 255 && brdv < 3) { in rspi_set_rate()261 brdv++; in rspi_set_rate()266 rspi->spcmd |= SPCMD_BRDV(brdv); in rspi_set_rate()267 rspi->speed_hz = DIV_ROUND_UP(clksrc, (2U << brdv) * (spbr + 1)); in rspi_set_rate()341 int brdv = 0, spbr; in qspi_set_config_register() local353 while (spbr > 255 && brdv < 3) { in qspi_set_config_register()354 brdv++; in qspi_set_config_register()358 rspi->speed_hz = DIV_ROUND_UP(clksrc, (2U << brdv) * spbr); in qspi_set_config_register()[all …]
148 unsigned int brdv; member457 u32 brdv, osamp; in mvebu_uart_baud_rate_set() local518 brdv = readl(port->membase + UART_BRDV); in mvebu_uart_baud_rate_set()519 brdv &= ~BRDV_BAUD_MASK; in mvebu_uart_baud_rate_set()520 brdv |= d_divisor; in mvebu_uart_baud_rate_set()521 writel(brdv, port->membase + UART_BRDV); in mvebu_uart_baud_rate_set()834 mvuart->pm_regs.brdv = readl(port->membase + UART_BRDV); in mvebu_uart_suspend()855 writel(mvuart->pm_regs.brdv, port->membase + UART_BRDV); in mvebu_uart_resume()