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 …]
264 const ATOM_VOLTAGE_OBJECT_V3 *voltage_object = in atomctrl_lookup_voltage_type_v3() local267 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() local578 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 …]
3381 union voltage_object { union3446 union voltage_object *voltage_object = NULL; in radeon_atom_is_voltage_gpio() local3458 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() local3516 voltage_object = (union voltage_object *) in radeon_atom_get_svi2_info()[all …]
1242 union voltage_object { union1274 union voltage_object *voltage_object = NULL; in amdgpu_atombios_get_svi2_info() local1285 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() local1366 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()
3543 union atom_voltage_object_v4 voltage_object[1]; //Info for Voltage control member