Lines Matching refs:packet
97 struct cs_etm_packet *packet) in cs_etm_decoder__get_packet() argument
99 if (!packet_queue || !packet) in cs_etm_decoder__get_packet()
117 *packet = packet_queue->packet_buffer[packet_queue->head]; in cs_etm_decoder__get_packet()
437 struct cs_etm_packet *packet; in cs_etm_decoder__buffer_range() local
444 packet = &packet_queue->packet_buffer[packet_queue->tail]; in cs_etm_decoder__buffer_range()
448 packet->isa = CS_ETM_ISA_A64; in cs_etm_decoder__buffer_range()
451 packet->isa = CS_ETM_ISA_A32; in cs_etm_decoder__buffer_range()
454 packet->isa = CS_ETM_ISA_T32; in cs_etm_decoder__buffer_range()
461 packet->isa = CS_ETM_ISA_UNKNOWN; in cs_etm_decoder__buffer_range()
464 packet->start_addr = elem->st_addr; in cs_etm_decoder__buffer_range()
465 packet->end_addr = elem->en_addr; in cs_etm_decoder__buffer_range()
466 packet->instr_count = elem->num_instr_range; in cs_etm_decoder__buffer_range()
467 packet->last_instr_type = elem->last_i_type; in cs_etm_decoder__buffer_range()
468 packet->last_instr_subtype = elem->last_i_subtype; in cs_etm_decoder__buffer_range()
469 packet->last_instr_cond = elem->last_instr_cond; in cs_etm_decoder__buffer_range()
472 packet->last_instr_taken_branch = elem->last_instr_exec; in cs_etm_decoder__buffer_range()
474 packet->last_instr_taken_branch = false; in cs_etm_decoder__buffer_range()
476 packet->last_instr_size = elem->last_instr_sz; in cs_etm_decoder__buffer_range()
516 struct cs_etm_packet *packet; in cs_etm_decoder__buffer_exception() local
523 packet = &queue->packet_buffer[queue->tail]; in cs_etm_decoder__buffer_exception()
524 packet->exception_number = elem->exception_number; in cs_etm_decoder__buffer_exception()