Lines Matching refs:payload

72 	case 1: packet->payload = *(uint8_t *)buf; break;  in arm_spe_get_payload()
73 case 2: packet->payload = le16_to_cpu(*(uint16_t *)buf); break; in arm_spe_get_payload()
74 case 4: packet->payload = le32_to_cpu(*(uint32_t *)buf); break; in arm_spe_get_payload()
75 case 8: packet->payload = le64_to_cpu(*(uint64_t *)buf); break; in arm_spe_get_payload()
295 u64 payload = packet->payload; in arm_spe_pkt_desc_event() local
300 if (payload & BIT(EV_EXCEPTION_GEN)) in arm_spe_pkt_desc_event()
302 if (payload & BIT(EV_RETIRED)) in arm_spe_pkt_desc_event()
304 if (payload & BIT(EV_L1D_ACCESS)) in arm_spe_pkt_desc_event()
306 if (payload & BIT(EV_L1D_REFILL)) in arm_spe_pkt_desc_event()
308 if (payload & BIT(EV_TLB_ACCESS)) in arm_spe_pkt_desc_event()
310 if (payload & BIT(EV_TLB_WALK)) in arm_spe_pkt_desc_event()
312 if (payload & BIT(EV_NOT_TAKEN)) in arm_spe_pkt_desc_event()
314 if (payload & BIT(EV_MISPRED)) in arm_spe_pkt_desc_event()
316 if (payload & BIT(EV_LLC_ACCESS)) in arm_spe_pkt_desc_event()
318 if (payload & BIT(EV_LLC_MISS)) in arm_spe_pkt_desc_event()
320 if (payload & BIT(EV_REMOTE_ACCESS)) in arm_spe_pkt_desc_event()
322 if (payload & BIT(EV_ALIGNMENT)) in arm_spe_pkt_desc_event()
324 if (payload & BIT(EV_PARTIAL_PREDICATE)) in arm_spe_pkt_desc_event()
326 if (payload & BIT(EV_EMPTY_PREDICATE)) in arm_spe_pkt_desc_event()
335 u64 payload = packet->payload; in arm_spe_pkt_desc_op_type() local
340 if (SPE_OP_PKT_IS_OTHER_SVE_OP(payload)) { in arm_spe_pkt_desc_op_type()
345 SPE_OP_PKG_SVE_EVL(payload)); in arm_spe_pkt_desc_op_type()
347 if (payload & SPE_OP_PKT_SVE_FP) in arm_spe_pkt_desc_op_type()
349 if (payload & SPE_OP_PKT_SVE_PRED) in arm_spe_pkt_desc_op_type()
354 payload & SPE_OP_PKT_COND ? in arm_spe_pkt_desc_op_type()
360 payload & 0x1 ? "ST" : "LD"); in arm_spe_pkt_desc_op_type()
362 if (SPE_OP_PKT_IS_LDST_ATOMIC(payload)) { in arm_spe_pkt_desc_op_type()
363 if (payload & SPE_OP_PKT_AT) in arm_spe_pkt_desc_op_type()
365 if (payload & SPE_OP_PKT_EXCL) in arm_spe_pkt_desc_op_type()
367 if (payload & SPE_OP_PKT_AR) in arm_spe_pkt_desc_op_type()
371 switch (SPE_OP_PKT_LDST_SUBCLASS_GET(payload)) { in arm_spe_pkt_desc_op_type()
388 if (SPE_OP_PKT_IS_LDST_SVE(payload)) { in arm_spe_pkt_desc_op_type()
391 SPE_OP_PKG_SVE_EVL(payload)); in arm_spe_pkt_desc_op_type()
393 if (payload & SPE_OP_PKT_SVE_PRED) in arm_spe_pkt_desc_op_type()
395 if (payload & SPE_OP_PKT_SVE_SG) in arm_spe_pkt_desc_op_type()
402 if (payload & SPE_OP_PKT_COND) in arm_spe_pkt_desc_op_type()
405 if (SPE_OP_PKT_IS_INDIRECT_BRANCH(payload)) in arm_spe_pkt_desc_op_type()
423 u64 payload = packet->payload; in arm_spe_pkt_desc_addr() local
429 ns = !!SPE_ADDR_PKT_GET_NS(payload); in arm_spe_pkt_desc_addr()
430 el = SPE_ADDR_PKT_GET_EL(payload); in arm_spe_pkt_desc_addr()
431 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_pkt_desc_addr()
434 (idx == 1) ? "TGT" : "PC", payload, el, ns); in arm_spe_pkt_desc_addr()
438 "VA 0x%llx", payload); in arm_spe_pkt_desc_addr()
441 ns = !!SPE_ADDR_PKT_GET_NS(payload); in arm_spe_pkt_desc_addr()
442 ch = !!SPE_ADDR_PKT_GET_CH(payload); in arm_spe_pkt_desc_addr()
443 pat = SPE_ADDR_PKT_GET_PAT(payload); in arm_spe_pkt_desc_addr()
444 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_pkt_desc_addr()
447 payload, ns, ch, pat); in arm_spe_pkt_desc_addr()
461 u64 payload = packet->payload; in arm_spe_pkt_desc_counter() local
466 (unsigned short)payload); in arm_spe_pkt_desc_counter()
489 unsigned long long payload = packet->payload; in arm_spe_pkt_desc() local
509 arm_spe_pkt_out_string(&err, &buf, &blen, "%s %lld", name, payload); in arm_spe_pkt_desc()
516 name, (unsigned long)payload, idx + 1); in arm_spe_pkt_desc()
531 name, payload, packet->index); in arm_spe_pkt_desc()