Searched refs:num_per_reg (Results 1 – 2 of 2) sorted by relevance
18 int num_per_reg; member34 bank = id / softrst->num_per_reg; in rockchip_softrst_assert()35 offset = id % softrst->num_per_reg; in rockchip_softrst_assert()66 bank = id / softrst->num_per_reg; in rockchip_softrst_deassert()67 offset = id % softrst->num_per_reg; in rockchip_softrst_deassert()109 softrst->num_per_reg = (flags & ROCKCHIP_SOFTRST_HIWORD_MASK) ? 16 in rockchip_register_softrst_lut()116 softrst->rcdev.nr_resets = num_regs * softrst->num_per_reg; in rockchip_register_softrst_lut()
117 unsigned int num_per_reg, in axg_spdifin_write_mode_param() argument124 rem = do_div(offset, num_per_reg); in axg_spdifin_write_mode_param()127 shift = width * (num_per_reg - 1 - rem); in axg_spdifin_write_mode_param()