Searched refs:rst_bit (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/reset/ |
H A D | reset-lpc18xx.c | 73 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()
|
H A D | reset-npcm.c | 121 unsigned int rst_bit = BIT(id & NPCM_MASK_RESETS); in npcm_rc_setclear_reset() local 129 writel(stat | rst_bit, rc->base + ctrl_offset); in npcm_rc_setclear_reset() 131 writel(stat & ~rst_bit, rc->base + ctrl_offset); in npcm_rc_setclear_reset() 152 unsigned int rst_bit = BIT(id & NPCM_MASK_RESETS); in npcm_rc_status() local 155 return (readl(rc->base + ctrl_offset) & rst_bit); in npcm_rc_status()
|
/openbmc/linux/drivers/staging/fieldbus/anybuss/ |
H A D | arcx-anybus.c | 50 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()
|
/openbmc/linux/drivers/usb/mtu3/ |
H A D | mtu3_core.c | 301 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()
|