// SPDX-License-Identifier: GPL-2.0 /* Copyright Sunplus Technology Co., Ltd. * All rights reserved. */ #include <linux/platform_device.h> #include <linux/etherdevice.h> #include <linux/netdevice.h> #include <linux/bitfield.h> #include <linux/spinlock.h> #include <linux/of_mdio.h> #include "spl2sw_register.h" #include "spl2sw_define.h" #include "spl2sw_int.h" int spl2sw_rx_poll(struct napi_struct *napi, int budget) { … } int spl2sw_tx_poll(struct napi_struct *napi, int budget) { … } irqreturn_t spl2sw_ethernet_interrupt(int irq, void *dev_id) { … }