Lines Matching refs:fw_uploader

83 	struct fw_upload *fw_uploader;  member
99 static enum fw_upload_err mpfs_auto_update_prepare(struct fw_upload *fw_uploader, const u8 *data, in mpfs_auto_update_prepare() argument
102 struct mpfs_auto_update_priv *priv = fw_uploader->dd_handle; in mpfs_auto_update_prepare()
147 static void mpfs_auto_update_cancel(struct fw_upload *fw_uploader) in mpfs_auto_update_cancel() argument
149 struct mpfs_auto_update_priv *priv = fw_uploader->dd_handle; in mpfs_auto_update_cancel()
154 static enum fw_upload_err mpfs_auto_update_poll_complete(struct fw_upload *fw_uploader) in mpfs_auto_update_poll_complete() argument
159 static int mpfs_auto_update_verify_image(struct fw_upload *fw_uploader) in mpfs_auto_update_verify_image() argument
161 struct mpfs_auto_update_priv *priv = fw_uploader->dd_handle; in mpfs_auto_update_verify_image()
263 static int mpfs_auto_update_write_bitstream(struct fw_upload *fw_uploader, const u8 *data, in mpfs_auto_update_write_bitstream() argument
266 struct mpfs_auto_update_priv *priv = fw_uploader->dd_handle; in mpfs_auto_update_write_bitstream()
332 static enum fw_upload_err mpfs_auto_update_write(struct fw_upload *fw_uploader, const u8 *data, in mpfs_auto_update_write() argument
335 struct mpfs_auto_update_priv *priv = fw_uploader->dd_handle; in mpfs_auto_update_write()
338 ret = mpfs_auto_update_write_bitstream(fw_uploader, data, offset, size, written); in mpfs_auto_update_write()
348 ret = mpfs_auto_update_verify_image(fw_uploader); in mpfs_auto_update_write()
418 struct fw_upload *fw_uploader; in mpfs_auto_update_probe() local
438 fw_uploader = firmware_upload_register(THIS_MODULE, dev, "mpfs-auto-update", in mpfs_auto_update_probe()
440 if (IS_ERR(fw_uploader)) in mpfs_auto_update_probe()
441 return dev_err_probe(dev, PTR_ERR(fw_uploader), in mpfs_auto_update_probe()
444 priv->fw_uploader = fw_uploader; in mpfs_auto_update_probe()
453 firmware_upload_unregister(priv->fw_uploader); in mpfs_auto_update_remove()