/openbmc/linux/include/linux/usb/ |
H A D | rndis_host.h | 24 __le32 msg_type; /* RNDIS_MSG_* */ member 42 __le32 msg_type; /* RNDIS_MSG_PACKET */ member 59 __le32 msg_type; /* RNDIS_MSG_INIT */ member 69 __le32 msg_type; /* RNDIS_MSG_INIT_C */ member 86 __le32 msg_type; /* RNDIS_MSG_HALT */ member 93 __le32 msg_type; /* RNDIS_MSG_QUERY */ member 104 __le32 msg_type; /* RNDIS_MSG_QUERY_C */ member 114 __le32 msg_type; /* RNDIS_MSG_SET */ member 125 __le32 msg_type; /* RNDIS_MSG_SET_C */ member 133 __le32 msg_type; /* RNDIS_MSG_RESET */ member [all …]
|
/openbmc/linux/sound/firewire/motu/ |
H A D | motu-register-dsp-message-parser.c | 127 static void queue_event(struct snd_motu *motu, u8 msg_type, u8 identifier0, u8 identifier1, u8 val) in queue_event() argument 136 entry = (msg_type << 24) | (identifier0 << 16) | (identifier1 << 8) | val; in queue_event() 167 u8 msg_type = (b[MSG_FLAG_POS] & MSG_FLAG_TYPE_MASK) >> MSG_FLAG_TYPE_SHIFT; in snd_motu_register_dsp_message_parser_parse() local 172 switch (msg_type) { in snd_motu_register_dsp_message_parser_parse() 192 if (msg_type != parser->prev_mixer_src_type) in snd_motu_register_dsp_message_parser_parse() 196 parser->prev_mixer_src_type = msg_type; in snd_motu_register_dsp_message_parser_parse() 202 switch (msg_type) { in snd_motu_register_dsp_message_parser_parse() 205 queue_event(motu, msg_type, mixer_ch, mixer_src_ch, val); in snd_motu_register_dsp_message_parser_parse() 211 queue_event(motu, msg_type, mixer_ch, mixer_src_ch, val); in snd_motu_register_dsp_message_parser_parse() 217 queue_event(motu, msg_type, mixer_ch, mixer_src_ch, val); in snd_motu_register_dsp_message_parser_parse() [all …]
|
/openbmc/u-boot/tools/patman/ |
H A D | checkpatch.py | 125 def GetWarningMsg(col, msg_type, fname, line, msg): argument 134 if msg_type == 'warning': 135 msg_type = col.Color(col.YELLOW, msg_type) 136 elif msg_type == 'error': 137 msg_type = col.Color(col.RED, msg_type) 138 elif msg_type == 'check': 139 msg_type = col.Color(col.MAGENTA, msg_type) 140 return '%s:%d: %s: %s\n' % (fname, line, msg_type, msg)
|
/openbmc/libpldm/src/dsp/ |
H A D | base.c | 21 if (hdr->msg_type != PLDM_RESPONSE && hdr->msg_type != PLDM_REQUEST && in pack_pldm_header_errno() 22 hdr->msg_type != PLDM_ASYNC_REQUEST_NOTIFY) { in pack_pldm_header_errno() 34 uint8_t datagram = (hdr->msg_type == PLDM_ASYNC_REQUEST_NOTIFY) ? 1 : 0; in pack_pldm_header_errno() 36 if (hdr->msg_type == PLDM_RESPONSE) { in pack_pldm_header_errno() 38 } else if (hdr->msg_type == PLDM_REQUEST || in pack_pldm_header_errno() 39 hdr->msg_type == PLDM_ASYNC_REQUEST_NOTIFY) { in pack_pldm_header_errno() 60 hdr->msg_type = PLDM_RESPONSE; in unpack_pldm_header_errno() 62 hdr->msg_type = msg->datagram ? PLDM_ASYNC_REQUEST_NOTIFY : in unpack_pldm_header_errno() 135 header.msg_type = PLDM_REQUEST; in encode_get_types_req() 151 header.msg_type = PLDM_REQUEST; in encode_get_commands_req() [all …]
|
H A D | bios.c | 17 header.msg_type = PLDM_REQUEST; in encode_get_date_time_req() 35 header.msg_type = PLDM_RESPONSE; in encode_get_date_time_resp() 113 header.msg_type = PLDM_REQUEST; in encode_set_date_time_req() 177 header.msg_type = PLDM_RESPONSE; in encode_set_date_time_resp() 224 header.msg_type = PLDM_RESPONSE; in encode_get_bios_table_resp() 262 header.msg_type = PLDM_REQUEST; in encode_get_bios_table_req() 349 header.msg_type = PLDM_REQUEST; in encode_get_bios_attribute_current_value_by_handle_req() 443 header.msg_type = PLDM_RESPONSE; in encode_get_bios_current_value_by_handle_resp() 489 header.msg_type = PLDM_REQUEST; in encode_set_bios_attribute_current_value_req() 571 header.msg_type = PLDM_RESPONSE; in encode_set_bios_attribute_current_value_resp() [all …]
|
/openbmc/linux/drivers/net/hyperv/ |
H A D | netvsc_trace.h | 50 __field( u32, msg_type ) 57 __entry->msg_type = msg->ndis_msg_type; 62 show_rndis_type(__entry->msg_type), __entry->msg_len) 121 __field( u32, msg_type ) 125 __entry->msg_type = msg->hdr.msg_type; 129 show_nvsp_type(__entry->msg_type)) 165 __field( u32, msg_type ) 170 __entry->msg_type = msg->hdr.msg_type; 174 show_nvsp_type(__entry->msg_type))
|
/openbmc/linux/drivers/net/usb/ |
H A D | rndis_host.c | 99 u32 xid = 0, msg_len, request_id, msg_type, rsp, in rndis_command() local 106 msg_type = le32_to_cpu(buf->msg_type); in rndis_command() 109 if (likely(msg_type != RNDIS_MSG_HALT && msg_type != RNDIS_MSG_RESET)) { in rndis_command() 140 rsp = le32_to_cpu(buf->msg_type) | RNDIS_MSG_COMPLETION; in rndis_command() 151 msg_type = le32_to_cpu(buf->msg_type); in rndis_command() 155 if (likely(msg_type == rsp)) { in rndis_command() 171 } else switch (msg_type) { in rndis_command() 178 msg->msg_type = cpu_to_le32(RNDIS_MSG_KEEPALIVE_C); in rndis_command() 197 le32_to_cpu(buf->msg_type), msg_len); in rndis_command() 243 u.get->msg_type = cpu_to_le32(RNDIS_MSG_QUERY); in rndis_query() [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | iwpm_msg.c | 394 const char *msg_type = "Register Pid response"; in iwpm_register_pid_cb() local 397 resp_reg_policy, nltb, msg_type)) in iwpm_register_pid_cb() 464 const char *msg_type; in iwpm_add_mapping_cb() local 467 msg_type = "Add Mapping response"; in iwpm_add_mapping_cb() 469 resp_add_policy, nltb, msg_type)) in iwpm_add_mapping_cb() 543 const char *msg_type; in iwpm_add_and_query_mapping_cb() local 547 msg_type = "Query Mapping response"; in iwpm_add_and_query_mapping_cb() 549 resp_query_policy, nltb, msg_type)) in iwpm_add_and_query_mapping_cb() 625 const char *msg_type; in iwpm_remote_info_cb() local 629 msg_type = "Remote Mapping info"; in iwpm_remote_info_cb() [all …]
|
/openbmc/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | shm_channel.c | 49 u8 msg_type : 3; member 96 static int mana_smc_read_response(struct shm_channel *sc, u32 msg_type, in mana_smc_read_response() argument 114 if (hdr.msg_type != msg_type || hdr.msg_version > msg_version || in mana_smc_read_response() 117 hdr.as_uint32, msg_type, msg_version); in mana_smc_read_response() 229 hdr->msg_type = SMC_MSG_TYPE_ESTABLISH_HWC; in mana_smc_setup_hwc() 269 hdr.msg_type = SMC_MSG_TYPE_DESTROY_HWC; in mana_smc_teardown_hwc()
|
/openbmc/linux/drivers/media/common/siano/ |
H A D | smsendian.c | 24 switch (msg->x_msg_header.msg_type) { in smsendian_handle_tx_message() 51 switch (msg->x_msg_header.msg_type) { in smsendian_handle_rx_message() 87 phdr->msg_type = le16_to_cpu((__force __le16)phdr->msg_type); in smsendian_handle_message_header()
|
/openbmc/linux/drivers/xen/xenbus/ |
H A D | xenbus_dev_frontend.c | 420 unsigned int msg_type, const char *reply) in xenbus_command_reply() argument 429 msg.hdr.type = msg_type; in xenbus_command_reply() 446 static int xenbus_write_transaction(unsigned msg_type, in xenbus_write_transaction() argument 456 if (msg_type == XS_TRANSACTION_START) { in xenbus_write_transaction() 467 else if (msg_type == XS_TRANSACTION_END && in xenbus_write_transaction() 471 else if (msg_type == XS_TRANSACTION_END) { in xenbus_write_transaction() 496 static int xenbus_write_watch(unsigned msg_type, struct xenbus_file_priv *u) in xenbus_write_watch() argument 514 if (msg_type == XS_WATCH) { in xenbus_write_watch() 544 rc = xenbus_command_reply(u, msg_type, "OK"); in xenbus_write_watch() 555 uint32_t msg_type; in xenbus_file_write() local [all …]
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal.c | 271 static void dequeue_replay_msg(enum opal_msg_type msg_type) in dequeue_replay_msg() argument 276 if (be32_to_cpu(msg_node->msg.msg_type) != msg_type) in dequeue_replay_msg() 279 atomic_notifier_call_chain(&opal_msg_notifier_head[msg_type], in dequeue_replay_msg() 280 msg_type, in dequeue_replay_msg() 293 int opal_message_notifier_register(enum opal_msg_type msg_type, in opal_message_notifier_register() argument 299 if (!nb || msg_type >= OPAL_MSG_TYPE_MAX) { in opal_message_notifier_register() 301 __func__, msg_type); in opal_message_notifier_register() 307 &opal_msg_notifier_head[msg_type], nb); in opal_message_notifier_register() 315 dequeue_replay_msg(msg_type); in opal_message_notifier_register() 323 int opal_message_notifier_unregister(enum opal_msg_type msg_type, in opal_message_notifier_unregister() argument [all …]
|
H A D | opal-power.c | 79 unsigned long msg_type, void *msg) in opal_power_control_event() argument 83 switch (msg_type) { in opal_power_control_event() 110 pr_err("Unknown OPAL message type %lu\n", msg_type); in opal_power_control_event()
|
/openbmc/linux/fs/ocfs2/cluster/ |
H A D | tcp.h | 27 __be16 msg_type; member 82 int o2net_send_message(u32 msg_type, u32 key, void *data, u32 len, 84 int o2net_send_message_vec(u32 msg_type, u32 key, struct kvec *vec, 87 int o2net_register_handler(u32 msg_type, u32 key, u32 max_len,
|
H A D | tcp.c | 77 be16_to_cpu(__hdr->msg_type), be32_to_cpu(__hdr->status), \ 741 static int o2net_handler_cmp(struct o2net_msg_handler *nmh, u32 msg_type, in o2net_handler_cmp() argument 747 ret = memcmp(&nmh->nh_msg_type, &msg_type, sizeof(msg_type)); in o2net_handler_cmp() 753 o2net_handler_tree_lookup(u32 msg_type, u32 key, struct rb_node ***ret_p, in o2net_handler_tree_lookup() argument 764 cmp = o2net_handler_cmp(nmh, msg_type, key); in o2net_handler_tree_lookup() 799 int o2net_register_handler(u32 msg_type, u32 key, u32 max_len, in o2net_register_handler() argument 815 if (!msg_type) { in o2net_register_handler() 816 mlog(0, "no message type provided: %u, %p\n", msg_type, func); in o2net_register_handler() 823 msg_type, func); in o2net_register_handler() 837 nmh->nh_msg_type = msg_type; in o2net_register_handler() [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | scmi.h | 117 u8 msg_type), 118 TP_ARGS(transfer_id, msg_id, protocol_id, seq, msg_type), 125 __field(u8, msg_type) 133 __entry->msg_type = msg_type; 138 __entry->transfer_id, __entry->msg_type)
|
/openbmc/libpldm/src/oem/ibm/ |
H A D | file_io.c | 43 header.msg_type = PLDM_RESPONSE; in encode_rw_file_memory_resp() 73 header.msg_type = PLDM_REQUEST; in encode_rw_file_memory_req() 150 header.msg_type = PLDM_RESPONSE; in encode_get_file_table_resp() 182 header.msg_type = PLDM_REQUEST; in encode_get_file_table_req() 275 header.msg_type = PLDM_REQUEST; in encode_read_file_req() 331 header.msg_type = PLDM_RESPONSE; in encode_read_file_resp() 393 header.msg_type = PLDM_REQUEST; in encode_write_file_req() 444 header.msg_type = PLDM_RESPONSE; in encode_write_file_resp() 501 header.msg_type = PLDM_RESPONSE; in encode_rw_file_by_type_memory_resp() 531 header.msg_type = PLDM_REQUEST; in encode_rw_file_by_type_memory_req() [all …]
|
/openbmc/linux/sound/soc/intel/catpt/ |
H A D | messages.h | 55 #define CATPT_GLOBAL_MSG(msg_type) \ argument 56 { .global_msg_type = CATPT_GLB_##msg_type } 314 #define CATPT_STREAM_MSG(msg_type) \ argument 316 .stream_msg_type = CATPT_STRM_##msg_type, \ 318 #define CATPT_STAGE_MSG(msg_type) \ argument 320 .stage_action = CATPT_STG_##msg_type, \
|
/openbmc/libmctp/ |
H A D | control.c | 128 switch (req->msg_type) { in mctp_ctrl_get_version() 281 int mctp_control_add_type(struct mctp *mctp, uint8_t msg_type) in mctp_control_add_type() argument 285 if (mctp->control.msg_types[i] == msg_type) { in mctp_control_add_type() 294 mctp->control.msg_types[mctp->control.num_msg_types] = msg_type; in mctp_control_add_type() 299 void mctp_control_remove_type(struct mctp *mctp, uint8_t msg_type) in mctp_control_remove_type() argument 302 if (mctp->control.msg_types[i] == msg_type) { in mctp_control_remove_type()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvfw/ |
H A D | sec2.h | 19 u8 msg_type; member 40 u8 msg_type; member 68 u8 msg_type; member
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_pfvf_vf_proto.c | 113 u8 msg_type; in adf_vf2pf_blkmsg_data_req() local 119 msg_type = ADF_VF2PF_MSGTYPE_SMALL_BLOCK_REQ; in adf_vf2pf_blkmsg_data_req() 124 msg_type = ADF_VF2PF_MSGTYPE_MEDIUM_BLOCK_REQ; in adf_vf2pf_blkmsg_data_req() 130 msg_type = ADF_VF2PF_MSGTYPE_LARGE_BLOCK_REQ; in adf_vf2pf_blkmsg_data_req() 149 req.type = msg_type; in adf_vf2pf_blkmsg_data_req()
|
H A D | adf_gen2_pfvf.c | 147 static bool is_pf2vf_notification(u8 msg_type) in is_pf2vf_notification() argument 149 switch (msg_type) { in is_pf2vf_notification() 157 static bool is_vf2pf_notification(u8 msg_type) in is_vf2pf_notification() argument 159 switch (msg_type) { in is_vf2pf_notification() 173 bool (*is_notification_message)(u8 msg_type);
|
/openbmc/linux/drivers/virt/coco/sev-guest/ |
H A D | sev-guest.h | 18 enum msg_type { enum 50 u8 msg_type; member
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_protocol.c | 13 enum ipc_msg_prep_type msg_type, in ipc_protocol_tq_msg_send() argument 17 int index = ipc_protocol_msg_prep(ipc_protocol->imem, msg_type, in ipc_protocol_tq_msg_send() 38 return ipc_protocol_tq_msg_send(ipc_protocol, send_args->msg_type, in ipc_protocol_tq_msg_send_cb() 75 send_args.msg_type = prep; in ipc_protocol_msg_send()
|
/openbmc/linux/include/uapi/linux/ |
H A D | batadv_packet.h | 286 __u8 msg_type; /* see ICMP message types above */ member 309 __u8 msg_type; /* see ICMP message types above */ member 338 __u8 msg_type; /* see ICMP message types above */ member 377 __u8 msg_type; /* see ICMP message types above */ member
|