Lines Matching refs:fw_work

968 	struct firmware_work *fw_work;  in request_firmware_work_func()  local
971 fw_work = container_of(work, struct firmware_work, work); in request_firmware_work_func()
973 _request_firmware(&fw, fw_work->name, fw_work->device, NULL, 0, in request_firmware_work_func()
974 fw_work->opt_flags); in request_firmware_work_func()
975 fw_work->cont(fw, fw_work->context); in request_firmware_work_func()
976 put_device(fw_work->device); /* taken in request_firmware_nowait() */ in request_firmware_work_func()
978 module_put(fw_work->module); in request_firmware_work_func()
979 kfree_const(fw_work->name); in request_firmware_work_func()
980 kfree(fw_work); in request_firmware_work_func()
1012 struct firmware_work *fw_work; in request_firmware_nowait() local
1014 fw_work = kzalloc(sizeof(struct firmware_work), gfp); in request_firmware_nowait()
1015 if (!fw_work) in request_firmware_nowait()
1018 fw_work->module = module; in request_firmware_nowait()
1019 fw_work->name = kstrdup_const(name, gfp); in request_firmware_nowait()
1020 if (!fw_work->name) { in request_firmware_nowait()
1021 kfree(fw_work); in request_firmware_nowait()
1024 fw_work->device = device; in request_firmware_nowait()
1025 fw_work->context = context; in request_firmware_nowait()
1026 fw_work->cont = cont; in request_firmware_nowait()
1027 fw_work->opt_flags = FW_OPT_NOWAIT | in request_firmware_nowait()
1031 kfree_const(fw_work->name); in request_firmware_nowait()
1032 kfree(fw_work); in request_firmware_nowait()
1037 kfree_const(fw_work->name); in request_firmware_nowait()
1038 kfree(fw_work); in request_firmware_nowait()
1042 get_device(fw_work->device); in request_firmware_nowait()
1043 INIT_WORK(&fw_work->work, request_firmware_work_func); in request_firmware_nowait()
1044 schedule_work(&fw_work->work); in request_firmware_nowait()