/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | qmgr.c | 32 mutex_lock(&qmgr->seq.mutex); 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() 63 if (qmgr) { in nvkm_falcon_qmgr_del() 73 struct nvkm_falcon_qmgr *qmgr; in nvkm_falcon_qmgr_new() local 76 if (!(qmgr = *pqmgr = kzalloc(sizeof(*qmgr), GFP_KERNEL))) in nvkm_falcon_qmgr_new() 79 qmgr->falcon = falcon; in nvkm_falcon_qmgr_new() 80 mutex_init(&qmgr->seq.mutex); in nvkm_falcon_qmgr_new() [all …]
|
H A D | cmdq.c | 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() 201 nvkm_falcon_cmdq_new(struct nvkm_falcon_qmgr *qmgr, const char *name, in nvkm_falcon_cmdq_new() argument [all …]
|
H A D | msgq.c | 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() 201 nvkm_falcon_msgq_new(struct nvkm_falcon_qmgr *qmgr, const char *name, in nvkm_falcon_msgq_new() argument [all …]
|
H A D | qmgr.h | 60 struct nvkm_falcon_qmgr *qmgr; member 74 struct nvkm_falcon_qmgr *qmgr; member 85 #define FLCNQ_PRINTK(q,l,p,f,a...) FLCN_PRINTK((q)->qmgr->falcon, l, p, "%s: "f, (q)->name, ##a)
|
/openbmc/linux/arch/arm/boot/dts/intel/ixp/ |
H A D | intel-ixp42x-goramo-multilink.dts | 123 intel,queue-pkt-rx = <&qmgr 13>; 124 intel,queue-pkt-tx = <&qmgr 14>, <&qmgr 15>, <&qmgr 16>, <&qmgr 17>; 125 intel,queue-pkt-rxfree = <&qmgr 18>, <&qmgr 19>, <&qmgr 20>, <&qmgr 21>; 138 intel,queue-pkt-rx = <&qmgr 0>; 139 intel,queue-pkt-tx = <&qmgr 5>, <&qmgr 6>, <&qmgr 7>, <&qmgr 8>; 140 intel,queue-pkt-rxfree = <&qmgr 1>, <&qmgr 2>, <&qmgr 3>, <&qmgr 4>; 141 intel,queue-pkt-txdone = <&qmgr 9>; 154 queue-rx = <&qmgr 3>; 155 queue-txready = <&qmgr 32>; 176 queue-rx = <&qmgr 4>; [all …]
|
H A 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>;
|
H A D | intel-ixp4xx.dtsi | 44 qmgr: queue-manager@60000000 { label 164 queue-rx = <&qmgr 30>; 165 queue-txready = <&qmgr 29>; 175 queue-rx = <&qmgr 3>; 176 queue-txready = <&qmgr 20>; 186 queue-rx = <&qmgr 0>; 187 queue-txready = <&qmgr 0>; 198 queue-rx = <&qmgr 0>; 199 queue-txready = <&qmgr 0>;
|
H A 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>;
|
H A 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>;
|
H A D | intel-ixp42x-gateway-7001.dts | 80 queue-rx = <&qmgr 3>; 81 queue-txready = <&qmgr 20>; 97 queue-rx = <&qmgr 4>; 98 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-adi-coyote.dts | 84 queue-rx = <&qmgr 3>; 85 queue-txready = <&qmgr 20>; 106 queue-rx = <&qmgr 4>; 107 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-ixdpg425.dts | 99 queue-rx = <&qmgr 3>; 100 queue-txready = <&qmgr 20>; 121 queue-rx = <&qmgr 4>; 122 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-linksys-wrv54g.dts | 145 queue-rx = <&qmgr 3>; 146 queue-txready = <&qmgr 20>; 169 queue-rx = <&qmgr 4>; 170 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-arcom-vulcan.dts | 141 queue-rx = <&qmgr 3>; 142 queue-txready = <&qmgr 20>; 163 queue-rx = <&qmgr 4>; 164 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-welltech-epbx100.dts | 83 queue-rx = <&qmgr 3>; 84 queue-txready = <&qmgr 20>;
|
H A D | intel-ixp42x-gateworks-gw2348.dts | 146 queue-rx = <&qmgr 3>; 147 queue-txready = <&qmgr 20>; 168 queue-rx = <&qmgr 4>; 169 queue-txready = <&qmgr 21>;
|
H A D | intel-ixp42x-freecom-fsg-3.dts | 191 queue-rx = <&qmgr 3>; 192 queue-txready = <&qmgr 20>; 213 queue-rx = <&qmgr 4>; 214 queue-txready = <&qmgr 21>;
|
/openbmc/linux/Documentation/devicetree/bindings/firmware/ |
H A D | intel,ixp4xx-network-processing-engine.yaml | 74 intel,queue-chl-rxtrig = <&qmgr 12>; 75 intel,queue-chl-txready = <&qmgr 34>; 76 intel,queue-pkt-rx = <&qmgr 13>; 77 intel,queue-pkt-tx = <&qmgr 14>, <&qmgr 15>, <&qmgr 16>, <&qmgr 17>; 78 intel,queue-pkt-rxfree = <&qmgr 18>, <&qmgr 19>, <&qmgr 20>, <&qmgr 21>; 79 intel,queue-pkt-txdone = <&qmgr 22>; 90 queue-rx = <&qmgr 30>; 91 queue-txready = <&qmgr 29>;
|
/openbmc/linux/drivers/soc/ti/ |
H A D | knav_qmss_queue.c | 1283 end = min(qmgr->start_queue + qmgr->num_queues, in knav_setup_queue_range() 1399 qmgr = devm_kzalloc(dev, sizeof(*qmgr), GFP_KERNEL); in knav_queue_init_qmgrs() 1400 if (!qmgr) { in knav_queue_init_qmgrs() 1418 qmgr->start_queue, qmgr->num_queues); in knav_queue_init_qmgrs() 1479 qmgr->reg_pop = qmgr->reg_push; in knav_queue_init_qmgrs() 1483 qmgr->start_queue, qmgr->num_queues, in knav_queue_init_qmgrs() 1484 qmgr->reg_peek, qmgr->reg_status, in knav_queue_init_qmgrs() 1485 qmgr->reg_config, qmgr->reg_region, in knav_queue_init_qmgrs() 1486 qmgr->reg_push, qmgr->reg_pop); in knav_queue_init_qmgrs() 1675 (id < qmgr->start_queue + qmgr->num_queues)) in knav_find_qmgr() [all …]
|
H A D | knav_qmss.h | 256 struct knav_qmgr_info *qmgr; member 368 #define for_each_qmgr(kdev, qmgr) \ argument 369 list_for_each_entry(qmgr, &kdev->qmgrs, list)
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | base.c | 111 nvkm_falcon_qmgr_del(&pmu->qmgr); in nvkm_pmu_dtor() 149 if ((ret = nvkm_falcon_qmgr_new(&pmu->falcon, &pmu->qmgr)) || in nvkm_pmu_ctor() 150 (ret = nvkm_falcon_cmdq_new(pmu->qmgr, "hpq", &pmu->hpq)) || in nvkm_pmu_ctor() 151 (ret = nvkm_falcon_cmdq_new(pmu->qmgr, "lpq", &pmu->lpq)) || in nvkm_pmu_ctor() 152 (ret = nvkm_falcon_msgq_new(pmu->qmgr, "msgq", &pmu->msgq))) in nvkm_pmu_ctor()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/sec2/ |
H A D | base.c | 120 nvkm_falcon_qmgr_del(&sec2->qmgr); in nvkm_sec2_dtor() 158 if ((ret = nvkm_falcon_qmgr_new(&sec2->falcon, &sec2->qmgr)) || in nvkm_sec2_new_() 159 (ret = nvkm_falcon_cmdq_new(sec2->qmgr, "cmdq", &sec2->cmdq)) || in nvkm_sec2_new_() 160 (ret = nvkm_falcon_msgq_new(sec2->qmgr, "msgq", &sec2->msgq))) in nvkm_sec2_new_()
|
/openbmc/linux/Documentation/devicetree/bindings/misc/ |
H A 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 {
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | intel,ixp4xx-ethernet.yaml | 83 queue-rx = <&qmgr 4>; 84 queue-txready = <&qmgr 21>; 93 queue-rx = <&qmgr 3>; 94 queue-txready = <&qmgr 20>;
|
/openbmc/linux/drivers/soc/ixp4xx/ |
H A D | Makefile | 2 obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx-qmgr.o
|