Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_fw_trace.c197 static u32 read_fw_trace(struct pvr_fw_trace_seq_data *trace_seq_data, u32 offset) in read_fw_trace() argument
201 idx = trace_seq_data->idx + offset; in read_fw_trace()
205 idx = (idx + trace_seq_data->start_offset) % ROGUE_FW_TRACE_BUF_DEFAULT_SIZE_IN_DWORDS; in read_fw_trace()
206 return trace_seq_data->buffer[idx]; in read_fw_trace()
218 static bool fw_trace_get_next(struct pvr_fw_trace_seq_data *trace_seq_data) in fw_trace_get_next() argument
222 while (trace_seq_data->idx < ROGUE_FW_TRACE_BUF_DEFAULT_SIZE_IN_DWORDS) { in fw_trace_get_next()
223 id = read_fw_trace(trace_seq_data, 0); in fw_trace_get_next()
224 trace_seq_data->idx++; in fw_trace_get_next()
244 trace_seq_data->idx += 2 + ROGUE_FW_SF_PARAMNUM(id); in fw_trace_get_next()
247 id = read_fw_trace(trace_seq_data, 0); in fw_trace_get_next()
[all …]