Home
last modified time | relevance | path

Searched refs:data_info (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/acpi/
Dpfr_telemetry.c79 static int get_pfrt_log_data_info(struct pfrt_log_data_info *data_info, in get_pfrt_log_data_info() argument
86 memset(data_info, 0, sizeof(*data_info)); in get_pfrt_log_data_info()
115 data_info->status = out_obj->package.elements[LOG_STATUS_IDX].integer.value; in get_pfrt_log_data_info()
116 data_info->ext_status = in get_pfrt_log_data_info()
118 if (data_info->status != DSM_SUCCEED) { in get_pfrt_log_data_info()
119 dev_dbg(pfrt_log_dev->parent_dev, "Error Status:%d\n", data_info->status); in get_pfrt_log_data_info()
121 data_info->ext_status); in get_pfrt_log_data_info()
125 data_info->max_data_size = in get_pfrt_log_data_info()
127 data_info->chunk1_addr_lo = in get_pfrt_log_data_info()
129 data_info->chunk1_addr_hi = in get_pfrt_log_data_info()
[all …]
/linux-6.1.9/tools/power/acpi/tools/pfrut/
Dpfrut.c187 struct pfrt_log_data_info data_info; in main() local
228 ret = ioctl(fd_update_log, PFRT_LOG_IOC_GET_DATA_INFO, &data_info); in main()
249 printf("max_data_size:%d\n", data_info.max_data_size); in main()
250 printf("chunk1_size:%d\n", data_info.chunk1_size); in main()
251 printf("chunk2_size:%d\n", data_info.chunk2_size); in main()
252 printf("rollover_cnt:%d\n", data_info.rollover_cnt); in main()
253 printf("reset_cnt:%d\n", data_info.reset_cnt); in main()
381 ret = ioctl(fd_update_log, PFRT_LOG_IOC_GET_DATA_INFO, &data_info); in main()
389 max_data_sz = data_info.max_data_size; in main()
/linux-6.1.9/drivers/input/touchscreen/
Draydium_i2c_ts.c337 struct raydium_data_info data_info; in raydium_i2c_query_ts_info() local
344 &data_info, sizeof(data_info)); in raydium_i2c_query_ts_info()
353 if (ts->report_data && ts->pkg_size != data_info.pkg_size) { in raydium_i2c_query_ts_info()
356 ts->pkg_size, data_info.pkg_size); in raydium_i2c_query_ts_info()
358 ts->pkg_size = data_info.pkg_size; in raydium_i2c_query_ts_info()
362 ts->contact_size = data_info.tp_info_size; in raydium_i2c_query_ts_info()
363 ts->data_bank_addr = le32_to_cpu(data_info.data_bank_addr); in raydium_i2c_query_ts_info()