Home
last modified time | relevance | path

Searched refs:msg_type (Results 1 – 25 of 131) sorted by relevance

123456

/linux/include/linux/usb/
H A Drndis_host.h24 __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_RESE member
140 __le32 msg_type; /* RNDIS_MSG_RESET_C */ global() member
148 __le32 msg_type; /* RNDIS_MSG_INDICATE */ global() member
160 __le32 msg_type; /* RNDIS_MSG_KEEPALIVE */ global() member
167 __le32 msg_type; /* RNDIS_MSG_KEEPALIVE_C */ global() member
[all...]
/linux/sound/firewire/motu/
H A Dmotu-register-dsp-message-parser.c127 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()
166 u8 msg_type = (b[MSG_FLAG_POS] & MSG_FLAG_TYPE_MASK) >> MSG_FLAG_TYPE_SHIFT; in snd_motu_register_dsp_message_parser_parse() local
171 switch (msg_type) { in snd_motu_register_dsp_message_parser_parse()
191 if (msg_type != parser->prev_mixer_src_type) in snd_motu_register_dsp_message_parser_parse()
195 parser->prev_mixer_src_type = msg_type; in snd_motu_register_dsp_message_parser_parse()
201 switch (msg_type) { in snd_motu_register_dsp_message_parser_parse()
204 queue_event(motu, msg_type, mixer_ch, mixer_src_ch, val); in snd_motu_register_dsp_message_parser_parse()
210 queue_event(motu, msg_type, mixer_ch, mixer_src_ch, val); in snd_motu_register_dsp_message_parser_parse()
216 queue_event(motu, msg_type, mixer_c in snd_motu_register_dsp_message_parser_parse()
[all...]
/linux/drivers/net/ethernet/cisco/enic/
H A Denic_mbox.c21 static void enic_mbox_fill_hdr(struct enic_mbox_hdr *hdr, u8 msg_type, in enic_mbox_fill_hdr() argument
26 hdr->msg_type = msg_type; in enic_mbox_fill_hdr()
31 static int enic_mbox_send_msg_id(struct enic *enic, u8 msg_type, in enic_mbox_send_msg_id() argument
88 enic_mbox_fill_hdr(buf, msg_type, dst_vnic_id, total_len, msg_num); in enic_mbox_send_msg_id()
146 msg_type, dst_vnic_id); in enic_mbox_send_msg_id()
157 msg_type, dst_vnic_id, vlan_tag, err); in enic_mbox_send_msg_id()
172 int enic_mbox_send_msg(struct enic *enic, u8 msg_type, u16 dst_vnic_id, in enic_mbox_send_msg() argument
175 return enic_mbox_send_msg_id(enic, msg_type, dst_vnic_id, payload, in enic_mbox_send_msg()
179 static int enic_mbox_send_reply(struct enic *enic, u8 msg_type, in enic_mbox_send_reply() argument
183 return enic_mbox_send_msg_id(enic, msg_type, dst_vnic_id, payload, in enic_mbox_send_reply()
[all …]
H A Denic_mbox.h31 u8 msg_type; member
88 int enic_mbox_send_msg(struct enic *enic, u8 msg_type, u16 dst_vnic_id,
/linux/drivers/net/usb/
H A Drndis_host.c100 u32 xid = 0, msg_len, request_id, msg_type, rsp, in rndis_command() local
107 msg_type = le32_to_cpu(buf->msg_type); in rndis_command()
110 if (likely(msg_type != RNDIS_MSG_HALT && msg_type != RNDIS_MSG_RESET)) { in rndis_command()
141 rsp = le32_to_cpu(buf->msg_type) | RNDIS_MSG_COMPLETION; in rndis_command()
152 msg_type = le32_to_cpu(buf->msg_type); in rndis_command()
156 if (likely(msg_type == rsp)) { in rndis_command()
172 } else switch (msg_type) { in rndis_command()
509 u32 msg_type, msg_len, data_offset, data_len; rndis_rx_fixup() local
[all...]
/linux/drivers/net/ethernet/microsoft/mana/
H A Dshm_channel.c49 u8 msg_type : 3; member
91 static int mana_smc_read_response(struct shm_channel *sc, u32 msg_type, in mana_smc_read_response() argument
109 if (hdr.msg_type != msg_type || hdr.msg_version > msg_version || in mana_smc_read_response()
112 hdr.as_uint32, msg_type, msg_version); in mana_smc_read_response()
224 hdr->msg_type = SMC_MSG_TYPE_ESTABLISH_HWC; in mana_smc_setup_hwc()
264 hdr.msg_type = SMC_MSG_TYPE_DESTROY_HWC; in mana_smc_teardown_hwc()
/linux/drivers/xen/xenbus/
H A Dxenbus_dev_frontend.c420 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 …]
/linux/arch/powerpc/platforms/powernv/
H A Dopal.c268 static void dequeue_replay_msg(enum opal_msg_type msg_type) in dequeue_replay_msg() argument
273 if (be32_to_cpu(msg_node->msg.msg_type) != msg_type) in dequeue_replay_msg()
276 atomic_notifier_call_chain(&opal_msg_notifier_head[msg_type], in dequeue_replay_msg()
277 msg_type, in dequeue_replay_msg()
290 int opal_message_notifier_register(enum opal_msg_type msg_type, in opal_message_notifier_register() argument
296 if (!nb || msg_type >= OPAL_MSG_TYPE_MAX) { in opal_message_notifier_register()
298 __func__, msg_type); in opal_message_notifier_register()
304 &opal_msg_notifier_head[msg_type], nb); in opal_message_notifier_register()
312 dequeue_replay_msg(msg_type); in opal_message_notifier_register()
320 int opal_message_notifier_unregister(enum opal_msg_type msg_type, in opal_message_notifier_unregister() argument
[all …]
H A Dopal-power.c79 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()
H A Dopal-memory-errors.c88 unsigned long msg_type, void *msg) in opal_memory_err_event() argument
93 if (msg_type != OPAL_MSG_MEM_ERR) in opal_memory_err_event()
/linux/drivers/media/common/siano/
H A Dsmsendian.c25 switch (msg->x_msg_header.msg_type) { in smsendian_handle_tx_message()
52 switch (msg->x_msg_header.msg_type) { in smsendian_handle_rx_message()
89 phdr->msg_type = le16_to_cpu((__force __le16)phdr->msg_type); in smsendian_handle_message_header()
/linux/include/trace/events/
H A Dscmi.h121 u8 msg_type),
122 TP_ARGS(transfer_id, msg_id, protocol_id, seq, msg_type),
129 __field(u8, msg_type)
137 __entry->msg_type = msg_type;
140 TP_printk("pt=%02X msg_id=%02X seq=%04X transfer_id=%X msg_type=%u",
142 __entry->transfer_id, __entry->msg_type)
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_fw.c275 else if (fbd->cmpl_data[i]->msg_type == cmpl_data->msg_type) in fbnic_mbx_clear_cmpl_slot()
389 fbnic_fw_get_cmpl_by_type(struct fbnic_dev *fbd, u32 msg_type) in fbnic_fw_get_cmpl_by_type()
398 fbd->cmpl_data[i]->msg_type == msg_type) {
444 * @msg_type: ENUM value indicating message type to send in fbnic_fw_xmit_simple_msg()
459 static int fbnic_fw_xmit_simple_msg(struct fbnic_dev *fbd, u32 msg_type) in fbnic_fw_xmit_simple_msg()
467 msg = fbnic_tlv_msg_alloc(msg_type); in fbnic_mbx_init_desc_ring()
937 u32 msg_type;
941 msg_type
373 fbnic_fw_get_cmpl_by_type(struct fbnic_dev * fbd,u32 msg_type) fbnic_fw_get_cmpl_by_type() argument
443 fbnic_fw_xmit_simple_msg(struct fbnic_dev * fbd,u32 msg_type) fbnic_fw_xmit_simple_msg() argument
901 u32 msg_type; fbnic_fw_parse_coredump_info_resp() local
994 u32 msg_type; fbnic_fw_parse_coredump_resp() local
1106 u32 msg_type; fbnic_fw_parse_fw_start_upgrade_resp() local
1183 u32 msg_type; fbnic_fw_parse_fw_write_chunk_req() local
1215 u32 msg_type; fbnic_fw_parse_fw_finish_upgrade_req() local
2059 __fbnic_fw_alloc_cmpl(u32 msg_type,size_t priv_size) __fbnic_fw_alloc_cmpl() argument
2075 fbnic_fw_alloc_cmpl(u32 msg_type) fbnic_fw_alloc_cmpl() argument
[all...]
H A Dfbnic_fw.h78 u32 msg_type;
169 struct fbnic_fw_completion *__fbnic_fw_alloc_cmpl(u32 msg_type,
171 struct fbnic_fw_completion *fbnic_fw_alloc_cmpl(u32 msg_type);
67 u32 msg_type; global() member
/linux/sound/soc/intel/catpt/
H A Dmessages.h55 #define CATPT_GLOBAL_MSG(msg_type) \ argument
56 { .global_msg_type = CATPT_GLB_##msg_type }
317 #define CATPT_STREAM_MSG(msg_type) \
319 .stream_msg_type = CATPT_STRM_##msg_type, \
321 #define CATPT_STAGE_MSG(msg_type) \
323 .stage_action = CATPT_STG_##msg_type, \
314 CATPT_STREAM_MSG(msg_type) global() argument
318 CATPT_STAGE_MSG(msg_type) global() argument
/linux/drivers/gpu/drm/nouveau/include/nvfw/
H A Dsec2.h19 u8 msg_type; member
40 u8 msg_type; member
68 u8 msg_type; member
H A Dpmu.h30 u8 msg_type; member
56 u8 msg_type; member
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_pfvf_vf_proto.c113 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 Dadf_gen2_pfvf.c147 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);
/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_protocol.c13 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()
H A Diosm_ipc_protocol.h139 enum ipc_msg_prep_type msg_type; member
153 enum ipc_msg_prep_type msg_type,
/linux/include/uapi/linux/
H A Dbatadv_packet.h299 __u8 msg_type; /* see ICMP message types above */ member
322 __u8 msg_type; /* see ICMP message types above */ member
351 __u8 msg_type; /* see ICMP message types above */ member
390 __u8 msg_type; /* see ICMP message types above */ member
/linux/drivers/accel/qaic/
H A Dqaic_timesync.c37 * @msg_type: sub-type of the timesync message.
44 u8 msg_type;
150 sync_msg->header.msg_type = QAIC_TS_SYNC_REQ; in qaic_timesync_timer()
277 switch (data.hdr.msg_type) { in qaic_boot_timesync_worker()
284 req->header.msg_type = QAIC_TS_SYNC_REQ; in qaic_boot_timesync_worker()
299 dev_err(&mhi_dev->dev, "Invalid message type %u.\n", data.hdr.msg_type); in qaic_boot_timesync_worker()
43 u8 msg_type; global() member
/linux/drivers/net/hyperv/
H A Dnetvsc.c51 init_pkt->hdr.msg_type = NVSP_MSG4_TYPE_SWITCH_DATA_PATH; in netvsc_switch_datapath()
222 revoke_packet->hdr.msg_type = in netvsc_revoke_recv_buf()
272 revoke_packet->hdr.msg_type = in netvsc_revoke_send_buf()
412 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_RECV_BUF; in netvsc_init_buf()
519 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_SEND_BUF; in netvsc_init_buf()
597 init_packet->hdr.msg_type = NVSP_MSG_TYPE_INIT; in negotiate_nvsp_ver()
623 init_packet->hdr.msg_type = NVSP_MSG2_TYPE_SEND_NDIS_CONFIG; in negotiate_nvsp_ver()
692 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_NDIS_VER; in netvsc_connect_vsp()
856 switch (pkt_rqst->hdr.msg_type) { in netvsc_send_completion()
874 switch (nvsp_packet->hdr.msg_type) { in netvsc_send_completion()
[all...]
/linux/net/tipc/
H A Dmsg.h380 static inline u32 msg_type(struct tipc_msg *m) in msg_type() function
392 int mtyp = msg_type(m); in msg_in_group()
399 return msg_type(m) == TIPC_GRP_MEMBER_EVT; in msg_is_grp_evt()
404 return msg_type(m) == TIPC_NAMED_MSG; in msg_named()
409 int mtyp = msg_type(m); in msg_mcast()
417 return msg_type(m) == TIPC_CONN_MSG; in msg_connected()
422 return msg_type(m) == TIPC_DIRECT_MSG; in msg_direct()
1104 if (msg_type(m) == STATE_MSG) in msg_peer_link_is_up()
1118 return (msg_user(hdr) == LINK_PROTOCOL) && (msg_type(hdr) == RESET_MSG); in msg_is_reset()

123456