Home
last modified time | relevance | path

Searched refs:qmgr (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/falcon/
Dqmgr.c26 nvkm_falcon_qmgr_seq_acquire(struct nvkm_falcon_qmgr *qmgr) in nvkm_falcon_qmgr_seq_acquire() argument
28 const struct nvkm_subdev *subdev = qmgr->falcon->owner; in nvkm_falcon_qmgr_seq_acquire()
32 mutex_lock(&qmgr->seq.mutex); in nvkm_falcon_qmgr_seq_acquire()
33 index = find_first_zero_bit(qmgr->seq.tbl, NVKM_FALCON_QMGR_SEQ_NUM); in nvkm_falcon_qmgr_seq_acquire()
36 mutex_unlock(&qmgr->seq.mutex); in nvkm_falcon_qmgr_seq_acquire()
40 set_bit(index, qmgr->seq.tbl); in nvkm_falcon_qmgr_seq_acquire()
41 mutex_unlock(&qmgr->seq.mutex); in nvkm_falcon_qmgr_seq_acquire()
43 seq = &qmgr->seq.id[index]; in nvkm_falcon_qmgr_seq_acquire()
49 nvkm_falcon_qmgr_seq_release(struct nvkm_falcon_qmgr *qmgr, in nvkm_falcon_qmgr_seq_release() argument
56 clear_bit(seq->id, qmgr->seq.tbl); in nvkm_falcon_qmgr_seq_release()
[all …]
Dcmdq.c28 u32 head = nvkm_falcon_rd32(cmdq->qmgr->falcon, cmdq->head_reg); in nvkm_falcon_cmdq_has_room()
29 u32 tail = nvkm_falcon_rd32(cmdq->qmgr->falcon, cmdq->tail_reg); in nvkm_falcon_cmdq_has_room()
53 struct nvkm_falcon *falcon = cmdq->qmgr->falcon; in nvkm_falcon_cmdq_push()
73 struct nvkm_falcon *falcon = cmdq->qmgr->falcon; in nvkm_falcon_cmdq_open()
95 nvkm_falcon_wr32(cmdq->qmgr->falcon, cmdq->head_reg, cmdq->position); in nvkm_falcon_cmdq_close()
137 seq = nvkm_falcon_qmgr_seq_acquire(cmdq->qmgr); in nvkm_falcon_cmdq_send()
152 nvkm_falcon_qmgr_seq_release(cmdq->qmgr, seq); in nvkm_falcon_cmdq_send()
162 nvkm_falcon_qmgr_seq_release(cmdq->qmgr, seq); in nvkm_falcon_cmdq_send()
178 const struct nvkm_falcon_func *func = cmdq->qmgr->falcon->func; in nvkm_falcon_cmdq_init()
201 nvkm_falcon_cmdq_new(struct nvkm_falcon_qmgr *qmgr, const char *name, in nvkm_falcon_cmdq_new() argument
[all …]
Dmsgq.c29 msgq->position = nvkm_falcon_rd32(msgq->qmgr->falcon, msgq->tail_reg); in nvkm_falcon_msgq_open()
35 struct nvkm_falcon *falcon = msgq->qmgr->falcon; in nvkm_falcon_msgq_close()
46 u32 head = nvkm_falcon_rd32(msgq->qmgr->falcon, msgq->head_reg); in nvkm_falcon_msgq_empty()
47 u32 tail = nvkm_falcon_rd32(msgq->qmgr->falcon, msgq->tail_reg); in nvkm_falcon_msgq_empty()
54 struct nvkm_falcon *falcon = msgq->qmgr->falcon; in nvkm_falcon_msgq_pop()
119 seq = &msgq->qmgr->seq.id[hdr->seq_id]; in nvkm_falcon_msgq_exec()
131 nvkm_falcon_qmgr_seq_release(msgq->qmgr, seq); in nvkm_falcon_msgq_exec()
157 struct nvkm_falcon *falcon = msgq->qmgr->falcon; in nvkm_falcon_msgq_recv_initmsg()
180 const struct nvkm_falcon_func *func = msgq->qmgr->falcon->func; in nvkm_falcon_msgq_init()
201 nvkm_falcon_msgq_new(struct nvkm_falcon_qmgr *qmgr, const char *name, in nvkm_falcon_msgq_new() argument
[all …]
Dqmgr.h60 struct nvkm_falcon_qmgr *qmgr; member
74 struct nvkm_falcon_qmgr *qmgr; member
86 FLCN_PRINTK(t, (q)->qmgr->falcon, "%s: "f, (q)->name, ##a)
DKbuild5 nvkm-y += nvkm/falcon/qmgr.o
/Linux-v5.10/drivers/soc/ti/
Dknav_qmss_queue.c234 id = inst->id - inst->qmgr->start_queue; in __knav_queue_open()
235 qh->reg_push = &inst->qmgr->reg_push[id]; in __knav_queue_open()
236 qh->reg_pop = &inst->qmgr->reg_pop[id]; in __knav_queue_open()
237 qh->reg_peek = &inst->qmgr->reg_peek[id]; in __knav_queue_open()
505 unsigned id = inst->id - inst->qmgr->start_queue; in knav_queue_flush()
508 writel_relaxed(0, &inst->qmgr->reg_push[id].ptr_size_thresh); in knav_queue_flush()
986 struct knav_qmgr_info *qmgr; in knav_queue_setup_region() local
1047 for_each_qmgr(kdev, qmgr) { in knav_queue_setup_region()
1048 regs = qmgr->reg_region + id; in knav_queue_setup_region()
1184 struct knav_qmgr_info *qmgr; in knav_queue_setup_link_ram() local
[all …]
Dknav_qmss.h256 struct knav_qmgr_info *qmgr; member
368 #define for_each_qmgr(kdev, qmgr) \ argument
369 list_for_each_entry(qmgr, &kdev->qmgrs, list)
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/sec2/
Dbase.c74 nvkm_falcon_qmgr_del(&sec2->qmgr); in nvkm_sec2_dtor()
111 if ((ret = nvkm_falcon_qmgr_new(&sec2->falcon, &sec2->qmgr)) || in nvkm_sec2_new_()
112 (ret = nvkm_falcon_cmdq_new(sec2->qmgr, "cmdq", &sec2->cmdq)) || in nvkm_sec2_new_()
113 (ret = nvkm_falcon_msgq_new(sec2->qmgr, "msgq", &sec2->msgq))) in nvkm_sec2_new_()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dbase.c149 nvkm_falcon_qmgr_del(&pmu->qmgr); in nvkm_pmu_dtor()
186 if ((ret = nvkm_falcon_qmgr_new(&pmu->falcon, &pmu->qmgr)) || in nvkm_pmu_ctor()
187 (ret = nvkm_falcon_cmdq_new(pmu->qmgr, "hpq", &pmu->hpq)) || in nvkm_pmu_ctor()
188 (ret = nvkm_falcon_cmdq_new(pmu->qmgr, "lpq", &pmu->lpq)) || in nvkm_pmu_ctor()
189 (ret = nvkm_falcon_msgq_new(pmu->qmgr, "msgq", &pmu->msgq))) in nvkm_pmu_ctor()
/Linux-v5.10/drivers/soc/ixp4xx/
DMakefile2 obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx-qmgr.o
/Linux-v5.10/drivers/gpu/drm/nouveau/include/nvkm/engine/
Dsec2.h13 struct nvkm_falcon_qmgr *qmgr; member
/Linux-v5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dpmu.h12 struct nvkm_falcon_qmgr *qmgr; member
/Linux-v5.10/arch/arm/boot/dts/
Dintel-ixp4xx.dtsi17 qmgr: queue-manager@60000000 { label
/Linux-v5.10/
DMAINTAINERS8961 F: drivers/soc/ixp4xx/ixp4xx-qmgr.c
8963 F: include/linux/soc/ixp4xx/qmgr.h