#include <linux/mutex.h>
#include <linux/list.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include "adf_accel_devices.h"
#include "adf_cfg.h"
#include "adf_common_drv.h"
#include "adf_dbgfs.h"
#include "adf_heartbeat.h"
#include "adf_rl.h"
#include "adf_sysfs_ras_counters.h"
#include "adf_telemetry.h"
static LIST_HEAD(service_table);
static DEFINE_MUTEX(service_lock);
static void adf_service_add(struct service_hndl *service)
{ … }
int adf_service_register(struct service_hndl *service)
{ … }
static void adf_service_remove(struct service_hndl *service)
{ … }
int adf_service_unregister(struct service_hndl *service)
{ … }
static int adf_dev_init(struct adf_accel_dev *accel_dev)
{ … }
static int adf_dev_start(struct adf_accel_dev *accel_dev)
{ … }
static void adf_dev_stop(struct adf_accel_dev *accel_dev)
{ … }
static void adf_dev_shutdown(struct adf_accel_dev *accel_dev)
{ … }
int adf_dev_restarting_notify(struct adf_accel_dev *accel_dev)
{ … }
int adf_dev_restarted_notify(struct adf_accel_dev *accel_dev)
{ … }
void adf_error_notifier(struct adf_accel_dev *accel_dev)
{ … }
static int adf_dev_shutdown_cache_cfg(struct adf_accel_dev *accel_dev)
{ … }
int adf_dev_down(struct adf_accel_dev *accel_dev, bool reconfig)
{ … }
EXPORT_SYMBOL_GPL(…);
int adf_dev_up(struct adf_accel_dev *accel_dev, bool config)
{ … }
EXPORT_SYMBOL_GPL(…);
int adf_dev_restart(struct adf_accel_dev *accel_dev)
{ … }
EXPORT_SYMBOL_GPL(…);