Home
last modified time | relevance | path

Searched refs:fw_components (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/amd/pds_core/
H A Dfw.c48 WRITE_ONCE(pdsc->fw_components.num_components, 0); in pdsc_fw_components_invalidate()
433 for (i = 0; i < pdsc->fw_components.num_components; i++) { in pdsc_component_type_exists()
434 if (pdsc->fw_components.info[i].component_type == type) in pdsc_component_type_exists()
445 for (i = 0; i < pdsc->fw_components.num_components; i++) { in pdsc_component_id_matches_type()
447 &pdsc->fw_components.info[i]; in pdsc_component_id_matches_type()
460 for (i = 0; i < pdsc->fw_components.num_components; i++) { in pdsc_get_component_type_by_id()
462 &pdsc->fw_components.info[i]; in pdsc_get_component_type_by_id()
643 pdsc->fw_components.num_components = num_components; in pdsc_get_component_info()
646 &pdsc->fw_components.info[i]; in pdsc_get_component_info()
933 if (!pdsc->fw_components.num_components) { in pdsc_pldm_firmware_update()
H A Ddevlink.c177 num_components = READ_ONCE(pdsc->fw_components.num_components); in pdsc_dl_component_info_get()
183 num_components = READ_ONCE(pdsc->fw_components.num_components); in pdsc_dl_component_info_get()
193 &pdsc->fw_components.info[i]); in pdsc_dl_component_info_get()
H A Dcore.h232 struct pds_core_component_list_info fw_components; member
/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_drv.c336 hdev->fw_components = FW_TYPE_ALL_TYPES; in set_driver_behavior_per_device()
400 if (!(hdev->fw_components & FW_TYPE_PREBOOT_CPU) && in fixup_device_params()
401 (hdev->fw_components & ~FW_TYPE_PREBOOT_CPU)) { in fixup_device_params()
H A Dfirmware_if.c1732 if (!(hdev->fw_components & FW_TYPE_PREBOOT_CPU)) in hl_fw_read_preboot_status()
2792 if (!(hdev->fw_components & FW_TYPE_BOOT_CPU)) { in hl_fw_dynamic_init_cpu()
2849 if (hdev->pldm && !(hdev->fw_components & FW_TYPE_LINUX)) in hl_fw_dynamic_init_cpu()
2857 if (!(hdev->fw_components & FW_TYPE_LINUX)) { in hl_fw_dynamic_init_cpu()
2922 if (!(hdev->fw_components & FW_TYPE_BOOT_CPU)) in hl_fw_static_init_cpu()
3020 if (!(hdev->fw_components & FW_TYPE_LINUX)) { in hl_fw_static_init_cpu()
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c5284 if (!(hdev->fw_components & FW_TYPE_PREBOOT_CPU)) in gaudi2_init_cpu()
6753 driver_performs_reset = (hdev->fw_components == FW_TYPE_PREBOOT_CPU && in gaudi2_hw_fini()
6785 if (hdev->fw_components & FW_TYPE_PREBOOT_CPU) in gaudi2_hw_fini()
8084 if (hdev->fw_components & FW_TYPE_BOOT_CPU) in gaudi2_arc_mmu_prepare_all()
8787 if (hdev->pldm || !(hdev->fw_components & FW_TYPE_LINUX)) { in gaudi2_ack_psoc_razwi_event_handler()
8811 if (hdev->pldm || !(hdev->fw_components & FW_TYPE_LINUX)) in gaudi2_ack_psoc_razwi_event_handler()
/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c914 if ((hdev->fw_components & FW_TYPE_LINUX) && in gaudi_fetch_psoc_frequency()
3790 if (!(hdev->fw_components & FW_TYPE_PREBOOT_CPU)) in gaudi_init_cpu()
/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c2603 if (!(hdev->fw_components & FW_TYPE_PREBOOT_CPU)) in goya_init_cpu()