Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/core/
Dcm_msgs.h22 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()
Dcm.c1301 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/
Dfastrpc.c1613 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/
Dstex.c230 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/
Dhtc.c592 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/
Dw1_netlink.c161 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/
Dhw_channel.c787 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/
Dhtc.c1017 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()