Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/spi/
Dspi-rspi.c164 #define SPCMD_BRDV(brdv) ((brdv) << 2) argument
256 int brdv = 0, spbr; in rspi_set_rate() local
260 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() local
353 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 …]
/linux-6.12.1/drivers/tty/serial/
Dmvebu-uart.c148 unsigned int brdv; member
457 u32 brdv, osamp; in mvebu_uart_baud_rate_set() local
518 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()