Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/sof/
Dipc4-mtrace.c118 struct sof_mtrace_core_data *core_data = inode->i_private; in sof_ipc4_mtrace_dfs_open() local
121 mutex_lock(&core_data->buffer_lock); in sof_ipc4_mtrace_dfs_open()
123 if (core_data->log_buffer) { in sof_ipc4_mtrace_dfs_open()
132 core_data->log_buffer = kmalloc(SOF_IPC4_DEBUG_SLOT_SIZE, GFP_KERNEL); in sof_ipc4_mtrace_dfs_open()
133 if (!core_data->log_buffer) { in sof_ipc4_mtrace_dfs_open()
141 kfree(core_data->log_buffer); in sof_ipc4_mtrace_dfs_open()
146 mutex_unlock(&core_data->buffer_lock); in sof_ipc4_mtrace_dfs_open()
151 static bool sof_wait_mtrace_avail(struct sof_mtrace_core_data *core_data) in sof_wait_mtrace_avail() argument
156 if (core_data->host_read_ptr != core_data->dsp_write_ptr) in sof_wait_mtrace_avail()
162 add_wait_queue(&core_data->trace_sleep, &wait); in sof_wait_mtrace_avail()
[all …]
/linux-6.12.1/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.12.1/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.12.1/drivers/hwmon/
Dcoretemp.c98 struct temp_data **core_data; member
484 if (!pdata->core_data) { in init_temp_data()
492 pdata->core_data = kcalloc(pdata->nr_cores, sizeof(struct temp_data *), in init_temp_data()
494 if (!pdata->core_data) in init_temp_data()
512 pdata->core_data[tdata->index] = tdata; in init_temp_data()
528 kfree(pdata->core_data); in destroy_temp_data()
529 pdata->core_data = NULL; in destroy_temp_data()
532 pdata->core_data[tdata->index] = NULL; in destroy_temp_data()
547 if (pdata->core_data[i] && in get_temp_data()
548 pdata->core_data[i]->cpu_core_id == topology_core_id(cpu)) in get_temp_data()
[all …]
/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_fw.c721 fw_mem->core_data = kzalloc(fw_mem->core_data_alloc_size, GFP_KERNEL); in pvr_fw_process()
725 (!fw_mem->core_data && fw_mem->core_data_alloc_size)) { in pvr_fw_process()
732 fw_mem->core_data, fw_mem->core_code_alloc_size); in pvr_fw_process()
741 if (fw_mem->core_data) in pvr_fw_process()
742 memcpy(fw_core_data_ptr, fw_mem->core_data, fw_mem->core_data_alloc_size); in pvr_fw_process()
761 kfree(fw_mem->core_data); in pvr_fw_process()
823 if (fw_mem->core_data) { in pvr_fw_reinit_code_data()
824 err = pvr_copy_to_fw(fw_mem->core_data_obj, fw_mem->core_data, in pvr_fw_reinit_code_data()
Dpvr_fw.h251 u8 *core_data; member
/linux-6.12.1/tools/power/x86/turbostat/
Dturbostat.c1595 struct core_data { struct
1839 struct core_data cores;
1898 int for_all_cpus(int (func) (struct thread_data *, struct core_data *, struct pkg_data *), in for_all_cpus() argument
1899 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus()
1908 struct core_data *c; in for_all_cpus()
1928 int is_cpu_first_thread_in_core(struct thread_data *t, struct core_data *c, struct pkg_data *p) in is_cpu_first_thread_in_core()
1935 int is_cpu_first_core_in_package(struct thread_data *t, struct core_data *c, struct pkg_data *p) in is_cpu_first_core_in_package()
1942 int is_cpu_first_thread_in_package(struct thread_data *t, struct core_data *c, struct pkg_data *p) in is_cpu_first_thread_in_package()
2509 int dump_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in dump_counters()
2620 int format_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in format_counters()
[all …]
/linux-6.12.1/include/linux/
Dti_wilink_st.h256 struct st_data_s *core_data; member
/linux-6.12.1/kernel/module/
Dmain.c931 for_class_mod_mem_type(type, core_data) in show_coresize()
946 for_class_mod_mem_type(type, core_data) in show_datasize()
3048 for_class_mod_mem_type(type, core_data) { in load_module()