thermal_data
struct PP_TemperatureRange *thermal_data)
memcpy(thermal_data, &SMU7ThermalPolicy[0], sizeof(struct PP_TemperatureRange));
thermal_data->max = table_info->cac_dtp_table->usSoftwareShutdownTemp *
thermal_data->max = data->thermal_temp_setting.temperature_shutdown;
thermal_data->sw_ctf_threshold = thermal_data->max;
struct PP_TemperatureRange *thermal_data)
memcpy(thermal_data, &SMU7ThermalPolicy[0], sizeof(struct PP_TemperatureRange));
thermal_data->max = (data->thermal_auto_throttling_treshold +
struct PP_TemperatureRange *thermal_data)
memcpy(thermal_data, &SMU7ThermalWithDelayPolicy[0], sizeof(struct PP_TemperatureRange));
thermal_data->max = pp_table->TedgeLimit *
thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) *
thermal_data->hotspot_crit_max = pp_table->ThotspotLimit *
thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) *
thermal_data->mem_crit_max = pp_table->ThbmLimit *
thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)*
thermal_data->sw_ctf_threshold = tdp_table->usSoftwareShutdownTemp;
thermal_data->sw_ctf_threshold = VEGA10_THERMAL_MAXIMUM_ALERT_TEMP;
thermal_data->sw_ctf_threshold *= PP_TEMPERATURE_UNITS_PER_CENTIGRADES;
struct PP_TemperatureRange *thermal_data)
memcpy(thermal_data, &SMU7ThermalWithDelayPolicy[0], sizeof(struct PP_TemperatureRange));
thermal_data->max = pp_table->TedgeLimit *
thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) *
thermal_data->hotspot_crit_max = pp_table->ThotspotLimit *
thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) *
thermal_data->mem_crit_max = pp_table->ThbmLimit *
thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)*
thermal_data->sw_ctf_threshold = pptable_information->us_software_shutdown_temp *
struct PP_TemperatureRange *thermal_data)
memcpy(thermal_data, &SMU7ThermalWithDelayPolicy[0], sizeof(struct PP_TemperatureRange));
thermal_data->max = pp_table->TedgeLimit *
thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) *
thermal_data->hotspot_crit_max = pp_table->ThotspotLimit *
thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) *
thermal_data->mem_crit_max = pp_table->ThbmLimit *
thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)*
thermal_data->sw_ctf_threshold = pptable_information->us_software_shutdown_temp *
static int emc1403_get_temp(struct thermal_data *data, int channel,
static int emc1403_get_hyst(struct thermal_data *data, int channel,
static int emc1403_temp_read(struct thermal_data *data, u32 attr, int channel, long *val)
struct thermal_data *data = dev_get_drvdata(dev);
static int emc1403_get_convrate(struct thermal_data *data, long *val)
static int emc1403_chip_read(struct thermal_data *data, u32 attr, long *val)
struct thermal_data *data = dev_get_drvdata(dev);
static int emc1403_set_hyst(struct thermal_data *data, long val)
static int emc1403_set_temp(struct thermal_data *data, int channel,
static int emc1403_temp_write(struct thermal_data *data, u32 attr, int channel, long val)
struct thermal_data *data = dev_get_drvdata(dev);
static int emc1403_set_convrate(struct thermal_data *data, unsigned int interval)
static int emc1403_chip_write(struct thermal_data *data, u32 attr, long val)
struct thermal_data *data = dev_get_drvdata(dev);
const struct thermal_data *data = _data;
struct thermal_data *data;
data = devm_kzalloc(&client->dev, sizeof(struct thermal_data),
struct pmic_thermal_data *thermal_data;
thermal_data = (struct pmic_thermal_data *)
if (!thermal_data) {
for (i = 0; i < thermal_data->num_maps; i++) {
for (j = 0; j < thermal_data->maps[i].num_trips; j++) {
reg = thermal_data->maps[i].trip_config[j].irq_en;
mask = thermal_data->maps[i].trip_config[j].irq_en_mask;
struct thermal_data *td = arg;
struct thermal_data *td = arg;
struct thermal_data *td = arg;
struct thermal_data *td = arg;
struct thermal_data *td = arg;
struct thermal_data *td = arg;
struct thermal_data *td = arg;
struct thermal_data td;