Home
last modified time | relevance | path

Searched refs:fwl (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/fpga/
Dintel-m10-bmc-sec-update.c26 struct fw_upload *fwl; member
528 static enum fw_upload_err m10bmc_sec_prepare(struct fw_upload *fwl, in m10bmc_sec_prepare() argument
531 struct m10bmc_sec *sec = fwl->dd_handle; 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() argument
580 struct m10bmc_sec *sec = fwl->dd_handle; in m10bmc_sec_fw_write()
607 static enum fw_upload_err m10bmc_sec_poll_complete(struct fw_upload *fwl) in m10bmc_sec_poll_complete() argument
609 struct m10bmc_sec *sec = fwl->dd_handle; in m10bmc_sec_poll_complete()
649 static void m10bmc_sec_cancel(struct fw_upload *fwl) in m10bmc_sec_cancel() argument
651 struct m10bmc_sec *sec = fwl->dd_handle; in m10bmc_sec_cancel()
656 static void m10bmc_sec_cleanup(struct fw_upload *fwl) in m10bmc_sec_cleanup() argument
[all …]
/linux-6.6.21/drivers/cxl/core/
Dmemdev.c787 static void cxl_fw_cleanup(struct fw_upload *fwl) in cxl_fw_cleanup() argument
789 struct cxl_memdev_state *mds = fwl->dd_handle; in cxl_fw_cleanup()
794 static int cxl_fw_do_cancel(struct fw_upload *fwl) in cxl_fw_do_cancel() argument
796 struct cxl_memdev_state *mds = fwl->dd_handle; in cxl_fw_do_cancel()
808 static enum fw_upload_err cxl_fw_prepare(struct fw_upload *fwl, const u8 *data, in cxl_fw_prepare() argument
811 struct cxl_memdev_state *mds = fwl->dd_handle; in cxl_fw_prepare()
833 static enum fw_upload_err cxl_fw_write(struct fw_upload *fwl, const u8 *data, in cxl_fw_write() argument
836 struct cxl_memdev_state *mds = fwl->dd_handle; in cxl_fw_write()
867 return cxl_fw_do_cancel(fwl); in cxl_fw_write()
933 static enum fw_upload_err cxl_fw_poll_complete(struct fw_upload *fwl) in cxl_fw_poll_complete() argument
[all …]
/linux-6.6.21/Documentation/driver-api/firmware/
Dfw_upload.rst44 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-6.6.21/drivers/base/firmware_loader/
Dsysfs_upload.c165 struct fw_upload *fwl; in fw_upload_main() local
168 fwl = fwlp->fw_upload; in fw_upload_main()
169 fw_sysfs = (struct fw_sysfs *)fwl->priv; in fw_upload_main()
173 ret = fwlp->ops->prepare(fwl, fwlp->data, fwlp->remaining_size); in fw_upload_main()
181 ret = fwlp->ops->write(fwl, fwlp->data, offset, in fw_upload_main()
197 ret = fwlp->ops->poll_complete(fwl); in fw_upload_main()
203 fwlp->ops->cleanup(fwl); in fw_upload_main()
/linux-6.6.21/lib/
Dtest_firmware.c134 struct fw_upload *fwl; member
1105 firmware_upload_unregister(tst->fwl); in upload_release()
1183 static enum fw_upload_err test_fw_upload_prepare(struct fw_upload *fwl, in test_fw_upload_prepare() argument
1186 struct test_firmware_upload *tst = fwl->dd_handle; in test_fw_upload_prepare()
1223 static enum fw_upload_err test_fw_upload_write(struct fw_upload *fwl, in test_fw_upload_write() argument
1227 struct test_firmware_upload *tst = fwl->dd_handle; in test_fw_upload_write()
1249 static enum fw_upload_err test_fw_upload_complete(struct fw_upload *fwl) in test_fw_upload_complete() argument
1251 struct test_firmware_upload *tst = fwl->dd_handle; in test_fw_upload_complete()
1267 static void test_fw_upload_cancel(struct fw_upload *fwl) in test_fw_upload_cancel() argument
1269 struct test_firmware_upload *tst = fwl->dd_handle; in test_fw_upload_cancel()
[all …]
/linux-6.6.21/sound/soc/sof/
Dtopology.c187 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()