Home
last modified time | relevance | path

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

/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_base_test.cpp35 uint8_t* payload_ptr = responsePtr->payload; in TEST_F() local
36 ASSERT_EQ(payload_ptr[0], 0); in TEST_F()
37 ASSERT_EQ(payload_ptr[1], 29); // 0b11101 see DSP0240 table11 in TEST_F()
38 ASSERT_EQ(payload_ptr[2], 0); in TEST_F()
51 uint8_t* payload_ptr = responsePtr->payload; in TEST_F() local
52 ASSERT_EQ(payload_ptr[0], 0); in TEST_F()
53 ASSERT_EQ(payload_ptr[1], 60); // 60 = 0b111100 in TEST_F()
54 ASSERT_EQ(payload_ptr[2], 0); in TEST_F()
68 uint8_t* payload_ptr = responsePtr->payload; in TEST_F() local
69 ASSERT_EQ(payload_ptr[0], PLDM_ERROR_INVALID_PLDM_TYPE); in TEST_F()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_aux.c653 unsigned char *payload_ptr = payload; in dce_aux_log_payload() local
654 unsigned char *payload_max_to_log_ptr = payload_ptr + min(max_length_to_log, length); in dce_aux_log_payload()
658 while (payload_ptr < payload_max_to_log_ptr) { in dce_aux_log_payload()
659 count = snprintf_count(hex_str_ptr, hex_str_remaining, "%s%02X", padding, *payload_ptr); in dce_aux_log_payload()
663 payload_ptr++; in dce_aux_log_payload()
670 payload_ptr = payload; in dce_aux_log_payload()
671 while (payload_ptr < payload_max_to_log_ptr) { in dce_aux_log_payload()
673 *payload_ptr >= ' ' ? *payload_ptr : '.'); in dce_aux_log_payload()
676 payload_ptr++; in dce_aux_log_payload()
/openbmc/libpldm/tests/dsp/
H A Dbase.cpp250 uint8_t* payload_ptr = response->payload; in TEST() local
251 EXPECT_EQ(completionCode, payload_ptr[0]); in TEST()
252 EXPECT_EQ(1, payload_ptr[sizeof(completionCode)]); in TEST()
254 payload_ptr[sizeof(completionCode) + sizeof(commands[0].byte)]); in TEST()
255 EXPECT_EQ(3, payload_ptr[sizeof(completionCode) + sizeof(commands[0].byte) + in TEST()
273 uint8_t* payload_ptr = response->payload; in TEST() local
274 EXPECT_EQ(completionCode, payload_ptr[0]); in TEST()
275 EXPECT_EQ(1, payload_ptr[sizeof(completionCode)]); in TEST()
276 EXPECT_EQ(2, payload_ptr[sizeof(completionCode) + sizeof(types[0].byte)]); in TEST()
277 EXPECT_EQ(3, payload_ptr[sizeof(completionCode) + sizeof(types[0].byte) + in TEST()
/openbmc/linux/net/batman-adv/
H A Dmain.h254 __be32 batadv_skb_crc32(struct sk_buff *skb, u8 *payload_ptr);
H A Dmain.c594 __be32 batadv_skb_crc32(struct sk_buff *skb, u8 *payload_ptr) in batadv_skb_crc32() argument
604 from = (unsigned int)(payload_ptr - skb->data); in batadv_skb_crc32()
H A Dbridge_loop_avoidance.c1607 struct sk_buff *skb, u8 *payload_ptr, in batadv_bla_check_duplist() argument
1616 crc = batadv_skb_crc32(skb, payload_ptr); in batadv_bla_check_duplist()
1714 u8 *payload_ptr; in batadv_bla_check_bcast_duplist() local
1717 payload_ptr = (u8 *)(bcast_packet + 1); in batadv_bla_check_bcast_duplist()
1719 return batadv_bla_check_duplist(bat_priv, skb, payload_ptr, in batadv_bla_check_bcast_duplist()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_els.c7974 uint32_t *payload_ptr; in lpfc_send_rscn_event() local
7979 payload_ptr = (uint32_t *) pcmd->virt; in lpfc_send_rscn_event()
7980 payload_len = be32_to_cpu(*payload_ptr & ~ELS_CMD_MASK); in lpfc_send_rscn_event()
7991 memcpy(rscn_event_data->rscn_payload, payload_ptr, in lpfc_send_rscn_event()