/drivers/gpu/drm/virtio/ |
D | virtgpu_fence.c | 95 struct virtio_gpu_ctrl_hdr *cmd_hdr, in virtio_gpu_fence_emit() argument 109 cmd_hdr->flags |= cpu_to_le32(VIRTIO_GPU_FLAG_FENCE); in virtio_gpu_fence_emit() 110 cmd_hdr->fence_id = cpu_to_le64(fence->fence_id); in virtio_gpu_fence_emit()
|
D | virtgpu_drv.h | 423 struct virtio_gpu_ctrl_hdr *cmd_hdr,
|
/drivers/gpu/drm/vboxvideo/ |
D | vbox_mode.c | 301 struct vbva_cmd_hdr cmd_hdr; in vbox_primary_atomic_update() local 304 cmd_hdr.x = (s16)clips->x1; in vbox_primary_atomic_update() 305 cmd_hdr.y = (s16)clips->y1; in vbox_primary_atomic_update() 306 cmd_hdr.w = (u16)clips->x2 - clips->x1; in vbox_primary_atomic_update() 307 cmd_hdr.h = (u16)clips->y2 - clips->y1; in vbox_primary_atomic_update() 314 &cmd_hdr, sizeof(cmd_hdr)); in vbox_primary_atomic_update()
|
/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 830 void *cmd_hdr; in create_virtqueue() local 845 cmd_hdr = MLX5_ADDR_OF(create_virtio_net_q_in, in, general_obj_in_cmd_hdr); in create_virtqueue() 847 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, opcode, MLX5_CMD_OP_CREATE_GENERAL_OBJECT); in create_virtqueue() 848 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_type, MLX5_OBJ_TYPE_VIRTIO_NET_Q); in create_virtqueue() 849 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, uid, ndev->mvdev.res.uid); in create_virtqueue() 1080 void *cmd_hdr; in query_virtqueue() local 1087 cmd_hdr = MLX5_ADDR_OF(query_virtio_net_q_in, in, general_obj_in_cmd_hdr); in query_virtqueue() 1089 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, opcode, MLX5_CMD_OP_QUERY_GENERAL_OBJECT); in query_virtqueue() 1090 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_type, MLX5_OBJ_TYPE_VIRTIO_NET_Q); in query_virtqueue() 1091 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_id, mvq->virtq_id); in query_virtqueue() [all …]
|
/drivers/media/radio/wl128x/ |
D | fmdrv_common.c | 194 struct fm_cmd_msg_hdr *cmd_hdr; in dump_tx_skb_data() local 196 cmd_hdr = (struct fm_cmd_msg_hdr *)skb->data; in dump_tx_skb_data() 198 fm_cb(skb)->completion ? " " : "*", cmd_hdr->hdr, in dump_tx_skb_data() 199 cmd_hdr->len, cmd_hdr->op, in dump_tx_skb_data() 200 cmd_hdr->rd_wr ? "RD" : "WR", cmd_hdr->dlen); in dump_tx_skb_data() 204 printk(KERN_CONT "\n data(%d): ", cmd_hdr->dlen); in dump_tx_skb_data()
|
/drivers/net/wireless/ath/ath10k/ |
D | htt_tx.c | 1297 struct htt_cmd_hdr *cmd_hdr; in ath10k_htt_tx_hl() local 1382 skb_push(msdu, sizeof(*cmd_hdr)); in ath10k_htt_tx_hl() 1384 cmd_hdr = (struct htt_cmd_hdr *)msdu->data; in ath10k_htt_tx_hl() 1385 tx_desc = (struct htt_data_tx_desc *)(msdu->data + sizeof(*cmd_hdr)); in ath10k_htt_tx_hl() 1387 cmd_hdr->msg_type = HTT_H2T_MSG_TYPE_TX_FRM; in ath10k_htt_tx_hl() 1523 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_32() 1547 txbuf->cmd_hdr.msg_type = HTT_H2T_MSG_TYPE_TX_FRM; in ath10k_htt_tx_32() 1579 sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_32() 1727 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_64() 1754 txbuf->cmd_hdr.msg_type = HTT_H2T_MSG_TYPE_TX_FRM; in ath10k_htt_tx_64() [all …]
|
D | wmi.c | 1813 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 …]
|
D | htt.h | 1868 struct htt_cmd_hdr cmd_hdr; member 1875 struct htt_cmd_hdr cmd_hdr; member
|
D | wmi-tlv.c | 629 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()
|
/drivers/staging/rtl8712/ |
D | rtl8712_xmit.c | 271 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()
|
D | rtl8712_cmd.h | 22 struct cmd_hdr { struct
|
/drivers/scsi/hisi_sas/ |
D | hisi_sas_main.c | 512 cmd_hdr_base = hisi_hba->cmd_hdr[dlvry_queue]; in hisi_sas_task_prep() 513 slot->cmd_hdr = &cmd_hdr_base[dlvry_queue_slot]; in hisi_sas_task_prep() 520 memset(slot->cmd_hdr, 0, sizeof(struct hisi_sas_cmd_hdr)); in hisi_sas_task_prep() 2022 cmd_hdr_base = hisi_hba->cmd_hdr[dlvry_queue]; in hisi_sas_internal_abort_task_exec() 2023 slot->cmd_hdr = &cmd_hdr_base[dlvry_queue_slot]; in hisi_sas_internal_abort_task_exec() 2029 memset(slot->cmd_hdr, 0, sizeof(struct hisi_sas_cmd_hdr)); in hisi_sas_internal_abort_task_exec() 2332 struct hisi_sas_cmd_hdr *cmd_hdr = hisi_hba->cmd_hdr[i]; in hisi_sas_init_mem() local 2336 memset(&cmd_hdr[j], 0, s); in hisi_sas_init_mem() 2397 hisi_hba->cmd_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc() 2400 if (!hisi_hba->cmd_hdr[i]) in hisi_sas_alloc()
|
D | hisi_sas.h | 253 void *cmd_hdr; member 441 struct hisi_sas_cmd_hdr *cmd_hdr[HISI_SAS_MAX_QUEUES]; member
|
D | hisi_sas_v3_hw.c | 1220 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_ssp_v3_hw() 1342 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_smp_v3_hw() 1384 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_ata_v3_hw() 1462 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_abort_v3_hw() 3298 struct hisi_sas_cmd_hdr *debugfs_cmd_hdr, *cmd_hdr; in debugfs_snapshot_dq_reg_v3_hw() local 3302 cmd_hdr = hisi_hba->cmd_hdr[i]; in debugfs_snapshot_dq_reg_v3_hw() 3305 memcpy(&debugfs_cmd_hdr[j], &cmd_hdr[j], in debugfs_snapshot_dq_reg_v3_hw() 3535 __le32 *cmd_hdr = cmd_queue + in debugfs_dq_show_slot_v3_hw() local 3539 cmd_hdr); in debugfs_dq_show_slot_v3_hw()
|
D | hisi_sas_v2_hw.c | 1700 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() 2499 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_ata_v2_hw() 2618 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_abort_v2_hw()
|
D | hisi_sas_v1_hw.c | 917 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()
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.c | 640 struct enetc_msg_cmd_header *cmd_hdr; in enetc_msg_handle_rxmsg() local 644 cmd_hdr = (struct enetc_msg_cmd_header *)msg->vaddr; in enetc_msg_handle_rxmsg() 645 cmd_type = cmd_hdr->type; in enetc_msg_handle_rxmsg()
|
/drivers/net/wireless/ath/ath6kl/ |
D | wmi.c | 1785 struct wmi_cmd_hdr *cmd_hdr; in ath6kl_wmi_cmd_send() local 1817 cmd_hdr = (struct wmi_cmd_hdr *) skb->data; in ath6kl_wmi_cmd_send() 1818 cmd_hdr->cmd_id = cpu_to_le16(cmd_id); in ath6kl_wmi_cmd_send() 1820 cmd_hdr->info1 = cpu_to_le16(info1); in ath6kl_wmi_cmd_send() 3014 struct wmix_cmd_hdr *cmd_hdr; in ath6kl_wmi_cmd_send_xtnd() local 3019 cmd_hdr = (struct wmix_cmd_hdr *) skb->data; in ath6kl_wmi_cmd_send_xtnd() 3020 cmd_hdr->cmd_id = cpu_to_le32(cmd_id); in ath6kl_wmi_cmd_send_xtnd()
|
/drivers/bluetooth/ |
D | hci_qca.c | 983 struct qca_memdump_event_hdr *cmd_hdr; in qca_controller_memdump() local 1017 cmd_hdr = (void *) skb->data; in qca_controller_memdump() 1018 seq_no = __le16_to_cpu(cmd_hdr->seq_no); in qca_controller_memdump()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.c | 346 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()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 2099 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()
|
/drivers/net/wireless/ath/ath11k/ |
D | wmi.c | 240 struct wmi_cmd_hdr *cmd_hdr; in ath11k_wmi_cmd_send_nowait() local 249 cmd_hdr = (struct wmi_cmd_hdr *)skb->data; in ath11k_wmi_cmd_send_nowait() 250 cmd_hdr->cmd_id = cmd; in ath11k_wmi_cmd_send_nowait() 6995 struct wmi_cmd_hdr *cmd_hdr; in ath11k_wmi_tlv_op_rx() local 6998 cmd_hdr = (struct wmi_cmd_hdr *)skb->data; in ath11k_wmi_tlv_op_rx() 6999 id = FIELD_GET(WMI_CMD_HDR_CMD_ID, (cmd_hdr->cmd_id)); in ath11k_wmi_tlv_op_rx()
|