fw_upload
fwlp->ops->cancel(fwlp->fw_upload);
struct fw_upload *fwl;
fwl = fwlp->fw_upload;
kfree(fw_upload_priv->fw_upload);
struct fw_upload *
struct fw_upload *fw_upload;
fw_upload = kzalloc_obj(*fw_upload);
if (!fw_upload) {
fw_upload_priv->fw_upload = fw_upload;
fw_upload->dd_handle = dd_handle;
fw_upload->priv = fw_sysfs;
return fw_upload;
kfree(fw_upload);
void firmware_upload_unregister(struct fw_upload *fw_upload)
struct fw_sysfs *fw_sysfs = fw_upload->priv;
fw_upload_priv->ops->cancel(fw_upload);
struct fw_upload *fw_upload;
static enum fw_upload_err cxl_fw_poll_complete(struct fw_upload *fwl)
static void cxl_fw_cancel(struct fw_upload *fwl)
struct fw_upload *fwl;
static void cxl_fw_cleanup(struct fw_upload *fwl)
static int cxl_fw_do_cancel(struct fw_upload *fwl)
static enum fw_upload_err cxl_fw_prepare(struct fw_upload *fwl, const u8 *data,
static enum fw_upload_err cxl_fw_write(struct fw_upload *fwl, const u8 *data,
static void mpfs_auto_update_cancel(struct fw_upload *fw_uploader)
static enum fw_upload_err mpfs_auto_update_poll_complete(struct fw_upload *fw_uploader)
static int mpfs_auto_update_verify_image(struct fw_upload *fw_uploader)
static int mpfs_auto_update_write_bitstream(struct fw_upload *fw_uploader, const u8 *data,
static enum fw_upload_err mpfs_auto_update_write(struct fw_upload *fw_uploader, const u8 *data,
struct fw_upload *fw_uploader;
struct fw_upload *fw_uploader;
static enum fw_upload_err mpfs_auto_update_prepare(struct fw_upload *fw_uploader, const u8 *data,
struct fw_upload *fwl;
static enum fw_upload_err m10bmc_sec_prepare(struct fw_upload *fwl,
static enum fw_upload_err m10bmc_sec_fw_write(struct fw_upload *fwl, const u8 *data,
static enum fw_upload_err m10bmc_sec_poll_complete(struct fw_upload *fwl)
static void m10bmc_sec_cancel(struct fw_upload *fwl)
static void m10bmc_sec_cleanup(struct fw_upload *fwl)
struct fw_upload *fwl;
static void cc1352_cleanup(struct fw_upload *fw_upload)
struct gb_beagleplay *bg = fw_upload->dd_handle;
static enum fw_upload_err cc1352_write(struct fw_upload *fw_upload,
struct gb_beagleplay *bg = fw_upload->dd_handle;
static enum fw_upload_err cc1352_poll_complete(struct fw_upload *fw_upload)
struct gb_beagleplay *bg = fw_upload->dd_handle;
static void cc1352_cancel(struct fw_upload *fw_upload)
struct gb_beagleplay *bg = fw_upload->dd_handle;
struct fw_upload *fwl;
struct fw_upload *fwl;
static enum fw_upload_err cc1352_prepare(struct fw_upload *fw_upload,
struct gb_beagleplay *bg = fw_upload->dd_handle;
static enum fw_upload_err thp7312_fw_prepare(struct fw_upload *fw_upload,
struct thp7312_device *thp7312 = fw_upload->dd_handle;
static enum fw_upload_err thp7312_fw_write(struct fw_upload *fw_upload,
struct thp7312_device *thp7312 = fw_upload->dd_handle;
static enum fw_upload_err thp7312_fw_poll_complete(struct fw_upload *fw_upload)
static void thp7312_fw_cancel(struct fw_upload *fw_upload)
struct thp7312_device *thp7312 = fw_upload->dd_handle;
struct fw_upload *fwl;
struct fw_upload *fwl;
static int fw_upload = 1;
module_param_named(fw_upload, fw_upload, int, 0644);
MODULE_PARM_DESC(fw_upload, "Turn on/off default FW upload (default: on)");
if (fw_upload)
struct fw_upload *fwl;
static enum fw_upload_err pd692x0_fw_prepare(struct fw_upload *fwl,
static enum fw_upload_err pd692x0_fw_write(struct fw_upload *fwl,
static enum fw_upload_err pd692x0_fw_poll_complete(struct fw_upload *fwl)
static void pd692x0_fw_cancel(struct fw_upload *fwl)
static void pd692x0_fw_cleanup(struct fw_upload *fwl)
struct fw_upload *fwl;
static enum fw_upload_err tdx_fw_prepare(struct fw_upload *fwl,
static enum fw_upload_err tdx_fw_write(struct fw_upload *fwl, const u8 *data,
static enum fw_upload_err tdx_fw_poll_complete(struct fw_upload *fwl)
static void tdx_fw_cancel(struct fw_upload *fwl)
struct fw_upload *tdx_fwl;
struct fw_upload *
void firmware_upload_unregister(struct fw_upload *fw_upload);
static inline struct fw_upload *
static inline void firmware_upload_unregister(struct fw_upload *fw_upload)
enum fw_upload_err (*prepare)(struct fw_upload *fw_upload,
enum fw_upload_err (*write)(struct fw_upload *fw_upload,
enum fw_upload_err (*poll_complete)(struct fw_upload *fw_upload);
void (*cancel)(struct fw_upload *fw_upload);
void (*cleanup)(struct fw_upload *fw_upload);
static enum fw_upload_err test_fw_upload_prepare(struct fw_upload *fwl,
static enum fw_upload_err test_fw_upload_write(struct fw_upload *fwl,
static enum fw_upload_err test_fw_upload_complete(struct fw_upload *fwl)
static void test_fw_upload_cancel(struct fw_upload *fwl)
static void test_fw_cleanup(struct fw_upload *fwl)
struct fw_upload *fwl;
struct fw_upload *fwl;