Home
last modified time | relevance | path

Searched refs:voltage_object (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dppatomfwctrl.c36 offsetof(struct atom_voltage_objects_info_v4_1, voltage_object[0]); in pp_atomfwctrl_lookup_voltage_type_v4()
40 const union atom_voltage_object_v4 *voltage_object = in pp_atomfwctrl_lookup_voltage_type_v4() local
43 if (voltage_type == voltage_object->gpio_voltage_obj.header.voltage_type && in pp_atomfwctrl_lookup_voltage_type_v4()
44 voltage_mode == voltage_object->gpio_voltage_obj.header.voltage_mode) in pp_atomfwctrl_lookup_voltage_type_v4()
45 return voltage_object; in pp_atomfwctrl_lookup_voltage_type_v4()
47 offset += le16_to_cpu(voltage_object->gpio_voltage_obj.header.object_size); in pp_atomfwctrl_lookup_voltage_type_v4()
102 const union atom_voltage_object_v4 *voltage_object; in pp_atomfwctrl_get_voltage_table_v4() local
110 voltage_object = pp_atomfwctrl_lookup_voltage_type_v4(voltage_info, in pp_atomfwctrl_get_voltage_table_v4()
113 if (!voltage_object) in pp_atomfwctrl_get_voltage_table_v4()
119 (voltage_object->gpio_voltage_obj.gpio_entry_num <= in pp_atomfwctrl_get_voltage_table_v4()
[all …]
H A Dppatomctrl.c265 const ATOM_VOLTAGE_OBJECT_V3 *voltage_object = in atomctrl_lookup_voltage_type_v3() local
268 if (voltage_type == voltage_object->asGpioVoltageObj.sHeader.ucVoltageType && in atomctrl_lookup_voltage_type_v3()
269 voltage_mode == voltage_object->asGpioVoltageObj.sHeader.ucVoltageMode) in atomctrl_lookup_voltage_type_v3()
270 return voltage_object; in atomctrl_lookup_voltage_type_v3()
272 offset += le16_to_cpu(voltage_object->asGpioVoltageObj.sHeader.usSize); in atomctrl_lookup_voltage_type_v3()
573 const ATOM_VOLTAGE_OBJECT_V3 *voltage_object; in atomctrl_get_voltage_table_v3() local
579 voltage_object = atomctrl_lookup_voltage_type_v3 in atomctrl_get_voltage_table_v3()
582 if (voltage_object == NULL) in atomctrl_get_voltage_table_v3()
586 (voltage_object->asGpioVoltageObj.ucGpioEntryNum <= in atomctrl_get_voltage_table_v3()
592 for (i = 0; i < voltage_object->asGpioVoltageObj.ucGpioEntryNum; i++) { in atomctrl_get_voltage_table_v3()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c3384 union voltage_object { union
3449 union voltage_object *voltage_object = NULL; in radeon_atom_is_voltage_gpio() local
3461 voltage_object = (union voltage_object *) in radeon_atom_is_voltage_gpio()
3463 if (voltage_object && in radeon_atom_is_voltage_gpio()
3464 (voltage_object->v1.asControl.ucVoltageControlId == VOLTAGE_CONTROLLED_BY_GPIO)) in radeon_atom_is_voltage_gpio()
3468 voltage_object = (union voltage_object *) in radeon_atom_is_voltage_gpio()
3470 if (voltage_object && in radeon_atom_is_voltage_gpio()
3471 (voltage_object->v2.asControl.ucVoltageControlId == VOLTAGE_CONTROLLED_BY_GPIO)) in radeon_atom_is_voltage_gpio()
3508 union voltage_object *voltage_object = NULL; in radeon_atom_get_svi2_info() local
3519 voltage_object = (union voltage_object *) in radeon_atom_get_svi2_info()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atombios.c1257 union voltage_object { union
1289 union voltage_object *voltage_object = NULL; in amdgpu_atombios_get_svi2_info() local
1300 voltage_object = (union voltage_object *) in amdgpu_atombios_get_svi2_info()
1304 if (voltage_object) { in amdgpu_atombios_get_svi2_info()
1305 *svd_gpio_id = voltage_object->v3.asSVID2Obj.ucSVDGpioId; in amdgpu_atombios_get_svi2_info()
1306 *svc_gpio_id = voltage_object->v3.asSVID2Obj.ucSVCGpioId; in amdgpu_atombios_get_svi2_info()
1370 union voltage_object *voltage_object = NULL; in amdgpu_atombios_get_voltage_table() local
1381 voltage_object = (union voltage_object *) in amdgpu_atombios_get_voltage_table()
1384 if (voltage_object) { in amdgpu_atombios_get_voltage_table()
1386 &voltage_object->v3.asGpioVoltageObj; in amdgpu_atombios_get_voltage_table()
/linux/drivers/gpu/drm/amd/include/
H A Datomfirmware.h3618 union atom_voltage_object_v4 voltage_object[1]; //Info for Voltage control member