Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ !
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 …]
Dppatomctrl.c264 const ATOM_VOLTAGE_OBJECT_V3 *voltage_object = in atomctrl_lookup_voltage_type_v3() local
267 if (voltage_type == voltage_object->asGpioVoltageObj.sHeader.ucVoltageType && in atomctrl_lookup_voltage_type_v3()
268 voltage_mode == voltage_object->asGpioVoltageObj.sHeader.ucVoltageMode) in atomctrl_lookup_voltage_type_v3()
269 return voltage_object; in atomctrl_lookup_voltage_type_v3()
271 offset += le16_to_cpu(voltage_object->asGpioVoltageObj.sHeader.usSize); in atomctrl_lookup_voltage_type_v3()
572 const ATOM_VOLTAGE_OBJECT_V3 *voltage_object; in atomctrl_get_voltage_table_v3() local
578 voltage_object = atomctrl_lookup_voltage_type_v3 in atomctrl_get_voltage_table_v3()
581 if (voltage_object == NULL) in atomctrl_get_voltage_table_v3()
585 (voltage_object->asGpioVoltageObj.ucGpioEntryNum <= in atomctrl_get_voltage_table_v3()
591 for (i = 0; i < voltage_object->asGpioVoltageObj.ucGpioEntryNum; i++) { in atomctrl_get_voltage_table_v3()
[all …]
/linux-6.6.21/drivers/gpu/drm/radeon/ !
Dradeon_atombios.c3381 union voltage_object { union
3446 union voltage_object *voltage_object = NULL; in radeon_atom_is_voltage_gpio() local
3458 voltage_object = (union voltage_object *) in radeon_atom_is_voltage_gpio()
3460 if (voltage_object && in radeon_atom_is_voltage_gpio()
3461 (voltage_object->v1.asControl.ucVoltageControlId == VOLTAGE_CONTROLLED_BY_GPIO)) in radeon_atom_is_voltage_gpio()
3465 voltage_object = (union voltage_object *) in radeon_atom_is_voltage_gpio()
3467 if (voltage_object && in radeon_atom_is_voltage_gpio()
3468 (voltage_object->v2.asControl.ucVoltageControlId == VOLTAGE_CONTROLLED_BY_GPIO)) in radeon_atom_is_voltage_gpio()
3505 union voltage_object *voltage_object = NULL; in radeon_atom_get_svi2_info() local
3516 voltage_object = (union voltage_object *) in radeon_atom_get_svi2_info()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ !
Damdgpu_atombios.c1242 union voltage_object { union
1274 union voltage_object *voltage_object = NULL; in amdgpu_atombios_get_svi2_info() local
1285 voltage_object = (union voltage_object *) in amdgpu_atombios_get_svi2_info()
1289 if (voltage_object) { in amdgpu_atombios_get_svi2_info()
1290 *svd_gpio_id = voltage_object->v3.asSVID2Obj.ucSVDGpioId; in amdgpu_atombios_get_svi2_info()
1291 *svc_gpio_id = voltage_object->v3.asSVID2Obj.ucSVCGpioId; in amdgpu_atombios_get_svi2_info()
1355 union voltage_object *voltage_object = NULL; in amdgpu_atombios_get_voltage_table() local
1366 voltage_object = (union voltage_object *) in amdgpu_atombios_get_voltage_table()
1369 if (voltage_object) { in amdgpu_atombios_get_voltage_table()
1371 &voltage_object->v3.asGpioVoltageObj; in amdgpu_atombios_get_voltage_table()
/linux-6.6.21/drivers/gpu/drm/amd/include/ !
Datomfirmware.h3543 union atom_voltage_object_v4 voltage_object[1]; //Info for Voltage control member