| /linux/drivers/mailbox/ |
| H A D | mtk-cmdq-mailbox.c | 77 struct cmdq *cmdq; member 84 struct cmdq { struct 90 struct cmdq_thread *thread; argument 105 static inline u32 cmdq_convert_gce_addr(dma_addr_t addr, const struct gce_plat *pdata) in cmdq_convert_gce_addr() argument 119 struct cmdq *cmdq = container_of(chan->mbox, struct cmdq, mbox); in cmdq_get_mbox_priv() local 128 struct cmdq *cmdq = container_of(chan->mbox, struct cmdq, mbox); in cmdq_get_shift_pa() local 134 static void cmdq_vm_init(struct cmdq *cmdq) in cmdq_vm_init() 173 static void cmdq_gctl_value_toggle(struct cmdq *cmdq, bool ddr_enable) in cmdq_gctl_value_toggle() 186 static int cmdq_thread_suspend(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_suspend() 211 static void cmdq_init(struct cmdq *cmdq) in cmdq_init() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/falcon/ |
| H A D | cmdq.c | 26 nvkm_falcon_cmdq_has_room(struct nvkm_falcon_cmdq *cmdq, u32 size, bool *rewind) in nvkm_falcon_cmdq_has_room() 51 nvkm_falcon_cmdq_push(struct nvkm_falcon_cmdq *cmdq, void *data, u32 size) in nvkm_falcon_cmdq_push() 59 nvkm_falcon_cmdq_rewind(struct nvkm_falcon_cmdq *cmdq) in nvkm_falcon_cmdq_rewind() 71 nvkm_falcon_cmdq_open(struct nvkm_falcon_cmdq *cmdq, u32 size) in nvkm_falcon_cmdq_open() 93 nvkm_falcon_cmdq_close(struct nvkm_falcon_cmdq *cmdq) in nvkm_falcon_cmdq_close() 100 nvkm_falcon_cmdq_write(struct nvkm_falcon_cmdq *cmdq, struct nvfw_falcon_cmd *cmd) in nvkm_falcon_cmdq_write() 124 nvkm_falcon_cmdq_send(struct nvkm_falcon_cmdq *cmdq, struct nvfw_falcon_cmd *cmd, in nvkm_falcon_cmdq_send() 169 nvkm_falcon_cmdq_fini(struct nvkm_falcon_cmdq *cmdq) in nvkm_falcon_cmdq_fini() 175 nvkm_falcon_cmdq_init(struct nvkm_falcon_cmdq *cmdq, in nvkm_falcon_cmdq_init() 193 struct nvkm_falcon_cmdq *cmdq = *pcmdq; in nvkm_falcon_cmdq_del() local [all …]
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bfa_msgq.c | 50 cmdq_sm_stopped_entry(struct bfa_msgq_cmdq *cmdq) in cmdq_sm_stopped_entry() 69 cmdq_sm_stopped(struct bfa_msgq_cmdq *cmdq, enum cmdq_event event) in cmdq_sm_stopped() 91 cmdq_sm_init_wait_entry(struct bfa_msgq_cmdq *cmdq) in cmdq_sm_init_wait_entry() 97 cmdq_sm_init_wait(struct bfa_msgq_cmdq *cmdq, enum cmdq_event event) in cmdq_sm_init_wait() 123 cmdq_sm_ready_entry(struct bfa_msgq_cmdq *cmdq) in cmdq_sm_ready_entry() 128 cmdq_sm_ready(struct bfa_msgq_cmdq *cmdq, enum cmdq_event event) in cmdq_sm_ready() 146 cmdq_sm_dbell_wait_entry(struct bfa_msgq_cmdq *cmdq) in cmdq_sm_dbell_wait_entry() 152 cmdq_sm_dbell_wait(struct bfa_msgq_cmdq *cmdq, enum cmdq_event event) in cmdq_sm_dbell_wait() 180 struct bfa_msgq_cmdq *cmdq = (struct bfa_msgq_cmdq *)arg; in bfa_msgq_cmdq_dbell_ready() local 185 bfa_msgq_cmdq_dbell(struct bfa_msgq_cmdq *cmdq) in bfa_msgq_cmdq_dbell() [all …]
|
| H A D | bfa_msgq.h | 108 struct bfa_msgq_cmdq cmdq; member
|
| /linux/drivers/accel/ivpu/ |
| H A D | ivpu_job.c | 29 static void ivpu_cmdq_ring_db(struct ivpu_device *vdev, struct ivpu_cmdq *cmdq) in ivpu_cmdq_ring_db() 35 struct ivpu_file_priv *file_priv, struct ivpu_cmdq *cmdq) in ivpu_preemption_buffers_create() 65 struct ivpu_file_priv *file_priv, struct ivpu_cmdq *cmdq) in ivpu_preemption_buffers_free() 74 struct ivpu_cmdq *cmdq, struct ivpu_job *job) in ivpu_preemption_job_init() 99 struct ivpu_cmdq *cmdq; in ivpu_cmdq_alloc() local 122 static inline u32 ivpu_cmdq_get_entry_count(struct ivpu_cmdq *cmdq) in ivpu_cmdq_get_entry_count() 153 static void ivpu_cmdq_free(struct ivpu_file_priv *file_priv, struct ivpu_cmdq *cmdq) in ivpu_cmdq_free() 163 struct ivpu_cmdq *cmdq = NULL; in ivpu_cmdq_create() local 196 static int ivpu_hws_cmdq_init(struct ivpu_file_priv *file_priv, struct ivpu_cmdq *cmdq, u16 engine, in ivpu_hws_cmdq_init() 216 static int ivpu_register_db(struct ivpu_file_priv *file_priv, struct ivpu_cmdq *cmdq) in ivpu_register_db() [all …]
|
| /linux/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_reqmgr.c | 230 struct nitrox_cmdq *cmdq) in backlog_list_add() 242 struct nitrox_cmdq *cmdq) in response_list_add() 252 struct nitrox_cmdq *cmdq) in response_list_del() 260 get_first_response_entry(struct nitrox_cmdq *cmdq) in get_first_response_entry() 266 static inline bool cmdq_full(struct nitrox_cmdq *cmdq, int qlen) in cmdq_full() 288 struct nitrox_cmdq *cmdq) in post_se_instr() 318 static int post_backlog_cmds(struct nitrox_cmdq *cmdq) in post_backlog_cmds() 351 struct nitrox_cmdq *cmdq = sr->cmdq; in nitrox_enqueue_request() local 507 struct nitrox_cmdq *cmdq; in backlog_qflush_work() local 537 static void process_response_list(struct nitrox_cmdq *cmdq) in process_response_list() [all …]
|
| H A D | nitrox_lib.c | 25 static int nitrox_cmdq_init(struct nitrox_cmdq *cmdq, int align_bytes) in nitrox_cmdq_init() 53 static void nitrox_cmdq_reset(struct nitrox_cmdq *cmdq) in nitrox_cmdq_reset() 60 static void nitrox_cmdq_cleanup(struct nitrox_cmdq *cmdq) in nitrox_cmdq_cleanup() 103 struct nitrox_cmdq *cmdq; in nitrox_alloc_aqm_queues() local 143 struct nitrox_cmdq *cmdq = &ndev->pkt_inq[i]; in nitrox_free_pktin_queues() local 162 struct nitrox_cmdq *cmdq; in nitrox_alloc_pktin_queues() local
|
| H A D | nitrox_hal.c | 125 struct nitrox_cmdq *cmdq = &ndev->pkt_inq[i]; in nitrox_config_pkt_input_rings() local 357 struct nitrox_cmdq *cmdq = ndev->aqmq[ring]; in nitrox_config_aqm_rings() local
|
| H A D | nitrox_isr.c | 32 struct nitrox_cmdq *cmdq = qvec->cmdq; in nps_pkt_slc_isr() local
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | qplib_rcfw.c | 114 struct bnxt_qplib_cmdq_ctx *cmdq; in bnxt_re_is_fw_stalled() local 147 struct bnxt_qplib_cmdq_ctx *cmdq; in __wait_for_resp() local 194 struct bnxt_qplib_cmdq_ctx *cmdq = &rcfw->cmdq; in __block_for_resp() local 238 struct bnxt_qplib_cmdq_ctx *cmdq = &rcfw->cmdq; in __send_message_no_waiter() local 287 struct bnxt_qplib_cmdq_ctx *cmdq; in __send_message() local 390 struct bnxt_qplib_cmdq_ctx *cmdq = &rcfw->cmdq; in __poll_for_resp() local 422 struct bnxt_qplib_cmdq_ctx *cmdq; in __send_message_basic_sanity() local 936 struct bnxt_qplib_cmdq_ctx *cmdq; in bnxt_qplib_alloc_rcfw_channel() local 1012 struct bnxt_qplib_cmdq_ctx *cmdq; in bnxt_qplib_disable_rcfw_channel() local 1137 struct bnxt_qplib_cmdq_ctx *cmdq; in bnxt_qplib_start_rcfw() local [all …]
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_hw_cmdq.c | 78 #define cmdq_to_cmdqs(cmdq) container_of((cmdq) - (cmdq)->cmdq_type, \ argument 320 static void cmdq_set_db(struct hinic_cmdq *cmdq, in cmdq_set_db() 335 static int cmdq_sync_cmd_direct_resp(struct hinic_cmdq *cmdq, in cmdq_sync_cmd_direct_resp() 417 static int cmdq_set_arm_bit(struct hinic_cmdq *cmdq, void *buf_in, in cmdq_set_arm_bit() 510 struct hinic_cmdq *cmdq = &cmdqs->cmdq[HINIC_CMDQ_SYNC]; in hinic_set_arm_bit() local 528 static void clear_wqe_complete_bit(struct hinic_cmdq *cmdq, in clear_wqe_complete_bit() 562 static int cmdq_arm_ceq_handler(struct hinic_cmdq *cmdq, in cmdq_arm_ceq_handler() 584 static void cmdq_update_errcode(struct hinic_cmdq *cmdq, u16 prod_idx, in cmdq_update_errcode() 597 static void cmdq_sync_cmd_handler(struct hinic_cmdq *cmdq, u16 cons_idx, in cmdq_sync_cmd_handler() 612 static int cmdq_cmd_ceq_handler(struct hinic_cmdq *cmdq, u16 ci, in cmdq_cmd_ceq_handler() [all …]
|
| H A D | hinic_hw_io.c | 533 enum hinic_cmdq_type cmdq, type; in hinic_io_init() local 619 enum hinic_cmdq_type cmdq; in hinic_io_free() local
|
| H A D | hinic_hw_cmdq.h | 167 struct hinic_cmdq cmdq[HINIC_MAX_CMDQ_TYPES]; member
|
| /linux/drivers/net/ethernet/huawei/hinic3/ |
| H A D | hinic3_cmdq.c | 171 static void clear_wqe_complete_bit(struct hinic3_cmdq *cmdq, in clear_wqe_complete_bit() 192 static void cmdq_update_cmd_status(struct hinic3_cmdq *cmdq, u16 prod_idx, in cmdq_update_cmd_status() 210 static void cmdq_sync_cmd_handler(struct hinic3_cmdq *cmdq, in cmdq_sync_cmd_handler() 238 struct hinic3_cmdq *cmdq; in hinic3_cmdq_ceq_handler() local 325 static void cmdq_set_db(struct hinic3_cmdq *cmdq, in cmdq_set_db() 417 static int hinic3_cmdq_sync_timeout_check(struct hinic3_cmdq *cmdq, in hinic3_cmdq_sync_timeout_check() 449 static int wait_cmdq_sync_cmd_completion(struct hinic3_cmdq *cmdq, in wait_cmdq_sync_cmd_completion() 491 static int cmdq_sync_cmd_direct_resp(struct hinic3_cmdq *cmdq, u8 mod, u8 cmd, in cmdq_sync_cmd_direct_resp() 606 static int init_cmdq(struct hinic3_cmdq *cmdq, struct hinic3_hwdev *hwdev, in init_cmdq() 779 static void hinic3_cmdq_flush_cmd(struct hinic3_cmdq *cmdq) in hinic3_cmdq_flush_cmd() [all …]
|
| /linux/drivers/infiniband/hw/bng_re/ |
| H A D | bng_fw.c | 66 struct bng_re_cmdq_ctx *cmdq; in bng_re_alloc_fw_channel() local 277 struct bng_re_cmdq_ctx *cmdq; in __send_message_basic_sanity() local 307 struct bng_re_cmdq_ctx *cmdq; in __send_message() local 403 struct bng_re_cmdq_ctx *cmdq; in __wait_for_resp() local 631 struct bng_re_cmdq_ctx *cmdq; in bng_re_disable_rcfw_channel() local 648 struct bng_re_cmdq_ctx *cmdq; in bng_re_start_rcfw() local 674 struct bng_re_cmdq_ctx *cmdq; in bng_re_enable_fw_channel() local
|
| H A D | bng_fw.h | 120 struct bng_re_cmdq_ctx cmdq; member
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
| H A D | hclge_comm_cmd.c | 541 struct hclge_comm_cmq *cmdq = &hw->cmq; in hclge_comm_cmd_uninit() local 563 struct hclge_comm_cmq *cmdq = &hw->cmq; in hclge_comm_cmd_queue_init() local 603 struct hclge_comm_cmq *cmdq = &hw->cmq; in hclge_comm_cmd_init_ops() local 616 struct hclge_comm_cmq *cmdq = &hw->cmq; in hclge_comm_cmd_init() local
|
| /linux/drivers/iommu/arm/arm-smmu-v3/ |
| H A D | arm-smmu-v3.c | 374 struct arm_smmu_cmdq *cmdq = NULL; in arm_smmu_get_cmdq() local 383 struct arm_smmu_cmdq *cmdq) in arm_smmu_cmdq_needs_busy_polling() 392 struct arm_smmu_cmdq *cmdq, u32 prod) in arm_smmu_cmdq_build_sync_cmd() 414 struct arm_smmu_cmdq *cmdq) in __arm_smmu_cmdq_skip_err() 488 static void arm_smmu_cmdq_shared_lock(struct arm_smmu_cmdq *cmdq) in arm_smmu_cmdq_shared_lock() 512 static void arm_smmu_cmdq_shared_unlock(struct arm_smmu_cmdq *cmdq) in arm_smmu_cmdq_shared_unlock() 517 static bool arm_smmu_cmdq_shared_tryunlock(struct arm_smmu_cmdq *cmdq) in arm_smmu_cmdq_shared_tryunlock() 526 #define arm_smmu_cmdq_exclusive_trylock_irqsave(cmdq, flags) \ argument 541 #define arm_smmu_cmdq_exclusive_unlock_irqrestore(cmdq, flags) \ argument 587 static void __arm_smmu_cmdq_poll_set_valid_map(struct arm_smmu_cmdq *cmdq, in __arm_smmu_cmdq_poll_set_valid_map() [all …]
|
| H A D | tegra241-cmdqv.c | 144 struct arm_smmu_cmdq cmdq; member 618 struct arm_smmu_cmdq *cmdq = &vcmdq->cmdq; in tegra241_vcmdq_alloc_smmu_cmdq() local
|
| /linux/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
| H A D | sec2.h | 17 struct nvkm_falcon_cmdq *cmdq; member
|
| H A D | falcon.h | 89 } cmdq, msgq; member
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/sec2/ |
| H A D | base.c | 45 struct nvkm_falcon_cmdq *cmdq = sec2->cmdq; in nvkm_sec2_fini() local
|
| /linux/drivers/atm/ |
| H A D | fore200e.c | 557 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_pca_prom_read() local 1226 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_activate_vcin() local 1672 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_getstats() local 1758 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_set_oc3() local 2234 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_init_cmd_queue() local
|
| /linux/tools/testing/selftests/kvm/lib/arm64/ |
| H A D | gic_v3_its.c | 87 vm_paddr_t cmdq, size_t cmdq_size) in its_init()
|
| /linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
| H A D | gsp.h | 171 } cmdq, msgq; member 180 } cmdq; member
|