Home
last modified time | relevance | path

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

12

/drivers/net/usb/
Drndis_host.c120 if (likely(buf->msg_type != RNDIS_MSG_HALT && in rndis_command()
121 buf->msg_type != RNDIS_MSG_RESET)) { in rndis_command()
152 rsp = buf->msg_type | RNDIS_MSG_COMPLETION; in rndis_command()
165 if (likely(buf->msg_type == rsp)) { in rndis_command()
181 } else switch (buf->msg_type) { in rndis_command()
189 msg->msg_type = RNDIS_MSG_KEEPALIVE_C; in rndis_command()
208 le32_to_cpu(buf->msg_type), msg_len); in rndis_command()
254 u.get->msg_type = RNDIS_MSG_QUERY; in rndis_query()
327 u.init->msg_type = RNDIS_MSG_INIT; in generic_rndis_bind()
433 u.set->msg_type = RNDIS_MSG_SET; in generic_rndis_bind()
[all …]
/drivers/staging/ramster/
Dr2net.c64 u16 msgtype = be16_to_cpu(msg->msg_type); in ramster_remote_async_get_request_handler()
117 u16 msgtype = be16_to_cpu(msg->msg_type); in ramster_remote_put_handler()
164 u32 msg_type; in ramster_remote_async_get() local
176 msg_type = RMSTR_TMEM_ASYNC_GET_AND_FREE_REQUEST; in ramster_remote_async_get()
178 msg_type = RMSTR_TMEM_ASYNC_GET_REQUEST; in ramster_remote_async_get()
179 ret = r2net_send_message_vec(msg_type, RMSTR_KEY, in ramster_remote_async_get()
229 u32 msg_type; in ramster_remote_put() local
254 msg_type = RMSTR_TMEM_PUT_EPH; in ramster_remote_put()
256 msg_type = RMSTR_TMEM_PUT_PERS; in ramster_remote_put()
262 ret = r2net_send_message_vec(msg_type, RMSTR_KEY, vec, veclen, in ramster_remote_put()
/drivers/xen/xenbus/
Dxenbus_dev_frontend.c303 static int xenbus_write_transaction(unsigned msg_type, in xenbus_write_transaction() argument
311 if (msg_type == XS_TRANSACTION_START) { in xenbus_write_transaction()
326 if (msg_type == XS_TRANSACTION_START) { in xenbus_write_transaction()
330 } else if (msg_type == XS_TRANSACTION_END) { in xenbus_write_transaction()
358 static int xenbus_write_watch(unsigned msg_type, struct xenbus_file_priv *u) in xenbus_write_watch() argument
377 if (msg_type == XS_WATCH) { in xenbus_write_watch()
413 .type = msg_type, in xenbus_write_watch()
434 uint32_t msg_type; in xenbus_file_write() local
500 msg_type = u->u.msg.type; in xenbus_file_write()
502 switch (msg_type) { in xenbus_file_write()
[all …]
/drivers/net/hyperv/
Dnetvsc.c100 revoke_packet->hdr.msg_type = in netvsc_destroy_recv_buf()
196 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_RECV_BUF; in netvsc_init_recv_buf()
273 init_packet->hdr.msg_type = NVSP_MSG_TYPE_INIT; in negotiate_nvsp_ver()
301 init_packet->hdr.msg_type = NVSP_MSG2_TYPE_SEND_NDIS_CONFIG; in negotiate_nvsp_ver()
347 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_NDIS_VER; in netvsc_connect_vsp()
447 if ((nvsp_packet->hdr.msg_type == NVSP_MSG_TYPE_INIT_COMPLETE) || in netvsc_send_completion()
448 (nvsp_packet->hdr.msg_type == in netvsc_send_completion()
450 (nvsp_packet->hdr.msg_type == in netvsc_send_completion()
456 } else if (nvsp_packet->hdr.msg_type == in netvsc_send_completion()
472 "%d received!!\n", nvsp_packet->hdr.msg_type); in netvsc_send_completion()
[all …]
Drndis_filter.c76 u32 msg_type, in get_rndis_request() argument
91 rndis_msg->ndis_msg_type = msg_type; in get_rndis_request()
Dhyperv_net.h208 u32 msg_type; member
/drivers/staging/ramster/cluster/
Dtcp.h43 __be16 msg_type; member
99 int r2net_send_message(u32 msg_type, u32 key, void *data, u32 len,
101 int r2net_send_message_vec(u32 msg_type, u32 key, struct kvec *vec,
104 int r2net_register_handler(u32 msg_type, u32 key, u32 max_len,
Dtcp.c87 be16_to_cpu(__hdr->msg_type), be32_to_cpu(__hdr->status), \
759 static int r2net_handler_cmp(struct r2net_msg_handler *nmh, u32 msg_type, in r2net_handler_cmp() argument
765 ret = memcmp(&nmh->nh_msg_type, &msg_type, sizeof(msg_type)); in r2net_handler_cmp()
771 r2net_handler_tree_lookup(u32 msg_type, u32 key, struct rb_node ***ret_p, in r2net_handler_tree_lookup() argument
782 cmp = r2net_handler_cmp(nmh, msg_type, key); in r2net_handler_tree_lookup()
817 int r2net_register_handler(u32 msg_type, u32 key, u32 max_len, in r2net_register_handler() argument
833 if (!msg_type) { in r2net_register_handler()
834 mlog(0, "no message type provided: %u, %p\n", msg_type, func); in r2net_register_handler()
841 msg_type, func); in r2net_register_handler()
855 nmh->nh_msg_type = msg_type; in r2net_register_handler()
[all …]
/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/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/broadcom/
Dcnic_if.h294 int (*iscsi_nl_msg_recv)(struct cnic_dev *dev, u32 msg_type,
336 int (*iscsi_nl_send_msg)(void *ulp_ctx, u32 msg_type,
Dcnic.c304 u32 msg_type = ISCSI_KEVENT_IF_DOWN; in cnic_send_nlmsg() local
317 msg_type = ISCSI_KEVENT_PATH_REQ; in cnic_send_nlmsg()
339 msg_type, buf, len); in cnic_send_nlmsg()
341 if (rc == 0 || msg_type != ISCSI_KEVENT_PATH_REQ) in cnic_send_nlmsg()
352 static int cnic_iscsi_nl_msg_recv(struct cnic_dev *dev, u32 msg_type, in cnic_iscsi_nl_msg_recv() argument
357 switch (msg_type) { in cnic_iscsi_nl_msg_recv()
/drivers/misc/sgi-xp/
Dxpc_uv.c673 int msg_type) in xpc_send_activate_IRQ_uv() argument
683 msg_hdr->type = msg_type; in xpc_send_activate_IRQ_uv()
729 size_t msg_size, int msg_type) in xpc_send_activate_IRQ_part_uv() argument
733 ret = xpc_send_activate_IRQ_uv(part, msg, msg_size, msg_type); in xpc_send_activate_IRQ_part_uv()
740 void *msg, size_t msg_size, int msg_type) in xpc_send_activate_IRQ_ch_uv() argument
745 ret = xpc_send_activate_IRQ_uv(part, msg, msg_size, msg_type); in xpc_send_activate_IRQ_ch_uv()
/drivers/scsi/dpt/
Ddpti_i2o.h114 u8 msg_type; member
/drivers/net/wireless/
Dray_cs.c88 UCHAR msg_type, unsigned char *data);
879 UCHAR msg_type) in ray_hw_xmit() argument
907 if (msg_type == DATA_TYPE) { in ray_hw_xmit()
914 ray_build_header(local, ptx, msg_type, data); in ray_hw_xmit()
987 UCHAR msg_type, unsigned char *data) in ray_build_header() argument
989 writeb(PROTOCOL_VER | msg_type, &ptx->mac.frame_ctl_1); in ray_build_header()
Drndis_wlan.c785 u.get->msg_type = RNDIS_MSG_QUERY; in rndis_query_oid()
869 u.set->msg_type = RNDIS_MSG_SET; in rndis_set_oid()
911 reset->msg_type = RNDIS_MSG_RESET; in rndis_reset()
/drivers/scsi/aic7xxx/
Daic7xxx_core.c1192 ahc->msg_type = MSG_TYPE_INITIATOR_MSGOUT; in ahc_handle_seqint()
1252 if (ahc->msg_type == MSG_TYPE_NONE) { in ahc_handle_seqint()
1285 ahc->msg_type = in ahc_handle_seqint()
1293 ahc->msg_type = in ahc_handle_seqint()
1705 if (ahc->msg_type != MSG_TYPE_NONE) in ahc_handle_scsiint()
2954 ahc->msg_type = MSG_TYPE_INITIATOR_MSGOUT; in ahc_setup_initiator_msgout()
3124 ahc->msg_type = MSG_TYPE_NONE; in ahc_clear_msg_state()
3221 ahc->msg_type = MSG_TYPE_INITIATOR_MSGOUT; in ahc_handle_proto_violation()
3246 switch (ahc->msg_type) { in ahc_handle_message_phase()
3280 ahc->msg_type = MSG_TYPE_INITIATOR_MSGIN; in ahc_handle_message_phase()
[all …]
Daic79xx_core.c2032 ahd->msg_type = MSG_TYPE_INITIATOR_MSGOUT; in ahd_handle_seqint()
2077 if (ahd->msg_type == MSG_TYPE_NONE) { in ahd_handle_seqint()
2105 ahd->msg_type = in ahd_handle_seqint()
2113 ahd->msg_type = in ahd_handle_seqint()
2161 ahd->msg_type = MSG_TYPE_INITIATOR_MSGOUT; in ahd_handle_seqint()
3405 ahd->msg_type = MSG_TYPE_INITIATOR_MSGOUT; in ahd_handle_proto_violation()
3997 if (ahd->msg_type != MSG_TYPE_NONE) { in ahd_set_syncrate()
4419 ahd->msg_type = MSG_TYPE_INITIATOR_MSGOUT; in ahd_setup_initiator_msgout()
4430 ahd->msg_type = MSG_TYPE_INITIATOR_MSGOUT; in ahd_setup_initiator_msgout()
4514 ahd->msg_type = MSG_TYPE_INITIATOR_MSGOUT; in ahd_setup_initiator_msgout()
[all …]
Daic7xxx.h1035 ahc_msg_type msg_type; member
Daic79xx.h1197 ahd_msg_type msg_type; member
/drivers/message/i2o/
Diop.c880 systab->iops[count].msg_type = sb->msg_type; in i2o_systab_build()
/drivers/scsi/
Dscsi_transport_iscsi.c1791 struct iscsi_uevent *ev, int msg_type) in iscsi_if_ep_connect() argument
1801 if (msg_type == ISCSI_UEVENT_TRANSPORT_EP_CONNECT_THROUGH_HOST) { in iscsi_if_ep_connect()
1852 struct iscsi_uevent *ev, int msg_type) in iscsi_if_transport_ep() argument
1857 switch (msg_type) { in iscsi_if_transport_ep()
1860 rc = iscsi_if_ep_connect(transport, ev, msg_type); in iscsi_if_transport_ep()
Daic7xxx_old.c955 unsigned char msg_type; member
3597 p->msg_type = MSG_TYPE_NONE; in aic7xxx_reset_channel()
3995 p->msg_type = MSG_TYPE_INITIATOR_MSGIN; in aic7xxx_handle_seqint()
4596 p->msg_type = MSG_TYPE_INITIATOR_MSGOUT; in aic7xxx_handle_seqint()
5531 switch(p->msg_type) in aic7xxx_handle_reqinit()
5545 p->msg_type = MSG_TYPE_NONE; in aic7xxx_handle_reqinit()
5619 p->msg_type = MSG_TYPE_NONE; in aic7xxx_handle_reqinit()
10848 p->msg_type = MSG_TYPE_NONE; in aic7xxx_reset()
/drivers/net/wireless/ath/ath6kl/
Dwmi.h2074 u8 msg_type; member
2374 u8 msg_type, u32 flags,

12