Home
last modified time | relevance | path

Searched refs:fail_res (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/media/platform/chips-media/wave5/
Dwave5.h83 int wave5_vpu_decode(struct vpu_instance *inst, u32 *fail_res);
87 int wave5_vpu_dec_finish_seq(struct vpu_instance *inst, u32 *fail_res);
112 int wave5_vpu_encode(struct vpu_instance *inst, struct enc_param *option, u32 *fail_res);
116 int wave5_vpu_enc_finish_seq(struct vpu_instance *inst, u32 *fail_res);
Dwave5-vpuapi.c191 int wave5_vpu_dec_close(struct vpu_instance *inst, u32 *fail_res) in wave5_vpu_dec_close() argument
199 *fail_res = 0; in wave5_vpu_dec_close()
208 ret = wave5_vpu_dec_finish_seq(inst, fail_res); in wave5_vpu_dec_close()
209 if (ret < 0 && *fail_res != WAVE5_SYSERR_VPU_STILL_RUNNING) { in wave5_vpu_dec_close()
214 if (*fail_res == WAVE5_SYSERR_VPU_STILL_RUNNING && in wave5_vpu_dec_close()
694 int wave5_vpu_enc_close(struct vpu_instance *inst, u32 *fail_res) in wave5_vpu_enc_close() argument
701 *fail_res = 0; in wave5_vpu_enc_close()
710 ret = wave5_vpu_enc_finish_seq(inst, fail_res); in wave5_vpu_enc_close()
711 if (ret < 0 && *fail_res != WAVE5_SYSERR_VPU_STILL_RUNNING) { in wave5_vpu_enc_close()
717 if (*fail_res == WAVE5_SYSERR_VPU_STILL_RUNNING && in wave5_vpu_enc_close()
[all …]
Dwave5-helper.c57 int (*close_func)(struct vpu_instance *inst, u32 *fail_res), in wave5_vpu_release_device() argument
66 u32 fail_res; in wave5_vpu_release_device() local
68 ret = close_func(inst, &fail_res); in wave5_vpu_release_device()
69 if (fail_res == WAVE5_SYSERR_VPU_STILL_RUNNING) { in wave5_vpu_release_device()
Dwave5-helper.h19 int (*close_func)(struct vpu_instance *inst, u32 *fail_res),
Dwave5-hw.c239 static int wave5_vpu_firmware_command_queue_error_check(struct vpu_device *dev, u32 *fail_res) in wave5_vpu_firmware_command_queue_error_check() argument
254 if (fail_res) in wave5_vpu_firmware_command_queue_error_check()
255 *fail_res = reason; in wave5_vpu_firmware_command_queue_error_check()
596 u32 fail_res = 0; in wave5_vpu_hw_flush_instance() local
599 ret = send_firmware_command(inst, W5_FLUSH_INSTANCE, true, &reg_val, &fail_res); in wave5_vpu_hw_flush_instance()
630 u32 reg_val, fail_res; in wave5_vpu_dec_init_seq() local
650 ret = send_firmware_command(inst, W5_INIT_SEQ, true, &reg_val, &fail_res); in wave5_vpu_dec_init_seq()
956 int wave5_vpu_decode(struct vpu_instance *inst, u32 *fail_res) in wave5_vpu_decode() argument
982 ret = send_firmware_command(inst, W5_DEC_ENC_PIC, true, &reg_val, fail_res); in wave5_vpu_decode()
1457 int wave5_vpu_dec_finish_seq(struct vpu_instance *inst, u32 *fail_res) in wave5_vpu_dec_finish_seq() argument
[all …]
Dwave5-vpuapi.h848 int wave5_vpu_dec_close(struct vpu_instance *inst, u32 *fail_res);
866 int wave5_vpu_enc_close(struct vpu_instance *inst, u32 *fail_res);
873 u32 *fail_res);
Dwave5-vpu-enc.c148 static int start_encode(struct vpu_instance *inst, u32 *fail_res) in start_encode() argument
208 ret = wave5_vpu_enc_start_one_frame(inst, &pic_param, fail_res); in start_encode()
210 if (*fail_res == WAVE5_SYSERR_QUEUEING_FAIL) in start_encode()
1474 u32 fail_res = 0; in wave5_vpu_enc_device_run() local
1479 ret = start_encode(inst, &fail_res); in wave5_vpu_enc_device_run()
1484 m2m_ctx, ret, fail_res); in wave5_vpu_enc_device_run()
Dwave5-vpu-dec.c304 static int start_decode(struct vpu_instance *inst, u32 *fail_res) in start_decode() argument
309 ret = wave5_vpu_dec_start_one_frame(inst, fail_res); in start_decode()
1629 u32 fail_res = 0; in wave5_vpu_dec_device_run() local
1699 ret = start_decode(inst, &fail_res); in wave5_vpu_dec_device_run()
1703 m2m_ctx, ret, fail_res); in wave5_vpu_dec_device_run()
/linux-6.12.1/drivers/pci/
Dsetup-bus.c310 struct pci_dev_resource *fail_res; in pci_fail_res_type_mask() local
314 list_for_each_entry(fail_res, fail_head, list) in pci_fail_res_type_mask()
315 mask |= fail_res->flags; in pci_fail_res_type_mask()
2128 struct pci_dev_resource *fail_res; in pci_assign_unassigned_root_bus_resources() local
2187 list_for_each_entry(fail_res, &fail_head, list) in pci_assign_unassigned_root_bus_resources()
2188 pci_bus_release_bridge_resources(fail_res->dev->bus, in pci_assign_unassigned_root_bus_resources()
2189 fail_res->flags & PCI_RES_TYPE_MASK, in pci_assign_unassigned_root_bus_resources()
2193 list_for_each_entry(fail_res, &fail_head, list) { in pci_assign_unassigned_root_bus_resources()
2194 struct resource *res = fail_res->res; in pci_assign_unassigned_root_bus_resources()
2197 res->start = fail_res->start; in pci_assign_unassigned_root_bus_resources()
[all …]
/linux-6.12.1/drivers/mfd/
Dmfd-core.c181 goto fail_res; in mfd_add_device()
297 fail_res: in mfd_add_device()