Lines Matching refs:payload

59 	case 1: packet->payload = *(uint8_t *)buf; break;  in arm_spe_get_payload()
60 case 2: packet->payload = get_unaligned_le16(buf); break; in arm_spe_get_payload()
61 case 4: packet->payload = get_unaligned_le32(buf); break; in arm_spe_get_payload()
62 case 8: packet->payload = get_unaligned_le64(buf); break; in arm_spe_get_payload()
282 u64 payload = packet->payload; in arm_spe_pkt_desc_event() local
287 if (payload & BIT(EV_EXCEPTION_GEN)) in arm_spe_pkt_desc_event()
289 if (payload & BIT(EV_RETIRED)) in arm_spe_pkt_desc_event()
291 if (payload & BIT(EV_L1D_ACCESS)) in arm_spe_pkt_desc_event()
293 if (payload & BIT(EV_L1D_REFILL)) in arm_spe_pkt_desc_event()
295 if (payload & BIT(EV_TLB_ACCESS)) in arm_spe_pkt_desc_event()
297 if (payload & BIT(EV_TLB_WALK)) in arm_spe_pkt_desc_event()
299 if (payload & BIT(EV_NOT_TAKEN)) in arm_spe_pkt_desc_event()
301 if (payload & BIT(EV_MISPRED)) in arm_spe_pkt_desc_event()
303 if (payload & BIT(EV_LLC_ACCESS)) in arm_spe_pkt_desc_event()
305 if (payload & BIT(EV_LLC_MISS)) in arm_spe_pkt_desc_event()
307 if (payload & BIT(EV_REMOTE_ACCESS)) in arm_spe_pkt_desc_event()
309 if (payload & BIT(EV_ALIGNMENT)) in arm_spe_pkt_desc_event()
311 if (payload & BIT(EV_PARTIAL_PREDICATE)) in arm_spe_pkt_desc_event()
313 if (payload & BIT(EV_EMPTY_PREDICATE)) in arm_spe_pkt_desc_event()
322 u64 payload = packet->payload; in arm_spe_pkt_desc_op_type() local
327 if (SPE_OP_PKT_IS_OTHER_SVE_OP(payload)) { in arm_spe_pkt_desc_op_type()
332 SPE_OP_PKG_SVE_EVL(payload)); in arm_spe_pkt_desc_op_type()
334 if (payload & SPE_OP_PKT_SVE_FP) in arm_spe_pkt_desc_op_type()
336 if (payload & SPE_OP_PKT_SVE_PRED) in arm_spe_pkt_desc_op_type()
341 payload & SPE_OP_PKT_COND ? in arm_spe_pkt_desc_op_type()
347 payload & 0x1 ? "ST" : "LD"); in arm_spe_pkt_desc_op_type()
349 if (SPE_OP_PKT_IS_LDST_ATOMIC(payload)) { in arm_spe_pkt_desc_op_type()
350 if (payload & SPE_OP_PKT_AT) in arm_spe_pkt_desc_op_type()
352 if (payload & SPE_OP_PKT_EXCL) in arm_spe_pkt_desc_op_type()
354 if (payload & SPE_OP_PKT_AR) in arm_spe_pkt_desc_op_type()
358 switch (SPE_OP_PKT_LDST_SUBCLASS_GET(payload)) { in arm_spe_pkt_desc_op_type()
384 if (SPE_OP_PKT_IS_LDST_SVE(payload)) { in arm_spe_pkt_desc_op_type()
387 SPE_OP_PKG_SVE_EVL(payload)); in arm_spe_pkt_desc_op_type()
389 if (payload & SPE_OP_PKT_SVE_PRED) in arm_spe_pkt_desc_op_type()
391 if (payload & SPE_OP_PKT_SVE_SG) in arm_spe_pkt_desc_op_type()
398 if (payload & SPE_OP_PKT_COND) in arm_spe_pkt_desc_op_type()
401 if (SPE_OP_PKT_IS_INDIRECT_BRANCH(payload)) in arm_spe_pkt_desc_op_type()
419 u64 payload = packet->payload; in arm_spe_pkt_desc_addr() local
427 ns = !!SPE_ADDR_PKT_GET_NS(payload); in arm_spe_pkt_desc_addr()
428 el = SPE_ADDR_PKT_GET_EL(payload); in arm_spe_pkt_desc_addr()
429 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_pkt_desc_addr()
432 idx_name[idx], payload, el, ns); in arm_spe_pkt_desc_addr()
436 "VA 0x%llx", payload); in arm_spe_pkt_desc_addr()
439 ns = !!SPE_ADDR_PKT_GET_NS(payload); in arm_spe_pkt_desc_addr()
440 ch = !!SPE_ADDR_PKT_GET_CH(payload); in arm_spe_pkt_desc_addr()
441 pat = SPE_ADDR_PKT_GET_PAT(payload); in arm_spe_pkt_desc_addr()
442 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_pkt_desc_addr()
445 payload, ns, ch, pat); in arm_spe_pkt_desc_addr()
459 u64 payload = packet->payload; in arm_spe_pkt_desc_counter() local
464 (unsigned short)payload); in arm_spe_pkt_desc_counter()
487 unsigned long long payload = packet->payload; in arm_spe_pkt_desc() local
507 arm_spe_pkt_out_string(&err, &buf, &blen, "%s %lld", name, payload); in arm_spe_pkt_desc()
514 name, (unsigned long)payload, idx + 1); in arm_spe_pkt_desc()
529 name, payload, packet->index); in arm_spe_pkt_desc()