Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/cxl/core/
H A 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
949 cxl_fw_cancel(struct fw_upload *fwl) cxl_fw_cancel() argument
964 cxl_remove_fw_upload(void *fwl) cxl_remove_fw_upload() argument
973 struct fw_upload *fwl; devm_cxl_setup_fw_upload() local
[all...]
/kernel/linux/linux-6.6/drivers/fpga/
H A 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
689 struct fw_upload *fwl; m10bmc_sec_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/base/firmware_loader/
H A 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()
/kernel/linux/linux-6.6/lib/
H A 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 in test_fw_upload_cancel()
1274 test_fw_cleanup(struct fw_upload *fwl) test_fw_cleanup() argument
1295 struct fw_upload *fwl; upload_register_store() local
[all...]
/kernel/linux/linux-6.6/sound/soc/sof/
H A Dtopology.c181 * integer with a fractional world length of "fwl"
183 * fwl is the fractional word length
185 * fixed-point integer with a fractional word length of "fwl"
187 static u32 vol_pow32(u32 a, int exp, u32 fwl) in vol_pow32() argument
190 u32 power = 1 << fwl; in vol_pow32()
206 * Product of 2 Qx.fwl fixed-point numbers yields a Q2*x.2*fwl in vol_pow32()
207 * Truncate product back to fwl fractional bits with rounding in vol_pow32()
209 power = vol_shift_64((u64)power * a, fwl); in vol_pow32()
218 numerator = (u64)1 << (fwl << in vol_pow32()
[all...]
/kernel/linux/linux-5.10/sound/soc/sof/
H A Dtopology.c265 * integer with a fractional world length of "fwl"
267 * fwl is the fractional word length
269 * fixed-point integer with a fractional word length of "fwl"
271 static u32 vol_pow32(u32 a, int exp, u32 fwl) in vol_pow32() argument
274 u32 power = 1 << fwl; in vol_pow32()
290 * Product of 2 Qx.fwl fixed-point numbers yields a Q2*x.2*fwl in vol_pow32()
291 * Truncate product back to fwl fractional bits with rounding in vol_pow32()
293 power = vol_shift_64((u64)power * a, fwl); in vol_pow32()
302 numerator = (u64)1 << (fwl << in vol_pow32()
[all...]

Completed in 9 milliseconds