Home
last modified time | relevance | path

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

/drivers/gpu/drm/virtio/
Dvirtgpu_fence.c95 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()
Dvirtgpu_drv.h423 struct virtio_gpu_ctrl_hdr *cmd_hdr,
/drivers/gpu/drm/vboxvideo/
Dvbox_mode.c301 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/
Dmlx5_vnet.c830 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/
Dfmdrv_common.c194 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/
Dhtt_tx.c1297 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 …]
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.h1868 struct htt_cmd_hdr cmd_hdr; member
1875 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()
/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
/drivers/scsi/hisi_sas/
Dhisi_sas_main.c512 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()
Dhisi_sas.h253 void *cmd_hdr; member
441 struct hisi_sas_cmd_hdr *cmd_hdr[HISI_SAS_MAX_QUEUES]; member
Dhisi_sas_v3_hw.c1220 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()
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()
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()
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()
/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c640 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/
Dwmi.c1785 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/
Dhci_qca.c983 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/
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()
/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()
/drivers/net/wireless/ath/ath11k/
Dwmi.c240 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()