Searched refs:kirq (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/irqchip/ |
H A D | irq-keystone.c | 42 ret = regmap_read(kirq->devctrl_regs, kirq->devctrl_offset, &val); in keystone_irq_readl() 53 ret = regmap_write(kirq->devctrl_regs, kirq->devctrl_offset, value); in keystone_irq_writel() 63 dev_dbg(kirq->dev, "mask %lu [%x]\n", d->hwirq, kirq->mask); in keystone_irq_setmask() 71 dev_dbg(kirq->dev, "unmask %lu [%x]\n", d->hwirq, kirq->mask); in keystone_irq_unmask() 140 kirq = devm_kzalloc(dev, sizeof(*kirq), GFP_KERNEL); in keystone_irq_probe() 141 if (!kirq) in keystone_irq_probe() 157 if (kirq->irq < 0) in keystone_irq_probe() 158 return kirq->irq; in keystone_irq_probe() 160 kirq->dev = dev; in keystone_irq_probe() 161 kirq->mask = ~0x0; in keystone_irq_probe() [all …]
|
/linux/drivers/net/dsa/microchip/ |
H A D | ksz_common.c | 2330 kirq->masked |= BIT(d->hwirq); in ksz_irq_mask() 2353 ret = ksz_write8(dev, kirq->reg_mask, kirq->masked); in ksz_irq_bus_sync_unlock() 2387 free_irq(kirq->irq_num, kirq); in ksz_irq_free() 2399 struct ksz_irq *kirq = dev_id; in ksz_irq_thread_fn() local 2407 dev = kirq->dev; in ksz_irq_thread_fn() 2429 kirq->dev = dev; in ksz_irq_common_setup() 2430 kirq->masked = ~0; in ksz_irq_common_setup() 2432 kirq->domain = irq_domain_add_simple(dev->dev->of_node, kirq->nirqs, 0, in ksz_irq_common_setup() 2434 if (!kirq->domain) in ksz_irq_common_setup() 2441 IRQF_ONESHOT, kirq->name, kirq); in ksz_irq_common_setup() [all …]
|
H A D | ksz_ptp.c | 1030 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_ptp_irq_mask() local 1032 kirq->masked &= ~BIT(d->hwirq + KSZ_PTP_INT_START); in ksz_ptp_irq_mask() 1037 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_ptp_irq_unmask() local 1039 kirq->masked |= BIT(d->hwirq + KSZ_PTP_INT_START); in ksz_ptp_irq_unmask() 1044 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_ptp_irq_bus_lock() local 1046 mutex_lock(&kirq->dev->lock_irq); in ksz_ptp_irq_bus_lock() 1051 struct ksz_irq *kirq = irq_data_get_irq_chip_data(d); in ksz_ptp_irq_bus_sync_unlock() local 1052 struct ksz_device *dev = kirq->dev; in ksz_ptp_irq_bus_sync_unlock() 1055 ret = ksz_write16(dev, kirq->reg_mask, kirq->masked); in ksz_ptp_irq_bus_sync_unlock()
|