Lines Matching refs:fwl

787 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
935 struct cxl_memdev_state *mds = fwl->dd_handle; in cxl_fw_poll_complete()
944 return cxl_fw_do_cancel(fwl); in cxl_fw_poll_complete()
949 static void cxl_fw_cancel(struct fw_upload *fwl) in cxl_fw_cancel() argument
951 struct cxl_memdev_state *mds = fwl->dd_handle; in cxl_fw_cancel()
964 static void cxl_remove_fw_upload(void *fwl) in cxl_remove_fw_upload() argument
966 firmware_upload_unregister(fwl); in cxl_remove_fw_upload()
973 struct fw_upload *fwl; in devm_cxl_setup_fw_upload() local
978 fwl = firmware_upload_register(THIS_MODULE, dev, dev_name(dev), in devm_cxl_setup_fw_upload()
980 if (IS_ERR(fwl)) in devm_cxl_setup_fw_upload()
981 return PTR_ERR(fwl); in devm_cxl_setup_fw_upload()
982 return devm_add_action_or_reset(host, cxl_remove_fw_upload, fwl); in devm_cxl_setup_fw_upload()