/kernel/linux/linux-6.6/sound/soc/sof/ |
H A D | ipc4-mtrace.c | 129 struct sof_mtrace_core_data *core_data = inode->i_private; in sof_ipc4_mtrace_dfs_open() local 132 mutex_lock(&core_data->buffer_lock); in sof_ipc4_mtrace_dfs_open() 134 if (core_data->log_buffer) { in sof_ipc4_mtrace_dfs_open() 143 core_data->log_buffer = kmalloc(SOF_MTRACE_SLOT_SIZE, GFP_KERNEL); in sof_ipc4_mtrace_dfs_open() 144 if (!core_data->log_buffer) { in sof_ipc4_mtrace_dfs_open() 152 kfree(core_data->log_buffer); in sof_ipc4_mtrace_dfs_open() 157 mutex_unlock(&core_data->buffer_lock); in sof_ipc4_mtrace_dfs_open() 162 static bool sof_wait_mtrace_avail(struct sof_mtrace_core_data *core_data) in sof_wait_mtrace_avail() argument 167 if (core_data->host_read_ptr != core_data in sof_wait_mtrace_avail() 190 struct sof_mtrace_core_data *core_data = file->private_data; sof_ipc4_mtrace_dfs_read() local 291 struct sof_mtrace_core_data *core_data = inode->i_private; sof_ipc4_mtrace_dfs_release() local 492 struct sof_mtrace_core_data *core_data = &priv->cores[i]; ipc4_mtrace_disable() local 509 struct sof_mtrace_core_data *core_data; sof_mtrace_find_core_slots() local 579 struct sof_mtrace_core_data *core_data = &priv->cores[i]; ipc4_mtrace_init() local 625 struct sof_mtrace_core_data *core_data; sof_ipc4_mtrace_update_pos() local [all...] |
/kernel/linux/linux-5.10/drivers/misc/ti-st/ |
H A D | st_kim.c | 213 if (4 != st_int_write(kim_gdata->core_data, read_ver_cmd, 4)) { in read_local_version() 341 st_get_uart_wr_room(kim_gdata->core_data); in download_firmware() 370 err = st_int_write(kim_gdata->core_data, in download_firmware() 531 struct tty_struct *tty = kim_gdata->core_data->tty; in st_kim_stop() 583 kim_st_list_protocols(kim_gdata->core_data, s); in list_show() 677 void st_kim_ref(struct st_data_s **core_data, int id) in st_kim_ref() argument 689 *core_data = kim_gdata->core_data; in st_kim_ref() 692 *core_data = NULL; in st_kim_ref() 726 err = st_core_init(&kim_gdata->core_data); in kim_probe() [all...] |
H A D | st_core.c | 860 int st_core_init(struct st_data_s **core_data) in st_core_init() argument 904 *core_data = st_gdata; in st_core_init()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | coretemp.c | 94 struct temp_data *core_data[MAX_CORE_DATA]; member 108 struct temp_data *tdata = pdata->core_data[attr->index]; in show_label() 122 struct temp_data *tdata = pdata->core_data[attr->index]; in show_crit_alarm() 137 return sprintf(buf, "%d\n", pdata->core_data[attr->index]->tjmax); in show_tjmax() 146 return sprintf(buf, "%d\n", pdata->core_data[attr->index]->ttarget); in show_ttarget() 155 struct temp_data *tdata = pdata->core_data[attr->index]; in show_temp() 469 * Get the index of tdata in pdata->core_data[] in create_core_data() 470 * tdata for package: pdata->core_data[1] in create_core_data() 471 * tdata for core: pdata->core_data[2] .. pdata->core_data[NUM_REAL_CORE in create_core_data() [all...] |
/kernel/linux/linux-6.6/drivers/misc/ti-st/ |
H A D | st_kim.c | 206 if (4 != st_int_write(kim_gdata->core_data, read_ver_cmd, 4)) { in read_local_version() 334 st_get_uart_wr_room(kim_gdata->core_data); in download_firmware() 363 err = st_int_write(kim_gdata->core_data, in download_firmware() 524 struct tty_struct *tty = kim_gdata->core_data->tty; in st_kim_stop() 576 kim_st_list_protocols(kim_gdata->core_data, s); in list_show() 670 void st_kim_ref(struct st_data_s **core_data, int id) in st_kim_ref() argument 682 *core_data = kim_gdata->core_data; in st_kim_ref() 685 *core_data = NULL; in st_kim_ref() 719 err = st_core_init(&kim_gdata->core_data); in kim_probe() [all...] |
H A D | st_core.c | 853 int st_core_init(struct st_data_s **core_data) in st_core_init() argument 890 *core_data = st_gdata; in st_core_init()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | coretemp.c | 94 struct temp_data *core_data[MAX_CORE_DATA]; member 337 struct temp_data *tdata = pdata->core_data[attr->index]; in show_label() 351 struct temp_data *tdata = pdata->core_data[attr->index]; in show_crit_alarm() 365 struct temp_data *tdata = pdata->core_data[attr->index]; in show_tjmax() 380 struct temp_data *tdata = pdata->core_data[attr->index]; in show_ttarget() 398 struct temp_data *tdata = pdata->core_data[attr->index]; in show_temp() 511 * Get the index of tdata in pdata->core_data[] in create_core_data() 512 * tdata for package: pdata->core_data[1] in create_core_data() 513 * tdata for core: pdata->core_data[2] .. pdata->core_data[NUM_REAL_CORE in create_core_data() [all...] |
/kernel/linux/linux-5.10/drivers/firmware/broadcom/ |
H A D | tee_bnxt_fw.c | 135 void *core_data; in tee_bnxt_copy_coredump() local 162 core_data = tee_shm_get_va(pvt_data.fw_shm_pool, 0); in tee_bnxt_copy_coredump() 163 if (IS_ERR(core_data)) { in tee_bnxt_copy_coredump() 165 return PTR_ERR(core_data); in tee_bnxt_copy_coredump() 168 memcpy(buf, core_data, nbytes); in tee_bnxt_copy_coredump()
|
/kernel/linux/linux-6.6/drivers/firmware/broadcom/ |
H A D | tee_bnxt_fw.c | 135 void *core_data; in tee_bnxt_copy_coredump() local 162 core_data = tee_shm_get_va(pvt_data.fw_shm_pool, 0); in tee_bnxt_copy_coredump() 163 if (IS_ERR(core_data)) { in tee_bnxt_copy_coredump() 165 return PTR_ERR(core_data); in tee_bnxt_copy_coredump() 168 memcpy(buf, core_data, nbytes); in tee_bnxt_copy_coredump()
|
/kernel/linux/linux-6.6/tools/power/x86/turbostat/ |
H A D | turbostat.c | 363 struct core_data { struct 546 struct core_data cores; 594 int for_all_cpus(int (func) (struct thread_data *, struct core_data *, struct pkg_data *), in for_all_cpus() 595 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus() 604 struct core_data *c; in for_all_cpus() 1016 int dump_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in dump_counters() 1099 int format_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in format_counters() 1431 void format_all_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in format_all_counters() 1506 void delta_core(struct core_data *new, struct core_data *ol [all...] |
/kernel/linux/linux-5.10/tools/power/x86/turbostat/ |
H A D | turbostat.c | 187 struct core_data { struct 386 struct core_data cores; 433 int for_all_cpus(int (func)(struct thread_data *, struct core_data *, struct pkg_data *), in for_all_cpus() 434 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus() 444 struct core_data *c; in for_all_cpus() 917 int dump_counters(struct thread_data *t, struct core_data *c, in dump_counters() 1003 int format_counters(struct thread_data *t, struct core_data *c, in format_counters() 1310 void format_all_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in format_all_counters() 1387 delta_core(struct core_data *new, struct core_data *ol [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | ti_wilink_st.h | 242 * @core_data: ST core's data, which mainly is the tty's disc_data 256 struct st_data_s *core_data; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | ti_wilink_st.h | 242 * @core_data: ST core's data, which mainly is the tty's disc_data 256 struct st_data_s *core_data; member
|
/kernel/linux/linux-6.6/kernel/module/ |
H A D | main.c | 929 for_class_mod_mem_type(type, core_data) in show_coresize() 944 for_class_mod_mem_type(type, core_data) in show_datasize() 3025 for_class_mod_mem_type(type, core_data) { in load_module()
|