Home
last modified time | relevance | path

Searched refs:rx_irq (Results 1 – 25 of 33) sorted by relevance

12

/drivers/input/serio/
Drpckbd.c48 int rx_irq; member
90 if (request_irq(rpckbd->rx_irq, rpckbd_rx, 0, "rpckbd", port) != 0) { in rpckbd_open()
97 free_irq(rpckbd->rx_irq, port); in rpckbd_open()
108 free_irq(rpckbd->rx_irq, port); in rpckbd_close()
120 int tx_irq, rx_irq; in rpckbd_probe() local
122 rx_irq = platform_get_irq(dev, 0); in rpckbd_probe()
123 if (rx_irq <= 0) in rpckbd_probe()
124 return rx_irq < 0 ? rx_irq : -ENXIO; in rpckbd_probe()
138 rpckbd->rx_irq = rx_irq; in rpckbd_probe()
/drivers/tty/
Dehv_bytechan.c51 unsigned int rx_irq; member
556 disable_irq(bc->rx_irq); in ehv_bc_tty_throttle()
573 enable_irq(bc->rx_irq); in ehv_bc_tty_unthrottle()
616 ret = request_irq(bc->rx_irq, ehv_bc_tty_rx_isr, 0, "ehv-bc", bc); in ehv_bc_tty_port_activate()
619 bc->rx_irq, ret); in ehv_bc_tty_port_activate()
630 free_irq(bc->rx_irq, bc); in ehv_bc_tty_port_activate()
647 free_irq(bc->rx_irq, bc); in ehv_bc_tty_port_shutdown()
685 bc->rx_irq = irq_of_parse_and_map(np, 0); in ehv_bc_tty_probe()
687 if ((bc->rx_irq == NO_IRQ) || (bc->tx_irq == NO_IRQ)) { in ehv_bc_tty_probe()
715 irq_dispose_mapping(bc->rx_irq); in ehv_bc_tty_probe()
Dvcc.c268 disable_irq_nosync(vio->vdev->rx_irq); in vcc_kick_rx()
380 enable_irq(vio->vdev->rx_irq); in vcc_rx_timer()
661 disable_irq_nosync(vdev->rx_irq); in vcc_probe()
663 enable_irq(vdev->rx_irq); in vcc_probe()
/drivers/spi/
Dspi-pic32.c107 int rx_irq; member
231 disable_irq_nosync(pic32s->rx_irq); in pic32_err_stop()
279 disable_irq_nosync(pic32s->rx_irq); in pic32_spi_rx_irq()
388 cfg.slave_id = pic32s->rx_irq; in pic32_spi_dma_config()
552 enable_irq(pic32s->rx_irq); in pic32_spi_one_transfer()
727 pic32s->rx_irq = platform_get_irq_byname(pdev, "rx"); in pic32_spi_hw_probe()
728 if (pic32s->rx_irq < 0) { in pic32_spi_hw_probe()
730 return pic32s->rx_irq; in pic32_spi_hw_probe()
806 dev_err(&pdev->dev, "request fault-irq %d\n", pic32s->rx_irq); in pic32_spi_probe()
811 irq_set_status_flags(pic32s->rx_irq, IRQ_NOAUTOEN); in pic32_spi_probe()
[all …]
Dspi-rspi.c197 int rx_irq, tx_irq; member
590 if (rx && rspi->rx_irq != other_irq) in rspi_dma_transfer()
591 disable_irq(rspi->rx_irq); in rspi_dma_transfer()
621 if (rx && rspi->rx_irq != other_irq) in rspi_dma_transfer()
622 enable_irq(rspi->rx_irq); in rspi_dma_transfer()
1298 rspi->rx_irq = rspi->tx_irq = ret; in rspi_probe()
1300 rspi->rx_irq = ret; in rspi_probe()
1310 if (rspi->rx_irq == rspi->tx_irq) { in rspi_probe()
1312 ret = rspi_request_irq(&pdev->dev, rspi->rx_irq, rspi_irq_mux, in rspi_probe()
1316 ret = rspi_request_irq(&pdev->dev, rspi->rx_irq, rspi_irq_rx, in rspi_probe()
Dspi-lantiq-ssc.c807 int err, rx_irq, tx_irq, err_irq; in lantiq_ssc_probe() local
824 rx_irq = platform_get_irq_byname(pdev, LTQ_SPI_RX_IRQ_NAME); in lantiq_ssc_probe()
825 if (rx_irq < 0) { in lantiq_ssc_probe()
858 err = devm_request_irq(dev, rx_irq, lantiq_ssc_xmit_interrupt, in lantiq_ssc_probe()
/drivers/net/xen-netback/
Dinterface.c280 if (queue->tx_irq != queue->rx_irq) in xenvif_up()
281 enable_irq(queue->rx_irq); in xenvif_up()
295 if (queue->tx_irq != queue->rx_irq) in xenvif_down()
296 disable_irq(queue->rx_irq); in xenvif_down()
661 queue->tx_irq = queue->rx_irq = err; in xenvif_connect_data()
682 queue->rx_irq = err; in xenvif_connect_data()
683 disable_irq(queue->rx_irq); in xenvif_connect_data()
713 unbind_from_irqhandler(queue->rx_irq, queue); in xenvif_connect_data()
714 queue->rx_irq = 0; in xenvif_connect_data()
763 if (queue->tx_irq == queue->rx_irq) in xenvif_disconnect_data()
[all …]
/drivers/net/can/
Dbfin_can.c145 int rx_irq; member
530 } else if ((irq == priv->rx_irq) && readw(&reg->mbrif1)) { in bfin_can_interrupt()
562 err = request_irq(priv->rx_irq, &bfin_can_interrupt, 0, in bfin_can_open()
584 free_irq(priv->rx_irq, dev); in bfin_can_open()
600 free_irq(priv->rx_irq, dev); in bfin_can_close()
640 struct resource *res_mem, *rx_irq, *tx_irq, *err_irq; in bfin_can_probe() local
651 rx_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in bfin_can_probe()
654 if (!res_mem || !rx_irq || !tx_irq || !err_irq) { in bfin_can_probe()
678 priv->rx_irq = rx_irq->start; in bfin_can_probe()
701 DRV_NAME, priv->membase, priv->rx_irq, in bfin_can_probe()
/drivers/net/ethernet/
Dkorina.c123 int rx_irq; member
297 mii_id = ((lp->rx_irq == 0x2c ? 1 : 0) << 8); in mdio_read()
312 mii_id = ((lp->rx_irq == 0x2c ? 1 : 0) << 8); in mdio_write()
892 disable_irq(lp->rx_irq); in korina_restart_task()
917 enable_irq(lp->rx_irq); in korina_restart_task()
998 ret = request_irq(lp->rx_irq, korina_rx_dma_interrupt, in korina_open()
1002 dev->name, lp->rx_irq); in korina_open()
1039 free_irq(lp->rx_irq, dev); in korina_open()
1053 disable_irq(lp->rx_irq); in korina_close()
1074 free_irq(lp->rx_irq, dev); in korina_close()
[all …]
/drivers/dma/
Dxgene-dma.c286 int rx_irq; member
996 enable_irq(chan->rx_irq); in xgene_dma_tasklet_cb()
1009 disable_irq_nosync(chan->rx_irq); in xgene_dma_chan_ring_isr()
1457 irq_set_status_flags(chan->rx_irq, IRQ_DISABLE_UNLAZY); in xgene_dma_request_irqs()
1458 ret = devm_request_irq(chan->dev, chan->rx_irq, in xgene_dma_request_irqs()
1463 chan->rx_irq); in xgene_dma_request_irqs()
1468 irq_clear_status_flags(chan->rx_irq, IRQ_DISABLE_UNLAZY); in xgene_dma_request_irqs()
1469 devm_free_irq(chan->dev, chan->rx_irq, chan); in xgene_dma_request_irqs()
1489 irq_clear_status_flags(chan->rx_irq, IRQ_DISABLE_UNLAZY); in xgene_dma_free_irqs()
1490 devm_free_irq(chan->dev, chan->rx_irq, chan); in xgene_dma_free_irqs()
[all …]
/drivers/tty/serial/
Dmps2-uart.c75 unsigned int rx_irq; member
280 ret = request_irq(mps_port->rx_irq, mps2_uart_rxirq, 0, in mps2_uart_startup()
311 free_irq(mps_port->rx_irq, mps_port); in mps2_uart_startup()
325 free_irq(mps_port->rx_irq, mps_port); in mps2_uart_shutdown()
526 mps_port->rx_irq = platform_get_irq(pdev, 0); in mps2_init_port()
Dclps711x.c65 int rx_irq; member
476 s->rx_irq = platform_get_irq(pdev, 1); in uart_clps711x_probe()
477 if (s->rx_irq < 0) in uart_clps711x_probe()
478 return s->rx_irq; in uart_clps711x_probe()
526 ret = devm_request_irq(&pdev->dev, s->rx_irq, uart_clps711x_int_rx, 0, in uart_clps711x_probe()
Dlantiq.c124 unsigned int rx_irq; member
345 retval = request_irq(ltq_port->rx_irq, lqasc_rx_int, in lqasc_startup()
364 free_irq(ltq_port->rx_irq, port); in lqasc_startup()
375 free_irq(ltq_port->rx_irq, port); in lqasc_shutdown()
751 ltq_port->rx_irq = irqres[1].start; in lqasc_probe()
Dbfin_uart.c638 if (request_irq(uart->rx_irq, bfin_serial_rx_int, 0, in bfin_serial_startup()
648 free_irq(uart->rx_irq, uart); in bfin_serial_startup()
663 switch (uart->rx_irq) { in bfin_serial_startup()
680 free_irq(uart->rx_irq, uart); in bfin_serial_startup()
688 free_irq(uart->rx_irq, uart); in bfin_serial_startup()
762 free_irq(uart->rx_irq, uart); in bfin_serial_shutdown()
1283 uart->rx_irq = platform_get_irq(pdev, 1); in bfin_serial_probe()
1284 if (uart->rx_irq < 0) { in bfin_serial_probe()
1289 uart->port.irq = uart->rx_irq; in bfin_serial_probe()
Dsamsung.h83 unsigned int rx_irq; member
/drivers/net/ethernet/xilinx/
Dll_temac_main.c869 rc = request_irq(lp->rx_irq, ll_temac_rx_irq, 0, ndev->name, ndev); in temac_open()
892 free_irq(lp->rx_irq, ndev); in temac_stop()
909 disable_irq(lp->rx_irq); in temac_poll_controller()
912 ll_temac_tx_irq(lp->rx_irq, ndev); in temac_poll_controller()
915 enable_irq(lp->rx_irq); in temac_poll_controller()
1066 lp->rx_irq = irq_of_parse_and_map(np, 0); in temac_of_probe()
1071 if (!lp->rx_irq || !lp->tx_irq) { in temac_of_probe()
Dxilinx_axienet_main.c971 ret = request_irq(lp->rx_irq, axienet_rx_irq, 0, ndev->name, ndev); in axienet_open()
1016 free_irq(lp->rx_irq, ndev); in axienet_stop()
1064 disable_irq(lp->rx_irq); in axienet_poll_controller()
1066 axienet_tx_irq(lp->rx_irq, ndev); in axienet_poll_controller()
1068 enable_irq(lp->rx_irq); in axienet_poll_controller()
1603 lp->rx_irq = irq_of_parse_and_map(np, 1); in axienet_probe()
1606 if ((lp->rx_irq <= 0) || (lp->tx_irq <= 0)) { in axienet_probe()
Dll_temac.h351 int rx_irq; member
Dxilinx_axienet.h435 int rx_irq; member
/drivers/net/wireless/ath/wcn36xx/
Ddxe.c445 disable_irq_nosync(wcn->rx_irq); in wcn36xx_irq_rx_ready()
447 enable_irq(wcn->rx_irq); in wcn36xx_irq_rx_ready()
462 ret = request_irq(wcn->rx_irq, wcn36xx_irq_rx_ready, IRQF_TRIGGER_HIGH, in wcn36xx_dxe_request_irqs()
469 enable_irq_wake(wcn->rx_irq); in wcn36xx_dxe_request_irqs()
833 free_irq(wcn->rx_irq, wcn); in wcn36xx_dxe_deinit()
Dwcn36xx.h194 int rx_irq; member
/drivers/net/
Dxen-netfront.c111 unsigned int tx_irq, rx_irq; member
344 notify_remote_via_irq(queue->rx_irq); in xennet_alloc_rx_buffers()
1399 if (queue->tx_irq && (queue->tx_irq == queue->rx_irq)) in xennet_disconnect_backend()
1401 if (queue->tx_irq && (queue->tx_irq != queue->rx_irq)) { in xennet_disconnect_backend()
1403 unbind_from_irqhandler(queue->rx_irq, queue); in xennet_disconnect_backend()
1406 queue->tx_irq = queue->rx_irq = 0; in xennet_disconnect_backend()
1479 queue->rx_irq = queue->tx_irq = err; in setup_netfront_single()
1517 queue->rx_irq = err; in setup_netfront_split()
1993 if (queue->tx_irq != queue->rx_irq) in xennet_connect()
1994 notify_remote_via_irq(queue->rx_irq); in xennet_connect()
/drivers/net/ethernet/altera/
Daltera_tse_main.c1221 ret = request_irq(priv->rx_irq, altera_isr, IRQF_SHARED, in tse_open()
1225 priv->rx_irq); in tse_open()
1265 free_irq(priv->rx_irq, dev); in tse_open()
1295 free_irq(priv->rx_irq, dev); in tse_shutdown()
1480 priv->rx_irq = platform_get_irq_byname(pdev, "rx_irq"); in altera_tse_probe()
1481 if (priv->rx_irq == -ENXIO) { in altera_tse_probe()
1600 (unsigned long) control_port->start, priv->rx_irq, in altera_tse_probe()
/drivers/net/ethernet/micrel/
Dks8695net.c167 int rx_irq, tx_irq, link_irq; member
421 return ksp->rx_irq; in ks8695_get_rx_enable_bit()
677 free_irq(ksp->rx_irq, ksp->ndev); in ks8695_shutdown()
765 ret = ks8695_setup_irq(ksp->rx_irq, ksp->rx_irq_name, in ks8695_init_net()
1440 ksp->rx_irq = rxirq_res->start; in ks8695_probe()
/drivers/net/ethernet/huawei/hinic/
Dhinic_rx.c399 static irqreturn_t rx_irq(int irq, void *data) in rx_irq() function
429 err = request_irq(rq->irq, rx_irq, 0, rxq->irq_name, rxq); in rx_request_irq()

12