Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/misc/
Dfastrpc.c1794 struct fastrpc_munmap_req_msg req_msg; in fastrpc_req_munmap_impl() local
1799 req_msg.pgid = fl->tgid; in fastrpc_req_munmap_impl()
1800 req_msg.size = buf->size; in fastrpc_req_munmap_impl()
1801 req_msg.vaddr = buf->raddr; in fastrpc_req_munmap_impl()
1803 args[0].ptr = (u64) (uintptr_t) &req_msg; in fastrpc_req_munmap_impl()
1804 args[0].length = sizeof(req_msg); in fastrpc_req_munmap_impl()
1853 struct fastrpc_mmap_req_msg req_msg; in fastrpc_req_mmap() local
1885 req_msg.pgid = fl->tgid; in fastrpc_req_mmap()
1886 req_msg.flags = req.flags; in fastrpc_req_mmap()
1887 req_msg.vaddr = req.vaddrin; in fastrpc_req_mmap()
[all …]
/Linux-v6.6/drivers/scsi/
Dstex.c234 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 …]
/Linux-v6.6/drivers/net/wireless/ath/ath12k/
Dhtc.c556 struct ath12k_htc_conn_svc *req_msg; in ath12k_htc_connect_service() local
591 length = sizeof(*req_msg); in ath12k_htc_connect_service()
595 req_msg = (struct ath12k_htc_conn_svc *)skb->data; in ath12k_htc_connect_service()
596 req_msg->msg_svc_id = le32_encode_bits(ATH12K_HTC_MSG_CONNECT_SERVICE_ID, in ath12k_htc_connect_service()
609 req_msg->flags_len = le32_encode_bits(flags, HTC_SVC_MSG_CONNECTIONFLAGS); in ath12k_htc_connect_service()
610 req_msg->msg_svc_id |= le32_encode_bits(conn_req->service_id, in ath12k_htc_connect_service()
/Linux-v6.6/drivers/net/wireless/ath/ath11k/
Dhtc.c600 struct ath11k_htc_conn_svc *req_msg; in ath11k_htc_connect_service() local
635 length = sizeof(*req_msg); in ath11k_htc_connect_service()
639 req_msg = (struct ath11k_htc_conn_svc *)skb->data; in ath11k_htc_connect_service()
640 req_msg->msg_svc_id = FIELD_PREP(HTC_MSG_MESSAGEID, in ath11k_htc_connect_service()
658 req_msg->flags_len = FIELD_PREP(HTC_SVC_MSG_CONNECTIONFLAGS, flags); in ath11k_htc_connect_service()
659 req_msg->msg_svc_id |= FIELD_PREP(HTC_SVC_MSG_SERVICE_ID, in ath11k_htc_connect_service()
/Linux-v6.6/drivers/w1/
Dw1_netlink.c163 struct w1_netlink_msg *req_msg, struct w1_netlink_cmd *req_cmd, in w1_netlink_queue_status() argument
166 u16 space = sizeof(struct cn_msg) + sizeof(*req_msg) + sizeof(*req_cmd); in w1_netlink_queue_status()
170 memcpy(block->msg, req_msg, sizeof(*req_msg)); in w1_netlink_queue_status()
171 block->cn->len += sizeof(*req_msg); in w1_netlink_queue_status()
/Linux-v6.6/drivers/net/ethernet/microsoft/mana/
Dhw_channel.c808 struct gdma_req_hdr *req_msg; in mana_hwc_send_request() local
830 req_msg = (struct gdma_req_hdr *)tx_wr->buf_va; in mana_hwc_send_request()
832 memcpy(req_msg, req, req_len); in mana_hwc_send_request()
834 req_msg->req.hwc_msg_id = msg_id; in mana_hwc_send_request()
/Linux-v6.6/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()