Searched refs:voltage_object (Results 1 – 5 of 5) sorted by relevance
36 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() local43 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() local110 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 …]
265 const ATOM_VOLTAGE_OBJECT_V3 *voltage_object = in atomctrl_lookup_voltage_type_v3() local268 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() local579 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 …]
3384 union voltage_object { union3449 union voltage_object *voltage_object = NULL; in radeon_atom_is_voltage_gpio() local3461 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() local3519 voltage_object = (union voltage_object *) in radeon_atom_get_svi2_info()[all …]
1257 union voltage_object { union1289 union voltage_object *voltage_object = NULL; in amdgpu_atombios_get_svi2_info() local1300 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() local1381 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()
3618 union atom_voltage_object_v4 voltage_object[1]; //Info for Voltage control member