Searched refs:brdv (Results 1 – 2 of 2) sorted by relevance
165 #define SPCMD_BRDV(brdv) ((brdv) << 2) argument257 int brdv = 0, spbr; in rspi_set_rate() local261 while (spbr > 255 && brdv < 3) { in rspi_set_rate()262 brdv++; in rspi_set_rate()267 rspi->spcmd |= SPCMD_BRDV(brdv); in rspi_set_rate()268 rspi->speed_hz = DIV_ROUND_UP(clksrc, (2U << brdv) * (spbr + 1)); in rspi_set_rate()342 int brdv = 0, spbr; in qspi_set_config_register() local354 while (spbr > 255 && brdv < 3) { in qspi_set_config_register()355 brdv++; in qspi_set_config_register()359 rspi->speed_hz = DIV_ROUND_UP(clksrc, (2U << brdv) * spbr); in qspi_set_config_register()[all …]
148 unsigned int brdv; member459 u32 brdv, osamp; in mvebu_uart_baud_rate_set() local520 brdv = readl(port->membase + UART_BRDV); in mvebu_uart_baud_rate_set()521 brdv &= ~BRDV_BAUD_MASK; in mvebu_uart_baud_rate_set()522 brdv |= d_divisor; in mvebu_uart_baud_rate_set()523 writel(brdv, port->membase + UART_BRDV); in mvebu_uart_baud_rate_set()836 mvuart->pm_regs.brdv = readl(port->membase + UART_BRDV); in mvebu_uart_suspend()857 writel(mvuart->pm_regs.brdv, port->membase + UART_BRDV); in mvebu_uart_resume()