Home
last modified time | relevance | path

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

123

/drivers/net/usb/
Drndis_host.c111 u32 xid = 0, msg_len, request_id, msg_type, rsp, in rndis_command() local
118 msg_type = le32_to_cpu(buf->msg_type); in rndis_command()
121 if (likely(msg_type != RNDIS_MSG_HALT && msg_type != RNDIS_MSG_RESET)) { in rndis_command()
152 rsp = le32_to_cpu(buf->msg_type) | RNDIS_MSG_COMPLETION; in rndis_command()
163 msg_type = le32_to_cpu(buf->msg_type); in rndis_command()
167 if (likely(msg_type == rsp)) { in rndis_command()
183 } else switch (msg_type) { in rndis_command()
190 msg->msg_type = cpu_to_le32(RNDIS_MSG_KEEPALIVE_C); in rndis_command()
209 le32_to_cpu(buf->msg_type), msg_len); in rndis_command()
255 u.get->msg_type = cpu_to_le32(RNDIS_MSG_QUERY); in rndis_query()
[all …]
/drivers/infiniband/core/
Diwpm_msg.c357 const char *msg_type = "Register Pid response"; in iwpm_register_pid_cb() local
360 resp_reg_policy, nltb, msg_type)) in iwpm_register_pid_cb()
421 const char *msg_type; in iwpm_add_mapping_cb() local
424 msg_type = "Add Mapping response"; in iwpm_add_mapping_cb()
426 resp_add_policy, nltb, msg_type)) in iwpm_add_mapping_cb()
494 const char *msg_type; in iwpm_add_and_query_mapping_cb() local
498 msg_type = "Query Mapping response"; in iwpm_add_and_query_mapping_cb()
500 resp_query_policy, nltb, msg_type)) in iwpm_add_and_query_mapping_cb()
573 const char *msg_type; in iwpm_remote_info_cb() local
577 msg_type = "Remote Mapping info"; in iwpm_remote_info_cb()
[all …]
/drivers/staging/lustre/lnet/lnet/
Dlib-msg.c115 if (msg->msg_type == LNET_MSG_PUT) { in lnet_build_msg_event()
124 LASSERT(msg->msg_type == LNET_MSG_GET); in lnet_build_msg_event()
194 LASSERT(msg->msg_type == LNET_MSG_ACK); in lnet_msg_decommit_tx()
195 msg->msg_type = LNET_MSG_PUT; /* fix type */ in lnet_msg_decommit_tx()
200 if (msg->msg_type == LNET_MSG_PUT) in lnet_msg_decommit_tx()
208 LASSERT(msg->msg_type == LNET_MSG_REPLY); in lnet_msg_decommit_tx()
209 msg->msg_type = LNET_MSG_GET; /* fix type */ in lnet_msg_decommit_tx()
239 LASSERT(msg->msg_type == LNET_MSG_ACK); in lnet_msg_decommit_rx()
247 LASSERT(msg->msg_type == LNET_MSG_REPLY || in lnet_msg_decommit_rx()
248 msg->msg_type == LNET_MSG_GET); in lnet_msg_decommit_rx()
[all …]
/drivers/xen/xenbus/
Dxenbus_dev_frontend.c305 static int xenbus_write_transaction(unsigned msg_type, in xenbus_write_transaction() argument
313 if (msg_type == XS_TRANSACTION_START) { in xenbus_write_transaction()
329 if (msg_type == XS_TRANSACTION_START) in xenbus_write_transaction()
335 if (msg_type == XS_TRANSACTION_START) { in xenbus_write_transaction()
365 static int xenbus_write_watch(unsigned msg_type, struct xenbus_file_priv *u) in xenbus_write_watch() argument
384 if (msg_type == XS_WATCH) { in xenbus_write_watch()
420 .type = msg_type, in xenbus_write_watch()
441 uint32_t msg_type; in xenbus_file_write() local
507 msg_type = u->u.msg.type; in xenbus_file_write()
509 switch (msg_type) { in xenbus_file_write()
[all …]
/drivers/media/common/siano/
Dsmsendian.c35 switch (msg->x_msg_header.msg_type) { in smsendian_handle_tx_message()
62 switch (msg->x_msg_header.msg_type) { in smsendian_handle_rx_message()
98 phdr->msg_type = le16_to_cpu((__force __le16)phdr->msg_type); in smsendian_handle_message_header()
Dsmscoreapi.c846 mtu_msg.x_msg_header.msg_type = MSG_SMS_SET_MAX_TX_MSG_LEN_REQ; in smscore_configure_board()
1502 if ((phdr->msg_type == MSG_SMS_HO_PER_SLICES_IND) || in smscore_onresponse()
1503 (phdr->msg_type == MSG_SMS_TRANSMISSION_IND)) { in smscore_onresponse()
1509 client = smscore_find_client(coredev, phdr->msg_type, phdr->msg_dst_id); in smscore_onresponse()
1517 switch (phdr->msg_type) { in smscore_onresponse()
1613 smscore_translate_msg(phdr->msg_type), in smscore_onresponse()
1614 phdr->msg_type); in smscore_onresponse()
1835 msg.hdr.msg_type = MSG_SMS_GPIO_CONFIG_EX_REQ; in smscore_configure_gpio()
1882 msg.hdr.msg_type = MSG_SMS_GPIO_SET_LEVEL_REQ; in smscore_set_gpio()
1983 p_msg->x_msg_header.msg_type = MSG_SMS_GPIO_CONFIG_REQ; in smscore_gpio_configure()
[all …]
Dsmsdvb-main.c526 switch (phdr->msg_type) { in smsdvb_onresponse()
664 pid_msg.x_msg_header.msg_type = MSG_SMS_ADD_PID_FILTER_REQ; in smsdvb_start_feed()
686 pid_msg.x_msg_header.msg_type = MSG_SMS_REMOVE_PID_FILTER_REQ; in smsdvb_stop_feed()
732 msg.msg_type = MSG_SMS_GET_STATISTICS_EX_REQ; in smsdvb_send_statistics_request()
734 msg.msg_type = MSG_SMS_GET_STATISTICS_REQ; in smsdvb_send_statistics_request()
737 msg.msg_type = MSG_SMS_GET_STATISTICS_REQ; in smsdvb_send_statistics_request()
877 msg.msg.msg_type = MSG_SMS_RF_TUNE_REQ; in smsdvb_dvbt_set_frontend()
942 msg.msg.msg_type = MSG_SMS_ISDBT_TUNE_REQ; in smsdvb_isdbt_set_frontend()
/drivers/net/hyperv/
Dnetvsc.c120 revoke_packet->hdr.msg_type = in netvsc_destroy_buf()
180 revoke_packet->hdr.msg_type = in netvsc_destroy_buf()
270 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_RECV_BUF; in netvsc_init_buf()
356 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_SEND_BUF; in netvsc_init_buf()
430 init_packet->hdr.msg_type = NVSP_MSG_TYPE_INIT; in negotiate_nvsp_ver()
458 init_packet->hdr.msg_type = NVSP_MSG2_TYPE_SEND_NDIS_CONFIG; in negotiate_nvsp_ver()
515 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_NDIS_VER; in netvsc_connect_vsp()
626 if ((nvsp_packet->hdr.msg_type == NVSP_MSG_TYPE_INIT_COMPLETE) || in netvsc_send_completion()
627 (nvsp_packet->hdr.msg_type == in netvsc_send_completion()
629 (nvsp_packet->hdr.msg_type == in netvsc_send_completion()
[all …]
/drivers/net/ethernet/stmicro/stmmac/
Denh_desc.c140 if (p->des4.erx.msg_type == RDES_EXT_SYNC) in enh_desc_get_ext_status()
142 else if (p->des4.erx.msg_type == RDES_EXT_FOLLOW_UP) in enh_desc_get_ext_status()
144 else if (p->des4.erx.msg_type == RDES_EXT_DELAY_REQ) in enh_desc_get_ext_status()
146 else if (p->des4.erx.msg_type == RDES_EXT_DELAY_RESP) in enh_desc_get_ext_status()
148 else if (p->des4.erx.msg_type == RDES_EXT_PDELAY_REQ) in enh_desc_get_ext_status()
150 else if (p->des4.erx.msg_type == RDES_EXT_PDELAY_RESP) in enh_desc_get_ext_status()
152 else if (p->des4.erx.msg_type == RDES_EXT_PDELAY_FOLLOW_UP) in enh_desc_get_ext_status()
/drivers/net/wimax/i2400m/
Dcontrol.c517 unsigned msg_type; in i2400m_report_hook() local
523 msg_type = le16_to_cpu(l3l4_hdr->type); in i2400m_report_hook()
524 switch (msg_type) { in i2400m_report_hook()
717 unsigned msg_type; in i2400m_msg_to_dev() local
732 msg_type = le16_to_cpu(msg_l3l4_hdr->type); in i2400m_msg_to_dev()
734 msg_type, buf_len); in i2400m_msg_to_dev()
753 switch (msg_type) { in i2400m_msg_to_dev()
772 msg_type); in i2400m_msg_to_dev()
778 msg_type, result); in i2400m_msg_to_dev()
804 msg_type, result); in i2400m_msg_to_dev()
[all …]
Drx.c364 unsigned msg_type; in i2400m_rx_ctl() local
372 msg_type = le16_to_cpu(l3l4_hdr->type); in i2400m_rx_ctl()
374 msg_type & I2400M_MT_REPORT_MASK ? "REPORT" : "CMD/SET/GET", in i2400m_rx_ctl()
375 msg_type, size); in i2400m_rx_ctl()
377 if (msg_type & I2400M_MT_REPORT_MASK) { in i2400m_rx_ctl()
441 unsigned msg_type; in i2400m_rx_trace() local
449 msg_type = le16_to_cpu(l3l4_hdr->type); in i2400m_rx_trace()
451 msg_type & I2400M_MT_REPORT_MASK ? "REPORT" : "CMD/SET/GET", in i2400m_rx_trace()
452 msg_type, size); in i2400m_rx_trace()
/drivers/staging/lustre/lnet/selftest/
Dframework.c684 LASSERT(msg->msg_type == SRPC_MSG_TEST_REQST); in sfw_unpack_addtest_req()
1256 LASSERT(request->msg_type == srpc_service2request(sv->sv_id)); in sfw_handle_server_rpc()
1423 if (msg->msg_type == SRPC_MSG_STAT_REQST) { in sfw_unpack_message()
1432 if (msg->msg_type == SRPC_MSG_STAT_REPLY) { in sfw_unpack_message()
1443 if (msg->msg_type == SRPC_MSG_MKSN_REQST) { in sfw_unpack_message()
1452 if (msg->msg_type == SRPC_MSG_MKSN_REPLY) { in sfw_unpack_message()
1461 if (msg->msg_type == SRPC_MSG_RMSN_REQST) { in sfw_unpack_message()
1469 if (msg->msg_type == SRPC_MSG_RMSN_REPLY) { in sfw_unpack_message()
1477 if (msg->msg_type == SRPC_MSG_DEBUG_REQST) { in sfw_unpack_message()
1486 if (msg->msg_type == SRPC_MSG_DEBUG_REPLY) { in sfw_unpack_message()
[all …]
Drpc.h248 __u32 msg_type; /* type of message body: srpc_msg_type_t */ member
287 __swab32s(&msg->msg_type); in srpc_unpack_msg_hdr()
/drivers/iio/common/ssp_sensors/
Dssp_spi.c349 u8 msg_type; in ssp_irq_msg() local
368 msg_type = SSP_GET_MESSAGE_TYPE(msg_options); in ssp_irq_msg()
370 switch (msg_type) { in ssp_irq_msg()
411 if (msg_type == SSP_AP2HUB_READ) in ssp_irq_msg()
416 if (msg_type == SSP_AP2HUB_WRITE) { in ssp_irq_msg()
/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c213 cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_VERSION_REQ; in ath10k_htt_h2t_ver_req_msg()
241 cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_STATS_REQ; in ath10k_htt_h2t_stats_req()
288 cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG; in ath10k_htt_send_frag_desc_bank_cfg()
339 cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_RX_RING_CFG; in ath10k_htt_send_rx_ring_cfg_ll()
423 cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_AGGR_CFG; in ath10k_htt_h2t_aggr_cfg_msg()
498 cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_MGMT_TX; in ath10k_htt_mgmt_tx()
678 skb_cb->htt.txbuf->cmd_hdr.msg_type = HTT_H2T_MSG_TYPE_TX_FRM; in ath10k_htt_tx()
/drivers/input/serio/
Dhyperv-keyboard.c114 u32 msg_type = __le32_to_cpu(msg->header.type); in hv_kbd_on_receive() local
118 switch (msg_type) { in hv_kbd_on_receive()
186 "unhandled message type %d\n", msg_type); in hv_kbd_on_receive()
/drivers/soc/qcom/
Dsmd-rpm.c78 __le32 msg_type; member
175 switch (le32_to_cpu(msg->msg_type)) { in qcom_smd_rpm_callback()
/drivers/hid/
Dhid-nintendo.c189 enum joycon_msg_type msg_type; member
248 ctlr->msg_type = JOYCON_MSG_TYPE_USB; in joycon_send_usb()
266 ctlr->msg_type = JOYCON_MSG_TYPE_SUBCMD; in joycon_send_subcmd()
633 ctlr->msg_type != JOYCON_MSG_TYPE_NONE) { in joycon_ctlr_handle_event()
634 switch (ctlr->msg_type) { in joycon_ctlr_handle_event()
657 ctlr->msg_type = JOYCON_MSG_TYPE_NONE; in joycon_ctlr_handle_event()
/drivers/block/
Dsx8.c259 unsigned int msg_type; member
603 crq->msg_type = CARM_MSG_ARRAY; in carm_array_info()
657 crq->msg_type = ioc->type; in carm_send_special()
898 crq->msg_type = CARM_MSG_WRITE; in carm_rq_fn()
901 crq->msg_type = CARM_MSG_READ; in carm_rq_fn()
1090 if (likely(crq->msg_type == CARM_MSG_READ || in carm_handle_resp()
1091 crq->msg_type == CARM_MSG_WRITE)) { in carm_handle_resp()
1098 switch (crq->msg_type) { in carm_handle_resp()
1160 pci_name(host->pdev), crq->msg_type, crq->msg_subtype); in carm_handle_resp()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov.h26 u8 msg_type:4; member
40 u8 msg_type:4;
/drivers/media/usb/siano/
Dsmsusb.c124 smscore_translate_msg(phdr->msg_type), in smsusb_onresponse()
125 phdr->msg_type, phdr->msg_length); in smsusb_onresponse()
217 smscore_translate_msg(phdr->msg_type), phdr->msg_type, in smsusb_sendrequest()
/drivers/staging/wilc1000/
Dwilc_wlan_cfg.c511 u8 msg_type; in wilc_wlan_cfg_indicate_rx() local
514 msg_type = frame[0]; in wilc_wlan_cfg_indicate_rx()
523 switch (msg_type) { in wilc_wlan_cfg_indicate_rx()
/drivers/net/wireless/rsi/
Drsi_91x_mgmt.c1380 u16 msg_type = (msg[2]); in rsi_mgmt_pkt_recv() local
1384 __func__, msg_len, msg_type); in rsi_mgmt_pkt_recv()
1386 if (msg_type == TA_CONFIRM_TYPE) { in rsi_mgmt_pkt_recv()
1388 } else if (msg_type == CARD_READY_IND) { in rsi_mgmt_pkt_recv()
1402 } else if (msg_type == TX_STATUS_IND) { in rsi_mgmt_pkt_recv()
1409 return rsi_mgmt_pkt_to_core(common, msg, msg_len, msg_type); in rsi_mgmt_pkt_recv()
/drivers/net/ethernet/broadcom/
Dcnic_if.h331 int (*iscsi_nl_msg_recv)(struct cnic_dev *dev, u32 msg_type,
377 int (*iscsi_nl_send_msg)(void *ulp_ctx, u32 msg_type,
/drivers/gpu/drm/radeon/
Dradeon_uvd.c424 int32_t *msg, msg_type, handle; in radeon_uvd_cs_msg() local
453 msg_type = msg[1]; in radeon_uvd_cs_msg()
461 switch (msg_type) { in radeon_uvd_cs_msg()
520 DRM_ERROR("Illegal UVD message type (%d)!\n", msg_type); in radeon_uvd_cs_msg()

123