Home
last modified time | relevance | path

Searched refs:fw_loader (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_accel_engine.c13 struct adf_fw_loader_data *loader_data = accel_dev->fw_loader; in adf_ae_fw_load_images()
21 loader = loader_data->fw_loader; in adf_ae_fw_load_images()
59 struct adf_fw_loader_data *loader_data = accel_dev->fw_loader; in adf_ae_fw_load()
85 if (qat_uclo_wr_mimage(loader_data->fw_loader, mmp_addr, mmp_size)) { in adf_ae_fw_load()
93 if (qat_uclo_map_obj(loader_data->fw_loader, fw_addr, fw_size, NULL)) { in adf_ae_fw_load()
97 if (qat_uclo_wr_all_uimage(loader_data->fw_loader)) { in adf_ae_fw_load()
110 struct adf_fw_loader_data *loader_data = accel_dev->fw_loader; in adf_ae_fw_release()
116 qat_uclo_del_obj(loader_data->fw_loader); in adf_ae_fw_release()
117 qat_hal_deinit(loader_data->fw_loader); in adf_ae_fw_release()
122 loader_data->fw_loader = NULL; in adf_ae_fw_release()
[all …]
H A Dadf_accel_devices.h275 struct icp_qat_fw_loader_handle *fw_loader; member
299 struct adf_fw_loader_data *fw_loader; member
H A Dqat_hal.c864 accel_dev->fw_loader->fw_loader = handle; in qat_hal_init()
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dfirmware_if.c1355 &hdev->fw_loader.static_loader; in hl_fw_ask_hard_reset_without_linux()
1359 rc = hl_fw_dynamic_send_protocol_cmd(hdev, &hdev->fw_loader, in hl_fw_ask_hard_reset_without_linux()
1361 hdev->fw_loader.cpu_timeout); in hl_fw_ask_hard_reset_without_linux()
1371 struct fw_load_mgr *fw_loader = &hdev->fw_loader; in hl_fw_ask_halt_machine_without_linux() local
1382 pre_fw_load = &fw_loader->pre_fw_load; in hl_fw_ask_halt_machine_without_linux()
1383 cpu_timeout = fw_loader->cpu_timeout; in hl_fw_ask_halt_machine_without_linux()
1386 rc = hl_fw_dynamic_send_protocol_cmd(hdev, &hdev->fw_loader, in hl_fw_ask_halt_machine_without_linux()
1403 static_loader = &hdev->fw_loader.static_loader; in hl_fw_ask_halt_machine_without_linux()
1471 struct pre_fw_load_props *pre_fw_load = &hdev->fw_loader.pre_fw_load; in hl_fw_wait_preboot_ready()
1508 hdev->fw_loader.fw_comp_loaded |= FW_TYPE_PREBOOT_CPU; in hl_fw_wait_preboot_ready()
[all …]
H A Ddevice.c1665 hdev->fw_loader.fw_comp_loaded = FW_TYPE_NONE; in hl_device_reset()
2449 hdev->fw_loader.fw_comp_loaded = FW_TYPE_NONE; in hl_device_fini()
H A Dhabanalabs.h3381 struct fw_load_mgr fw_loader; member
3854 struct fw_load_mgr *fw_loader,
/openbmc/linux/sound/soc/sof/
H A Dloader.c48 ext_man_size = sdev->ipc->ops->fw_loader->parse_ext_manifest(sdev); in snd_sof_load_firmware_raw()
77 ret = sdev->ipc->ops->fw_loader->validate(sdev); in snd_sof_load_firmware_memcpy()
91 if (sdev->ipc->ops->fw_loader->load_fw_to_dsp) { in snd_sof_load_firmware_memcpy()
92 ret = sdev->ipc->ops->fw_loader->load_fw_to_dsp(sdev); in snd_sof_load_firmware_memcpy()
H A Dipc.c189 if (!ops->fw_loader || !ops->fw_loader->validate || in snd_sof_ipc_init()
190 !ops->fw_loader->parse_ext_manifest) { in snd_sof_ipc_init()
H A Dipc4.c752 .fw_loader = &ipc4_loader_ops,
H A Dsof-priv.h490 const struct sof_ipc_fw_loader_ops *fw_loader; member
H A Dipc3.c1154 .fw_loader = &ipc3_loader_ops,
/openbmc/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c2548 &hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs; in gaudi_init_pci_dma_qman()
2638 &hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs; in gaudi_init_dma_core()
2728 &hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs; in gaudi_init_hbm_dma_qman()
2870 &hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs; in gaudi_init_mme_qman()
2996 &hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs; in gaudi_init_tpc_qman()
3147 &hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs; in gaudi_init_nic_qman()
3711 dynamic_loader = &hdev->fw_loader.dynamic_loader; in gaudi_init_dynamic_firmware_loader()
3733 static_loader = &hdev->fw_loader.static_loader; in gaudi_init_static_firmware_loader()
3754 struct pre_fw_load_props *pre_fw_load = &hdev->fw_loader.pre_fw_load; in gaudi_init_firmware_preload_params()
3767 struct fw_load_mgr *fw_loader = &hdev->fw_loader; in gaudi_init_firmware_loader() local
[all …]
/openbmc/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c2533 dynamic_loader = &hdev->fw_loader.dynamic_loader; in goya_init_dynamic_firmware_loader()
2555 static_loader = &hdev->fw_loader.static_loader; in goya_init_static_firmware_loader()
2573 struct pre_fw_load_props *pre_fw_load = &hdev->fw_loader.pre_fw_load; in goya_init_firmware_preload_params()
2586 struct fw_load_mgr *fw_loader = &hdev->fw_loader; in goya_init_firmware_loader() local
2589 fw_loader->fw_comp_loaded = FW_TYPE_NONE; in goya_init_firmware_loader()
2590 fw_loader->boot_fit_img.image_name = GOYA_BOOT_FIT_FILE; in goya_init_firmware_loader()
2591 fw_loader->linux_img.image_name = GOYA_LINUX_FW_FILE; in goya_init_firmware_loader()
2592 fw_loader->cpu_timeout = GOYA_CPU_TIMEOUT_USEC; in goya_init_firmware_loader()
2593 fw_loader->boot_fit_timeout = GOYA_BOOT_FIT_REQ_TIMEOUT_USEC; in goya_init_firmware_loader()
2594 fw_loader->skip_bmc = false; in goya_init_firmware_loader()
[all …]
/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c3041 struct cpu_dyn_regs *dyn_regs = &hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs; in gaudi2_init_arcs()
4711 struct pre_fw_load_props *pre_fw_load = &hdev->fw_loader.pre_fw_load; in gaudi2_init_firmware_preload_params()
4723 struct fw_load_mgr *fw_loader = &hdev->fw_loader; in gaudi2_init_firmware_loader() local
4728 fw_loader->fw_comp_loaded = FW_TYPE_NONE; in gaudi2_init_firmware_loader()
4729 fw_loader->boot_fit_img.image_name = GAUDI2_BOOT_FIT_FILE; in gaudi2_init_firmware_loader()
4730 fw_loader->linux_img.image_name = GAUDI2_LINUX_FW_FILE; in gaudi2_init_firmware_loader()
4731 fw_loader->boot_fit_timeout = GAUDI2_BOOT_FIT_REQ_TIMEOUT_USEC; in gaudi2_init_firmware_loader()
4732 fw_loader->skip_bmc = false; in gaudi2_init_firmware_loader()
4733 fw_loader->sram_bar_id = SRAM_CFG_BAR_ID; in gaudi2_init_firmware_loader()
4734 fw_loader->dram_bar_id = DRAM_BAR_ID; in gaudi2_init_firmware_loader()
[all …]
/openbmc/linux/drivers/ptp/
H A Dptp_ocp.c341 bool fw_loader; member
1657 fw_image = bp->fw_loader ? "loader" : "fw"; in ptp_ocp_devlink_info_get()
2370 bp->fw_loader = true; in ptp_ocp_fb_set_version()