Lines Matching refs:fw_work

1145 	struct firmware_work *fw_work;  in request_firmware_work_func()  local
1148 fw_work = container_of(work, struct firmware_work, work); in request_firmware_work_func()
1150 _request_firmware(&fw, fw_work->name, fw_work->device, NULL, 0, 0, in request_firmware_work_func()
1151 fw_work->opt_flags); in request_firmware_work_func()
1152 fw_work->cont(fw, fw_work->context); in request_firmware_work_func()
1153 put_device(fw_work->device); /* taken in request_firmware_nowait() */ in request_firmware_work_func()
1155 module_put(fw_work->module); in request_firmware_work_func()
1156 kfree_const(fw_work->name); in request_firmware_work_func()
1157 kfree(fw_work); in request_firmware_work_func()
1166 struct firmware_work *fw_work; in _request_firmware_nowait() local
1168 fw_work = kzalloc(sizeof(struct firmware_work), gfp); in _request_firmware_nowait()
1169 if (!fw_work) in _request_firmware_nowait()
1172 fw_work->module = module; in _request_firmware_nowait()
1173 fw_work->name = kstrdup_const(name, gfp); in _request_firmware_nowait()
1174 if (!fw_work->name) { in _request_firmware_nowait()
1175 kfree(fw_work); in _request_firmware_nowait()
1178 fw_work->device = device; in _request_firmware_nowait()
1179 fw_work->context = context; in _request_firmware_nowait()
1180 fw_work->cont = cont; in _request_firmware_nowait()
1181 fw_work->opt_flags = FW_OPT_NOWAIT | in _request_firmware_nowait()
1186 kfree_const(fw_work->name); in _request_firmware_nowait()
1187 kfree(fw_work); in _request_firmware_nowait()
1192 kfree_const(fw_work->name); in _request_firmware_nowait()
1193 kfree(fw_work); in _request_firmware_nowait()
1197 get_device(fw_work->device); in _request_firmware_nowait()
1198 INIT_WORK(&fw_work->work, request_firmware_work_func); in _request_firmware_nowait()
1199 schedule_work(&fw_work->work); in _request_firmware_nowait()