Searched refs:core_data (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/hwmon/
H A Dcoretemp.c106 struct temp_data *core_data[MAX_CORE_DATA]; member in struct:platform_data
124 struct temp_data *tdata = pdata->core_data[attr->index]; show_label()
138 struct temp_data *tdata = pdata->core_data[attr->index]; show_crit_alarm()
151 return sprintf(buf, "%d\n", pdata->core_data[attr->index]->tjmax); show_tjmax()
160 return sprintf(buf, "%d\n", pdata->core_data[attr->index]->ttarget); show_ttarget()
169 struct temp_data *tdata = pdata->core_data[attr->index]; show_temp()
497 if (pdata->core_data[attr_no] != NULL) create_core_data()
527 pdata->core_data[attr_no] = tdata; create_core_data()
536 pdata->core_data[attr_no] = NULL; create_core_data()
557 struct temp_data *tdata = pdata->core_data[indx]; coretemp_remove_core()
562 kfree(pdata->core_data[indx]); coretemp_remove_core()
563 pdata->core_data[indx] = NULL; coretemp_remove_core()
590 if (pdata->core_data[i]) coretemp_remove()
670 if (pdata->core_data[i] && is_any_core_online()
671 !pdata->core_data[i]->is_pkg_data) { is_any_core_online()
738 if (pdata->core_data[indx] && pdata->core_data[indx]->cpu == cpu) put_core_offline()
/linux-4.1.27/drivers/misc/ti-st/
H A Dst_kim.c227 if (4 != st_int_write(kim_gdata->core_data, read_ver_cmd, 4)) { read_local_version()
351 st_get_uart_wr_room(kim_gdata->core_data); download_firmware()
379 err = st_int_write(kim_gdata->core_data, download_firmware()
538 struct tty_struct *tty = kim_gdata->core_data->tty; st_kim_stop()
597 kim_st_list_protocols(kim_gdata->core_data, s); show_list()
691 void st_kim_ref(struct st_data_s **core_data, int id) st_kim_ref() argument
703 *core_data = kim_gdata->core_data; st_kim_ref()
706 *core_data = NULL; st_kim_ref()
802 err = st_core_init(&kim_gdata->core_data); kim_probe()
809 kim_gdata->core_data->kim_data = kim_gdata; kim_probe()
856 st_core_exit(kim_gdata->core_data); kim_probe()
890 st_core_exit(kim_gdata->core_data); kim_remove()
H A Dst_core.c843 int st_core_init(struct st_data_s **core_data) st_core_init() argument
884 *core_data = st_gdata; st_core_init()
/linux-4.1.27/tools/power/x86/turbostat/
H A Dturbostat.c150 struct core_data { struct
194 struct core_data cores;
221 int for_all_cpus(int (func)(struct thread_data *, struct core_data *, struct pkg_data *), for_all_cpus()
222 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) for_all_cpus()
231 struct core_data *c; for_all_cpus()
387 int dump_counters(struct thread_data *t, struct core_data *c, dump_counters()
456 int format_counters(struct thread_data *t, struct core_data *c, format_counters()
650 void format_all_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) format_all_counters()
707 delta_core(struct core_data *new, struct core_data *old) delta_core()
720 struct core_data *core_delta) delta_thread()
795 int delta_cpu(struct thread_data *t, struct core_data *c, delta_cpu()
797 struct core_data *c2, struct pkg_data *p2) delta_cpu()
813 void clear_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) clear_counters()
856 int sum_counters(struct thread_data *t, struct core_data *c, sum_counters()
914 void compute_average(struct thread_data *t, struct core_data *c, compute_average()
970 int get_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) get_counters()
1542 int for_all_cpus_2(int (func)(struct thread_data *, struct core_data *, for_all_cpus_2()
1543 struct pkg_data *, struct thread_data *, struct core_data *, for_all_cpus_2()
1545 struct core_data *core_base, struct pkg_data *pkg_base, for_all_cpus_2()
1546 struct thread_data *thread_base2, struct core_data *core_base2, for_all_cpus_2()
1556 struct core_data *c, *c2; for_all_cpus_2()
1904 int print_epb(struct thread_data *t, struct core_data *c, struct pkg_data *p) print_epb()
1949 int print_perf_limit(struct thread_data *t, struct core_data *c, struct pkg_data *p) print_perf_limit()
2181 int print_thermal(struct thread_data *t, struct core_data *c, struct pkg_data *p) print_thermal()
2258 int print_rapl(struct thread_data *t, struct core_data *c, struct pkg_data *p) print_rapl()
2516 int set_temperature_target(struct thread_data *t, struct core_data *c, struct pkg_data *p) set_temperature_target()
2825 allocate_counters(struct thread_data **t, struct core_data **c, struct pkg_data **p) allocate_counters()
2839 sizeof(struct core_data)); allocate_counters()
2865 void init_counter(struct thread_data *thread_base, struct core_data *core_base, init_counter()
2870 struct core_data *c; init_counter()
/linux-4.1.27/include/linux/
H A Dti_wilink_st.h255 * @core_data: ST core's data, which mainly is the tty's disc_data
269 struct st_data_s *core_data; member in struct:kim_data_s

Completed in 109 milliseconds