Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/reset/
Dreset-npcm.c83 unsigned int rst_bit = BIT(id & NPCM_MASK_RESETS); in npcm_rc_setclear_reset() local
91 writel(stat | rst_bit, rc->base + ctrl_offset); in npcm_rc_setclear_reset()
93 writel(stat & ~rst_bit, rc->base + ctrl_offset); in npcm_rc_setclear_reset()
114 unsigned int rst_bit = BIT(id & NPCM_MASK_RESETS); in npcm_rc_status() local
117 return (readl(rc->base + ctrl_offset) & rst_bit); in npcm_rc_status()
Dreset-lpc18xx.c73 u32 stat, rst_bit; in lpc18xx_rgu_setclear_reset() local
77 rst_bit = 1 << (id % LPC18XX_RGU_RESETS_PER_REG); in lpc18xx_rgu_setclear_reset()
82 writel(stat | rst_bit, rc->base + ctrl_offset); in lpc18xx_rgu_setclear_reset()
84 writel(stat & ~rst_bit, rc->base + ctrl_offset); in lpc18xx_rgu_setclear_reset()
/Linux-v5.10/drivers/staging/fieldbus/anybuss/
Darcx-anybus.c50 static void do_reset(struct controller_priv *cd, u8 rst_bit, bool reset) in do_reset() argument
58 cd->control_reg &= ~rst_bit; in do_reset()
60 cd->control_reg |= rst_bit; in do_reset()
/Linux-v5.10/drivers/clk/sirf/
Dclk-atlas7.c285 u8 rst_bit; member
1407 clkc_writel(1 << reset->rst_bit, reset->rst_ofs + 4); in atlas7_reset_module()
1410 clkc_writel(1 << reset->rst_bit, reset->rst_ofs); in atlas7_reset_module()
1414 clkc_writel(1 << reset->rst_bit, reset->rst_ofs + 4); in atlas7_reset_module()
1418 clkc_writel(1 << reset->rst_bit, reset->rst_ofs); in atlas7_reset_module()
/Linux-v5.10/drivers/usb/mtu3/
Dmtu3_core.c277 u32 rst_bit = EP_RST(mep->is_in, mep->epnum); in mtu3_ep_reset() local
279 mtu3_setbits(mtu->mac_base, U3D_EP_RST, rst_bit); in mtu3_ep_reset()
280 mtu3_clrbits(mtu->mac_base, U3D_EP_RST, rst_bit); in mtu3_ep_reset()
/Linux-v5.10/drivers/staging/media/imx/
Dimx7-mipi-csis.c214 u8 rst_bit; member