Home
last modified time | relevance | path

Searched refs:irq_on (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/mfd/
H A Dmax8925-core.c543 unsigned char irq_chg[2], irq_on[2]; in max8925_irq_sync_unlock() local
550 irq_on[0] = cache_on[0]; in max8925_irq_sync_unlock()
551 irq_on[1] = cache_on[1]; in max8925_irq_sync_unlock()
565 irq_on[0] &= ~irq_data->enable; in max8925_irq_sync_unlock()
568 irq_on[1] &= ~irq_data->enable; in max8925_irq_sync_unlock()
592 if (cache_on[0] != irq_on[0]) { in max8925_irq_sync_unlock()
593 cache_on[0] = irq_on[0]; in max8925_irq_sync_unlock()
595 irq_on[0]); in max8925_irq_sync_unlock()
597 if (cache_on[1] != irq_on[1]) { in max8925_irq_sync_unlock()
598 cache_on[1] = irq_on[1]; in max8925_irq_sync_unlock()
[all …]
/openbmc/linux/drivers/uio/
H A Duio_mf624.c107 static int mf624_irqcontrol(struct uio_info *info, s32 irq_on) in mf624_irqcontrol() argument
109 if (irq_on == 0) in mf624_irqcontrol()
111 else if (irq_on == 1) in mf624_irqcontrol()
H A Duio_sercos3.c91 static int sercos3_irqcontrol(struct uio_info *info, s32 irq_on) in sercos3_irqcontrol() argument
96 if (irq_on) in sercos3_irqcontrol()
H A Duio_pdrv_genirq.c77 static int uio_pdrv_genirq_irqcontrol(struct uio_info *dev_info, s32 irq_on) in uio_pdrv_genirq_irqcontrol() argument
91 if (irq_on) { in uio_pdrv_genirq_irqcontrol()
H A Duio_dmem_genirq.c126 static int uio_dmem_genirq_irqcontrol(struct uio_info *dev_info, s32 irq_on) in uio_dmem_genirq_irqcontrol() argument
140 if (irq_on) { in uio_dmem_genirq_irqcontrol()
H A Duio.c626 s32 irq_on; in uio_write() local
631 if (copy_from_user(&irq_on, buf, count)) in uio_write()
650 retval = idev->info->irqcontrol(idev->info, irq_on); in uio_write()
/openbmc/linux/arch/sparc/kernel/
H A Debus.c160 int irq_on = 0; in ebus_dma_unregister() local
167 irq_on = 1; in ebus_dma_unregister()
171 if (irq_on) in ebus_dma_unregister()
/openbmc/linux/drivers/parport/
H A Dparport_ip32.c473 unsigned int irq_on; member
527 if (parport_ip32_dma.left == 0 && parport_ip32_dma.irq_on) { in parport_ip32_dma_setup_context()
531 parport_ip32_dma.irq_on = 0; in parport_ip32_dma_setup_context()
584 if (!parport_ip32_dma.irq_on) { in parport_ip32_dma_start()
588 parport_ip32_dma.irq_on = 1; in parport_ip32_dma_start()
634 if (parport_ip32_dma.irq_on) { in parport_ip32_dma_stop()
638 parport_ip32_dma.irq_on = 0; in parport_ip32_dma_stop()
676 parport_ip32_dma.irq_on = 1; in parport_ip32_dma_stop()
702 parport_ip32_dma.irq_on = 1; in parport_ip32_dma_register()
/openbmc/linux/include/linux/
H A Duio_driver.h111 int (*irqcontrol)(struct uio_info *info, s32 irq_on);
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_si_intf.c500 bool *irq_on) in current_global_enables() argument
517 *irq_on = enables & (IPMI_BMC_EVT_MSG_INTR | IPMI_BMC_RCV_MSG_INTR); in current_global_enables()
522 static void check_bt_irq(struct smi_info *smi_info, bool irq_on) in check_bt_irq() argument
528 if ((bool)irqstate == irq_on) in check_bt_irq()
531 if (irq_on) in check_bt_irq()
682 bool irq_on; in handle_transaction_done() local
694 enables = current_global_enables(smi_info, 0, &irq_on); in handle_transaction_done()
697 check_bt_irq(smi_info, irq_on); in handle_transaction_done()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmdbuf.c130 bool irq_on; member
445 if (man->irq_on && !notempty) { in vmw_cmdbuf_man_process()
449 man->irq_on = false; in vmw_cmdbuf_man_process()
450 } else if (!man->irq_on && notempty) { in vmw_cmdbuf_man_process()
454 man->irq_on = true; in vmw_cmdbuf_man_process()
/openbmc/linux/drivers/media/rc/img-ir/
H A Dimg-ir-hw.c418 u32 irq_en, irq_on; in _img_ir_set_filter() local
425 irq_on = IMG_IR_IRQ_DATA_MATCH; in _img_ir_set_filter()
431 irq_on = IMG_IR_IRQ_DATA_VALID | IMG_IR_IRQ_DATA2_VALID; in _img_ir_set_filter()
433 irq_en |= irq_on; in _img_ir_set_filter()
437 img_ir_write(priv, IMG_IR_IRQ_CLEAR, irq_on); in _img_ir_set_filter()
/openbmc/linux/Documentation/driver-api/
H A Duio-howto.rst262 - ``int (*irqcontrol)(struct uio_info *info, s32 irq_on)``:
265 function. The parameter ``irq_on`` will be 0 to disable interrupts
/openbmc/linux/drivers/target/
H A Dtarget_core_user.c1810 static int tcmu_irqcontrol(struct uio_info *info, s32 irq_on) in tcmu_irqcontrol() argument