Home
last modified time | relevance | path

Searched refs:msgtype (Results 1 – 19 of 19) sorted by relevance

/drivers/hv/
Dchannel_mgmt.c423 msg.header.msgtype = CHANNELMSG_RELID_RELEASED; in vmbus_release_relid()
856 if (hdr->msgtype == CHANNELMSG_UNLOAD_RESPONSE) in vmbus_wait_for_unload()
922 hdr.msgtype = CHANNELMSG_UNLOAD; in vmbus_initiate_unload()
1324 if (requestheader->msgtype == CHANNELMSG_OPENCHANNEL) { in vmbus_onopen_result()
1371 if (requestheader->msgtype == CHANNELMSG_GPADL_HEADER) { in vmbus_ongpadl_created()
1415 if (responseheader->msgtype == CHANNELMSG_MODIFYCHANNEL) { in vmbus_onmodifychannel_response()
1460 if (requestheader->msgtype == CHANNELMSG_GPADL_TEARDOWN) { in vmbus_ongpadl_torndown()
1503 if (requestheader->msgtype == in vmbus_onversion_response()
1564 channel_message_table[hdr->msgtype].message_handler(hdr); in vmbus_onmessage()
1584 msg->msgtype = CHANNELMSG_REQUESTOFFERS; in vmbus_request_offers()
Dchannel.c200 conn_msg.header.msgtype = CHANNELMSG_TL_CONNECT_REQUEST; in vmbus_send_tl_connect_request()
218 msg.header.msgtype = CHANNELMSG_MODIFYCHANNEL; in send_modifychannel_without_ack()
245 msg->header.msgtype = CHANNELMSG_MODIFYCHANNEL; in send_modifychannel_with_ack()
481 gpadlmsg->header.msgtype = CHANNELMSG_GPADL_HEADER; in __vmbus_establish_gpadl()
510 gpadl_body->header.msgtype = in __vmbus_establish_gpadl()
701 open_msg->header.msgtype = CHANNELMSG_OPENCHANNEL; in __vmbus_open()
826 msg->header.msgtype = CHANNELMSG_GPADL_TEARDOWN; in vmbus_teardown_gpadl()
919 msg->header.msgtype = CHANNELMSG_CLOSECHANNEL; in vmbus_close_internal()
Dhv_trace.h14 TP_STRUCT__entry(__field(unsigned int, msgtype)),
15 TP_fast_assign(__entry->msgtype = hdr->msgtype;),
16 TP_printk("msgtype=%u", __entry->msgtype)
Dconnection.c83 msg->header.msgtype = CHANNELMSG_INITIATE_CONTACT; in vmbus_negotiate_version()
409 if (hdr->msgtype == CHANNELMSG_INITIATE_CONTACT) in vmbus_post_msg()
Dvmbus_drv.c1078 enum vmbus_channel_message_type msgtype; in vmbus_on_msg_dpc() local
1105 msgtype = hdr->msgtype; in vmbus_on_msg_dpc()
1109 if (msgtype >= CHANNELMSG_COUNT) { in vmbus_on_msg_dpc()
1110 WARN_ONCE(1, "unknown msgtype=%d\n", msgtype); in vmbus_on_msg_dpc()
1120 entry = &channel_message_table[msgtype]; in vmbus_on_msg_dpc()
1126 WARN_ONCE(1, "message too short: msgtype=%d len=%d\n", msgtype, payload_size); in vmbus_on_msg_dpc()
1145 switch (msgtype) { in vmbus_on_msg_dpc()
1232 rescind->header.msgtype = CHANNELMSG_RESCIND_CHANNELOFFER; in vmbus_force_channel_rescinded()
/drivers/scsi/
Dscsi_netlink.c82 switch (hdr->msgtype) { in scsi_nl_rcv_msg()
93 __func__, hdr->msgtype, err); in scsi_nl_rcv_msg()
Dnsp32.c1940 unsigned char msgtype; in nsp32_msgin_occur() local
1954 msgtype = data->msginbuf[0]; in nsp32_msgin_occur()
1957 data->msgin_len, msg, msgtype); in nsp32_msgin_occur()
1971 if (msgtype & 0x80) { in nsp32_msgin_occur()
1977 newlun = msgtype & 0x1f; /* TODO: SPI-3 compliant? */ in nsp32_msgin_occur()
1991 switch (msgtype) { in nsp32_msgin_occur()
2067 "unsupported message: 0x%x", msgtype); in nsp32_msgin_occur()
2220 msg, data->msgin_len, msgtype); in nsp32_msgin_occur()
/drivers/ptp/
Dptp_ines.c440 u8 msgtype; in ines_match() local
450 msgtype = ptp_get_msgtype(hdr, ptp_class); in ines_match()
455 if (tag_to_msgtype(ts->tag & 0x7) != msgtype) { in ines_match()
457 tag_to_msgtype(ts->tag & 0x7), msgtype); in ines_match()
673 u8 msgtype; in is_sync_pdelay_resp() local
679 msgtype = ptp_get_msgtype(hdr, type); in is_sync_pdelay_resp()
681 switch (msgtype) { in is_sync_pdelay_resp()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c76 u8 msgtype; member
452 request->msg.msgtype = MSGBUF_TYPE_IOCTLPTR_REQ; in brcmf_msgbuf_tx_ioctl()
622 create->msg.msgtype = MSGBUF_TYPE_FLOW_RING_CREATE; in brcmf_msgbuf_flowring_create_worker()
744 tx_msghdr->msg.msgtype = MSGBUF_TYPE_TX_POST; in brcmf_msgbuf_txflow()
957 rx_bufpost->msg.msgtype = MSGBUF_TYPE_RXBUF_POST; in brcmf_msgbuf_rxbuf_data_post()
1054 rx_bufpost->msg.msgtype = MSGBUF_TYPE_EVENT_BUF_POST; in brcmf_msgbuf_rxbuf_ctrl_post()
1056 rx_bufpost->msg.msgtype = in brcmf_msgbuf_rxbuf_ctrl_post()
1290 switch (msg->msgtype) { in brcmf_msgbuf_process_msgtype()
1327 bphy_err(drvr, "Unsupported msgtype %d\n", msg->msgtype); in brcmf_msgbuf_process_msgtype()
1427 delete->msg.msgtype = MSGBUF_TYPE_FLOW_RING_DELETE; in brcmf_msgbuf_delete_flowring()
/drivers/net/phy/
Ddp83640.c84 u16 msgtype; /* messageType[3:0], hash[11:0] */ member
99 u8 msgtype; member
283 rxts->msgtype = (p->msgtype >> 12) & 0xf; in phy2rxts()
284 rxts->hash = p->msgtype & 0x0fff; in phy2rxts()
815 u8 msgtype; in match() local
825 msgtype = ptp_get_msgtype(hdr, type); in match()
827 if (rxts->msgtype != (msgtype & 0xf)) in match()
/drivers/net/ethernet/ti/
Dcpts.c450 u8 msgtype; in cpts_skb_get_mtype_seqid() local
460 msgtype = ptp_get_msgtype(hdr, ptp_class); in cpts_skb_get_mtype_seqid()
463 *mtype_seqid = (msgtype & MESSAGE_TYPE_MASK) << MESSAGE_TYPE_SHIFT; in cpts_skb_get_mtype_seqid()
Dam65-cpts.c754 u8 msgtype; in am65_skb_get_mtype_seqid() local
764 msgtype = ptp_get_msgtype(hdr, ptp_class); in am65_skb_get_mtype_seqid()
767 *mtype_seqid = (msgtype << AM65_CPTS_EVENT_1_MESSAGE_TYPE_SHIFT) & in am65_skb_get_mtype_seqid()
/drivers/net/ethernet/freescale/enetc/
Denetc.c92 u8 *msgtype, u8 *twostep, in enetc_ptp_parse() argument
114 *msgtype = ptp_get_msgtype(hdr, ptp_class); in enetc_ptp_parse()
132 u8 msgtype, twostep, udp; in enetc_map_tx_buffs() local
162 if (enetc_ptp_parse(skb, &udp, &msgtype, &twostep, &offset1, in enetc_map_tx_buffs()
164 msgtype != PTP_MSGTYPE_SYNC || twostep) in enetc_map_tx_buffs()
365 u8 udp, msgtype, twostep; in enetc_xmit() local
378 if (enetc_ptp_parse(skb, &udp, &msgtype, &twostep, in enetc_xmit()
380 msgtype != PTP_MSGTYPE_SYNC || twostep != 0) in enetc_xmit()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c655 u8 *msgtype, u8 *twostep, u8 *udp, in dpaa2_eth_ptp_parse() argument
672 *msgtype = ptp_get_msgtype(hdr, ptp_class); in dpaa2_eth_ptp_parse()
697 u8 msgtype, twostep, udp; in dpaa2_eth_enable_tx_tstamp() local
722 if (dpaa2_eth_ptp_parse(skb, &msgtype, &twostep, &udp, in dpaa2_eth_enable_tx_tstamp()
724 msgtype != PTP_MSGTYPE_SYNC || twostep) { in dpaa2_eth_enable_tx_tstamp()
1230 u8 msgtype, twostep, udp; in dpaa2_eth_tx() local
1245 if (!dpaa2_eth_ptp_parse(skb, &msgtype, &twostep, &udp, in dpaa2_eth_tx()
1247 if (msgtype == PTP_MSGTYPE_SYNC && twostep == 0) { in dpaa2_eth_tx()
/drivers/media/usb/tm6000/
Dtm6000-cards.c1146 char *msgtype, in get_max_endpoint() argument
1163 msgtype, curr_e->desc.bEndpointAddress, in get_max_endpoint()
/drivers/net/ethernet/mscc/
Docelot.c611 u8 msgtype, twostep; in ocelot_ptp_is_onestep_sync() local
617 msgtype = ptp_get_msgtype(hdr, ptp_class); in ocelot_ptp_is_onestep_sync()
620 if (msgtype == PTP_MSGTYPE_SYNC && twostep == 0) in ocelot_ptp_is_onestep_sync()
/drivers/media/common/siano/
Dsmscoreapi.h1105 char *smscore_translate_msg(enum msg_types msgtype);
Dsmscoreapi.c372 char *smscore_translate_msg(enum msg_types msgtype) in smscore_translate_msg() argument
374 int i = msgtype - MSG_TYPE_BASE_VAL; in smscore_translate_msg()
/drivers/net/ethernet/cadence/
Dmacb_main.c1168 u8 msgtype; in ptp_one_step_sync() local
1186 msgtype = ptp_get_msgtype(hdr, ptp_class); in ptp_one_step_sync()
1187 if (msgtype == PTP_MSGTYPE_SYNC) in ptp_one_step_sync()