/linux-6.1.9/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 | 1301 static void cm_format_req(struct cm_req_msg *req_msg, in cm_format_req() argument 1314 cm_format_mad_ece_hdr(&req_msg->hdr, CM_REQ_ATTR_ID, in cm_format_req() 1317 IBA_SET(CM_REQ_LOCAL_COMM_ID, req_msg, in cm_format_req() 1319 IBA_SET(CM_REQ_SERVICE_ID, req_msg, be64_to_cpu(param->service_id)); in cm_format_req() 1320 IBA_SET(CM_REQ_LOCAL_CA_GUID, req_msg, in cm_format_req() 1322 IBA_SET(CM_REQ_LOCAL_QPN, req_msg, param->qp_num); in cm_format_req() 1323 IBA_SET(CM_REQ_INITIATOR_DEPTH, req_msg, param->initiator_depth); in cm_format_req() 1324 IBA_SET(CM_REQ_REMOTE_CM_RESPONSE_TIMEOUT, req_msg, in cm_format_req() 1326 cm_req_set_qp_type(req_msg, param->qp_type); in cm_format_req() 1327 IBA_SET(CM_REQ_END_TO_END_FLOW_CONTROL, req_msg, param->flow_control); in cm_format_req() [all …]
|
/linux-6.1.9/drivers/misc/ |
D | fastrpc.c | 1613 struct fastrpc_munmap_req_msg req_msg; in fastrpc_req_munmap_impl() local 1632 req_msg.pgid = fl->tgid; in fastrpc_req_munmap_impl() 1633 req_msg.size = buf->size; in fastrpc_req_munmap_impl() 1634 req_msg.vaddr = buf->raddr; in fastrpc_req_munmap_impl() 1636 args[0].ptr = (u64) (uintptr_t) &req_msg; in fastrpc_req_munmap_impl() 1637 args[0].length = sizeof(req_msg); in fastrpc_req_munmap_impl() 1669 struct fastrpc_mmap_req_msg req_msg; in fastrpc_req_mmap() local 1697 req_msg.pgid = fl->tgid; in fastrpc_req_mmap() 1698 req_msg.flags = req.flags; in fastrpc_req_mmap() 1699 req_msg.vaddr = req.vaddrin; in fastrpc_req_mmap() [all …]
|
/linux-6.1.9/drivers/scsi/ |
D | stex.c | 230 struct req_msg { struct 296 struct req_msg *req; 318 struct req_msg * (*alloc_rq) (struct st_hba *); 319 int (*map_sg)(struct st_hba *, struct req_msg *, struct st_ccb *); 320 void (*send) (struct st_hba *, struct req_msg *, u16); 350 struct req_msg * (*alloc_rq) (struct st_hba *); 351 int (*map_sg)(struct st_hba *, struct req_msg *, struct st_ccb *); 352 void (*send) (struct st_hba *, struct req_msg *, u16); 406 static struct req_msg *stex_alloc_req(struct st_hba *hba) in stex_alloc_req() 408 struct req_msg *req = hba->dma_mem + hba->req_head * hba->rq_size; in stex_alloc_req() [all …]
|
/linux-6.1.9/drivers/net/wireless/ath/ath11k/ |
D | htc.c | 592 struct ath11k_htc_conn_svc *req_msg; in ath11k_htc_connect_service() local 627 length = sizeof(*req_msg); in ath11k_htc_connect_service() 631 req_msg = (struct ath11k_htc_conn_svc *)skb->data; in ath11k_htc_connect_service() 632 req_msg->msg_svc_id = FIELD_PREP(HTC_MSG_MESSAGEID, in ath11k_htc_connect_service() 650 req_msg->flags_len = FIELD_PREP(HTC_SVC_MSG_CONNECTIONFLAGS, flags); in ath11k_htc_connect_service() 651 req_msg->msg_svc_id |= FIELD_PREP(HTC_SVC_MSG_SERVICE_ID, in ath11k_htc_connect_service()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/net/ethernet/microsoft/mana/ |
D | hw_channel.c | 787 struct gdma_req_hdr *req_msg; in mana_hwc_send_request() local 809 req_msg = (struct gdma_req_hdr *)tx_wr->buf_va; in mana_hwc_send_request() 811 memcpy(req_msg, req, req_len); in mana_hwc_send_request() 813 req_msg->req.hwc_msg_id = msg_id; in mana_hwc_send_request()
|
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | htc.c | 1017 struct ath10k_htc_conn_svc *req_msg; in ath10k_htc_connect_service() local 1068 req_msg = &msg->connect_service; in ath10k_htc_connect_service() 1069 req_msg->flags = __cpu_to_le16(flags); in ath10k_htc_connect_service() 1070 req_msg->service_id = __cpu_to_le16(conn_req->service_id); in ath10k_htc_connect_service()
|