Home
last modified time | relevance | path

Searched refs:req_msg (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/core/
Dcm_msgs.h110 static inline __be32 cm_req_get_local_qpn(struct cm_req_msg *req_msg) in cm_req_get_local_qpn() argument
112 return cpu_to_be32(be32_to_cpu(req_msg->offset32) >> 8); in cm_req_get_local_qpn()
115 static inline void cm_req_set_local_qpn(struct cm_req_msg *req_msg, __be32 qpn) in cm_req_set_local_qpn() argument
117 req_msg->offset32 = cpu_to_be32((be32_to_cpu(qpn) << 8) | in cm_req_set_local_qpn()
118 (be32_to_cpu(req_msg->offset32) & in cm_req_set_local_qpn()
122 static inline u8 cm_req_get_resp_res(struct cm_req_msg *req_msg) in cm_req_get_resp_res() argument
124 return (u8) be32_to_cpu(req_msg->offset32); in cm_req_get_resp_res()
127 static inline void cm_req_set_resp_res(struct cm_req_msg *req_msg, u8 resp_res) in cm_req_set_resp_res() argument
129 req_msg->offset32 = cpu_to_be32(resp_res | in cm_req_set_resp_res()
130 (be32_to_cpu(req_msg->offset32) & in cm_req_set_resp_res()
[all …]
Dcm.c1123 static void cm_format_req(struct cm_req_msg *req_msg, in cm_format_req() argument
1130 cm_format_mad_hdr(&req_msg->hdr, CM_REQ_ATTR_ID, in cm_format_req()
1133 req_msg->local_comm_id = cm_id_priv->id.local_id; in cm_format_req()
1134 req_msg->service_id = param->service_id; in cm_format_req()
1135 req_msg->local_ca_guid = cm_id_priv->id.device->node_guid; in cm_format_req()
1136 cm_req_set_local_qpn(req_msg, cpu_to_be32(param->qp_num)); in cm_format_req()
1137 cm_req_set_init_depth(req_msg, param->initiator_depth); in cm_format_req()
1138 cm_req_set_remote_resp_timeout(req_msg, in cm_format_req()
1140 cm_req_set_qp_type(req_msg, param->qp_type); in cm_format_req()
1141 cm_req_set_flow_ctrl(req_msg, param->flow_control); in cm_format_req()
[all …]
/drivers/scsi/
Dstex.c226 struct req_msg { struct
292 struct req_msg *req;
314 struct req_msg * (*alloc_rq) (struct st_hba *);
315 int (*map_sg)(struct st_hba *, struct req_msg *, struct st_ccb *);
316 void (*send) (struct st_hba *, struct req_msg *, u16);
345 struct req_msg * (*alloc_rq) (struct st_hba *);
346 int (*map_sg)(struct st_hba *, struct req_msg *, struct st_ccb *);
347 void (*send) (struct st_hba *, struct req_msg *, u16);
398 static struct req_msg *stex_alloc_req(struct st_hba *hba) in stex_alloc_req()
400 struct req_msg *req = hba->dma_mem + hba->req_head * hba->rq_size; in stex_alloc_req()
[all …]
/drivers/w1/
Dw1_netlink.c180 struct w1_netlink_msg *req_msg, struct w1_netlink_cmd *req_cmd, in w1_netlink_queue_status() argument
183 u16 space = sizeof(struct cn_msg) + sizeof(*req_msg) + sizeof(*req_cmd); in w1_netlink_queue_status()
187 memcpy(block->msg, req_msg, sizeof(*req_msg)); in w1_netlink_queue_status()
188 block->cn->len += sizeof(*req_msg); in w1_netlink_queue_status()
/drivers/net/wireless/ath/ath10k/
Dhtc.c604 struct ath10k_htc_conn_svc *req_msg; in ath10k_htc_connect_service() local
655 req_msg = &msg->connect_service; in ath10k_htc_connect_service()
656 req_msg->flags = __cpu_to_le16(flags); in ath10k_htc_connect_service()
657 req_msg->service_id = __cpu_to_le16(conn_req->service_id); in ath10k_htc_connect_service()