| /linux/drivers/mailbox/ |
| H A D | mtk-cmdq-mailbox.c | 69 struct cmdq *cmdq; member 76 struct cmdq { struct 82 struct cmdq_thread *thread; argument 95 static inline u32 cmdq_convert_gce_addr(dma_addr_t addr, const struct gce_plat *pdata) in cmdq_convert_gce_addr() argument 109 struct cmdq *cmdq = container_of(chan->mbox, struct cmdq, mbox); in cmdq_get_shift_pa() local 115 static void cmdq_gctl_value_toggle(struct cmdq *cmdq, bool ddr_enable) in cmdq_gctl_value_toggle() 128 static int cmdq_thread_suspend(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_suspend() 153 static void cmdq_init(struct cmdq *cmdq) in cmdq_init() 167 static int cmdq_thread_reset(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_reset() 183 static void cmdq_thread_disable(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_disable() [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
|
| H A D | bfi.h | 420 struct bfi_msgq 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() argument 35 struct ivpu_file_priv *file_priv, struct ivpu_cmdq *cmdq) in ivpu_preemption_buffers_create() argument 67 ivpu_preemption_buffers_free(struct ivpu_device * vdev,struct ivpu_file_priv * file_priv,struct ivpu_cmdq * cmdq) ivpu_preemption_buffers_free() argument 81 struct ivpu_cmdq *cmdq; ivpu_cmdq_alloc() local 109 ivpu_cmdq_get_entry_count(struct ivpu_cmdq * cmdq) ivpu_cmdq_get_entry_count() argument 140 ivpu_cmdq_free(struct ivpu_file_priv * file_priv,struct ivpu_cmdq * cmdq) ivpu_cmdq_free() argument 150 struct ivpu_cmdq *cmdq = NULL; ivpu_cmdq_create() local 183 ivpu_hws_cmdq_init(struct ivpu_file_priv * file_priv,struct ivpu_cmdq * cmdq,u16 engine,u8 priority) ivpu_hws_cmdq_init() argument 203 ivpu_register_db(struct ivpu_file_priv * file_priv,struct ivpu_cmdq * cmdq) ivpu_register_db() argument 239 ivpu_cmdq_register(struct ivpu_file_priv * file_priv,struct ivpu_cmdq * cmdq) ivpu_cmdq_register() argument 264 ivpu_cmdq_unregister(struct ivpu_file_priv * file_priv,struct ivpu_cmdq * cmdq) ivpu_cmdq_unregister() argument 299 ivpu_cmdq_destroy(struct ivpu_file_priv * file_priv,struct ivpu_cmdq * cmdq) ivpu_cmdq_destroy() argument 308 struct ivpu_cmdq *cmdq; ivpu_cmdq_acquire_legacy() local 330 struct ivpu_cmdq *cmdq; ivpu_cmdq_acquire() local 345 struct ivpu_cmdq *cmdq; ivpu_cmdq_release_all_locked() local 362 struct ivpu_cmdq *cmdq; ivpu_cmdq_reset() local 391 struct ivpu_cmdq *cmdq; ivpu_context_abort_locked() local 408 ivpu_cmdq_push_job(struct ivpu_cmdq * cmdq,struct ivpu_job * job) ivpu_cmdq_push_job() argument 637 struct ivpu_cmdq *cmdq; ivpu_job_submit() local 904 struct ivpu_cmdq *cmdq; ivpu_cmdq_create_ioctl() local 935 struct ivpu_cmdq *cmdq; ivpu_cmdq_destroy_ioctl() local [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_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
|
| H A D | nitrox_dev.h | 107 struct nitrox_cmdq *cmdq; member
|
| H A D | nitrox_req.h | 521 struct nitrox_cmdq *cmdq; member
|
| /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/infiniband/hw/bng_re/ |
| H A D | bng_fw.c | 66 struct bng_re_cmdq_ctx *cmdq; in bng_re_alloc_fw_channel() local 278 struct bng_re_cmdq_ctx *cmdq; in __send_message_basic_sanity() local 308 struct bng_re_cmdq_ctx *cmdq; in __send_message() local 404 struct bng_re_cmdq_ctx *cmdq; in __wait_for_resp() local 632 struct bng_re_cmdq_ctx *cmdq; in bng_re_disable_rcfw_channel() local 649 struct bng_re_cmdq_ctx *cmdq; in bng_re_start_rcfw() local 675 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/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() 506 static void arm_smmu_cmdq_shared_unlock(struct arm_smmu_cmdq *cmdq) in arm_smmu_cmdq_shared_unlock() 511 static bool arm_smmu_cmdq_shared_tryunlock(struct arm_smmu_cmdq *cmdq) in arm_smmu_cmdq_shared_tryunlock() 520 #define arm_smmu_cmdq_exclusive_trylock_irqsave(cmdq, flags) \ argument 530 #define arm_smmu_cmdq_exclusive_unlock_irqrestore(cmdq, flags) \ argument 576 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 | 146 struct arm_smmu_cmdq cmdq; member 620 struct arm_smmu_cmdq *cmdq = &vcmdq->cmdq; in tegra241_vcmdq_alloc_smmu_cmdq() local
|
| /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/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 | 553 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_pca_prom_read() local 1222 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_activate_vcin() local 1668 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_getstats() local 1754 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_set_oc3() local 2231 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/net/ethernet/chelsio/cxgb/ |
| H A D | sge.c | 1438 struct cmdQ *cmdq = &sge->cmdQ[0]; in update_tx_info() local
|