Home
last modified time | relevance | path

Searched refs:reglock (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/arch/mips/alchemy/common/
Dclock.c367 spinlock_t *reglock; /* register lock */ member
496 spin_lock_irqsave(c->reglock, flags); in alchemy_clk_fgv1_en()
500 spin_unlock_irqrestore(c->reglock, flags); in alchemy_clk_fgv1_en()
518 spin_lock_irqsave(c->reglock, flags); in alchemy_clk_fgv1_dis()
522 spin_unlock_irqrestore(c->reglock, flags); in alchemy_clk_fgv1_dis()
530 spin_lock_irqsave(c->reglock, flags); in alchemy_clk_fgv1_setp()
537 spin_unlock_irqrestore(c->reglock, flags); in alchemy_clk_fgv1_setp()
559 spin_lock_irqsave(c->reglock, flags); in alchemy_clk_fgv1_setr()
564 spin_unlock_irqrestore(c->reglock, flags); in alchemy_clk_fgv1_setr()
613 spin_lock_irqsave(c->reglock, flags); in alchemy_clk_fgv2_en()
[all …]
/Linux-v5.10/drivers/net/ethernet/socionext/
Dnetsec.c295 spinlock_t reglock; /* protect reg access */ member
1083 spin_lock_irqsave(&priv->reglock, flags); in netsec_napi_poll()
1086 spin_unlock_irqrestore(&priv->reglock, flags); in netsec_napi_poll()
1597 spin_lock_irqsave(&priv->reglock, flags); in netsec_irq_handler()
1599 spin_unlock_irqrestore(&priv->reglock, flags); in netsec_irq_handler()
2005 spin_lock_init(&priv->reglock); in netsec_probe()