Home
last modified time | relevance | path

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

/drivers/clk/rockchip/
Dsoftrst.c26 int num_per_reg; member
37 int bank = id / softrst->num_per_reg; in rockchip_softrst_assert()
38 int offset = id % softrst->num_per_reg; in rockchip_softrst_assert()
64 int bank = id / softrst->num_per_reg; in rockchip_softrst_deassert()
65 int offset = id % softrst->num_per_reg; in rockchip_softrst_deassert()
105 softrst->num_per_reg = (flags & ROCKCHIP_SOFTRST_HIWORD_MASK) ? 16 in rockchip_register_softrst()
109 softrst->rcdev.nr_resets = num_regs * softrst->num_per_reg; in rockchip_register_softrst()