Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/virtio/
Dvirtgpu_fence.c96 struct virtio_gpu_ctrl_hdr *cmd_hdr, in virtio_gpu_fence_emit() argument
110 cmd_hdr->flags |= cpu_to_le32(VIRTIO_GPU_FLAG_FENCE); in virtio_gpu_fence_emit()
111 cmd_hdr->fence_id = cpu_to_le64(fence->f.seqno); in virtio_gpu_fence_emit()
Dvirtgpu_drv.h368 struct virtio_gpu_ctrl_hdr *cmd_hdr,
/Linux-v5.10/drivers/gpu/drm/vboxvideo/
Dvbox_mode.c294 struct vbva_cmd_hdr cmd_hdr; in vbox_primary_atomic_update() local
297 cmd_hdr.x = (s16)clips->x1; in vbox_primary_atomic_update()
298 cmd_hdr.y = (s16)clips->y1; in vbox_primary_atomic_update()
299 cmd_hdr.w = (u16)clips->x2 - clips->x1; in vbox_primary_atomic_update()
300 cmd_hdr.h = (u16)clips->y2 - clips->y1; in vbox_primary_atomic_update()
307 &cmd_hdr, sizeof(cmd_hdr)); in vbox_primary_atomic_update()
/Linux-v5.10/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c764 void *cmd_hdr; in create_virtqueue() local
779 cmd_hdr = MLX5_ADDR_OF(create_virtio_net_q_in, in, general_obj_in_cmd_hdr); in create_virtqueue()
781 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, opcode, MLX5_CMD_OP_CREATE_GENERAL_OBJECT); in create_virtqueue()
782 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_type, MLX5_OBJ_TYPE_VIRTIO_NET_Q); in create_virtqueue()
783 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, uid, ndev->mvdev.res.uid); in create_virtqueue()
1014 void *cmd_hdr; in query_virtqueue() local
1021 cmd_hdr = MLX5_ADDR_OF(query_virtio_net_q_in, in, general_obj_in_cmd_hdr); in query_virtqueue()
1023 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, opcode, MLX5_CMD_OP_QUERY_GENERAL_OBJECT); in query_virtqueue()
1024 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_type, MLX5_OBJ_TYPE_VIRTIO_NET_Q); in query_virtqueue()
1025 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_id, mvq->virtq_id); in query_virtqueue()
[all …]
/Linux-v5.10/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()
/Linux-v5.10/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c1292 struct htt_cmd_hdr *cmd_hdr; in ath10k_htt_tx_hl() local
1377 skb_push(msdu, sizeof(*cmd_hdr)); in ath10k_htt_tx_hl()
1379 cmd_hdr = (struct htt_cmd_hdr *)msdu->data; in ath10k_htt_tx_hl()
1380 tx_desc = (struct htt_data_tx_desc *)(msdu->data + sizeof(*cmd_hdr)); in ath10k_htt_tx_hl()
1382 cmd_hdr->msg_type = HTT_H2T_MSG_TYPE_TX_FRM; in ath10k_htt_tx_hl()
1518 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_32()
1542 txbuf->cmd_hdr.msg_type = HTT_H2T_MSG_TYPE_TX_FRM; in ath10k_htt_tx_32()
1574 sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_32()
1722 txbuf->htc_hdr.len = __cpu_to_le16(sizeof(txbuf->cmd_hdr) + in ath10k_htt_tx_64()
1749 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()
5841 struct wmi_cmd_hdr *cmd_hdr; in ath10k_wmi_op_rx() local
5844 cmd_hdr = (struct wmi_cmd_hdr *)skb->data; in ath10k_wmi_op_rx()
5845 id = MS(__le32_to_cpu(cmd_hdr->cmd_id), WMI_CMD_HDR_CMD_ID); in ath10k_wmi_op_rx()
5968 struct wmi_cmd_hdr *cmd_hdr; in ath10k_wmi_10_1_op_rx() local
5972 cmd_hdr = (struct wmi_cmd_hdr *)skb->data; in ath10k_wmi_10_1_op_rx()
5973 id = MS(__le32_to_cpu(cmd_hdr->cmd_id), WMI_CMD_HDR_CMD_ID); in ath10k_wmi_10_1_op_rx()
6099 struct wmi_cmd_hdr *cmd_hdr; in ath10k_wmi_10_2_op_rx() local
[all …]
Dhtt.h1867 struct htt_cmd_hdr cmd_hdr; member
1874 struct htt_cmd_hdr cmd_hdr; member
Dwmi-tlv.c620 struct wmi_cmd_hdr *cmd_hdr; in ath10k_wmi_tlv_op_rx() local
624 cmd_hdr = (struct wmi_cmd_hdr *)skb->data; in ath10k_wmi_tlv_op_rx()
625 id = MS(__le32_to_cpu(cmd_hdr->cmd_id), WMI_CMD_HDR_CMD_ID); in ath10k_wmi_tlv_op_rx()
/Linux-v5.10/drivers/staging/rtl8712/
Drtl8712_xmit.c271 struct cmd_hdr *pcmd_hdr = (struct cmd_hdr *) in r8712_construct_txaggr_cmd_hdr()
361 struct cmd_hdr *pcmd_hdr = (struct cmd_hdr *) in r8712_dump_aggr_xframe()
Drtl8712_cmd.h22 struct cmd_hdr { struct
/Linux-v5.10/drivers/scsi/hisi_sas/
Dhisi_sas_main.c514 cmd_hdr_base = hisi_hba->cmd_hdr[dlvry_queue]; in hisi_sas_task_prep()
515 slot->cmd_hdr = &cmd_hdr_base[dlvry_queue_slot]; in hisi_sas_task_prep()
522 memset(slot->cmd_hdr, 0, sizeof(struct hisi_sas_cmd_hdr)); in hisi_sas_task_prep()
1993 cmd_hdr_base = hisi_hba->cmd_hdr[dlvry_queue]; in hisi_sas_internal_abort_task_exec()
1994 slot->cmd_hdr = &cmd_hdr_base[dlvry_queue_slot]; in hisi_sas_internal_abort_task_exec()
2000 memset(slot->cmd_hdr, 0, sizeof(struct hisi_sas_cmd_hdr)); in hisi_sas_internal_abort_task_exec()
2289 struct hisi_sas_cmd_hdr *cmd_hdr = hisi_hba->cmd_hdr[i]; in hisi_sas_init_mem() local
2293 memset(&cmd_hdr[j], 0, s); in hisi_sas_init_mem()
2354 hisi_hba->cmd_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2357 if (!hisi_hba->cmd_hdr[i]) in hisi_sas_alloc()
[all …]
Dhisi_sas.h235 void *cmd_hdr; member
446 struct hisi_sas_cmd_hdr *cmd_hdr[HISI_SAS_MAX_QUEUES]; member
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()
2492 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_ata_v2_hw()
2611 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()
Dhisi_sas_v3_hw.c1202 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_ssp_v3_hw()
1324 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_smp_v3_hw()
1366 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_ata_v3_hw()
1444 struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr; in prep_abort_v3_hw()
/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c596 struct enetc_msg_cmd_header *cmd_hdr; in enetc_msg_handle_rxmsg() local
600 cmd_hdr = (struct enetc_msg_cmd_header *)msg->vaddr; in enetc_msg_handle_rxmsg()
601 cmd_type = cmd_hdr->type; in enetc_msg_handle_rxmsg()
/Linux-v5.10/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()
3012 struct wmix_cmd_hdr *cmd_hdr; in ath6kl_wmi_cmd_send_xtnd() local
3017 cmd_hdr = (struct wmix_cmd_hdr *) skb->data; in ath6kl_wmi_cmd_send_xtnd()
3018 cmd_hdr->cmd_id = cpu_to_le32(cmd_id); in ath6kl_wmi_cmd_send_xtnd()
/Linux-v5.10/drivers/bluetooth/
Dhci_qca.c971 struct qca_memdump_event_hdr *cmd_hdr; in qca_controller_memdump() local
1005 cmd_hdr = (void *) skb->data; in qca_controller_memdump()
1006 seq_no = __le16_to_cpu(cmd_hdr->seq_no); in qca_controller_memdump()
/Linux-v5.10/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-v5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c2098 const struct fw_cmd_hdr *cmd_hdr = (const struct fw_cmd_hdr *)rpl; in t4vf_handle_fw_rpl() local
2099 u8 opcode = FW_CMD_OP_G(be32_to_cpu(cmd_hdr->hi)); in t4vf_handle_fw_rpl()
/Linux-v5.10/drivers/net/wireless/ath/ath11k/
Dwmi.c234 struct wmi_cmd_hdr *cmd_hdr; in ath11k_wmi_cmd_send_nowait() local
243 cmd_hdr = (struct wmi_cmd_hdr *)skb->data; in ath11k_wmi_cmd_send_nowait()
244 cmd_hdr->cmd_id = cmd; in ath11k_wmi_cmd_send_nowait()
6434 struct wmi_cmd_hdr *cmd_hdr; in ath11k_wmi_tlv_op_rx() local
6437 cmd_hdr = (struct wmi_cmd_hdr *)skb->data; in ath11k_wmi_tlv_op_rx()
6438 id = FIELD_GET(WMI_CMD_HDR_CMD_ID, (cmd_hdr->cmd_id)); in ath11k_wmi_tlv_op_rx()
/Linux-v5.10/net/bluetooth/
Dhci_event.c6104 struct hci_command_hdr *cmd_hdr = (void *) hdev->sent_cmd->data; in hci_event_packet() local
6105 opcode = __le16_to_cpu(cmd_hdr->opcode); in hci_event_packet()