Home
last modified time | relevance | path

Searched refs:fw_upload (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/include/linux/
H A Dfirmware.h44 struct fw_upload { struct
68 enum fw_upload_err (*prepare)(struct fw_upload *fw_upload, argument
70 enum fw_upload_err (*write)(struct fw_upload *fw_upload,
73 enum fw_upload_err (*poll_complete)(struct fw_upload *fw_upload);
74 void (*cancel)(struct fw_upload *fw_upload);
75 void (*cleanup)(struct fw_upload *fw_upload);
175 struct fw_upload *
179 void firmware_upload_unregister(struct fw_upload *fw_upload);
183 static inline struct fw_upload *
191 static inline void firmware_upload_unregister(struct fw_upload *fw_upload) in firmware_upload_unregister() argument
/openbmc/linux/drivers/base/firmware_loader/
H A Dsysfs_upload.c105 fwlp->ops->cancel(fwlp->fw_upload); in cancel_store()
165 struct fw_upload *fwl; in fw_upload_main()
168 fwl = fwlp->fw_upload; in fw_upload_main()
272 kfree(fw_upload_priv->fw_upload); in fw_upload_free()
290 struct fw_upload *
296 struct fw_upload *fw_upload; in firmware_upload_register() local
315 fw_upload = kzalloc(sizeof(*fw_upload), GFP_KERNEL); in firmware_upload_register()
316 if (!fw_upload) { in firmware_upload_register()
327 fw_upload_priv->fw_upload = fw_upload; in firmware_upload_register()
335 fw_upload->dd_handle = dd_handle; in firmware_upload_register()
[all …]
H A Dsysfs_upload.h28 struct fw_upload *fw_upload; member
/openbmc/linux/drivers/media/usb/as102/
H A Das102_drv.c27 static int fw_upload = 1; variable
28 module_param_named(fw_upload, fw_upload, int, 0644);
29 MODULE_PARM_DESC(fw_upload, "Turn on/off default FW upload (default: on)");
354 if (fw_upload) in as102_dvb_register()
/openbmc/linux/drivers/fpga/
H A Dintel-m10-bmc-sec-update.c26 struct fw_upload *fwl;
528 static enum fw_upload_err m10bmc_sec_prepare(struct fw_upload *fwl, in m10bmc_sec_prepare()
577 static enum fw_upload_err m10bmc_sec_fw_write(struct fw_upload *fwl, const u8 *data, in m10bmc_sec_fw_write()
607 static enum fw_upload_err m10bmc_sec_poll_complete(struct fw_upload *fwl) in m10bmc_sec_poll_complete()
649 static void m10bmc_sec_cancel(struct fw_upload *fwl) in m10bmc_sec_cancel()
656 static void m10bmc_sec_cleanup(struct fw_upload *fwl) in m10bmc_sec_cleanup()
689 struct fw_upload *fwl; in m10bmc_sec_probe()
/openbmc/linux/Documentation/driver-api/firmware/
H A Dindex.rst11 fw_upload
H A Dfw_upload.rst44 struct fw_upload *fwl;
/openbmc/linux/tools/testing/selftests/firmware/
H A DMakefile7 TEST_FILES := fw_fallback.sh fw_filesystem.sh fw_upload.sh fw_lib.sh
H A Dfw_run_tests.sh28 $TEST_DIR/fw_upload.sh
/openbmc/linux/drivers/cxl/core/
H A Dmemdev.c743 static void cxl_fw_cleanup(struct fw_upload *fwl) in cxl_fw_cleanup()
750 static int cxl_fw_do_cancel(struct fw_upload *fwl) in cxl_fw_do_cancel()
764 static enum fw_upload_err cxl_fw_prepare(struct fw_upload *fwl, const u8 *data, in cxl_fw_prepare()
789 static enum fw_upload_err cxl_fw_write(struct fw_upload *fwl, const u8 *data, in cxl_fw_write()
889 static enum fw_upload_err cxl_fw_poll_complete(struct fw_upload *fwl) in cxl_fw_poll_complete()
905 static void cxl_fw_cancel(struct fw_upload *fwl) in cxl_fw_cancel()
929 struct fw_upload *fwl; in devm_cxl_setup_fw_upload()
/openbmc/linux/lib/
H A Dtest_firmware.c134 struct fw_upload *fwl;
1183 static enum fw_upload_err test_fw_upload_prepare(struct fw_upload *fwl, in test_fw_upload_prepare()
1223 static enum fw_upload_err test_fw_upload_write(struct fw_upload *fwl, in test_fw_upload_write()
1249 static enum fw_upload_err test_fw_upload_complete(struct fw_upload *fwl) in test_fw_upload_complete()
1267 static void test_fw_upload_cancel(struct fw_upload *fwl) in test_fw_upload_cancel()
1274 static void test_fw_cleanup(struct fw_upload *fwl) in test_fw_cleanup()
1295 struct fw_upload *fwl; in upload_register_store()
/openbmc/linux/
H A Dopengrok1.0.log[all...]