Searched refs:div_reg (Results 1 – 4 of 4) sorted by relevance
/device/soc/rockchip/rk3588/kernel/drivers/gpio/ |
D | gpio-rockchip.c | 194 unsigned long flags, div_reg, freq, max_debounce; in rockchip_gpio_set_debounce() local 207 div_reg = DIV_ROUND_CLOSEST_ULL(div, 2 * USEC_PER_SEC) - 1; in rockchip_gpio_set_debounce() 220 if (cur_div_reg < div_reg) in rockchip_gpio_set_debounce() 221 writel(div_reg, bank->reg_base + in rockchip_gpio_set_debounce()
|
/device/soc/rockchip/common/vendor/drivers/gpio/ |
D | gpio-rockchip.c | 193 unsigned long flags, div_reg, freq, max_debounce; in rockchip_gpio_set_debounce() local 207 div_reg = DIV_ROUND_CLOSEST_ULL(div, 0x2 * USEC_PER_SEC) - 1; in rockchip_gpio_set_debounce() 219 if ((unsigned long)cur_div_reg < div_reg) { in rockchip_gpio_set_debounce() 220 writel(div_reg, bank->reg_base + reg->dbclk_div_con); in rockchip_gpio_set_debounce()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpio/ |
D | gpio-rockchip.c | 193 unsigned long flags, div_reg, freq, max_debounce; in rockchip_gpio_set_debounce() local 210 div_reg = DIV_ROUND_CLOSEST_ULL(div, 0x2 * USEC_PER_SEC) - 1; in rockchip_gpio_set_debounce() 222 if ((unsigned long)cur_div_reg < div_reg) { in rockchip_gpio_set_debounce() 223 writel(div_reg, bank->reg_base + reg->dbclk_div_con); in rockchip_gpio_set_debounce()
|
/device/soc/esp/esp32/components/hal/esp32/include/hal/ |
D | uart_ll.h | 131 typeof(hw->clk_div) div_reg = hw->clk_div; in uart_ll_get_baudrate() local 132 return ((sclk_freq << 4)) / ((div_reg.div_int << 4) | div_reg.div_frag); in uart_ll_get_baudrate()
|