Lines Matching defs:temp_data
74 struct temp_data {
97 struct temp_data *pkg_data;
98 struct temp_data **core_data;
150 static bool is_pkg_temp_data(struct temp_data *tdata)
273 static int get_tjmax(struct temp_data *tdata, struct device *dev)
312 static int get_ttarget(struct temp_data *tdata, struct device *dev)
345 struct temp_data *tdata = container_of(devattr, struct temp_data, sd_attrs[ATTR_LABEL]);
357 struct temp_data *tdata = container_of(devattr, struct temp_data,
370 struct temp_data *tdata = container_of(devattr, struct temp_data, sd_attrs[ATTR_TJMAX]);
383 struct temp_data *tdata = container_of(devattr, struct temp_data, sd_attrs[ATTR_TTARGET]);
399 struct temp_data *tdata = container_of(devattr, struct temp_data, sd_attrs[ATTR_TEMP]);
422 static int create_core_attrs(struct temp_data *tdata, struct device *dev)
479 static struct temp_data *
482 struct temp_data *tdata;
492 pdata->core_data = kcalloc(pdata->nr_cores, sizeof(struct temp_data *),
498 tdata = kzalloc(sizeof(struct temp_data), GFP_KERNEL);
524 static void destroy_temp_data(struct platform_data *pdata, struct temp_data *tdata)
538 static struct temp_data *get_temp_data(struct platform_data *pdata, int cpu)
542 /* cpu < 0 means get pkg temp_data */
557 struct temp_data *tdata;
606 static void coretemp_remove_core(struct platform_data *pdata, struct temp_data *tdata)
727 struct temp_data *tdata;