Searched refs:voltage_object (Results 1 – 3 of 3) sorted by relevance
3373 union voltage_object { union3438 union voltage_object *voltage_object = NULL; in radeon_atom_is_voltage_gpio() local3450 voltage_object = (union voltage_object *) in radeon_atom_is_voltage_gpio()3452 if (voltage_object && in radeon_atom_is_voltage_gpio()3453 (voltage_object->v1.asControl.ucVoltageControlId == VOLTAGE_CONTROLLED_BY_GPIO)) in radeon_atom_is_voltage_gpio()3457 voltage_object = (union voltage_object *) in radeon_atom_is_voltage_gpio()3459 if (voltage_object && in radeon_atom_is_voltage_gpio()3460 (voltage_object->v2.asControl.ucVoltageControlId == VOLTAGE_CONTROLLED_BY_GPIO)) in radeon_atom_is_voltage_gpio()3497 union voltage_object *voltage_object = NULL; in radeon_atom_get_svi2_info() local3508 voltage_object = (union voltage_object *) in radeon_atom_get_svi2_info()[all …]
224 const ATOM_VOLTAGE_OBJECT_V3 *voltage_object = in atomctrl_lookup_voltage_type_v3() local227 if (voltage_type == voltage_object->asGpioVoltageObj.sHeader.ucVoltageType && in atomctrl_lookup_voltage_type_v3()228 voltage_mode == voltage_object->asGpioVoltageObj.sHeader.ucVoltageMode) in atomctrl_lookup_voltage_type_v3()229 return voltage_object; in atomctrl_lookup_voltage_type_v3()231 offset += le16_to_cpu(voltage_object->asGpioVoltageObj.sHeader.usSize); in atomctrl_lookup_voltage_type_v3()499 const ATOM_VOLTAGE_OBJECT_V3 *voltage_object; in atomctrl_get_voltage_table_v3() local505 voltage_object = atomctrl_lookup_voltage_type_v3 in atomctrl_get_voltage_table_v3()508 if (voltage_object == NULL) in atomctrl_get_voltage_table_v3()512 (voltage_object->asGpioVoltageObj.ucGpioEntryNum <= in atomctrl_get_voltage_table_v3()518 for (i = 0; i < voltage_object->asGpioVoltageObj.ucGpioEntryNum; i++) { in atomctrl_get_voltage_table_v3()[all …]
1459 union voltage_object { union1491 union voltage_object *voltage_object = NULL; in amdgpu_atombios_get_svi2_info() local1502 voltage_object = (union voltage_object *) in amdgpu_atombios_get_svi2_info()1506 if (voltage_object) { in amdgpu_atombios_get_svi2_info()1507 *svd_gpio_id = voltage_object->v3.asSVID2Obj.ucSVDGpioId; in amdgpu_atombios_get_svi2_info()1508 *svc_gpio_id = voltage_object->v3.asSVID2Obj.ucSVCGpioId; in amdgpu_atombios_get_svi2_info()1572 union voltage_object *voltage_object = NULL; in amdgpu_atombios_get_voltage_table() local1583 voltage_object = (union voltage_object *) in amdgpu_atombios_get_voltage_table()1586 if (voltage_object) { in amdgpu_atombios_get_voltage_table()1588 &voltage_object->v3.asGpioVoltageObj; in amdgpu_atombios_get_voltage_table()