linux/drivers/net/ethernet/amd/pds_core/dev.c

// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 2023 Advanced Micro Devices, Inc */

#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/utsname.h>

#include "core.h"

int pdsc_err_to_errno(enum pds_core_status_code code)
{}

bool pdsc_is_fw_running(struct pdsc *pdsc)
{}

bool pdsc_is_fw_good(struct pdsc *pdsc)
{}

static u8 pdsc_devcmd_status(struct pdsc *pdsc)
{}

static bool pdsc_devcmd_done(struct pdsc *pdsc)
{}

static void pdsc_devcmd_dbell(struct pdsc *pdsc)
{}

static void pdsc_devcmd_clean(struct pdsc *pdsc)
{}

static const char *pdsc_devcmd_str(int opcode)
{}

static int pdsc_devcmd_wait(struct pdsc *pdsc, u8 opcode, int max_seconds)
{}

int pdsc_devcmd_locked(struct pdsc *pdsc, union pds_core_dev_cmd *cmd,
		       union pds_core_dev_comp *comp, int max_seconds)
{}

int pdsc_devcmd(struct pdsc *pdsc, union pds_core_dev_cmd *cmd,
		union pds_core_dev_comp *comp, int max_seconds)
{}

int pdsc_devcmd_init(struct pdsc *pdsc)
{}

int pdsc_devcmd_reset(struct pdsc *pdsc)
{}

static int pdsc_devcmd_identify_locked(struct pdsc *pdsc)
{}

static void pdsc_init_devinfo(struct pdsc *pdsc)
{}

static int pdsc_identify(struct pdsc *pdsc)
{}

void pdsc_dev_uninit(struct pdsc *pdsc)
{}

int pdsc_dev_init(struct pdsc *pdsc)
{}