Home
last modified time | relevance | path

Searched refs:cmd_hdr (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/virtio/
Dvirtgpu_fence.c102 struct virtio_gpu_ctrl_hdr *cmd_hdr, in virtio_gpu_fence_emit() argument
116 cmd_hdr->flags |= cpu_to_le32(VIRTIO_GPU_FLAG_FENCE); in virtio_gpu_fence_emit()
117 cmd_hdr->fence_id = cpu_to_le64(fence->fence_id); in virtio_gpu_fence_emit()
121 cmd_hdr->flags |= in virtio_gpu_fence_emit()
123 cmd_hdr->ring_idx = (u8)fence->ring_idx; in virtio_gpu_fence_emit()
Dvirtgpu_drv.h441 struct virtio_gpu_ctrl_hdr *cmd_hdr,
/linux-6.1.9/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c843 void *cmd_hdr; in create_virtqueue() local
858 cmd_hdr = MLX5_ADDR_OF(create_virtio_net_q_in, in, general_obj_in_cmd_hdr); in create_virtqueue()
860 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, opcode, MLX5_CMD_OP_CREATE_GENERAL_OBJECT); in create_virtqueue()
861 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_type, MLX5_OBJ_TYPE_VIRTIO_NET_Q); in create_virtqueue()
862 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, uid, ndev->mvdev.res.uid); in create_virtqueue()
1097 void *cmd_hdr; in query_virtqueue() local
1104 cmd_hdr = MLX5_ADDR_OF(query_virtio_net_q_in, in, general_obj_in_cmd_hdr); in query_virtqueue()
1106 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, opcode, MLX5_CMD_OP_QUERY_GENERAL_OBJECT); in query_virtqueue()
1107 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_type, MLX5_OBJ_TYPE_VIRTIO_NET_Q); in query_virtqueue()
1108 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_id, mvq->virtq_id); in query_virtqueue()
[all …]
/linux-6.1.9/drivers/gpu/drm/vboxvideo/
Dvbox_mode.c303 struct vbva_cmd_hdr cmd_hdr; in vbox_primary_atomic_update() local
306 cmd_hdr.x = (s16)clips->x1; in vbox_primary_atomic_update()
307 cmd_hdr.y = (s16)clips->y1; in vbox_primary_atomic_update()
308 cmd_hdr.w = (u16)clips->x2 - clips->x1; in vbox_primary_atomic_update()
309 cmd_hdr.h = (u16)clips->y2 - clips->y1; in vbox_primary_atomic_update()
316 &cmd_hdr, sizeof(cmd_hdr)); in vbox_primary_atomic_update()
/linux-6.1.9/drivers/media/radio/wl128x/
Dfmdrv_common.c195 struct fm_cmd_msg_hdr *cmd_hdr; in dump_tx_skb_data() local
197 cmd_hdr = (struct fm_cmd_msg_hdr *)skb->data; in dump_tx_skb_data()
199 fm_cb(skb)->completion ? " " : "*", cmd_hdr->hdr, in dump_tx_skb_data()
200 cmd_hdr->len, cmd_hdr->op, in dump_tx_skb_data()
201 cmd_hdr->rd_wr ? "RD" : "WR", cmd_hdr->dlen); in dump_tx_skb_data()
205 printk(KERN_CONT "\n data(%d): ", cmd_hdr->dlen); in dump_tx_skb_data()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c1277 struct htt_cmd_hdr *cmd_hdr; in ath10k_htt_tx_hl() local
1365 skb_push(msdu, sizeof(*cmd_hdr)); in ath10k_htt_tx_hl()
1367 cmd_hdr = (struct htt_cmd_hdr *)msdu->data; in ath10k_htt_tx_hl()
1368 tx_desc = (struct htt_data_tx_desc *)(msdu->data + sizeof(*cmd_hdr)); in ath10k_htt_tx_hl()
1370 cmd_hdr->msg_type = HTT_H2T_MSG_TYPE_TX_FRM; in ath10k_htt_tx_hl()
1509 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_32()
1533 txbuf->cmd_hdr.msg_type = HTT_H2T_MSG_TYPE_TX_FRM; in ath10k_htt_tx_32()
1565 sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_32()
1716 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_64()
1743 txbuf->cmd_hdr.msg_type = HTT_H2T_MSG_TYPE_TX_FRM; in ath10k_htt_tx_64()
[all …]
Dwmi.c1813 struct wmi_cmd_hdr *cmd_hdr; in ath10k_wmi_cmd_send_nowait() local
1822 cmd_hdr = (struct wmi_cmd_hdr *)skb->data; in ath10k_wmi_cmd_send_nowait()
1823 cmd_hdr->cmd_id = __cpu_to_le32(cmd); in ath10k_wmi_cmd_send_nowait()
5850 struct wmi_cmd_hdr *cmd_hdr; in ath10k_wmi_op_rx() local
5853 cmd_hdr = (struct wmi_cmd_hdr *)skb->data; in ath10k_wmi_op_rx()
5854 id = MS(__le32_to_cpu(cmd_hdr->cmd_id), WMI_CMD_HDR_CMD_ID); in ath10k_wmi_op_rx()
5977 struct wmi_cmd_hdr *cmd_hdr; in ath10k_wmi_10_1_op_rx() local
5981 cmd_hdr = (struct wmi_cmd_hdr *)skb->data; in ath10k_wmi_10_1_op_rx()
5982 id = MS(__le32_to_cpu(cmd_hdr->cmd_id), WMI_CMD_HDR_CMD_ID); in ath10k_wmi_10_1_op_rx()
6108 struct wmi_cmd_hdr *cmd_hdr; in ath10k_wmi_10_2_op_rx() local
[all …]
Dhtt.h1755 struct htt_cmd_hdr cmd_hdr; member
1762 struct htt_cmd_hdr cmd_hdr; member
Dwmi-tlv.c629 struct wmi_cmd_hdr *cmd_hdr; in ath10k_wmi_tlv_op_rx() local
633 cmd_hdr = (struct wmi_cmd_hdr *)skb->data; in ath10k_wmi_tlv_op_rx()
634 id = MS(__le32_to_cpu(cmd_hdr->cmd_id), WMI_CMD_HDR_CMD_ID); in ath10k_wmi_tlv_op_rx()
/linux-6.1.9/drivers/vfio/pci/mlx5/
Dcmd.c489 void *cmd_hdr; in mlx5vf_create_tracker() local
506 cmd_hdr = MLX5_ADDR_OF(create_page_track_obj_in, in, in mlx5vf_create_tracker()
508 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, opcode, in mlx5vf_create_tracker()
510 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_type, in mlx5vf_create_tracker()
577 void *cmd_hdr; in mlx5vf_cmd_modify_tracker() local
579 cmd_hdr = MLX5_ADDR_OF(modify_page_track_obj_in, in, general_obj_in_cmd_hdr); in mlx5vf_cmd_modify_tracker()
580 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, opcode, MLX5_CMD_OP_MODIFY_GENERAL_OBJECT); in mlx5vf_cmd_modify_tracker()
581 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_type, MLX5_OBJ_TYPE_PAGE_TRACK); in mlx5vf_cmd_modify_tracker()
582 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_id, tracker_id); in mlx5vf_cmd_modify_tracker()
/linux-6.1.9/drivers/staging/rtl8712/
Drtl8712_xmit.c271 struct cmd_hdr *pcmd_hdr = (struct cmd_hdr *) in r8712_construct_txaggr_cmd_hdr()
360 struct cmd_hdr *pcmd_hdr = (struct cmd_hdr *) in r8712_dump_aggr_xframe()
Drtl8712_cmd.h22 struct cmd_hdr { struct
/linux-6.1.9/drivers/scsi/hisi_sas/
Dhisi_sas.h246 void *cmd_hdr; member
433 struct hisi_sas_cmd_hdr *cmd_hdr[HISI_SAS_MAX_QUEUES]; member
Dhisi_sas_main.c419 cmd_hdr_base = hisi_hba->cmd_hdr[dlvry_queue]; in hisi_sas_task_deliver()
420 slot->cmd_hdr = &cmd_hdr_base[dlvry_queue_slot]; in hisi_sas_task_deliver()
424 memset(slot->cmd_hdr, 0, sizeof(struct hisi_sas_cmd_hdr)); in hisi_sas_task_deliver()
2065 struct hisi_sas_cmd_hdr *cmd_hdr = hisi_hba->cmd_hdr[i]; in hisi_sas_init_mem() local
2069 memset(&cmd_hdr[j], 0, s); in hisi_sas_init_mem()
2130 hisi_hba->cmd_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2133 if (!hisi_hba->cmd_hdr[i]) in hisi_sas_alloc()
Dhisi_sas_v3_hw.c1221 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_ssp_v3_hw()
1343 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_smp_v3_hw()
1385 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_ata_v3_hw()
1463 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_abort_v3_hw()
3291 struct hisi_sas_cmd_hdr *debugfs_cmd_hdr, *cmd_hdr; in debugfs_snapshot_dq_reg_v3_hw() local
3295 cmd_hdr = hisi_hba->cmd_hdr[i]; in debugfs_snapshot_dq_reg_v3_hw()
3298 memcpy(&debugfs_cmd_hdr[j], &cmd_hdr[j], in debugfs_snapshot_dq_reg_v3_hw()
3528 __le32 *cmd_hdr = cmd_queue + in debugfs_dq_show_slot_v3_hw() local
3532 cmd_hdr); in debugfs_dq_show_slot_v3_hw()
Dhisi_sas_v2_hw.c1700 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_smp_v2_hw()
1739 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_ssp_v2_hw()
2489 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_ata_v2_hw()
2609 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_abort_v2_hw()
Dhisi_sas_v1_hw.c917 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_smp_v1_hw()
955 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_ssp_v1_hw()
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c660 struct enetc_msg_cmd_header *cmd_hdr; in enetc_msg_handle_rxmsg() local
664 cmd_hdr = (struct enetc_msg_cmd_header *)msg->vaddr; in enetc_msg_handle_rxmsg()
665 cmd_type = cmd_hdr->type; in enetc_msg_handle_rxmsg()
/linux-6.1.9/drivers/net/wireless/ath/ath6kl/
Dwmi.c1782 struct wmi_cmd_hdr *cmd_hdr; in ath6kl_wmi_cmd_send() local
1814 cmd_hdr = (struct wmi_cmd_hdr *) skb->data; in ath6kl_wmi_cmd_send()
1815 cmd_hdr->cmd_id = cpu_to_le16(cmd_id); in ath6kl_wmi_cmd_send()
1817 cmd_hdr->info1 = cpu_to_le16(info1); in ath6kl_wmi_cmd_send()
3000 struct wmix_cmd_hdr *cmd_hdr; in ath6kl_wmi_cmd_send_xtnd() local
3005 cmd_hdr = (struct wmix_cmd_hdr *) skb->data; in ath6kl_wmi_cmd_send_xtnd()
3006 cmd_hdr->cmd_id = cpu_to_le32(cmd_id); in ath6kl_wmi_cmd_send_xtnd()
/linux-6.1.9/drivers/bluetooth/
Dhci_qca.c979 struct qca_memdump_event_hdr *cmd_hdr; in qca_controller_memdump() local
1013 cmd_hdr = (void *) skb->data; in qca_controller_memdump()
1014 seq_no = __le16_to_cpu(cmd_hdr->seq_no); in qca_controller_memdump()
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c346 static void ocrdma_init_mch(struct ocrdma_mbx_hdr *cmd_hdr, in ocrdma_init_mch() argument
349 cmd_hdr->subsys_op = (opcode | (subsys << OCRDMA_MCH_SUBSYS_SHIFT)); in ocrdma_init_mch()
350 cmd_hdr->timeout = 20; /* seconds */ in ocrdma_init_mch()
351 cmd_hdr->cmd_len = cmd_len - sizeof(struct ocrdma_mbx_hdr); in ocrdma_init_mch()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c2099 const struct fw_cmd_hdr *cmd_hdr = (const struct fw_cmd_hdr *)rpl; in t4vf_handle_fw_rpl() local
2100 u8 opcode = FW_CMD_OP_G(be32_to_cpu(cmd_hdr->hi)); in t4vf_handle_fw_rpl()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dwmi.c257 struct wmi_cmd_hdr *cmd_hdr; in ath11k_wmi_cmd_send_nowait() local
266 cmd_hdr = (struct wmi_cmd_hdr *)skb->data; in ath11k_wmi_cmd_send_nowait()
267 cmd_hdr->cmd_id = cmd; in ath11k_wmi_cmd_send_nowait()
8019 struct wmi_cmd_hdr *cmd_hdr; in ath11k_wmi_tlv_op_rx() local
8022 cmd_hdr = (struct wmi_cmd_hdr *)skb->data; in ath11k_wmi_tlv_op_rx()
8023 id = FIELD_GET(WMI_CMD_HDR_CMD_ID, (cmd_hdr->cmd_id)); in ath11k_wmi_tlv_op_rx()