/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/falcon/ |
D | qmgr.c | 23 #include "qmgr.h" 26 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 [all …]
|
D | cmdq.c | 23 #include "qmgr.h" 28 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() [all …]
|
D | msgq.c | 23 #include "qmgr.h" 29 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() [all …]
|
D | qmgr.h | 60 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)
|
/Linux-v5.15/drivers/soc/ti/ |
D | knav_qmss_queue.c | 234 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() 987 struct knav_qmgr_info *qmgr; in knav_queue_setup_region() local 1048 for_each_qmgr(kdev, qmgr) { in knav_queue_setup_region() 1049 regs = qmgr->reg_region + id; in knav_queue_setup_region() 1186 struct knav_qmgr_info *qmgr; in knav_queue_setup_link_ram() local [all …]
|
D | knav_qmss.h | 241 * @qmgr: queue manager info 256 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.15/arch/arm/boot/dts/ |
D | intel-ixp45x-ixp46x.dtsi | 52 queue-rx = <&qmgr 0>; 53 queue-txready = <&qmgr 0>; 63 queue-rx = <&qmgr 0>; 64 queue-txready = <&qmgr 0>; 74 queue-rx = <&qmgr 0>; 75 queue-txready = <&qmgr 0>;
|
D | intel-ixp4xx.dtsi | 44 qmgr: queue-manager@60000000 { label 149 queue-rx = <&qmgr 30>; 150 queue-txready = <&qmgr 29>; 160 queue-rx = <&qmgr 3>; 161 queue-txready = <&qmgr 20>; 171 queue-rx = <&qmgr 0>; 172 queue-txready = <&qmgr 0>; 183 queue-rx = <&qmgr 0>; 184 queue-txready = <&qmgr 0>;
|
D | intel-ixp43x-kixrp435.dts | 40 queue-rx = <&qmgr 4>; 41 queue-txready = <&qmgr 21>; 61 queue-rx = <&qmgr 2>; 62 queue-txready = <&qmgr 19>;
|
D | intel-ixp42x-ixdp425.dts | 44 queue-rx = <&qmgr 3>; 45 queue-txready = <&qmgr 20>; 66 queue-rx = <&qmgr 4>; 67 queue-txready = <&qmgr 21>;
|
D | intel-ixp42x-adi-coyote.dts | 82 queue-rx = <&qmgr 3>; 83 queue-txready = <&qmgr 20>; 104 queue-rx = <&qmgr 4>; 105 queue-txready = <&qmgr 21>;
|
D | intel-ixp42x-ixdpg425.dts | 97 queue-rx = <&qmgr 3>; 98 queue-txready = <&qmgr 20>; 119 queue-rx = <&qmgr 4>; 120 queue-txready = <&qmgr 21>;
|
D | intel-ixp42x-linksys-wrv54g.dts | 143 queue-rx = <&qmgr 3>; 144 queue-txready = <&qmgr 20>; 167 queue-rx = <&qmgr 4>; 168 queue-txready = <&qmgr 21>;
|
D | intel-ixp42x-freecom-fsg-3.dts | 130 queue-rx = <&qmgr 3>; 131 queue-txready = <&qmgr 20>; 152 queue-rx = <&qmgr 4>; 153 queue-txready = <&qmgr 21>;
|
D | intel-ixp42x-arcom-vulcan.dts | 139 queue-rx = <&qmgr 3>; 140 queue-txready = <&qmgr 20>; 161 queue-rx = <&qmgr 4>; 162 queue-txready = <&qmgr 21>;
|
D | intel-ixp42x-gateworks-gw2348.dts | 144 queue-rx = <&qmgr 3>; 145 queue-txready = <&qmgr 20>; 166 queue-rx = <&qmgr 4>; 167 queue-txready = <&qmgr 21>;
|
D | intel-ixp43x-gateworks-gw2358.dts | 169 queue-rx = <&qmgr 4>; 170 queue-txready = <&qmgr 21>; 190 queue-rx = <&qmgr 2>; 191 queue-txready = <&qmgr 19>;
|
D | intel-ixp42x-netgear-wg302v2.dts | 80 queue-rx = <&qmgr 3>; 81 queue-txready = <&qmgr 20>;
|
D | intel-ixp42x-iomega-nas100d.dts | 131 queue-rx = <&qmgr 3>; 132 queue-txready = <&qmgr 20>;
|
/Linux-v5.15/Documentation/devicetree/bindings/net/ |
D | intel,ixp4xx-ethernet.yaml | 74 queue-rx = <&qmgr 4>; 75 queue-txready = <&qmgr 21>; 84 queue-rx = <&qmgr 3>; 85 queue-txready = <&qmgr 20>;
|
/Linux-v5.15/Documentation/devicetree/bindings/misc/ |
D | intel,ixp4xx-ahb-queue-manager.yaml | 18 queues from the queue manager with foo-queue = <&qmgr N> where the 19 &qmgr is a phandle to the queue manager and N is the queue resource 47 qmgr: queue-manager@60000000 {
|
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/engine/sec2/ |
D | base.c | 74 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.15/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | base.c | 149 nvkm_falcon_qmgr_del(&pmu->qmgr); in nvkm_pmu_dtor() 188 if ((ret = nvkm_falcon_qmgr_new(&pmu->falcon, &pmu->qmgr)) || in nvkm_pmu_ctor() 189 (ret = nvkm_falcon_cmdq_new(pmu->qmgr, "hpq", &pmu->hpq)) || in nvkm_pmu_ctor() 190 (ret = nvkm_falcon_cmdq_new(pmu->qmgr, "lpq", &pmu->lpq)) || in nvkm_pmu_ctor() 191 (ret = nvkm_falcon_msgq_new(pmu->qmgr, "msgq", &pmu->msgq))) in nvkm_pmu_ctor()
|
/Linux-v5.15/drivers/soc/ixp4xx/ |
D | ixp4xx-qmgr.c | 14 #include <linux/soc/ixp4xx/qmgr.h> 302 printk(KERN_ERR "qmgr: no free SRAM space for" in qmgr_request_queue() 317 printk(KERN_DEBUG "qmgr: requested queue %s(%i) addr = 0x%02X\n", in qmgr_request_queue() 354 printk(KERN_DEBUG "qmgr: releasing queue %s(%i)\n", in qmgr_release_queue() 360 printk(KERN_ERR "qmgr: released queue %i not empty: 0x%08X\n", in qmgr_release_queue() 399 /* reset qmgr registers */ in ixp4xx_qmgr_probe() 461 .name = "ixp4xx-qmgr",
|
/Linux-v5.15/Documentation/devicetree/bindings/firmware/ |
D | intel,ixp4xx-network-processing-engine.yaml | 55 queue-rx = <&qmgr 30>; 56 queue-txready = <&qmgr 29>;
|