xilinx_can.c (c95baf12f5077419db01313ab61c2aac007d40cd) xilinx_can.c (88bfb9a713563550b1febb1a89b3a192efe2d091)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/* Xilinx CAN device driver
3 *
4 * Copyright (C) 2012 - 2014 Xilinx, Inc.
5 * Copyright (C) 2009 PetaLogix. All rights reserved.
6 * Copyright (C) 2017 - 2018 Sandvik Mining and Construction Oy
7 *
8 * Description:

--- 1294 unchanged lines hidden (view full) ---

1303
1304 can_led_event(ndev, CAN_LED_EVENT_TX);
1305 xcan_update_error_state_after_rxtx(ndev);
1306}
1307
1308/**
1309 * xcan_interrupt - CAN Isr
1310 * @irq: irq number
1// SPDX-License-Identifier: GPL-2.0-or-later
2/* Xilinx CAN device driver
3 *
4 * Copyright (C) 2012 - 2014 Xilinx, Inc.
5 * Copyright (C) 2009 PetaLogix. All rights reserved.
6 * Copyright (C) 2017 - 2018 Sandvik Mining and Construction Oy
7 *
8 * Description:

--- 1294 unchanged lines hidden (view full) ---

1303
1304 can_led_event(ndev, CAN_LED_EVENT_TX);
1305 xcan_update_error_state_after_rxtx(ndev);
1306}
1307
1308/**
1309 * xcan_interrupt - CAN Isr
1310 * @irq: irq number
1311 * @dev_id: device id poniter
1311 * @dev_id: device id pointer
1312 *
1313 * This is the xilinx CAN Isr. It checks for the type of interrupt
1314 * and invokes the corresponding ISR.
1315 *
1316 * Return:
1317 * IRQ_NONE - If CAN device is in sleep mode, IRQ_HANDLED otherwise
1318 */
1319static irqreturn_t xcan_interrupt(int irq, void *dev_id)

--- 550 unchanged lines hidden ---
1312 *
1313 * This is the xilinx CAN Isr. It checks for the type of interrupt
1314 * and invokes the corresponding ISR.
1315 *
1316 * Return:
1317 * IRQ_NONE - If CAN device is in sleep mode, IRQ_HANDLED otherwise
1318 */
1319static irqreturn_t xcan_interrupt(int irq, void *dev_id)

--- 550 unchanged lines hidden ---