/Linux-v6.6/drivers/infiniband/hw/erdma/ |
D | erdma_cmdq.c | 9 static void arm_cmdq_cq(struct erdma_cmdq *cmdq) in arm_cmdq_cq() 23 static void kick_cmdq_db(struct erdma_cmdq *cmdq) in kick_cmdq_db() 32 static struct erdma_comp_wait *get_comp_wait(struct erdma_cmdq *cmdq) in get_comp_wait() 50 static void put_comp_wait(struct erdma_cmdq *cmdq, in put_comp_wait() 64 struct erdma_cmdq *cmdq) in erdma_cmdq_wait_res_init() 90 struct erdma_cmdq *cmdq = &dev->cmdq; in erdma_cmdq_sq_init() local 122 struct erdma_cmdq *cmdq = &dev->cmdq; in erdma_cmdq_cq_init() local 153 struct erdma_cmdq *cmdq = &dev->cmdq; in erdma_cmdq_eq_init() local 185 struct erdma_cmdq *cmdq = &dev->cmdq; in erdma_cmdq_init() local 237 struct erdma_cmdq *cmdq = &dev->cmdq; in erdma_cmdq_destroy() local [all …]
|
D | erdma.h | 201 struct erdma_cmdq cmdq; member
|
/Linux-v6.6/drivers/mailbox/ |
D | mtk-cmdq-mailbox.c | 67 struct cmdq *cmdq; member 74 struct cmdq { struct 80 struct cmdq_thread *thread; argument 93 static void cmdq_sw_ddr_enable(struct cmdq *cmdq, bool enable) in cmdq_sw_ddr_enable() 107 struct cmdq *cmdq = container_of(chan->mbox, struct cmdq, mbox); in cmdq_get_shift_pa() local 113 static int cmdq_thread_suspend(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_suspend() 138 static void cmdq_init(struct cmdq *cmdq) in cmdq_init() 158 static int cmdq_thread_reset(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_reset() 174 static void cmdq_thread_disable(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_disable() 227 struct cmdq *cmdq = task->cmdq; in cmdq_task_handle_error() local [all …]
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/falcon/ |
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-v6.6/drivers/net/ethernet/brocade/bna/ |
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 …]
|
D | bfa_msgq.h | 108 struct bfa_msgq_cmdq cmdq; member
|
/Linux-v6.6/drivers/crypto/cavium/nitrox/ |
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 …]
|
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
|
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
|
D | nitrox_isr.c | 32 struct nitrox_cmdq *cmdq = qvec->cmdq; in nps_pkt_slc_isr() local
|
D | nitrox_dev.h | 107 struct nitrox_cmdq *cmdq; member
|
/Linux-v6.6/drivers/infiniband/hw/bnxt_re/ |
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 935 struct bnxt_qplib_cmdq_ctx *cmdq; in bnxt_qplib_alloc_rcfw_channel() local 1017 struct bnxt_qplib_cmdq_ctx *cmdq; in bnxt_qplib_disable_rcfw_channel() local 1141 struct bnxt_qplib_cmdq_ctx *cmdq; in bnxt_qplib_start_rcfw() local [all …]
|
D | qplib_rcfw.h | 222 struct bnxt_qplib_cmdq_ctx cmdq; member
|
/Linux-v6.6/drivers/net/ethernet/huawei/hinic/ |
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 …]
|
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
|
D | hinic_hw_cmdq.h | 167 struct hinic_cmdq cmdq[HINIC_MAX_CMDQ_TYPES]; member
|
/Linux-v6.6/drivers/accel/ivpu/ |
D | ivpu_job.c | 31 static void ivpu_cmdq_ring_db(struct ivpu_device *vdev, struct ivpu_cmdq *cmdq) in ivpu_cmdq_ring_db() 40 struct ivpu_cmdq *cmdq; in ivpu_cmdq_alloc() local 68 static void ivpu_cmdq_free(struct ivpu_file_priv *file_priv, struct ivpu_cmdq *cmdq) in ivpu_cmdq_free() 80 struct ivpu_cmdq *cmdq = file_priv->cmdq[engine]; in ivpu_cmdq_acquire() local 107 struct ivpu_cmdq *cmdq = file_priv->cmdq[engine]; in ivpu_cmdq_release_locked() local 140 struct ivpu_cmdq *cmdq = file_priv->cmdq[engine]; in ivpu_cmdq_reset_locked() local 180 static int ivpu_cmdq_push_job(struct ivpu_cmdq *cmdq, struct ivpu_job *job) in ivpu_cmdq_push_job() 374 struct ivpu_cmdq *cmdq; in ivpu_direct_job_submission() local
|
D | ivpu_mmu.h | 35 struct ivpu_mmu_queue cmdq; member
|
D | ivpu_drv.h | 132 struct ivpu_cmdq *cmdq[IVPU_NUM_ENGINES]; member
|
/Linux-v6.6/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3.c | 444 static void arm_smmu_cmdq_shared_lock(struct arm_smmu_cmdq *cmdq) in arm_smmu_cmdq_shared_lock() 462 static void arm_smmu_cmdq_shared_unlock(struct arm_smmu_cmdq *cmdq) in arm_smmu_cmdq_shared_unlock() 467 static bool arm_smmu_cmdq_shared_tryunlock(struct arm_smmu_cmdq *cmdq) in arm_smmu_cmdq_shared_tryunlock() 476 #define arm_smmu_cmdq_exclusive_trylock_irqsave(cmdq, flags) \ argument 486 #define arm_smmu_cmdq_exclusive_unlock_irqrestore(cmdq, flags) \ argument 532 static void __arm_smmu_cmdq_poll_set_valid_map(struct arm_smmu_cmdq *cmdq, in __arm_smmu_cmdq_poll_set_valid_map() 579 static void arm_smmu_cmdq_set_valid_map(struct arm_smmu_cmdq *cmdq, in arm_smmu_cmdq_set_valid_map() 586 static void arm_smmu_cmdq_poll_valid_map(struct arm_smmu_cmdq *cmdq, in arm_smmu_cmdq_poll_valid_map() 598 struct arm_smmu_cmdq *cmdq = arm_smmu_get_cmdq(smmu); in arm_smmu_cmdq_poll_until_not_full() local 633 struct arm_smmu_cmdq *cmdq = arm_smmu_get_cmdq(smmu); in __arm_smmu_cmdq_poll_until_msi() local [all …]
|
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
D | hclge_comm_cmd.c | 529 struct hclge_comm_cmq *cmdq = &hw->cmq; in hclge_comm_cmd_uninit() local 550 struct hclge_comm_cmq *cmdq = &hw->cmq; in hclge_comm_cmd_queue_init() local 590 struct hclge_comm_cmq *cmdq = &hw->cmq; in hclge_comm_cmd_init() local
|
/Linux-v6.6/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
D | sec2.h | 17 struct nvkm_falcon_cmdq *cmdq; member
|
D | falcon.h | 88 } cmdq, msgq; member
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/sec2/ |
D | base.c | 45 struct nvkm_falcon_cmdq *cmdq = sec2->cmdq; in nvkm_sec2_fini() local
|
/Linux-v6.6/drivers/atm/ |
D | fore200e.c | 556 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_pca_prom_read() local 1225 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_activate_vcin() local 1669 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_getstats() local 1755 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_set_oc3() local 2232 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_init_cmd_queue() local
|