/drivers/infiniband/core/ |
D | cm_msgs.h | 22 static inline enum ib_qp_type cm_req_get_qp_type(struct cm_req_msg *req_msg) in cm_req_get_qp_type() argument 24 u8 transport_type = IBA_GET(CM_REQ_TRANSPORT_SERVICE_TYPE, req_msg); in cm_req_get_qp_type() 29 switch (IBA_GET(CM_REQ_EXTENDED_TRANSPORT_TYPE, req_msg)) { in cm_req_get_qp_type() 37 static inline void cm_req_set_qp_type(struct cm_req_msg *req_msg, in cm_req_set_qp_type() argument 42 IBA_SET(CM_REQ_TRANSPORT_SERVICE_TYPE, req_msg, 1); in cm_req_set_qp_type() 45 IBA_SET(CM_REQ_TRANSPORT_SERVICE_TYPE, req_msg, 3); in cm_req_set_qp_type() 46 IBA_SET(CM_REQ_EXTENDED_TRANSPORT_TYPE, req_msg, 1); in cm_req_set_qp_type() 49 IBA_SET(CM_REQ_TRANSPORT_SERVICE_TYPE, req_msg, 0); in cm_req_set_qp_type()
|
D | cm.c | 1317 static void cm_format_req(struct cm_req_msg *req_msg, in cm_format_req() argument 1329 cm_format_mad_ece_hdr(&req_msg->hdr, CM_REQ_ATTR_ID, in cm_format_req() 1332 IBA_SET(CM_REQ_LOCAL_COMM_ID, req_msg, in cm_format_req() 1334 IBA_SET(CM_REQ_SERVICE_ID, req_msg, be64_to_cpu(param->service_id)); in cm_format_req() 1335 IBA_SET(CM_REQ_LOCAL_CA_GUID, req_msg, in cm_format_req() 1337 IBA_SET(CM_REQ_LOCAL_QPN, req_msg, param->qp_num); in cm_format_req() 1338 IBA_SET(CM_REQ_INITIATOR_DEPTH, req_msg, param->initiator_depth); in cm_format_req() 1339 IBA_SET(CM_REQ_REMOTE_CM_RESPONSE_TIMEOUT, req_msg, in cm_format_req() 1341 cm_req_set_qp_type(req_msg, param->qp_type); in cm_format_req() 1342 IBA_SET(CM_REQ_END_TO_END_FLOW_CONTROL, req_msg, param->flow_control); in cm_format_req() [all …]
|
/drivers/scsi/ |
D | stex.c | 234 struct req_msg { struct 300 struct req_msg *req; 322 struct req_msg * (*alloc_rq) (struct st_hba *); 323 int (*map_sg)(struct st_hba *, struct req_msg *, struct st_ccb *); 324 void (*send) (struct st_hba *, struct req_msg *, u16); 354 struct req_msg * (*alloc_rq) (struct st_hba *); 355 int (*map_sg)(struct st_hba *, struct req_msg *, struct st_ccb *); 356 void (*send) (struct st_hba *, struct req_msg *, u16); 410 static struct req_msg *stex_alloc_req(struct st_hba *hba) in stex_alloc_req() 412 struct req_msg *req = hba->dma_mem + hba->req_head * hba->rq_size; in stex_alloc_req() [all …]
|
/drivers/net/wireless/ath/ath11k/ |
D | htc.c | 557 struct ath11k_htc_conn_svc *req_msg; in ath11k_htc_connect_service() local 592 length = sizeof(*req_msg); in ath11k_htc_connect_service() 596 req_msg = (struct ath11k_htc_conn_svc *)skb->data; in ath11k_htc_connect_service() 597 req_msg->msg_svc_id = FIELD_PREP(HTC_MSG_MESSAGEID, in ath11k_htc_connect_service() 610 req_msg->flags_len = FIELD_PREP(HTC_SVC_MSG_CONNECTIONFLAGS, flags); in ath11k_htc_connect_service() 611 req_msg->msg_svc_id |= FIELD_PREP(HTC_SVC_MSG_SERVICE_ID, in ath11k_htc_connect_service()
|
/drivers/misc/ |
D | fastrpc.c | 1357 struct fastrpc_munmap_req_msg req_msg; in fastrpc_req_munmap_impl() local 1376 req_msg.pgid = fl->tgid; in fastrpc_req_munmap_impl() 1377 req_msg.size = buf->size; in fastrpc_req_munmap_impl() 1378 req_msg.vaddr = buf->raddr; in fastrpc_req_munmap_impl() 1380 args[0].ptr = (u64) (uintptr_t) &req_msg; in fastrpc_req_munmap_impl() 1381 args[0].length = sizeof(req_msg); in fastrpc_req_munmap_impl() 1413 struct fastrpc_mmap_req_msg req_msg; in fastrpc_req_mmap() local 1441 req_msg.pgid = fl->tgid; in fastrpc_req_mmap() 1442 req_msg.flags = req.flags; in fastrpc_req_mmap() 1443 req_msg.vaddr = req.vaddrin; in fastrpc_req_mmap() [all …]
|
/drivers/w1/ |
D | w1_netlink.c | 161 struct w1_netlink_msg *req_msg, struct w1_netlink_cmd *req_cmd, in w1_netlink_queue_status() argument 164 u16 space = sizeof(struct cn_msg) + sizeof(*req_msg) + sizeof(*req_cmd); in w1_netlink_queue_status() 168 memcpy(block->msg, req_msg, sizeof(*req_msg)); in w1_netlink_queue_status() 169 block->cn->len += sizeof(*req_msg); in w1_netlink_queue_status()
|
/drivers/net/ethernet/microsoft/mana/ |
D | hw_channel.c | 787 struct gdma_req_hdr *req_msg; in mana_hwc_send_request() local 807 req_msg = (struct gdma_req_hdr *)tx_wr->buf_va; in mana_hwc_send_request() 809 memcpy(req_msg, req, req_len); in mana_hwc_send_request() 811 req_msg->req.hwc_msg_id = msg_id; in mana_hwc_send_request()
|
/drivers/net/wireless/ath/ath10k/ |
D | htc.c | 1003 struct ath10k_htc_conn_svc *req_msg; in ath10k_htc_connect_service() local 1054 req_msg = &msg->connect_service; in ath10k_htc_connect_service() 1055 req_msg->flags = __cpu_to_le16(flags); in ath10k_htc_connect_service() 1056 req_msg->service_id = __cpu_to_le16(conn_req->service_id); in ath10k_htc_connect_service()
|