Home
last modified time | relevance | path

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

/drivers/macintosh/
Dsmu.c100 static struct smu_device *smu; variable
116 if (list_empty(&smu->cmd_list)) in smu_start_cmd()
120 cmd = list_entry(smu->cmd_list.next, struct smu_cmd, link); in smu_start_cmd()
121 smu->cmd_cur = cmd; in smu_start_cmd()
129 smu->cmd_buf->cmd = cmd->cmd; in smu_start_cmd()
130 smu->cmd_buf->length = cmd->data_len; in smu_start_cmd()
131 memcpy(smu->cmd_buf->data, cmd->data_buf, cmd->data_len); in smu_start_cmd()
134 faddr = (unsigned long)smu->cmd_buf; in smu_start_cmd()
135 fend = faddr + smu->cmd_buf->length + 2; in smu_start_cmd()
148 if (smu->broken_nap) in smu_start_cmd()
[all …]
Dwindfarm_smu_controls.c259 struct device_node *smu, *fans, *fan; in smu_controls_init() local
264 smu = of_find_node_by_type(NULL, "smu"); in smu_controls_init()
265 if (smu == NULL) in smu_controls_init()
269 for (fans = NULL; (fans = of_get_next_child(smu, fans)) != NULL;) in smu_controls_init()
289 for (fans = NULL; (fans = of_get_next_child(smu, fans)) != NULL;) in smu_controls_init()
305 of_node_put(smu); in smu_controls_init()
Dwindfarm_smu_sensors.c412 struct device_node *smu, *sensors, *s; in smu_sensors_init() local
421 smu = of_find_node_by_type(NULL, "smu"); in smu_sensors_init()
422 if (smu == NULL) in smu_sensors_init()
427 (sensors = of_get_next_child(smu, sensors)) != NULL;) in smu_sensors_init()
431 of_node_put(smu); in smu_sensors_init()
DMakefile19 obj-$(CONFIG_PMAC_SMU) += smu.o
/drivers/gpu/drm/amd/amdgpu/
Dcz_smc.c48 (struct cz_smu_private_data *)(adev->smu.priv); in cz_smu_get_priv()
225 if (adev->smu.fw_flags & AMDGPU_SDMA0_UCODE_LOADED) in cz_smu_check_finished()
229 if (adev->smu.fw_flags & AMDGPU_SDMA1_UCODE_LOADED) in cz_smu_check_finished()
233 if (adev->smu.fw_flags & AMDGPU_CPCE_UCODE_LOADED) in cz_smu_check_finished()
237 if (adev->smu.fw_flags & AMDGPU_CPPFP_UCODE_LOADED) in cz_smu_check_finished()
240 if (adev->smu.fw_flags & AMDGPU_CPME_UCODE_LOADED) in cz_smu_check_finished()
244 if (adev->smu.fw_flags & AMDGPU_CPMEC1_UCODE_LOADED) in cz_smu_check_finished()
248 if (adev->smu.fw_flags & AMDGPU_CPMEC2_UCODE_LOADED) in cz_smu_check_finished()
252 if (adev->smu.fw_flags & AMDGPU_CPRLC_UCODE_LOADED) in cz_smu_check_finished()
328 adev->smu.fw_flags = AMDGPU_SDMA0_UCODE_LOADED | in cz_smu_start()
[all …]
Dsdma_v2_4.c572 r = adev->smu.smumgr_funcs->check_fw_load_finish(adev, in sdma_v2_4_start()
576 r = adev->smu.smumgr_funcs->check_fw_load_finish(adev, in sdma_v2_4_start()
Dgfx_v8_0.c4122 r = adev->smu.smumgr_funcs->check_fw_load_finish(adev, in gfx_v8_0_rlc_resume()
5032 r = adev->smu.smumgr_funcs->check_fw_load_finish(adev, in gfx_v8_0_cp_resume()
5037 r = adev->smu.smumgr_funcs->check_fw_load_finish(adev, in gfx_v8_0_cp_resume()
5042 r = adev->smu.smumgr_funcs->check_fw_load_finish(adev, in gfx_v8_0_cp_resume()
5052 r = adev->smu.smumgr_funcs->check_fw_load_finish(adev, in gfx_v8_0_cp_resume()
Dsdma_v3_0.c775 r = adev->smu.smumgr_funcs->check_fw_load_finish(adev, in sdma_v3_0_start()
Damdgpu.h2086 struct amdgpu_smumgr smu; member
/drivers/mtd/nand/
Datmel_nand.c607 int16_t *smu = host->pmecc_smu; in pmecc_get_sigma() local
621 memset(smu, 0, sizeof(int16_t) * num); in pmecc_get_sigma()
622 smu[0] = 1; in pmecc_get_sigma()
635 memset(&smu[num], 0, sizeof(int16_t) * num); in pmecc_get_sigma()
636 smu[num] = 1; in pmecc_get_sigma()
647 memset(&smu[(cap + 1) * num], 0, sizeof(int16_t) * num); in pmecc_get_sigma()
664 smu[(cap + 1) * num + j] = in pmecc_get_sigma()
665 smu[i * num + j]; in pmecc_get_sigma()
673 smu[(i + 1) * num + j] = smu[i * num + j]; in pmecc_get_sigma()
699 smu[(i + 1) * num + k] = 0; in pmecc_get_sigma()
[all …]