linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c

// SPDX-License-Identifier: GPL-2.0-only
/* Atlantic Network Driver
 * Copyright (C) 2020 Marvell International Ltd.
 */

#include "aq_hw.h"
#include "aq_hw_utils.h"
#include "aq_ring.h"
#include "aq_nic.h"
#include "hw_atl/hw_atl_b0.h"
#include "hw_atl/hw_atl_utils.h"
#include "hw_atl/hw_atl_llh.h"
#include "hw_atl/hw_atl_llh_internal.h"
#include "hw_atl2_utils.h"
#include "hw_atl2_llh.h"
#include "hw_atl2_internal.h"
#include "hw_atl2_llh_internal.h"

static int hw_atl2_act_rslvr_table_set(struct aq_hw_s *self, u8 location,
				       u32 tag, u32 mask, u32 action);

#define DEFAULT_BOARD_BASIC_CAPABILITIES

const struct aq_hw_caps_s hw_atl2_caps_aqc113 =;

const struct aq_hw_caps_s hw_atl2_caps_aqc115c =;

const struct aq_hw_caps_s hw_atl2_caps_aqc116c =;

static u32 hw_atl2_sem_act_rslvr_get(struct aq_hw_s *self)
{}

static int hw_atl2_hw_reset(struct aq_hw_s *self)
{}

static int hw_atl2_hw_queue_to_tc_map_set(struct aq_hw_s *self)
{}

static int hw_atl2_hw_qos_set(struct aq_hw_s *self)
{}

static int hw_atl2_hw_rss_set(struct aq_hw_s *self,
			      struct aq_rss_parameters *rss_params)
{}

static int hw_atl2_hw_init_tx_tc_rate_limit(struct aq_hw_s *self)
{}

static int hw_atl2_hw_init_tx_path(struct aq_hw_s *self)
{}

static void hw_atl2_hw_init_new_rx_filters(struct aq_hw_s *self)
{}

static void hw_atl2_hw_new_rx_filter_vlan_promisc(struct aq_hw_s *self,
						  bool promisc)
{}

static void hw_atl2_hw_new_rx_filter_promisc(struct aq_hw_s *self, bool promisc)
{}

static int hw_atl2_act_rslvr_table_set(struct aq_hw_s *self, u8 location,
				       u32 tag, u32 mask, u32 action)
{}

static int hw_atl2_hw_init_rx_path(struct aq_hw_s *self)
{}

static int hw_atl2_hw_init(struct aq_hw_s *self, const u8 *mac_addr)
{}

static int hw_atl2_hw_ring_rx_init(struct aq_hw_s *self,
				   struct aq_ring_s *aq_ring,
				   struct aq_ring_param_s *aq_ring_param)
{}

static int hw_atl2_hw_ring_tx_init(struct aq_hw_s *self,
				   struct aq_ring_s *aq_ring,
				   struct aq_ring_param_s *aq_ring_param)
{}

#define IS_FILTER_ENABLED

static int hw_atl2_hw_packet_filter_set(struct aq_hw_s *self,
					unsigned int packet_filter)
{}

#undef IS_FILTER_ENABLED

static int hw_atl2_hw_multicast_list_set(struct aq_hw_s *self,
					 u8 ar_mac
					 [AQ_HW_MULTICAST_ADDRESS_MAX]
					 [ETH_ALEN],
					 u32 count)
{}

static int hw_atl2_hw_interrupt_moderation_set(struct aq_hw_s *self)
{}

static int hw_atl2_hw_stop(struct aq_hw_s *self)
{}

static struct aq_stats_s *hw_atl2_utils_get_hw_stats(struct aq_hw_s *self)
{}

static int hw_atl2_hw_vlan_set(struct aq_hw_s *self,
			       struct aq_rx_filter_vlan *aq_vlans)
{}

static int hw_atl2_hw_vlan_ctrl(struct aq_hw_s *self, bool enable)
{}

const struct aq_hw_ops hw_atl2_ops =;