#include "core.h"
#define PDSC_FW_INSTALL_TIMEOUT …
#define PDSC_FW_SELECT_TIMEOUT …
#define PDSC_FW_INTERVAL_FRACTION …
static int pdsc_devcmd_fw_download_locked(struct pdsc *pdsc, u64 addr,
u32 offset, u32 length)
{ … }
static int pdsc_devcmd_fw_install(struct pdsc *pdsc)
{ … }
static int pdsc_devcmd_fw_activate(struct pdsc *pdsc,
enum pds_core_fw_slot slot)
{ … }
static int pdsc_fw_status_long_wait(struct pdsc *pdsc,
const char *label,
unsigned long timeout,
u8 fw_cmd,
struct netlink_ext_ack *extack)
{ … }
int pdsc_firmware_update(struct pdsc *pdsc, const struct firmware *fw,
struct netlink_ext_ack *extack)
{ … }