Lines Matching refs:data_info
79 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()
131 data_info->chunk1_size = in get_pfrt_log_data_info()
133 data_info->chunk2_addr_lo = in get_pfrt_log_data_info()
135 data_info->chunk2_addr_hi = in get_pfrt_log_data_info()
137 data_info->chunk2_size = in get_pfrt_log_data_info()
139 data_info->rollover_cnt = in get_pfrt_log_data_info()
141 data_info->reset_cnt = in get_pfrt_log_data_info()
245 struct pfrt_log_data_info data_info; in pfrt_log_ioctl() local
286 ret = get_pfrt_log_data_info(&data_info, pfrt_log_dev); in pfrt_log_ioctl()
290 if (copy_to_user(p, &data_info, sizeof(struct pfrt_log_data_info))) in pfrt_log_ioctl()