Lines Matching refs:fw
39 const struct firmware *fw; member
103 int (*req_firmware)(const struct firmware **fw, const char *name,
138 if (req->fw) { in __test_release_all_firmware()
143 release_firmware(req->fw); in __test_release_all_firmware()
144 req->fw = NULL; in __test_release_all_firmware()
540 static void trigger_async_request_cb(const struct firmware *fw, void *context) in trigger_async_request_cb() argument
542 test_firmware = fw; in trigger_async_request_cb()
653 req->rc = request_firmware_into_buf(&req->fw, in test_fw_run_batch_request()
658 if (!req->fw) in test_fw_run_batch_request()
663 req->rc = test_fw_config->req_firmware(&req->fw, in test_fw_run_batch_request()
673 } else if (req->fw) { in test_fw_run_batch_request()
676 req->idx, req->fw->size); in test_fw_run_batch_request()
719 req->fw = NULL; in trigger_batched_requests_store()
766 static void trigger_batched_cb(const struct firmware *fw, void *context) in trigger_batched_cb() argument
779 req->fw = fw; in trigger_batched_cb()
787 if (!fw && !test_fw_config->test_result) in trigger_batched_cb()
828 req->fw = NULL; in trigger_batched_requests_async_store()
912 if (!req->fw) { in read_firmware_show()
918 pr_info("#%u: loaded %zu\n", idx, req->fw->size); in read_firmware_show()
920 if (req->fw->size > PAGE_SIZE) { in read_firmware_show()
925 memcpy(buf, req->fw->data, req->fw->size); in read_firmware_show()
927 rc = req->fw->size; in read_firmware_show()