Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_core.c279 u32 rst_bit = EP_RST(mep->is_in, mep->epnum); in mtu3_ep_reset() local
281 mtu3_setbits(mtu->mac_base, U3D_EP_RST, rst_bit); in mtu3_ep_reset()
282 mtu3_clrbits(mtu->mac_base, U3D_EP_RST, rst_bit); in mtu3_ep_reset()
/kernel/linux/linux-5.10/drivers/staging/media/imx/
Dimx7-mipi-csis.c214 u8 rst_bit; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0027_linux_drivers_media.patch6790 + u8 rst_bit;
6992 + state->hw_reset.rst_bit = out_val[2];
6996 + 1 << state->hw_reset.rst_bit, 1 << state->hw_reset.rst_bit);
6999 + 1 << state->hw_reset.rst_bit, 0);
D0036_linux_drivers_staging.patch44969 + u8 rst_bit;