Searched refs:softrst (Results 1 – 3 of 3) sorted by relevance
26 struct rockchip_softrst *softrst = container_of(rcdev, in rockchip_softrst_assert() local31 if (softrst->lut) in rockchip_softrst_assert()32 id = softrst->lut[id]; in rockchip_softrst_assert()34 bank = id / softrst->num_per_reg; in rockchip_softrst_assert()35 offset = id % softrst->num_per_reg; in rockchip_softrst_assert()37 if (softrst->flags & ROCKCHIP_SOFTRST_HIWORD_MASK) { in rockchip_softrst_assert()39 softrst->reg_base + (bank * 4)); in rockchip_softrst_assert()44 spin_lock_irqsave(&softrst->lock, flags); in rockchip_softrst_assert()46 reg = readl(softrst->reg_base + (bank * 4)); in rockchip_softrst_assert()47 writel(reg | BIT(offset), softrst->reg_base + (bank * 4)); in rockchip_softrst_assert()[all …]
16 clk-rockchip-$(CONFIG_RESET_CONTROLLER) += softrst.o
668 u64 softrst; in genwqe_card_reset() local689 softrst = __genwqe_readq(cd, IO_SLC_CFGREG_SOFTRESET) & 0x3cull; in genwqe_card_reset()690 __genwqe_writeq(cd, IO_SLC_CFGREG_SOFTRESET, softrst | 0x2ull); in genwqe_card_reset()