Home
last modified time | relevance | path

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

1234

/drivers/net/usb/
Drndis_host.c99 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 …]
/drivers/net/hyperv/
Dnetvsc_trace.h50 __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))
Dnetvsc.c48 init_pkt->hdr.msg_type = NVSP_MSG4_TYPE_SWITCH_DATA_PATH; in netvsc_switch_datapath()
202 revoke_packet->hdr.msg_type = in netvsc_revoke_recv_buf()
252 revoke_packet->hdr.msg_type = in netvsc_revoke_send_buf()
400 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_RECV_BUF; in netvsc_init_buf()
514 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_SEND_BUF; in netvsc_init_buf()
592 init_packet->hdr.msg_type = NVSP_MSG_TYPE_INIT; in negotiate_nvsp_ver()
618 init_packet->hdr.msg_type = NVSP_MSG2_TYPE_SEND_NDIS_CONFIG; in negotiate_nvsp_ver()
690 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_NDIS_VER; in netvsc_connect_vsp()
869 switch (pkt_rqst->hdr.msg_type) { in netvsc_send_completion()
887 switch (nvsp_packet->hdr.msg_type) { in netvsc_send_completion()
[all …]
/drivers/infiniband/core/
Diwpm_msg.c394 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 …]
/drivers/xen/xenbus/
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 …]
/drivers/net/ethernet/microsoft/mana/
Dshm_channel.c48 u8 msg_type : 3; member
95 static int mana_smc_read_response(struct shm_channel *sc, u32 msg_type, in mana_smc_read_response() argument
113 if (hdr.msg_type != msg_type || hdr.msg_version > msg_version || in mana_smc_read_response()
116 hdr.as_uint32, msg_type, msg_version); in mana_smc_read_response()
228 hdr->msg_type = SMC_MSG_TYPE_ESTABLISH_HWC; in mana_smc_setup_hwc()
268 hdr.msg_type = SMC_MSG_TYPE_DESTROY_HWC; in mana_smc_teardown_hwc()
/drivers/media/common/siano/
Dsmsendian.c24 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()
Dsmscoreapi.c840 mtu_msg.x_msg_header.msg_type = MSG_SMS_SET_MAX_TX_MSG_LEN_REQ; in smscore_configure_board()
1499 if ((phdr->msg_type == MSG_SMS_HO_PER_SLICES_IND) || in smscore_onresponse()
1500 (phdr->msg_type == MSG_SMS_TRANSMISSION_IND)) { in smscore_onresponse()
1506 client = smscore_find_client(coredev, phdr->msg_type, phdr->msg_dst_id); in smscore_onresponse()
1514 switch (phdr->msg_type) { in smscore_onresponse()
1610 smscore_translate_msg(phdr->msg_type), in smscore_onresponse()
1611 phdr->msg_type); in smscore_onresponse()
1829 msg.hdr.msg_type = MSG_SMS_GPIO_CONFIG_EX_REQ; in smscore_configure_gpio()
1876 msg.hdr.msg_type = MSG_SMS_GPIO_SET_LEVEL_REQ; in smscore_set_gpio()
1977 p_msg->x_msg_header.msg_type = MSG_SMS_GPIO_CONFIG_REQ; in smscore_gpio_configure()
[all …]
Dsmsdvb-main.c551 switch (phdr->msg_type) { in smsdvb_onresponse()
690 pid_msg.x_msg_header.msg_type = MSG_SMS_ADD_PID_FILTER_REQ; in smsdvb_start_feed()
712 pid_msg.x_msg_header.msg_type = MSG_SMS_REMOVE_PID_FILTER_REQ; in smsdvb_stop_feed()
758 msg.msg_type = MSG_SMS_GET_STATISTICS_EX_REQ; in smsdvb_send_statistics_request()
760 msg.msg_type = MSG_SMS_GET_STATISTICS_REQ; in smsdvb_send_statistics_request()
763 msg.msg_type = MSG_SMS_GET_STATISTICS_REQ; in smsdvb_send_statistics_request()
903 msg.msg.msg_type = MSG_SMS_RF_TUNE_REQ; in smsdvb_dvbt_set_frontend()
968 msg.msg.msg_type = MSG_SMS_ISDBT_TUNE_REQ; in smsdvb_isdbt_set_frontend()
/drivers/crypto/qat/qat_common/
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()
Dadf_gen2_pfvf.c145 static bool is_pf2vf_notification(u8 msg_type) in is_pf2vf_notification() argument
147 switch (msg_type) { in is_pf2vf_notification()
155 static bool is_vf2pf_notification(u8 msg_type) in is_vf2pf_notification() argument
157 switch (msg_type) { in is_vf2pf_notification()
171 bool (*is_notification_message)(u8 msg_type);
/drivers/net/wwan/iosm/
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()
Diosm_ipc_protocol.h139 enum ipc_msg_prep_type msg_type; member
153 enum ipc_msg_prep_type msg_type,
/drivers/virt/coco/sev-guest/
Dsev-guest.h18 enum msg_type { enum
50 u8 msg_type; member
Dsev-guest.c290 resp_hdr->msg_seqno, resp_hdr->msg_type, resp_hdr->msg_version, resp_hdr->msg_sz); in verify_and_dec_payload()
300 if (resp_hdr->msg_type != (req_hdr->msg_type + 1) || in verify_and_dec_payload()
326 hdr->msg_type = type; in enc_payload()
337 hdr->msg_seqno, hdr->msg_type, hdr->msg_version, hdr->msg_sz); in enc_payload()
/drivers/gpu/drm/nouveau/include/nvfw/
Dsec2.h18 u8 msg_type; member
44 u8 msg_type; member
Dpmu.h30 u8 msg_type; member
56 u8 msg_type; member
/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c565 u8 msg_type = 0; in ath10k_htt_htc_tx_complete() local
569 msg_type = htt_hdr->msg_type; in ath10k_htt_htc_tx_complete()
571 if (msg_type == HTT_H2T_MSG_TYPE_TX_FRM) { in ath10k_htt_htc_tx_complete()
582 if ((!htt->disable_tx_comp) || (msg_type != HTT_H2T_MSG_TYPE_TX_FRM)) in ath10k_htt_htc_tx_complete()
620 cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_VERSION_REQ; in ath10k_htt_h2t_ver_req_msg()
649 cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_STATS_REQ; in ath10k_htt_h2t_stats_req()
699 cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG; in ath10k_htt_send_frag_desc_bank_cfg_32()
761 cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG; in ath10k_htt_send_frag_desc_bank_cfg_64()
846 cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_RX_RING_CFG; in ath10k_htt_send_rx_ring_cfg_32()
918 cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_RX_RING_CFG; in ath10k_htt_send_rx_ring_cfg_64()
[all …]
/drivers/iio/common/ssp_sensors/
Dssp_spi.c335 u8 msg_type; in ssp_irq_msg() local
354 msg_type = SSP_GET_MESSAGE_TYPE(msg_options); in ssp_irq_msg()
356 switch (msg_type) { in ssp_irq_msg()
397 if (msg_type == SSP_AP2HUB_READ) in ssp_irq_msg()
402 if (msg_type == SSP_AP2HUB_WRITE) { in ssp_irq_msg()
/drivers/firmware/arm_scmi/
Ddriver.c474 u8 msg_type, in scmi_msg_response_validate() argument
483 if (msg_type == MSG_TYPE_DELAYED_RESP && !xfer->async_done) { in scmi_msg_response_validate()
492 if (msg_type == MSG_TYPE_DELAYED_RESP) { in scmi_msg_response_validate()
506 if (msg_type != MSG_TYPE_DELAYED_RESP) in scmi_msg_response_validate()
529 static inline void scmi_xfer_state_update(struct scmi_xfer *xfer, u8 msg_type) in scmi_xfer_state_update() argument
531 xfer->hdr.type = msg_type; in scmi_xfer_state_update()
569 u8 msg_type = MSG_XTRACT_TYPE(msg_hdr); in scmi_xfer_command_acquire() local
578 xfer_id, msg_type); in scmi_xfer_command_acquire()
586 ret = scmi_msg_response_validate(cinfo, msg_type, xfer); in scmi_xfer_command_acquire()
596 scmi_xfer_state_update(xfer, msg_type); in scmi_xfer_command_acquire()
[all …]
/drivers/input/serio/
Dhyperv-keyboard.c106 u32 msg_type = __le32_to_cpu(msg->header.type); in hv_kbd_on_receive() local
110 switch (msg_type) { in hv_kbd_on_receive()
178 "unhandled message type %d\n", msg_type); in hv_kbd_on_receive()
/drivers/peci/
Drequest.c327 __ep_pci_cfg_read(struct peci_device *device, u8 msg_type, u8 seg, in __ep_pci_cfg_read() argument
343 req->tx.buf[2] = msg_type; in __ep_pci_cfg_read()
456 #define __read_ep_pci_config(x, msg_type, type) \ argument
460 return __ep_pci_cfg_read(device, msg_type, seg, bus, dev, func, reg, sizeof(type)); \
/drivers/net/wireless/rsi/
Drsi_91x_coex.c71 u8 msg_type = msg[RSI_RX_DESC_MSG_TYPE_OFFSET]; in rsi_coex_recv_pkt() local
73 switch (msg_type) { in rsi_coex_recv_pkt()
/drivers/soc/qcom/
Dsmd-rpm.c74 __le32 msg_type; member
174 switch (le32_to_cpu(msg->msg_type)) { in qcom_smd_rpm_callback()
/drivers/media/usb/siano/
Dsmsusb.c129 smscore_translate_msg(phdr->msg_type), in smsusb_onresponse()
130 phdr->msg_type, phdr->msg_length); in smsusb_onresponse()
224 smscore_translate_msg(phdr->msg_type), phdr->msg_type, in smsusb_sendrequest()

1234