Home
last modified time | relevance | path

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

/drivers/reset/
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()
Dreset-npcm.c116 unsigned int rst_bit = BIT(id & NPCM_MASK_RESETS); in npcm_rc_setclear_reset() local
124 writel(stat | rst_bit, rc->base + ctrl_offset); in npcm_rc_setclear_reset()
126 writel(stat & ~rst_bit, rc->base + ctrl_offset); in npcm_rc_setclear_reset()
147 unsigned int rst_bit = BIT(id & NPCM_MASK_RESETS); in npcm_rc_status() local
150 return (readl(rc->base + ctrl_offset) & rst_bit); in npcm_rc_status()
/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()
/drivers/usb/mtu3/
Dmtu3_core.c301 u32 rst_bit = EP_RST(mep->is_in, mep->epnum); in mtu3_ep_reset() local
303 mtu3_setbits(mtu->mac_base, U3D_EP_RST, rst_bit); in mtu3_ep_reset()
304 mtu3_clrbits(mtu->mac_base, U3D_EP_RST, rst_bit); in mtu3_ep_reset()