linux/drivers/net/ethernet/wangxun/txgbe/txgbe_irq.c

// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2015 - 2024 Beijing WangXun Technology Co., Ltd. */

#include <linux/irqdomain.h>
#include <linux/pci.h>

#include "../libwx/wx_type.h"
#include "../libwx/wx_lib.h"
#include "../libwx/wx_hw.h"
#include "txgbe_type.h"
#include "txgbe_phy.h"
#include "txgbe_irq.h"

/**
 * txgbe_irq_enable - Enable default interrupt generation settings
 * @wx: pointer to private structure
 * @queues: enable irqs for queues
 **/
void txgbe_irq_enable(struct wx *wx, bool queues)
{}

/**
 * txgbe_request_queue_irqs - Initialize MSI-X queue interrupts
 * @wx: board private structure
 *
 * Allocate MSI-X queue vectors and request interrupts from the kernel.
 **/
int txgbe_request_queue_irqs(struct wx *wx)
{}

static int txgbe_request_gpio_irq(struct txgbe *txgbe)
{}

static int txgbe_request_link_irq(struct txgbe *txgbe)
{}

static const struct irq_chip txgbe_irq_chip =;

static int txgbe_misc_irq_domain_map(struct irq_domain *d,
				     unsigned int irq,
				     irq_hw_number_t hwirq)
{}

static const struct irq_domain_ops txgbe_misc_irq_domain_ops =;

static irqreturn_t txgbe_misc_irq_handle(int irq, void *data)
{}

static irqreturn_t txgbe_misc_irq_thread_fn(int irq, void *data)
{}

static void txgbe_del_irq_domain(struct txgbe *txgbe)
{}

void txgbe_free_misc_irq(struct txgbe *txgbe)
{}

int txgbe_setup_misc_irq(struct txgbe *txgbe)
{}