Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/net/dsa/microchip/
Dksz_common.c1951 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_irq_mask() local
1953 kirq->masked |= BIT(d->hwirq); in ksz_irq_mask()
1958 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_irq_unmask() local
1960 kirq->masked &= ~BIT(d->hwirq); in ksz_irq_unmask()
1965 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_irq_bus_lock() local
1967 mutex_lock(&kirq->dev->lock_irq); in ksz_irq_bus_lock()
1972 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_irq_bus_sync_unlock() local
1973 struct ksz_device *dev = kirq->dev; in ksz_irq_bus_sync_unlock()
1976 ret = ksz_write32(dev, kirq->reg_mask, kirq->masked); in ksz_irq_bus_sync_unlock()
2006 static void ksz_irq_free(struct ksz_irq *kirq) in ksz_irq_free() argument
[all …]
Dksz_ptp.c1033 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_ptp_irq_mask() local
1035 kirq->masked &= ~BIT(d->hwirq + KSZ_PTP_INT_START); in ksz_ptp_irq_mask()
1040 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_ptp_irq_unmask() local
1042 kirq->masked |= BIT(d->hwirq + KSZ_PTP_INT_START); in ksz_ptp_irq_unmask()
1047 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_ptp_irq_bus_lock() local
1049 mutex_lock(&kirq->dev->lock_irq); in ksz_ptp_irq_bus_lock()
1054 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_ptp_irq_bus_sync_unlock() local
1055 struct ksz_device *dev = kirq->dev; in ksz_ptp_irq_bus_sync_unlock()
1058 ret = ksz_write16(dev, kirq->reg_mask, kirq->masked); in ksz_ptp_irq_bus_sync_unlock()