Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/irqchip/
Dirq-keystone.c37 static inline u32 keystone_irq_readl(struct keystone_irq_device *kirq) in keystone_irq_readl() argument
42 ret = regmap_read(kirq->devctrl_regs, kirq->devctrl_offset, &val); in keystone_irq_readl()
44 dev_dbg(kirq->dev, "irq read failed ret(%d)\n", ret); in keystone_irq_readl()
49 keystone_irq_writel(struct keystone_irq_device *kirq, u32 value) in keystone_irq_writel() argument
53 ret = regmap_write(kirq->devctrl_regs, kirq->devctrl_offset, value); in keystone_irq_writel()
55 dev_dbg(kirq->dev, "irq write failed ret(%d)\n", ret); in keystone_irq_writel()
60 struct keystone_irq_device *kirq = irq_data_get_irq_chip_data(d); in keystone_irq_setmask() local
62 kirq->mask |= BIT(d->hwirq); in keystone_irq_setmask()
63 dev_dbg(kirq->dev, "mask %lu [%x]\n", d->hwirq, kirq->mask); in keystone_irq_setmask()
68 struct keystone_irq_device *kirq = irq_data_get_irq_chip_data(d); in keystone_irq_unmask() local
[all …]
/linux-6.1.9/drivers/net/dsa/microchip/
Dksz_common.c1773 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_irq_mask() local
1775 kirq->masked |= BIT(d->hwirq); in ksz_irq_mask()
1780 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_irq_unmask() local
1782 kirq->masked &= ~BIT(d->hwirq); in ksz_irq_unmask()
1787 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_irq_bus_lock() local
1789 mutex_lock(&kirq->dev->lock_irq); in ksz_irq_bus_lock()
1794 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_irq_bus_sync_unlock() local
1795 struct ksz_device *dev = kirq->dev; in ksz_irq_bus_sync_unlock()
1798 ret = ksz_write32(dev, kirq->reg_mask, kirq->masked); in ksz_irq_bus_sync_unlock()
1828 static void ksz_irq_free(struct ksz_irq *kirq) in ksz_irq_free() argument
[all …]