Home
last modified time | relevance | path

Searched refs:core_data (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/sound/soc/sof/
Dipc4-mtrace.c129 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->dsp_write_ptr) in sof_wait_mtrace_avail()
173 add_wait_queue(&core_data->trace_sleep, &wait); in sof_wait_mtrace_avail()
[all …]
/linux-6.6.21/drivers/misc/ti-st/
Dst_kim.c206 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()
726 kim_gdata->core_data->kim_data = kim_gdata; in kim_probe()
[all …]
Dst_core.c853 int st_core_init(struct st_data_s **core_data) in st_core_init() argument
890 *core_data = st_gdata; in st_core_init()
/linux-6.6.21/drivers/hwmon/
Dcoretemp.c94 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()
549 pdata->core_data[index] = tdata; in create_core_data()
558 pdata->core_data[index] = NULL; in create_core_data()
575 struct temp_data *tdata = pdata->core_data[indx]; in coretemp_remove_core()
584 kfree(pdata->core_data[indx]); in coretemp_remove_core()
[all …]
/linux-6.6.21/drivers/firmware/broadcom/
Dtee_bnxt_fw.c135 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()
/linux-6.6.21/tools/power/x86/turbostat/
Dturbostat.c363 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() argument
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 *old) in delta_core()
1539 int delta_thread(struct thread_data *new, struct thread_data *old, struct core_data *core_delta) in delta_thread()
[all …]
/linux-6.6.21/include/linux/
Dti_wilink_st.h256 struct st_data_s *core_data; member
/linux-6.6.21/kernel/module/
Dmain.c929 for_class_mod_mem_type(type, core_data) in show_coresize()
944 for_class_mod_mem_type(type, core_data) in show_datasize()
3020 for_class_mod_mem_type(type, core_data) { in load_module()