/openbmc/linux/drivers/mfd/ |
H A D | max8925-core.c | 543 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 D | uio_mf624.c | 107 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 D | uio_sercos3.c | 91 static int sercos3_irqcontrol(struct uio_info *info, s32 irq_on) in sercos3_irqcontrol() argument 96 if (irq_on) in sercos3_irqcontrol()
|
H A D | uio_pdrv_genirq.c | 77 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 D | uio_dmem_genirq.c | 126 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 D | uio.c | 626 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 D | ebus.c | 160 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 D | parport_ip32.c | 473 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 D | uio_driver.h | 111 int (*irqcontrol)(struct uio_info *info, s32 irq_on);
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmi_si_intf.c | 500 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 D | vmwgfx_cmdbuf.c | 130 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 D | img-ir-hw.c | 418 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 D | uio-howto.rst | 262 - ``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 D | target_core_user.c | 1810 static int tcmu_irqcontrol(struct uio_info *info, s32 irq_on) in tcmu_irqcontrol() argument
|