| /linux/include/linux/ |
| H A D | firmware.h | 47 struct fw_upload { struct 71 enum fw_upload_err (*prepare)(struct fw_upload *fw_upload, argument 73 enum fw_upload_err (*write)(struct fw_upload *fw_upload, 76 enum fw_upload_err (*poll_complete)(struct fw_upload *fw_upload); 77 void (*cancel)(struct fw_upload *fw_upload); 78 void (*cleanup)(struct fw_upload *fw_upload); 190 struct fw_upload * 194 void firmware_upload_unregister(struct fw_upload *fw_upload); 198 static inline struct fw_upload * 206 static inline void firmware_upload_unregister(struct fw_upload *fw_upload) in firmware_upload_unregister() argument
|
| /linux/drivers/base/firmware_loader/ |
| H A D | sysfs_upload.c | 108 fwlp->ops->cancel(fwlp->fw_upload); in cancel_store() 168 struct fw_upload *fwl; in fw_upload_main() 171 fwl = fwlp->fw_upload; in fw_upload_main() 275 kfree(fw_upload_priv->fw_upload); in fw_upload_free() 293 struct fw_upload * 299 struct fw_upload *fw_upload; in firmware_upload_register() local 318 fw_upload = kzalloc(sizeof(*fw_upload), GFP_KERNEL); in firmware_upload_register() 319 if (!fw_upload) { in firmware_upload_register() 330 fw_upload_priv->fw_upload = fw_upload; in firmware_upload_register() 338 fw_upload->dd_handle = dd_handle; in firmware_upload_register() [all …]
|
| H A D | sysfs_upload.h | 28 struct fw_upload *fw_upload; member
|
| /linux/drivers/greybus/ |
| H A D | gb-beagleplay.c | 85 struct fw_upload *fwl; 860 static enum fw_upload_err cc1352_prepare(struct fw_upload *fw_upload, in cc1352_prepare() argument 865 struct gb_beagleplay *bg = fw_upload->dd_handle; in cc1352_prepare() 932 static void cc1352_cleanup(struct fw_upload *fw_upload) in cc1352_cleanup() argument 934 struct gb_beagleplay *bg = fw_upload->dd_handle; in cc1352_cleanup() 939 static enum fw_upload_err cc1352_write(struct fw_upload *fw_upload, in cc1352_write() argument 945 struct gb_beagleplay *bg = fw_upload->dd_handle; in cc1352_write() 974 static enum fw_upload_err cc1352_poll_complete(struct fw_upload *fw_upload) in cc1352_poll_complete() argument 977 struct gb_beagleplay *bg = fw_upload->dd_handle; in cc1352_poll_complete() 1004 static void cc1352_cancel(struct fw_upload *fw_upload) in cc1352_cancel() argument [all …]
|
| /linux/drivers/firmware/microchip/ |
| H A D | mpfs-auto-update.c | 83 struct fw_upload *fw_uploader; 99 static enum fw_upload_err mpfs_auto_update_prepare(struct fw_upload *fw_uploader, const u8 *data, in mpfs_auto_update_prepare() 147 static void mpfs_auto_update_cancel(struct fw_upload *fw_uploader) 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() 159 static int mpfs_auto_update_verify_image(struct fw_upload *fw_uploader) 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() 332 static enum fw_upload_err mpfs_auto_update_write(struct fw_upload *fw_uploader, const u8 *data, in mpfs_auto_update_write() 418 struct fw_upload *fw_uploader; in mpfs_auto_update_probe()
|
| /linux/drivers/media/usb/as102/ |
| H A D | as102_drv.c | 27 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()
|
| /linux/drivers/fpga/ |
| H A D | intel-m10-bmc-sec-update.c | 26 struct fw_upload *fwl; 528 static enum fw_upload_err m10bmc_sec_prepare(struct fw_upload *fwl, in m10bmc_sec_prepare() 578 static enum fw_upload_err m10bmc_sec_fw_write(struct fw_upload *fwl, const u8 *data, in m10bmc_sec_fw_write() 608 static enum fw_upload_err m10bmc_sec_poll_complete(struct fw_upload *fwl) in m10bmc_sec_poll_complete() 650 static void m10bmc_sec_cancel(struct fw_upload *fwl) in m10bmc_sec_cancel() 657 static void m10bmc_sec_cleanup(struct fw_upload *fwl) in m10bmc_sec_cleanup() 690 struct fw_upload *fwl; in m10bmc_sec_probe()
|
| /linux/drivers/media/i2c/ |
| H A D | thp7312.c | 291 struct fw_upload *fwl; 1776 static enum fw_upload_err thp7312_fw_prepare(struct fw_upload *fw_upload, in thp7312_fw_prepare() argument 1779 struct thp7312_device *thp7312 = fw_upload->dd_handle; in thp7312_fw_prepare() 1812 static enum fw_upload_err thp7312_fw_write(struct fw_upload *fw_upload, in thp7312_fw_write() argument 1816 struct thp7312_device *thp7312 = fw_upload->dd_handle; in thp7312_fw_write() 1859 static enum fw_upload_err thp7312_fw_poll_complete(struct fw_upload *fw_upload) in thp7312_fw_poll_complete() argument 1870 static void thp7312_fw_cancel(struct fw_upload *fw_upload) in thp7312_fw_cancel() argument 1872 struct thp7312_device *thp7312 = fw_upload->dd_handle; in thp7312_fw_cancel() 1889 struct fw_upload *fwl; in thp7312_register_flash_mode()
|
| /linux/Documentation/driver-api/firmware/ |
| H A D | index.rst | 11 fw_upload
|
| H A D | fw_upload.rst | 44 struct fw_upload *fwl;
|
| /linux/tools/testing/selftests/firmware/ |
| H A D | Makefile | 7 TEST_FILES := fw_fallback.sh fw_filesystem.sh fw_upload.sh fw_lib.sh
|
| H A D | fw_run_tests.sh | 28 $TEST_DIR/fw_upload.sh
|
| /linux/lib/ |
| H A D | test_firmware.c | 135 struct fw_upload *fwl; 1185 static enum fw_upload_err test_fw_upload_prepare(struct fw_upload *fwl, in test_fw_upload_prepare() 1225 static enum fw_upload_err test_fw_upload_write(struct fw_upload *fwl, in test_fw_upload_write() 1251 static enum fw_upload_err test_fw_upload_complete(struct fw_upload *fwl) in test_fw_upload_complete() 1269 static void test_fw_upload_cancel(struct fw_upload *fwl) in test_fw_upload_cancel() 1276 static void test_fw_cleanup(struct fw_upload *fwl) in test_fw_cleanup() 1297 struct fw_upload *fwl; in upload_register_store()
|