/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | reg.h | 30 #define MLXSW_REG_ZERO(type, payload) memset(payload, 0, MLXSW_REG(type)->len) argument 51 MLXSW_REG_ZERO(sgcr, payload); in mlxsw_reg_sgcr_pack() 112 MLXSW_REG_ZERO(sspr, payload); in mlxsw_reg_sspr_pack() 113 mlxsw_reg_sspr_m_set(payload, 1); in mlxsw_reg_sspr_pack() 145 MLXSW_REG_ZERO(sfdat, payload); in mlxsw_reg_sfdat_pack() 227 MLXSW_REG_ZERO(sfd, payload); in mlxsw_reg_sfd_pack() 618 MLXSW_REG_ZERO(sfn, payload); in mlxsw_reg_sfn_pack() 794 MLXSW_REG_ZERO(spms, payload); in mlxsw_reg_spms_pack() 958 MLXSW_REG_ZERO(spvm, payload); in mlxsw_reg_spvm_pack() 1113 MLXSW_REG_ZERO(sfgc, payload); in mlxsw_reg_sfgc_pack() [all …]
|
/openbmc/linux/drivers/media/radio/wl128x/ |
H A D | fmdrv_tx.c | 16 u16 payload; in fm_tx_set_stereo_mono() local 38 u16 payload; in set_rds_text() local 58 u16 payload; in set_rds_data_mode() local 81 u16 payload; in set_rds_len() local 97 u16 payload; in fm_tx_set_rds_mode() local 140 u16 payload; in fm_tx_set_radio_text() local 157 payload = 1; in fm_tx_set_radio_text() 168 u16 payload; in fm_tx_set_af() local 188 u16 payload; in fm_tx_set_region() local 208 u16 payload; in fm_tx_set_mute_mode() local [all …]
|
H A D | fmdrv_rx.c | 134 u16 payload; in fm_rx_set_channel_spacing() local 145 payload = spacing; in fm_rx_set_channel_spacing() 289 u16 payload; in fm_rx_set_volume() local 349 u16 payload; in fm_rx_set_region() local 532 u16 payload; in fm_rx_set_rssi_threshold() local 570 u16 payload; in fm_rx_set_stereo_mono() local 620 u16 payload; in fm_rx_set_deemphasis_mode() local 632 payload = mode; in fm_rx_set_deemphasis_mode() 662 u16 payload; in fm_rx_set_rds_mode() local 753 u16 payload; in fm_rx_set_rds_system() local [all …]
|
/openbmc/linux/security/keys/ |
H A D | big_key.c | 59 struct big_key_payload *payload = to_big_key_payload(prep->payload); in big_key_preparse() local 67 BUILD_BUG_ON(sizeof(*payload) != sizeof(prep->payload.data)); in big_key_preparse() 123 payload->data = enckey; in big_key_preparse() 135 payload->data = data; in big_key_preparse() 154 struct big_key_payload *payload = to_big_key_payload(prep->payload); in big_key_free_preparse() local 167 struct big_key_payload *payload = to_big_key_payload(key->payload); in big_key_revoke() local 180 struct big_key_payload *payload = to_big_key_payload(key->payload); in big_key_destroy() local 188 payload->data = NULL; in big_key_destroy() 213 struct big_key_payload *payload = to_big_key_payload(key->payload); in big_key_describe() local 219 payload->length, in big_key_describe() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_varlen.c | 46 void *payload = payload1; in handler64_unsigned() local 55 payload += len; in handler64_unsigned() 61 payload += len; in handler64_unsigned() 76 void *payload = payload3; in handler64_signed() local 85 payload += len; in handler64_signed() 90 payload += len; in handler64_signed() 102 void *payload = payload2; in handler32_unsigned() local 111 payload += len; in handler32_unsigned() 117 payload += len; in handler32_unsigned() 139 payload += len; in handler32_signed() [all …]
|
H A D | profiler.inc.h | 207 void* payload, in read_full_cgroup_path() argument 221 return payload; in read_full_cgroup_path() 230 return payload; in read_full_cgroup_path() 253 void* payload) in populate_cgroup_info() argument 372 size_t payload_length = payload - (void*)kill_data->payload; in get_var_kill_data() 651 void* payload = kill_data->payload; in raw_tracepoint__sched_process_exit() local 827 payload += len; in kprobe_ret__do_filp_open() 882 payload += len; in BPF_KPROBE() 890 payload += len; in BPF_KPROBE() 942 payload += len; in BPF_KPROBE() [all …]
|
/openbmc/linux/tools/perf/util/arm-spe-decoder/ |
H A D | arm-spe-decoder.c | 32 ns = SPE_ADDR_PKT_GET_NS(payload); in arm_spe_calc_ip() 33 el = SPE_ADDR_PKT_GET_EL(payload); in arm_spe_calc_ip() 36 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_calc_ip() 46 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_calc_ip() 69 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_calc_ip() 78 return payload; in arm_spe_calc_ip() 155 u64 payload, ip; in arm_spe_read_record() local 166 payload = decoder->packet.payload; in arm_spe_read_record() 196 if (payload & SPE_OP_PKT_ST) in arm_spe_read_record() 223 if (payload & BIT(EV_TLB_WALK)) in arm_spe_read_record() [all …]
|
H A D | arm-spe-pkt-decoder.c | 295 u64 payload = packet->payload; in arm_spe_pkt_desc_event() local 302 if (payload & BIT(EV_RETIRED)) in arm_spe_pkt_desc_event() 314 if (payload & BIT(EV_MISPRED)) in arm_spe_pkt_desc_event() 335 u64 payload = packet->payload; in arm_spe_pkt_desc_op_type() local 363 if (payload & SPE_OP_PKT_AT) in arm_spe_pkt_desc_op_type() 367 if (payload & SPE_OP_PKT_AR) in arm_spe_pkt_desc_op_type() 432 u64 payload = packet->payload; in arm_spe_pkt_desc_addr() local 442 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_pkt_desc_addr() 455 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_pkt_desc_addr() 472 u64 payload = packet->payload; in arm_spe_pkt_desc_counter() local [all …]
|
/openbmc/linux/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-pkt-decoder.c | 80 uint64_t payload; in intel_pt_get_long_tnt() local 89 if (payload & BIT63) in intel_pt_get_long_tnt() 91 payload <<= 1; in intel_pt_get_long_tnt() 96 packet->payload = payload << 1; in intel_pt_get_long_tnt() 110 packet->payload = payload; in intel_pt_get_pip() 448 packet->payload = payload; in intel_pt_get_cyc() 691 unsigned long long payload = packet->payload; in intel_pt_pkt_desc() local 719 payload <<= 1; in intel_pt_pkt_desc() 769 name, payload, (unsigned int)(payload & 0xff), in intel_pt_pkt_desc() 773 name, payload, !!(payload & 0x80), in intel_pt_pkt_desc() [all …]
|
/openbmc/ipmitool/src/plugins/lanplus/ |
H A D | lanplus.c | 1491 payload->payload.sol_packet.acked_packet_number); in getSolPayloadWireRep() 1523 payload->payload.sol_packet.data, in getSolPayloadWireRep() 1524 payload->payload.sol_packet.character_count); in getSolPayloadWireRep() 1527 payload->payload.sol_packet.character_count); in getSolPayloadWireRep() 1531 …printbuf(payload->payload.sol_packet.data, payload->payload.sol_packet.character_count, "SOL SEND … in getSolPayloadWireRep() 1538 payload->payload_length = payload->payload.sol_packet.character_count + 4; in getSolPayloadWireRep() 1681 payload->payload.ipmi_request.request, in ipmi_lanplus_build_v2x_msg() 1682 payload->payload.ipmi_request.rq_seq, in ipmi_lanplus_build_v2x_msg() 1701 payload->payload.open_session_request.request, in ipmi_lanplus_build_v2x_msg() 1709 payload->payload.rakp_1_message.message, in ipmi_lanplus_build_v2x_msg() [all …]
|
H A D | lanplus_dump.c | 53 rsp->payload.open_session_response.message_tag); in lanplus_dump_open_session_response() 64 (long)rsp->payload.open_session_response.console_id); in lanplus_dump_open_session_response() 73 (long)rsp->payload.open_session_response.bmc_id); in lanplus_dump_open_session_response() 76 val2str(rsp->payload.open_session_response.auth_alg, in lanplus_dump_open_session_response() 102 rsp->payload.rakp2_message.message_tag); in lanplus_dump_rakp2_message() 106 val2str(rsp->payload.rakp2_message.rakp_return_code, in lanplus_dump_rakp2_message() 111 (long)rsp->payload.rakp2_message.console_id); in lanplus_dump_rakp2_message() 115 printf("%02x", rsp->payload.rakp2_message.bmc_rand[i]); in lanplus_dump_rakp2_message() 120 printf("%02x", rsp->payload.rakp2_message.bmc_guid[i]); in lanplus_dump_rakp2_message() 159 rsp->payload.rakp4_message.message_tag); in lanplus_dump_rakp4_message() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/event/src/ |
H A D | event.c | 74 uint8_t *payload) in ia_css_event_decode() argument 76 assert(payload[1] == 0); in ia_css_event_decode() 77 assert(payload[2] == 0); in ia_css_event_decode() 78 assert(payload[3] == 0); in ia_css_event_decode() 90 payload[1] = (event >> 8) & 0xff; in ia_css_event_decode() 91 payload[2] = (event >> 16) & 0xff; in ia_css_event_decode() 92 payload[3] = 0; in ia_css_event_decode() 94 switch (payload[0]) { in ia_css_event_decode() 96 payload[2] = 0; in ia_css_event_decode() 97 payload[3] = (event >> 24) & 0xff; in ia_css_event_decode() [all …]
|
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_cmd.c | 392 payload->flags = cpu_to_le64(val); in ipa_cmd_table_init_add() 395 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_table_init_add() 425 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_hdr_init_local_add() 482 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_register_write_add() 499 payload->dest_endpoint = in ipa_cmd_ip_packet_init_add() 506 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_ip_packet_init_add() 534 payload->size = cpu_to_le16(size); in ipa_cmd_dma_shared_mem_add() 548 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_dma_shared_mem_add() 565 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_ip_tag_status_add() 574 union ipa_cmd_payload *payload; in ipa_cmd_transfer_add() local [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_aux.c | 537 if (payload->mot) in i2caux_action_from_payload() 543 if (payload->mot) in i2caux_action_from_payload() 548 if (payload->mot) in i2caux_action_from_payload() 553 if (payload->write) in i2caux_action_from_payload() 602 payload->data, payload->reply, in dce_aux_transfer_raw() 732 payload->address, in dce_aux_transfer_with_retries() 733 payload->length, in dce_aux_transfer_with_retries() 736 if (payload->write) in dce_aux_transfer_with_retries() 737 dce_aux_log_payload(" write", payload->data, payload->length, 16); in dce_aux_transfer_with_retries() 746 payload->length, in dce_aux_transfer_with_retries() [all …]
|
/openbmc/slpd-lite/test/ |
H A D | test-suite.py | 15 payload = ( variable 26 ret = sock.sendto(payload, addr) 31 payload = ( variable 42 ret = sock.sendto(payload, addr) 47 payload = ( variable 58 ret = sock.sendto(payload, addr) 63 payload = ( variable 74 ret = sock.sendto(payload, addr) 79 payload = ( variable 95 payload = ( variable [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | tunnel_conf.c | 510 payload = (struct nfp_tun_neigh_v6 *)nn_entry->payload; in nfp_tun_write_neigh() 514 ext = &payload->ext; in nfp_tun_write_neigh() 515 lag = &payload->lag; in nfp_tun_write_neigh() 521 payload = (struct nfp_tun_neigh_v4 *)nn_entry->payload; in nfp_tun_write_neigh() 525 ext = &payload->ext; in nfp_tun_write_neigh() 526 lag = &payload->lag; in nfp_tun_write_neigh() 553 payload = (struct nfp_tun_neigh_v6 *)nn_entry->payload; in nfp_tun_write_neigh() 561 payload = (struct nfp_tun_neigh_v4 *)nn_entry->payload; in nfp_tun_write_neigh() 587 payload = (struct nfp_tun_neigh_v6 *)nn_entry->payload; in nfp_tun_write_neigh() 593 payload = (struct nfp_tun_neigh_v4 *)nn_entry->payload; in nfp_tun_write_neigh() [all …]
|
/openbmc/linux/security/keys/trusted-keys/ |
H A D | trusted_tpm2.c | 84 work1 = payload->blob; in tpm2_key_encode() 94 return work1 - payload->blob; in tpm2_key_encode() 120 payload->blob_len); in tpm2_key_decode() 289 tpm_buf_append(&buf, payload->key, payload->key_len); in tpm2_seal_trusted() 389 blob = payload->blob; in tpm2_load_cmd() 390 payload->old_format = 1; in tpm2_load_cmd() 398 if (payload->blob_len < 4) in tpm2_load_cmd() 417 payload->migratable = 0; in tpm2_load_cmd() 419 payload->migratable = 1; in tpm2_load_cmd() 449 if (blob != payload->blob) in tpm2_load_cmd() [all …]
|
/openbmc/linux/drivers/ps3/ |
H A D | ps3-sys-manager.c | 262 } payload; in ps3_sys_manager_send_attr() local 274 memset(&payload, 0, sizeof(payload)); in ps3_sys_manager_send_attr() 275 payload.version = 1; in ps3_sys_manager_send_attr() 299 } payload; in ps3_sys_manager_send_next_op() local 311 memset(&payload, 0, sizeof(payload)); in ps3_sys_manager_send_next_op() 312 payload.version = 3; in ps3_sys_manager_send_next_op() 313 payload.type = op; in ps3_sys_manager_send_next_op() 341 } payload; in ps3_sys_manager_send_request_shutdown() local 353 memset(&payload, 0, sizeof(payload)); in ps3_sys_manager_send_request_shutdown() 378 } payload; in ps3_sys_manager_send_response() local [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_ddc.c | 278 struct aux_payload *payload) in submit_aux_command() argument 286 if (!payload) in submit_aux_command() 292 payload->length; in submit_aux_command() 340 struct aux_payload payload; in link_query_ddc_data() local 343 payload.address = address; in link_query_ddc_data() 344 payload.reply = NULL; in link_query_ddc_data() 349 payload.write = true; in link_query_ddc_data() 355 payload.data = write_buf; in link_query_ddc_data() 361 payload.write = false; in link_query_ddc_data() 365 payload.mot = false; in link_query_ddc_data() [all …]
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_base_test.cpp | 35 uint8_t* payload_ptr = responsePtr->payload; in TEST_F() 51 uint8_t* payload_ptr = responsePtr->payload; in TEST_F() 63 request->payload[0] = 0xFF; in TEST_F() 68 uint8_t* payload_ptr = responsePtr->payload; in TEST_F() 94 ASSERT_EQ(responsePtr->payload[0], 0); in TEST_F() 95 ASSERT_EQ(0, memcmp(responsePtr->payload + sizeof(responsePtr->payload[0]), in TEST_F() 97 ASSERT_EQ(0, memcmp(responsePtr->payload + sizeof(responsePtr->payload[0]) + in TEST_F() 100 ASSERT_EQ(0, memcmp(responsePtr->payload + sizeof(responsePtr->payload[0]) + in TEST_F() 151 uint8_t* payload = responsePtr->payload; in TEST_F() local 153 ASSERT_EQ(payload[0], 0); in TEST_F() [all …]
|
/openbmc/qemu/docs/interop/ |
H A D | vhost-user-gpu.rst | 39 fields and a payload. 171 } payload; 202 :reply payload: N/A 216 :reply payload: N/A 223 :reply payload: N/A 230 :reply payload: N/A 237 :reply payload: N/A 245 :reply payload: N/A 253 :reply payload: N/A 263 :reply payload: empty payload [all …]
|
/openbmc/pldm/oem/ibm/test/ |
H A D | libpldmresponder_fileio_test.cpp | 133 ASSERT_EQ(0, memcmp(responsePtr->payload + sizeof(responsePtr->payload[0]), in TEST() 143 ASSERT_EQ(0, memcmp(responsePtr->payload + sizeof(responsePtr->payload[0]), in TEST() 155 ASSERT_EQ(0, memcmp(responsePtr->payload + sizeof(responsePtr->payload[0]), in TEST() 165 ASSERT_EQ(0, memcmp(responsePtr->payload + sizeof(responsePtr->payload[0]), in TEST() 175 ASSERT_EQ(0, memcmp(responsePtr->payload + sizeof(responsePtr->payload[0]), in TEST() 825 req->payload); in TEST() 847 responsePtr->payload); in TEST() 913 req->payload); in TEST() 934 responsePtr->payload); in TEST() 942 responsePtr->payload); in TEST() [all …]
|
/openbmc/linux/drivers/accel/ivpu/ |
H A D | ivpu_jsm_msg.c | 17 req.payload.register_db.db_idx = db_id; in ivpu_jsm_register_db() 18 req.payload.register_db.jobq_base = jobq_base; in ivpu_jsm_register_db() 19 req.payload.register_db.jobq_size = jobq_size; in ivpu_jsm_register_db() 20 req.payload.register_db.host_ssid = ctx_id; in ivpu_jsm_register_db() 40 req.payload.unregister_db.db_idx = db_id; in ivpu_jsm_unregister_db() 63 req.payload.query_engine_hb.engine_idx = engine; in ivpu_jsm_get_heartbeat() 85 req.payload.engine_reset.engine_idx = engine; in ivpu_jsm_reset_engine() 104 req.payload.engine_preempt.engine_idx = engine; in ivpu_jsm_preempt_engine() 105 req.payload.engine_preempt.preempt_id = preempt_id; in ivpu_jsm_preempt_engine() 158 req.payload.trace_config.trace_level = trace_level; in ivpu_jsm_trace_set_config() [all …]
|
/openbmc/ipmitool/src/plugins/lan/ |
H A D | lan.c | 1163 payload->payload.sol_packet.character_count; // The actual payload in ipmi_lan_build_sol_msg() 1188 msg[len++] = payload->payload.sol_packet.character_count + 5; in ipmi_lan_build_sol_msg() 1191 msg[len++] = payload->payload.sol_packet.packet_sequence_number; in ipmi_lan_build_sol_msg() 1192 msg[len++] = payload->payload.sol_packet.acked_packet_number; in ipmi_lan_build_sol_msg() 1193 msg[len++] = payload->payload.sol_packet.accepted_character_count; in ipmi_lan_build_sol_msg() 1204 if (payload->payload.sol_packet.character_count) { in ipmi_lan_build_sol_msg() 1207 payload->payload.sol_packet.data, in ipmi_lan_build_sol_msg() 1208 payload->payload.sol_packet.character_count); in ipmi_lan_build_sol_msg() 1209 len += payload->payload.sol_packet.character_count; in ipmi_lan_build_sol_msg() 1243 payload->payload.sol_packet.packet_sequence_number)); in sol_response_acks_packet() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | selftest.c | 301 payload = &state->payload; in ef4_loopback_rx_packet() 335 if (memcmp(&received.ip, &payload->ip, sizeof(payload->ip)) != 0) { in ef4_loopback_rx_packet() 386 struct ef4_loopback_payload *payload = &state->payload; in ef4_iterate_state() local 395 payload->ip.ihl = 5; in ef4_iterate_state() 397 payload->ip.tot_len = htons(sizeof(*payload) - in ef4_iterate_state() 399 payload->ip.version = IPVERSION; in ef4_iterate_state() 403 payload->udp.source = 0; in ef4_iterate_state() 404 payload->udp.len = htons(sizeof(*payload) - in ef4_iterate_state() 409 payload->iteration = htons(ntohs(payload->iteration) + 1); in ef4_iterate_state() 439 payload = skb_put(skb, sizeof(state->payload)); in ef4_begin_loopback() [all …]
|