/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 | 106 fwlp->ops->cancel(fwlp->fw_upload); in cancel_store() 166 struct fw_upload *fwl; in fw_upload_main() 169 fwl = fwlp->fw_upload; in fw_upload_main() 273 kfree(fw_upload_priv->fw_upload); in fw_upload_free() 291 struct fw_upload * 297 struct fw_upload *fw_upload; in firmware_upload_register() local 316 fw_upload = kzalloc(sizeof(*fw_upload), GFP_KERNEL); in firmware_upload_register() 317 if (!fw_upload) { in firmware_upload_register() 328 fw_upload_priv->fw_upload = fw_upload; in firmware_upload_register() 336 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() 930 static void cc1352_cleanup(struct fw_upload *fw_upload) in cc1352_cleanup() argument 932 struct gb_beagleplay *bg = fw_upload->dd_handle; in cc1352_cleanup() 937 static enum fw_upload_err cc1352_write(struct fw_upload *fw_upload, in cc1352_write() argument 943 struct gb_beagleplay *bg = fw_upload->dd_handle; in cc1352_write() 972 static enum fw_upload_err cc1352_poll_complete(struct fw_upload *fw_upload) in cc1352_poll_complete() argument 975 struct gb_beagleplay *bg = fw_upload->dd_handle; in cc1352_poll_complete() 1002 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/media/i2c/ |
H A D | thp7312.c | 292 struct fw_upload *fwl; 1782 static enum fw_upload_err thp7312_fw_prepare(struct fw_upload *fw_upload, in thp7312_fw_prepare() argument 1785 struct thp7312_device *thp7312 = fw_upload->dd_handle; in thp7312_fw_prepare() 1818 static enum fw_upload_err thp7312_fw_write(struct fw_upload *fw_upload, in thp7312_fw_write() argument 1822 struct thp7312_device *thp7312 = fw_upload->dd_handle; in thp7312_fw_write() 1865 static enum fw_upload_err thp7312_fw_poll_complete(struct fw_upload *fw_upload) in thp7312_fw_poll_complete() argument 1876 static void thp7312_fw_cancel(struct fw_upload *fw_upload) in thp7312_fw_cancel() argument 1878 struct thp7312_device *thp7312 = fw_upload->dd_handle; in thp7312_fw_cancel() 1895 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 | 134 struct fw_upload *fwl; 1184 static enum fw_upload_err test_fw_upload_prepare(struct fw_upload *fwl, in test_fw_upload_prepare() 1224 static enum fw_upload_err test_fw_upload_write(struct fw_upload *fwl, in test_fw_upload_write() 1250 static enum fw_upload_err test_fw_upload_complete(struct fw_upload *fwl) in test_fw_upload_complete() 1268 static void test_fw_upload_cancel(struct fw_upload *fwl) in test_fw_upload_cancel() 1275 static void test_fw_cleanup(struct fw_upload *fwl) in test_fw_cleanup() 1296 struct fw_upload *fwl; in upload_register_store()
|
/linux/drivers/net/pse-pd/ |
H A D | pd692x0.c | 90 struct fw_upload *fwl; 1211 static enum fw_upload_err pd692x0_fw_prepare(struct fw_upload *fwl, in pd692x0_fw_prepare() 1267 static enum fw_upload_err pd692x0_fw_write(struct fw_upload *fwl, in pd692x0_fw_write() 1360 static enum fw_upload_err pd692x0_fw_poll_complete(struct fw_upload *fwl) in pd692x0_fw_poll_complete() 1393 static void pd692x0_fw_cancel(struct fw_upload *fwl) in pd692x0_fw_cancel() 1400 static void pd692x0_fw_cleanup(struct fw_upload *fwl) in pd692x0_fw_cleanup() 1430 struct fw_upload *fwl; in pd692x0_i2c_probe()
|