#include <linux/list.h>
#include <linux/spinlock.h>
#include "hnae3.h"
static LIST_HEAD(hnae3_ae_algo_list);
static LIST_HEAD(hnae3_client_list);
static LIST_HEAD(hnae3_ae_dev_list);
void hnae3_unregister_ae_algo_prepare(struct hnae3_ae_algo *ae_algo)
{ … }
EXPORT_SYMBOL(…);
static DEFINE_MUTEX(hnae3_common_lock);
static bool hnae3_client_match(enum hnae3_client_type client_type)
{ … }
void hnae3_set_client_init_flag(struct hnae3_client *client,
struct hnae3_ae_dev *ae_dev,
unsigned int inited)
{ … }
EXPORT_SYMBOL(…);
static int hnae3_get_client_init_flag(struct hnae3_client *client,
struct hnae3_ae_dev *ae_dev)
{ … }
static int hnae3_init_client_instance(struct hnae3_client *client,
struct hnae3_ae_dev *ae_dev)
{ … }
static void hnae3_uninit_client_instance(struct hnae3_client *client,
struct hnae3_ae_dev *ae_dev)
{ … }
int hnae3_register_client(struct hnae3_client *client)
{ … }
EXPORT_SYMBOL(…);
void hnae3_unregister_client(struct hnae3_client *client)
{ … }
EXPORT_SYMBOL(…);
void hnae3_register_ae_algo(struct hnae3_ae_algo *ae_algo)
{ … }
EXPORT_SYMBOL(…);
void hnae3_unregister_ae_algo(struct hnae3_ae_algo *ae_algo)
{ … }
EXPORT_SYMBOL(…);
int hnae3_register_ae_dev(struct hnae3_ae_dev *ae_dev)
{ … }
EXPORT_SYMBOL(…);
void hnae3_unregister_ae_dev(struct hnae3_ae_dev *ae_dev)
{ … }
EXPORT_SYMBOL(…);
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_VERSION(…);