/linux/drivers/input/serio/ |
H A D | rpckbd.c | 29 int rx_irq; member 71 if (request_irq(rpckbd->rx_irq, rpckbd_rx, 0, "rpckbd", port) != 0) { in rpckbd_open() 78 free_irq(rpckbd->rx_irq, port); in rpckbd_open() 89 free_irq(rpckbd->rx_irq, port); in rpckbd_close() 101 int tx_irq, rx_irq; in rpckbd_probe() local 103 rx_irq = platform_get_irq(dev, 0); in rpckbd_probe() 104 if (rx_irq < 0) in rpckbd_probe() 105 return rx_irq; in rpckbd_probe() 119 rpckbd->rx_irq = rx_irq; in rpckbd_probe()
|
H A D | sa1111ps2.c | 47 int rx_irq; member 149 ret = request_irq(ps2if->rx_irq, ps2_rxint, 0, in ps2_open() 153 ps2if->rx_irq, ret); in ps2_open() 163 free_irq(ps2if->rx_irq, ps2if); in ps2_open() 170 enable_irq_wake(ps2if->rx_irq); in ps2_open() 182 disable_irq_wake(ps2if->rx_irq); in ps2_close() 187 free_irq(ps2if->rx_irq, ps2if); in ps2_close() 280 ps2if->rx_irq = sa1111_get_irq(dev, 0); in ps2_probe() 281 if (ps2if->rx_irq <= 0) { in ps2_probe() 282 ret = ps2if->rx_irq ? : -ENXIO; in ps2_probe()
|
/linux/drivers/mailbox/ |
H A D | sun6i-msgbox.c | 31 #define RX_IRQ(n) BIT(0 + 2 * (n)) macro 82 if (!(status & RX_IRQ(n))) in sun6i_msgbox_irq() 93 writel(RX_IRQ(n), mbox->regs + LOCAL_IRQ_STAT_REG); in sun6i_msgbox_irq() 125 writel(RX_IRQ(n), mbox->regs + LOCAL_IRQ_STAT_REG); in sun6i_msgbox_startup() 129 writel(readl(mbox->regs + LOCAL_IRQ_EN_REG) | RX_IRQ(n), in sun6i_msgbox_startup() 147 writel(readl(mbox->regs + LOCAL_IRQ_EN_REG) & ~RX_IRQ(n), in sun6i_msgbox_shutdown() 155 writel(RX_IRQ(n), mbox->regs + LOCAL_IRQ_STAT_REG); in sun6i_msgbox_shutdown() 156 } while (readl(mbox->regs + LOCAL_IRQ_STAT_REG) & RX_IRQ(n)); in sun6i_msgbox_shutdown() 176 return !(readl(mbox->regs + REMOTE_IRQ_STAT_REG) & RX_IRQ(n)); in sun6i_msgbox_last_tx_done()
|
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_intr.c | 103 err = request_irq(priv->rx_irq, mlxbf_gige_rx_intr, 0, in mlxbf_gige_request_irqs() 106 dev_err(priv->dev, "Request rx_irq failure\n"); in mlxbf_gige_request_irqs() 120 free_irq(priv->rx_irq, priv); in mlxbf_gige_request_irqs() 131 free_irq(priv->rx_irq, priv); in mlxbf_gige_free_irqs()
|
/linux/drivers/net/xen-netback/ |
H A D | interface.c | 314 if (queue->tx_irq != queue->rx_irq) in xenvif_up() 315 enable_irq(queue->rx_irq); in xenvif_up() 329 if (queue->tx_irq != queue->rx_irq) in xenvif_down() 330 disable_irq(queue->rx_irq); in xenvif_down() 690 if (queue->tx_irq == queue->rx_irq) in xenvif_disconnect_queue() 691 queue->rx_irq = 0; in xenvif_disconnect_queue() 695 if (queue->rx_irq) { in xenvif_disconnect_queue() 696 unbind_from_irqhandler(queue->rx_irq, queue); in xenvif_disconnect_queue() 697 queue->rx_irq = 0; in xenvif_disconnect_queue() 754 queue->tx_irq = queue->rx_irq = err; in xenvif_connect_data() [all …]
|
H A D | common.h | 156 /* When feature-split-event-channels = 0, tx_irq = rx_irq. */ 193 /* When feature-split-event-channels = 0, tx_irq = rx_irq. */ 194 unsigned int rx_irq; member
|
/linux/drivers/spi/ |
H A D | spi-pic32.c | 99 int rx_irq; member 223 disable_irq_nosync(pic32s->rx_irq); in pic32_err_stop() 271 disable_irq_nosync(pic32s->rx_irq); in pic32_spi_rx_irq() 543 enable_irq(pic32s->rx_irq); in pic32_spi_one_transfer() 724 pic32s->rx_irq = platform_get_irq_byname(pdev, "rx"); in pic32_spi_hw_probe() 725 if (pic32s->rx_irq < 0) in pic32_spi_hw_probe() 726 return pic32s->rx_irq; in pic32_spi_hw_probe() 799 dev_err(&pdev->dev, "request fault-irq %d\n", pic32s->rx_irq); in pic32_spi_probe() 804 irq_set_status_flags(pic32s->rx_irq, IRQ_NOAUTOEN); in pic32_spi_probe() 805 ret = devm_request_irq(&pdev->dev, pic32s->rx_irq, in pic32_spi_probe() [all …]
|
H A D | spi-rspi.c | 192 int rx_irq, tx_irq; member 599 if (rx && rspi->rx_irq != other_irq) in rspi_dma_transfer() 600 disable_irq(rspi->rx_irq); in rspi_dma_transfer() 634 if (rx && rspi->rx_irq != other_irq) in rspi_dma_transfer() 635 enable_irq(rspi->rx_irq); in rspi_dma_transfer() 1351 rspi->rx_irq = rspi->tx_irq = ret; in rspi_probe() 1353 rspi->rx_irq = ret; in rspi_probe() 1359 if (rspi->rx_irq == rspi->tx_irq) { in rspi_probe() 1361 ret = rspi_request_irq(&pdev->dev, rspi->rx_irq, rspi_irq_mux, in rspi_probe() 1365 ret = rspi_request_irq(&pdev->dev, rspi->rx_irq, rspi_irq_rx, in rspi_probe()
|
H A D | spi-synquacer.c | 607 int rx_irq, tx_irq; in synquacer_spi_probe() local 674 rx_irq = platform_get_irq(pdev, 0); in synquacer_spi_probe() 675 if (rx_irq <= 0) { in synquacer_spi_probe() 676 ret = rx_irq; in synquacer_spi_probe() 681 ret = devm_request_irq(&pdev->dev, rx_irq, sq_spi_rx_handler, in synquacer_spi_probe() 684 dev_err(&pdev->dev, "request rx_irq failed (%d)\n", ret); in synquacer_spi_probe()
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | altr,tse.yaml | 25 - const: rx_irq 126 interrupt-names = "rx_irq","tx_irq"; 149 interrupt-names = "rx_irq", "tx_irq";
|
/linux/drivers/tty/ |
H A D | ehv_bytechan.c | 48 unsigned int rx_irq; member 570 disable_irq(bc->rx_irq); in ehv_bc_tty_throttle() 587 enable_irq(bc->rx_irq); in ehv_bc_tty_unthrottle() 630 ret = request_irq(bc->rx_irq, ehv_bc_tty_rx_isr, 0, "ehv-bc", bc); in ehv_bc_tty_port_activate() 633 bc->rx_irq, ret); in ehv_bc_tty_port_activate() 644 free_irq(bc->rx_irq, bc); in ehv_bc_tty_port_activate() 661 free_irq(bc->rx_irq, bc); in ehv_bc_tty_port_shutdown() 699 bc->rx_irq = irq_of_parse_and_map(np, 0); in ehv_bc_tty_probe() 701 if (!bc->rx_irq || !bc->tx_irq) { in ehv_bc_tty_probe() 729 irq_dispose_mapping(bc->rx_irq); in ehv_bc_tty_probe()
|
H A D | vcc.c | 261 disable_irq_nosync(vio->vdev->rx_irq); in vcc_kick_rx() 369 enable_irq(vio->vdev->rx_irq); in vcc_rx_timer() 651 disable_irq_nosync(vdev->rx_irq); in vcc_probe() 653 enable_irq(vdev->rx_irq); in vcc_probe()
|
/linux/drivers/tty/serial/ |
H A D | mps2-uart.c | 74 unsigned int rx_irq; member 293 ret = request_irq(mps_port->rx_irq, mps2_uart_rxirq, 0, in mps2_uart_startup() 316 free_irq(mps_port->rx_irq, mps_port); in mps2_uart_startup() 333 free_irq(mps_port->rx_irq, mps_port); in mps2_uart_shutdown() 569 mps_port->rx_irq = platform_get_irq(pdev, 0); in mps2_init_port()
|
H A D | lantiq.c | 115 unsigned int rx_irq; member 716 ltq_port->rx_irq = irq; in fetch_irq_lantiq() 739 retval = request_irq(ltq_port->rx_irq, lqasc_rx_int, in request_irq_lantiq() 755 free_irq(ltq_port->rx_irq, port); in request_irq_lantiq() 766 free_irq(ltq_port->rx_irq, port); in free_irq_lantiq()
|
/linux/drivers/net/ethernet/ |
H A D | korina.c | 362 int rx_irq; member 1157 disable_irq(lp->rx_irq); in korina_restart_task() 1178 enable_irq(lp->rx_irq); in korina_restart_task() 1211 ret = request_irq(lp->rx_irq, korina_rx_dma_interrupt, in korina_open() 1215 dev->name, lp->rx_irq); in korina_open() 1231 free_irq(lp->rx_irq, dev); in korina_open() 1245 disable_irq(lp->rx_irq); in korina_close() 1264 free_irq(lp->rx_irq, dev); in korina_close() 1314 lp->rx_irq = platform_get_irq_byname(pdev, "rx"); in korina_probe() 1350 dev->irq = lp->rx_irq; in korina_probe()
|
/linux/drivers/dma/ |
H A D | xgene-dma.c | 251 * @rx_irq: channel IRQ 275 int rx_irq; member 987 enable_irq(chan->rx_irq); in xgene_dma_tasklet_cb() 1000 disable_irq_nosync(chan->rx_irq); in xgene_dma_chan_ring_isr() 1448 irq_set_status_flags(chan->rx_irq, IRQ_DISABLE_UNLAZY); in xgene_dma_request_irqs() 1449 ret = devm_request_irq(chan->dev, chan->rx_irq, in xgene_dma_request_irqs() 1454 chan->rx_irq); in xgene_dma_request_irqs() 1459 irq_clear_status_flags(chan->rx_irq, IRQ_DISABLE_UNLAZY); in xgene_dma_request_irqs() 1460 devm_free_irq(chan->dev, chan->rx_irq, chan); in xgene_dma_request_irqs() 1480 irq_clear_status_flags(chan->rx_irq, IRQ_DISABLE_UNLAZY); in xgene_dma_free_irqs() [all …]
|
/linux/drivers/firmware/tegra/ |
H A D | bpmp-tegra210.c | 126 static irqreturn_t rx_irq(int irq, void *data) in rx_irq() function 216 err = devm_request_irq(&pdev->dev, err, rx_irq, in tegra210_bpmp_init()
|
/linux/sound/ppc/ |
H A D | pmac.c | 820 if (chip->rx_irq >= 0) in snd_pmac_free() 821 free_irq(chip->rx_irq, (void*)chip); in snd_pmac_free() 1152 chip->irq = chip->tx_irq = chip->rx_irq = -1; in snd_pmac_new() 1252 chip->rx_irq = irq; in snd_pmac_new() 1336 if (chip->rx_irq >= 0) in snd_pmac_suspend() 1337 disable_irq(chip->rx_irq); in snd_pmac_suspend() 1358 if (chip->rx_irq >= 0) in snd_pmac_resume() 1359 enable_irq(chip->rx_irq); in snd_pmac_resume()
|
/linux/drivers/net/can/ |
H A D | bxcan.c | 940 int err, rx_irq, tx_irq, sce_irq; in bxcan_probe() local 967 rx_irq = platform_get_irq_byname(pdev, "rx0"); in bxcan_probe() 968 if (rx_irq < 0) in bxcan_probe() 969 return rx_irq; in bxcan_probe() 990 ndev->irq = rx_irq; in bxcan_probe() 1025 tx_irq, rx_irq, sce_irq); in bxcan_probe()
|
/linux/drivers/net/ethernet/xilinx/ |
H A D | ll_temac_main.c | 1185 rc = request_irq(lp->rx_irq, ll_temac_rx_irq, 0, ndev->name, ndev); in temac_open() 1210 free_irq(lp->rx_irq, ndev); in temac_stop() 1227 disable_irq(lp->rx_irq); in temac_poll_controller() 1230 ll_temac_tx_irq(lp->rx_irq, ndev); in temac_poll_controller() 1233 enable_irq(lp->rx_irq); in temac_poll_controller() 1531 lp->rx_irq = irq_of_parse_and_map(dma_np, 0); in temac_probe() 1553 lp->rx_irq = platform_get_irq(pdev, 0); in temac_probe() 1568 if (lp->rx_irq <= 0) { in temac_probe() 1569 rc = lp->rx_irq ?: -EINVAL; in temac_probe()
|
/linux/drivers/net/ethernet/altera/ |
H A D | altera_tse_main.c | 928 ret = request_irq(priv->rx_irq, altera_isr, IRQF_SHARED, in tse_open() 932 priv->rx_irq); in tse_open() 976 free_irq(priv->rx_irq, dev); in tse_open() 1004 free_irq(priv->rx_irq, dev); in tse_shutdown() 1287 priv->rx_irq = platform_get_irq_byname(pdev, "rx_irq"); in altera_tse_probe() 1288 if (priv->rx_irq == -ENXIO) { in altera_tse_probe() 1405 (unsigned long) control_port->start, priv->rx_irq, in altera_tse_probe()
|
/linux/arch/sparc/kernel/ |
H A D | vio.c | 88 if (vdev->rx_irq == 0 && vdev->rx_ino != ~0UL) in vio_device_probe() 89 vdev->rx_irq = sun4v_build_virq(vdev->cdev_handle, in vio_device_probe() 343 vdev->rx_irq = 0; in vio_create_one()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac.h | 37 int rx_irq[MTL_MAX_RX_QUEUES]; member 348 int rx_irq[MTL_MAX_RX_QUEUES]; member
|
/linux/drivers/net/ethernet/ni/ |
H A D | nixge.c | 190 int rx_irq; member 891 ret = request_irq(priv->rx_irq, nixge_rx_irq, 0, ndev->name, ndev); in nixge_open() 933 free_irq(priv->rx_irq, ndev); in nixge_stop() 1339 priv->rx_irq = platform_get_irq_byname(pdev, "rx"); in nixge_probe() 1340 if (priv->rx_irq < 0) { in nixge_probe() 1342 err = priv->rx_irq; in nixge_probe()
|
/linux/drivers/net/ |
H A D | xen-netfront.c | 120 unsigned int tx_irq, rx_irq; member 357 notify_remote_via_irq(queue->rx_irq); in xennet_alloc_rx_buffers() 1821 if (queue->tx_irq && (queue->tx_irq == queue->rx_irq)) in xennet_disconnect_backend() 1823 if (queue->tx_irq && (queue->tx_irq != queue->rx_irq)) { in xennet_disconnect_backend() 1825 unbind_from_irqhandler(queue->rx_irq, queue); in xennet_disconnect_backend() 1828 queue->tx_irq = queue->rx_irq = 0; in xennet_disconnect_backend() 1914 queue->rx_irq = queue->tx_irq = err; in setup_netfront_single() 1952 queue->rx_irq = err; in setup_netfront_split() 2472 if (queue->tx_irq != queue->rx_irq) in xennet_connect() 2473 notify_remote_via_irq(queue->rx_irq); in xennet_connect()
|