Searched refs:fwl (Results 1 – 7 of 7) sorted by relevance
/linux/Documentation/driver-api/firmware/ |
H A D | fw_upload.rst | 44 struct fw_upload *fwl; 60 fwl = firmware_upload_register(THIS_MODULE, sec->dev, sec->fw_name, 62 if (IS_ERR(fwl)) { 65 return PTR_ERR(fwl); 68 sec->fwl = fwl; 76 firmware_upload_unregister(sec->fwl);
|
/linux/drivers/base/firmware_loader/ |
H A D | sysfs_upload.c | 166 struct fw_upload *fwl; in fw_upload_main() local 169 fwl = fwlp->fw_upload; in fw_upload_main() 170 fw_sysfs = (struct fw_sysfs *)fwl->priv; in fw_upload_main() 174 ret = fwlp->ops->prepare(fwl, fwlp->data, fwlp->remaining_size); in fw_upload_main() 182 ret = fwlp->ops->write(fwl, fwlp->data, offset, in fw_upload_main() 198 ret = fwlp->ops->poll_complete(fwl); in fw_upload_main() 204 fwlp->ops->cleanup(fwl); in fw_upload_main()
|
/linux/lib/ |
H A D | test_firmware.c | 134 struct fw_upload *fwl; member 1105 firmware_upload_unregister(tst->fwl); in upload_release() 1184 static enum fw_upload_err test_fw_upload_prepare(struct fw_upload *fwl, in test_fw_upload_prepare() argument 1187 struct test_firmware_upload *tst = fwl->dd_handle; in test_fw_upload_prepare() 1224 static enum fw_upload_err test_fw_upload_write(struct fw_upload *fwl, in test_fw_upload_write() argument 1228 struct test_firmware_upload *tst = fwl->dd_handle; in test_fw_upload_write() 1250 static enum fw_upload_err test_fw_upload_complete(struct fw_upload *fwl) in test_fw_upload_complete() argument 1252 struct test_firmware_upload *tst = fwl->dd_handle; in test_fw_upload_complete() 1268 static void test_fw_upload_cancel(struct fw_upload *fwl) in test_fw_upload_cancel() argument 1270 struct test_firmware_upload *tst = fwl->dd_handle; in test_fw_upload_cancel() [all …]
|
/linux/drivers/net/pse-pd/ |
H A D | pd692x0.c | 90 struct fw_upload *fwl; member 1211 static enum fw_upload_err pd692x0_fw_prepare(struct fw_upload *fwl, in pd692x0_fw_prepare() argument 1214 struct pd692x0_priv *priv = fwl->dd_handle; in pd692x0_fw_prepare() 1267 static enum fw_upload_err pd692x0_fw_write(struct fw_upload *fwl, in pd692x0_fw_write() argument 1271 struct pd692x0_priv *priv = fwl->dd_handle; in pd692x0_fw_write() 1360 static enum fw_upload_err pd692x0_fw_poll_complete(struct fw_upload *fwl) in pd692x0_fw_poll_complete() argument 1362 struct pd692x0_priv *priv = fwl->dd_handle; in pd692x0_fw_poll_complete() 1393 static void pd692x0_fw_cancel(struct fw_upload *fwl) in pd692x0_fw_cancel() argument 1395 struct pd692x0_priv *priv = fwl->dd_handle; in pd692x0_fw_cancel() 1400 static void pd692x0_fw_cleanup(struct fw_upload *fwl) in pd692x0_fw_cleanup() argument [all …]
|
/linux/drivers/greybus/ |
H A D | gb-beagleplay.c | 85 struct fw_upload *fwl; member 1043 struct fw_upload *fwl; in gb_fw_init() local 1046 bg->fwl = NULL; in gb_fw_init() 1067 fwl = firmware_upload_register(THIS_MODULE, &bg->sd->dev, "cc1352p7", in gb_fw_init() 1069 if (IS_ERR(fwl)) { in gb_fw_init() 1070 ret = PTR_ERR(fwl); in gb_fw_init() 1073 bg->fwl = fwl; in gb_fw_init() 1088 firmware_upload_unregister(bg->fwl); in gb_fw_deinit()
|
/linux/drivers/media/i2c/ |
H A D | thp7312.c | 292 struct fw_upload *fwl; member 1895 struct fw_upload *fwl; in thp7312_register_flash_mode() local 1918 fwl = firmware_upload_register(THIS_MODULE, dev, "thp7312-firmware", in thp7312_register_flash_mode() 1920 if (IS_ERR(fwl)) { in thp7312_register_flash_mode() 1921 ret = PTR_ERR(fwl); in thp7312_register_flash_mode() 1926 thp7312->fwl = fwl; in thp7312_register_flash_mode() 2217 firmware_upload_unregister(thp7312->fwl); in thp7312_remove()
|
/linux/sound/soc/sof/ |
H A D | topology.c | 187 static u32 vol_pow32(u32 a, int exp, u32 fwl) in vol_pow32() argument 190 u32 power = 1 << fwl; in vol_pow32() 209 power = vol_shift_64((u64)power * a, fwl); in vol_pow32() 218 numerator = (u64)1 << (fwl << 1); in vol_pow32()
|