Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/rockchip/
H A Dsoftrst.c26 struct rockchip_softrst *softrst = container_of(rcdev, in rockchip_softrst_assert() local
31 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 …]
H A DMakefile16 clk-rockchip-$(CONFIG_RESET_CONTROLLER) += softrst.o
/openbmc/u-boot/drivers/net/ti/
H A Ddavinci_emac.c429 writel(1, &adap_ewrap->softrst); in davinci_eth_open()
430 while (readl(&adap_ewrap->softrst) != 0) in davinci_eth_open()
602 writel(1, &adap_ewrap->softrst); in davinci_eth_close()
H A Ddavinci_emac.h234 dv_reg softrst; member
/openbmc/linux/drivers/misc/genwqe/
H A Dcard_utils.c668 u64 softrst; in genwqe_card_reset() local
689 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()
/openbmc/linux/
H A Dopengrok0.0.log[all...]