Home
last modified time | relevance | path

Searched refs:falcon (Results 1 – 25 of 72) sorted by relevance

123

/Linux-v6.6/drivers/gpu/drm/tegra/
Dfalcon.c20 static void falcon_writel(struct falcon *falcon, u32 value, u32 offset) in falcon_writel() argument
22 writel(value, falcon->regs + offset); in falcon_writel()
25 int falcon_wait_idle(struct falcon *falcon) in falcon_wait_idle() argument
29 return readl_poll_timeout(falcon->regs + FALCON_IDLESTATE, value, in falcon_wait_idle()
33 static int falcon_dma_wait_idle(struct falcon *falcon) in falcon_dma_wait_idle() argument
37 return readl_poll_timeout(falcon->regs + FALCON_DMATRFCMD, value, in falcon_dma_wait_idle()
41 static int falcon_copy_chunk(struct falcon *falcon, in falcon_copy_chunk() argument
59 falcon_writel(falcon, offset, FALCON_DMATRFMOFFS); in falcon_copy_chunk()
60 falcon_writel(falcon, base, FALCON_DMATRFFBOFFS); in falcon_copy_chunk()
61 falcon_writel(falcon, cmd, FALCON_DMATRFCMD); in falcon_copy_chunk()
[all …]
Dfalcon.h99 struct falcon { struct
107 int falcon_init(struct falcon *falcon); argument
108 void falcon_exit(struct falcon *falcon);
109 int falcon_read_firmware(struct falcon *falcon, const char *firmware_name);
110 int falcon_load_firmware(struct falcon *falcon);
111 int falcon_boot(struct falcon *falcon);
112 void falcon_execute_method(struct falcon *falcon, u32 method, u32 data);
113 int falcon_wait_idle(struct falcon *falcon);
Dvic.c30 struct falcon falcon; member
88 err = falcon_boot(&vic->falcon); in vic_boot()
92 hdr = vic->falcon.firmware.virt; in vic_boot()
97 hdr = vic->falcon.firmware.virt + in vic_boot()
101 falcon_execute_method(&vic->falcon, VIC_SET_FCE_UCODE_SIZE, in vic_boot()
104 &vic->falcon, VIC_SET_FCE_UCODE_OFFSET, in vic_boot()
105 (vic->falcon.firmware.iova + fce_bin_data_offset) >> 8); in vic_boot()
108 err = falcon_wait_idle(&vic->falcon); in vic_boot()
191 dma_unmap_single(vic->dev, vic->falcon.firmware.phys, in vic_exit()
192 vic->falcon.firmware.size, DMA_TO_DEVICE); in vic_exit()
[all …]
Dnvdec.c37 struct falcon falcon; member
81 err = falcon_boot(&nvdec->falcon); in nvdec_boot_falcon()
85 err = falcon_wait_idle(&nvdec->falcon); in nvdec_boot_falcon()
225 dma_unmap_single(nvdec->dev, nvdec->falcon.firmware.phys, in nvdec_exit()
226 nvdec->falcon.firmware.size, DMA_TO_DEVICE); in nvdec_exit()
227 tegra_drm_free(tegra, nvdec->falcon.firmware.size, in nvdec_exit()
228 nvdec->falcon.firmware.virt, in nvdec_exit()
229 nvdec->falcon.firmware.iova); in nvdec_exit()
231 dma_free_coherent(nvdec->dev, nvdec->falcon.firmware.size, in nvdec_exit()
232 nvdec->falcon.firmware.virt, in nvdec_exit()
[all …]
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/falcon/
Dgm200.c29 gm200_flcn_tracepc(struct nvkm_falcon *falcon) in gm200_flcn_tracepc() argument
31 u32 sctl = nvkm_falcon_rd32(falcon, 0x240); in gm200_flcn_tracepc()
32 u32 tidx = nvkm_falcon_rd32(falcon, 0x148); in gm200_flcn_tracepc()
35 FLCN_ERR(falcon, "TRACEPC SCTL %08x TIDX %08x", sctl, tidx); in gm200_flcn_tracepc()
37 nvkm_falcon_wr32(falcon, 0x148, sp); in gm200_flcn_tracepc()
38 ip = nvkm_falcon_rd32(falcon, 0x14c); in gm200_flcn_tracepc()
39 FLCN_ERR(falcon, "TRACEPC: %08x", ip); in gm200_flcn_tracepc()
44 gm200_flcn_pio_dmem_rd(struct nvkm_falcon *falcon, u8 port, const u8 *img, int len) in gm200_flcn_pio_dmem_rd() argument
47 *(u32 *)img = nvkm_falcon_rd32(falcon, 0x1c4 + (port * 8)); in gm200_flcn_pio_dmem_rd()
54 u32 data = nvkm_falcon_rd32(falcon, 0x1c4 + (port * 8)); in gm200_flcn_pio_dmem_rd()
[all …]
Dbase.c29 nvkm_falcon_dma(struct nvkm_falcon *falcon, enum nvkm_falcon_mem *mem_type, u32 *mem_base) in nvkm_falcon_dma() argument
32 case IMEM: return falcon->func->imem_dma; in nvkm_falcon_dma()
33 case DMEM: return falcon->func->dmem_dma; in nvkm_falcon_dma()
40 nvkm_falcon_dma_wr(struct nvkm_falcon *falcon, const u8 *img, u64 dma_addr, u32 dma_base, in nvkm_falcon_dma_wr() argument
43 const struct nvkm_falcon_func_dma *dma = nvkm_falcon_dma(falcon, &mem_type, &mem_base); in nvkm_falcon_dma_wr()
58 FLCN_DBG(falcon, "%s %08x <- %08x bytes at %08x (%010llx %08x)", in nvkm_falcon_dma_wr()
63 ret = dma->init(falcon, dma_addr, dmalen, mem_type, sec, &cmd); in nvkm_falcon_dma_wr()
71 dma->xfer(falcon, dst, src - dma_start, cmd); in nvkm_falcon_dma_wr()
73 if (img && nvkm_printk_ok(falcon->owner, falcon->user, NV_DBG_TRACE)) { in nvkm_falcon_dma_wr()
88 if (nvkm_msec(falcon->owner->device, 2000, in nvkm_falcon_dma_wr()
[all …]
Dga102.c28 ga102_flcn_dma_done(struct nvkm_falcon *falcon) in ga102_flcn_dma_done() argument
30 return !!(nvkm_falcon_rd32(falcon, 0x118) & 0x00000002); in ga102_flcn_dma_done()
34 ga102_flcn_dma_xfer(struct nvkm_falcon *falcon, u32 mem_base, u32 dma_base, u32 cmd) in ga102_flcn_dma_xfer() argument
36 nvkm_falcon_wr32(falcon, 0x114, mem_base); in ga102_flcn_dma_xfer()
37 nvkm_falcon_wr32(falcon, 0x11c, dma_base); in ga102_flcn_dma_xfer()
38 nvkm_falcon_wr32(falcon, 0x118, cmd); in ga102_flcn_dma_xfer()
42 ga102_flcn_dma_init(struct nvkm_falcon *falcon, u64 dma_addr, int xfer_len, in ga102_flcn_dma_init() argument
51 nvkm_falcon_wr32(falcon, 0x110, dma_addr >> 8); in ga102_flcn_dma_init()
52 nvkm_falcon_wr32(falcon, 0x128, 0x00000000); in ga102_flcn_dma_init()
64 ga102_flcn_reset_wait_mem_scrubbing(struct nvkm_falcon *falcon) in ga102_flcn_reset_wait_mem_scrubbing() argument
[all …]
Dgp102.c25 gp102_flcn_pio_emem_rd(struct nvkm_falcon *falcon, u8 port, const u8 *img, int len) in gp102_flcn_pio_emem_rd() argument
28 *(u32 *)img = nvkm_falcon_rd32(falcon, 0xac4 + (port * 8)); in gp102_flcn_pio_emem_rd()
35 gp102_flcn_pio_emem_rd_init(struct nvkm_falcon *falcon, u8 port, u32 dmem_base) in gp102_flcn_pio_emem_rd_init() argument
37 nvkm_falcon_wr32(falcon, 0xac0 + (port * 8), BIT(25) | dmem_base); in gp102_flcn_pio_emem_rd_init()
41 gp102_flcn_pio_emem_wr(struct nvkm_falcon *falcon, u8 port, const u8 *img, int len, u16 tag) in gp102_flcn_pio_emem_wr() argument
44 nvkm_falcon_wr32(falcon, 0xac4 + (port * 8), *(u32 *)img); in gp102_flcn_pio_emem_wr()
51 gp102_flcn_pio_emem_wr_init(struct nvkm_falcon *falcon, u8 port, bool sec, u32 emem_base) in gp102_flcn_pio_emem_wr_init() argument
53 nvkm_falcon_wr32(falcon, 0xac0 + (port * 8), BIT(24) | emem_base); in gp102_flcn_pio_emem_wr_init()
67 gp102_flcn_reset_eng(struct nvkm_falcon *falcon) in gp102_flcn_reset_eng() argument
71 if (falcon->func->reset_prep) { in gp102_flcn_reset_eng()
[all …]
Dv1.c29 nvkm_falcon_v1_load_imem(struct nvkm_falcon *falcon, void *data, u32 start, in nvkm_falcon_v1_load_imem() argument
39 nvkm_falcon_wr32(falcon, 0x180 + (port * 16), reg); in nvkm_falcon_v1_load_imem()
43 nvkm_falcon_wr32(falcon, 0x188 + (port * 16), tag++); in nvkm_falcon_v1_load_imem()
44 nvkm_falcon_wr32(falcon, 0x184 + (port * 16), ((u32 *)data)[i]); in nvkm_falcon_v1_load_imem()
56 nvkm_falcon_wr32(falcon, 0x188 + (port * 16), tag++); in nvkm_falcon_v1_load_imem()
57 nvkm_falcon_wr32(falcon, 0x184 + (port * 16), in nvkm_falcon_v1_load_imem()
64 nvkm_falcon_wr32(falcon, 0x184 + (port * 16), 0); in nvkm_falcon_v1_load_imem()
68 nvkm_falcon_v1_load_dmem(struct nvkm_falcon *falcon, void *data, u32 start, in nvkm_falcon_v1_load_dmem() argument
76 nvkm_falcon_wr32(falcon, 0x1c0 + (port * 8), start | (0x1 << 24)); in nvkm_falcon_v1_load_dmem()
78 nvkm_falcon_wr32(falcon, 0x1c4 + (port * 8), ((u32 *)data)[i]); in nvkm_falcon_v1_load_dmem()
[all …]
DKbuild2 nvkm-y += nvkm/falcon/base.o
3 nvkm-y += nvkm/falcon/cmdq.o
4 nvkm-y += nvkm/falcon/fw.o
5 nvkm-y += nvkm/falcon/msgq.o
6 nvkm-y += nvkm/falcon/qmgr.o
7 nvkm-y += nvkm/falcon/v1.o
9 nvkm-y += nvkm/falcon/gm200.o
10 nvkm-y += nvkm/falcon/gp102.o
11 nvkm-y += nvkm/falcon/ga100.o
12 nvkm-y += nvkm/falcon/ga102.o
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() local
38 nvkm_falcon_wr32(falcon, msgq->tail_reg, msgq->position); 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() local
57 head = nvkm_falcon_rd32(falcon, msgq->head_reg); in nvkm_falcon_msgq_pop()
71 nvkm_falcon_pio_rd(falcon, 0, DMEM, tail, data, 0, size); in nvkm_falcon_msgq_pop()
157 struct nvkm_falcon *falcon = msgq->qmgr->falcon; in nvkm_falcon_msgq_recv_initmsg() local
161 msgq->head_reg = falcon->func->msgq.head; in nvkm_falcon_msgq_recv_initmsg()
[all …]
Dfw.c33 struct nvkm_falcon *falcon = fw->falcon; in nvkm_falcon_fw_patch() local
52 if (nvkm_printk_ok(falcon->owner, falcon->user, NV_DBG_TRACE)) { in nvkm_falcon_fw_patch()
77 struct nvkm_falcon *falcon = fw->falcon; in nvkm_falcon_fw_boot() local
80 ret = nvkm_falcon_get(falcon, user); in nvkm_falcon_fw_boot()
115 nvkm_falcon_put(falcon, user); in nvkm_falcon_fw_boot()
120 nvkm_falcon_fw_oneinit(struct nvkm_falcon_fw *fw, struct nvkm_falcon *falcon, in nvkm_falcon_fw_oneinit() argument
125 fw->falcon = falcon; in nvkm_falcon_fw_oneinit()
130 FLCN_DBG(falcon, "mapping %s fw", fw->fw.name); in nvkm_falcon_fw_oneinit()
133 FLCN_ERR(falcon, "get %d", ret); in nvkm_falcon_fw_oneinit()
139 FLCN_ERR(falcon, "map %d", ret); in nvkm_falcon_fw_oneinit()
[all …]
Dga100.c27 struct nvkm_falcon *falcon = fw->falcon; in ga100_flcn_fw_signature() local
28 struct nvkm_device *device = falcon->owner->device; in ga100_flcn_fw_signature()
32 FLCN_DBG(falcon, "brom: %08x %08x", fw->engine_id, fw->ucode_id); in ga100_flcn_fw_signature()
33 FLCN_DBG(falcon, "fuse_version: %d", fw->fuse_ver); in ga100_flcn_fw_signature()
48 FLCN_DBG(falcon, "reg_fuse_version: %08x", reg_fuse_version); in ga100_flcn_fw_signature()
51 FLCN_DBG(falcon, "reg_fuse_version: %d", reg_fuse_version); in ga100_flcn_fw_signature()
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() local
54 nvkm_falcon_pio_wr(falcon, data, 0, 0, DMEM, cmdq->position, size, 0, false); in nvkm_falcon_cmdq_push()
73 struct nvkm_falcon *falcon = cmdq->qmgr->falcon; in nvkm_falcon_cmdq_open() local
84 cmdq->position = nvkm_falcon_rd32(falcon, cmdq->head_reg); in nvkm_falcon_cmdq_open()
95 nvkm_falcon_wr32(cmdq->qmgr->falcon, cmdq->head_reg, cmdq->position); in nvkm_falcon_cmdq_close()
178 const struct nvkm_falcon_func *func = cmdq->qmgr->falcon->func; in nvkm_falcon_cmdq_init()
Dpriv.h7 nvkm_falcon_enable(struct nvkm_falcon *falcon) in nvkm_falcon_enable() argument
9 if (falcon->func->enable) in nvkm_falcon_enable()
10 return falcon->func->enable(falcon); in nvkm_falcon_enable()
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/
Dfalcon.c32 struct nvkm_falcon *falcon = nvkm_falcon(oclass->engine); in nvkm_falcon_oclass_get() local
35 while (falcon->func->sclass[c].oclass) { in nvkm_falcon_oclass_get()
37 oclass->base = falcon->func->sclass[index]; in nvkm_falcon_oclass_get()
61 struct nvkm_falcon *falcon = nvkm_falcon(engine); in nvkm_falcon_intr() local
62 struct nvkm_subdev *subdev = &falcon->engine.subdev; in nvkm_falcon_intr()
64 const u32 base = falcon->addr; in nvkm_falcon_intr()
74 if (falcon->func->intr) { in nvkm_falcon_intr()
75 falcon->func->intr(falcon, chan); in nvkm_falcon_intr()
98 struct nvkm_falcon *falcon = nvkm_falcon(engine); in nvkm_falcon_fini() local
99 struct nvkm_device *device = falcon->engine.subdev.device; in nvkm_falcon_fini()
[all …]
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgm200.c27 gm200_pmu_flcn_bind_stat(struct nvkm_falcon *falcon, bool intr) in gm200_pmu_flcn_bind_stat() argument
29 nvkm_falcon_wr32(falcon, 0x200, 0x0000030e); in gm200_pmu_flcn_bind_stat()
30 return (nvkm_falcon_rd32(falcon, 0x20c) & 0x00007000) >> 12; in gm200_pmu_flcn_bind_stat()
34 gm200_pmu_flcn_bind_inst(struct nvkm_falcon *falcon, int target, u64 addr) in gm200_pmu_flcn_bind_inst() argument
36 nvkm_falcon_wr32(falcon, 0xe00, 4); /* DMAIDX_UCODE */ in gm200_pmu_flcn_bind_inst()
37 nvkm_falcon_wr32(falcon, 0xe04, 0); /* DMAIDX_VIRT */ in gm200_pmu_flcn_bind_inst()
38 nvkm_falcon_wr32(falcon, 0xe08, 4); /* DMAIDX_PHYS_VID */ in gm200_pmu_flcn_bind_inst()
39 nvkm_falcon_wr32(falcon, 0xe0c, 5); /* DMAIDX_PHYS_SYS_COH */ in gm200_pmu_flcn_bind_inst()
40 nvkm_falcon_wr32(falcon, 0xe10, 6); /* DMAIDX_PHYS_SYS_NCOH */ in gm200_pmu_flcn_bind_inst()
41 nvkm_falcon_mask(falcon, 0x090, 0x00010000, 0x00010000); in gm200_pmu_flcn_bind_inst()
[all …]
Dgk20a.c98 struct nvkm_falcon *falcon = &pmu->base.falcon; in gk20a_pmu_dvfs_get_dev_status() local
100 status->busy = nvkm_falcon_rd32(falcon, 0x508 + (BUSY_SLOT * 0x10)); in gk20a_pmu_dvfs_get_dev_status()
101 status->total= nvkm_falcon_rd32(falcon, 0x508 + (CLK_SLOT * 0x10)); in gk20a_pmu_dvfs_get_dev_status()
107 struct nvkm_falcon *falcon = &pmu->base.falcon; in gk20a_pmu_dvfs_reset_dev_status() local
109 nvkm_falcon_wr32(falcon, 0x508 + (BUSY_SLOT * 0x10), 0x80000000); in gk20a_pmu_dvfs_reset_dev_status()
110 nvkm_falcon_wr32(falcon, 0x508 + (CLK_SLOT * 0x10), 0x80000000); in gk20a_pmu_dvfs_reset_dev_status()
163 nvkm_falcon_put(&pmu->falcon, &pmu->subdev); in gk20a_pmu_fini()
172 struct nvkm_falcon *falcon = &pmu->falcon; in gk20a_pmu_init() local
175 ret = nvkm_falcon_get(falcon, subdev); in gk20a_pmu_init()
177 nvkm_error(subdev, "cannot acquire %s falcon!\n", falcon->name); in gk20a_pmu_init()
[all …]
Dgm20b.c39 gm20b_pmu_acr_bootstrap_falcon(struct nvkm_falcon *falcon, in gm20b_pmu_acr_bootstrap_falcon() argument
42 struct nvkm_pmu *pmu = container_of(falcon, typeof(*pmu), falcon); in gm20b_pmu_acr_bootstrap_falcon()
103 .argv = lsfw->falcon->data.limit - sizeof(struct nv_pmu_args), in gm20b_pmu_acr_bld_write()
211 nvkm_falcon_put(&pmu->falcon, &pmu->subdev); in gm20b_pmu_fini()
217 struct nvkm_falcon *falcon = &pmu->falcon; in gm20b_pmu_init() local
219 u32 addr_args = falcon->data.limit - sizeof(args); in gm20b_pmu_init()
222 ret = nvkm_falcon_get(&pmu->falcon, &pmu->subdev); in gm20b_pmu_init()
228 nvkm_falcon_pio_wr(falcon, (u8 *)&args, 0, 0, DMEM, addr_args, sizeof(args), 0, false); in gm20b_pmu_init()
229 nvkm_falcon_start(falcon); in gm20b_pmu_init()
253 return nvkm_acr_lsfw_load_sig_image_desc(&pmu->subdev, &pmu->falcon, in gm20b_pmu_load()
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/sec2/
Dbase.c44 struct nvkm_falcon *falcon = &sec2->falcon; in nvkm_sec2_fini() local
61 if (nvkm_falcon_rd32(falcon, 0x100) & 0x00000010) in nvkm_sec2_fini()
69 falcon->func->disable(falcon); in nvkm_sec2_fini()
70 nvkm_falcon_put(falcon, subdev); in nvkm_sec2_fini()
79 struct nvkm_falcon *falcon = &sec2->falcon; in nvkm_sec2_init() local
82 ret = nvkm_falcon_get(falcon, subdev); in nvkm_sec2_init()
86 nvkm_falcon_wr32(falcon, 0x014, 0xffffffff); in nvkm_sec2_init()
91 nvkm_falcon_start(falcon); in nvkm_sec2_init()
121 nvkm_falcon_dtor(&sec2->falcon); in nvkm_sec2_dtor()
154 sec2->engine.subdev.name, addr, &sec2->falcon); in nvkm_sec2_new_()
[all …]
Dgp102.c59 gp102_sec2_acr_bootstrap_falcon(struct nvkm_falcon *falcon, in gp102_sec2_acr_bootstrap_falcon() argument
62 struct nvkm_sec2 *sec2 = container_of(falcon, typeof(*sec2), falcon); in gp102_sec2_acr_bootstrap_falcon()
104 .argv = lsfw->falcon->func->emem_addr, in gp102_sec2_acr_bld_write()
157 struct nvkm_falcon *falcon = &sec2->falcon; in gp102_sec2_intr() local
158 u32 disp = nvkm_falcon_rd32(falcon, 0x01c); in gp102_sec2_intr()
159 u32 intr = nvkm_falcon_rd32(falcon, 0x008) & disp & ~(disp >> 16); in gp102_sec2_intr()
176 nvkm_falcon_wr32(falcon, 0x004, 0x00000040); in gp102_sec2_intr()
182 FLCN_ERR(falcon, "halted"); in gp102_sec2_intr()
183 gm200_flcn_tracepc(falcon); in gp102_sec2_intr()
186 nvkm_falcon_wr32(falcon, 0x004, 0x00000010); in gp102_sec2_intr()
[all …]
/Linux-v6.6/drivers/gpu/drm/nouveau/include/nvkm/engine/
Dfalcon.h109 nvkm_falcon_rd32(struct nvkm_falcon *falcon, u32 addr) in nvkm_falcon_rd32() argument
111 return nvkm_rd32(falcon->owner->device, falcon->addr + addr); in nvkm_falcon_rd32()
115 nvkm_falcon_wr32(struct nvkm_falcon *falcon, u32 addr, u32 data) in nvkm_falcon_wr32() argument
117 nvkm_wr32(falcon->owner->device, falcon->addr + addr, data); in nvkm_falcon_wr32()
121 nvkm_falcon_mask(struct nvkm_falcon *falcon, u32 addr, u32 mask, u32 val) in nvkm_falcon_mask() argument
123 struct nvkm_device *device = falcon->owner->device; in nvkm_falcon_mask()
125 return nvkm_mask(device, falcon->addr + addr, mask, val); in nvkm_falcon_mask()
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dbase.c79 nvkm_subdev_unref(acr->rtos->falcon->owner); in nvkm_acr_unload()
117 ret = nvkm_subdev_ref(rtos->falcon->owner); in nvkm_acr_load()
160 return rtos->func->bootstrap_multiple_falcons(rtos->falcon, mask); in nvkm_acr_bootstrap_falcons()
163 int ret = rtos->func->bootstrap_falcon(rtos->falcon, id); in nvkm_acr_bootstrap_falcons()
222 struct nvkm_falcon *falcon; in nvkm_acr_oneinit() local
248 ret = nvkm_falcon_get(lsfw->falcon, subdev); in nvkm_acr_oneinit()
252 nvkm_falcon_put(lsfw->falcon, subdev); in nvkm_acr_oneinit()
257 lsf->falcon = lsfw->falcon; in nvkm_acr_oneinit()
341 case NVKM_ACR_HSF_PMU : falcon = &device->pmu->falcon; break; in nvkm_acr_oneinit()
342 case NVKM_ACR_HSF_SEC2: falcon = &device->sec2->falcon; break; in nvkm_acr_oneinit()
[all …]
Dlsfw.c60 struct nvkm_falcon *falcon, enum nvkm_acr_lsf_id id) in nvkm_acr_lsfw_add() argument
82 lsfw->falcon = falcon; in nvkm_acr_lsfw_add()
88 struct nvkm_falcon *falcon, in nvkm_acr_lsfw_load_sig_image_desc_() argument
98 if (IS_ERR((lsfw = nvkm_acr_lsfw_add(func, acr, falcon, id)))) in nvkm_acr_lsfw_load_sig_image_desc_()
142 struct nvkm_falcon *falcon, in nvkm_acr_lsfw_load_sig_image_desc() argument
150 lsfw = nvkm_acr_lsfw_load_sig_image_desc_(subdev, falcon, id, path, ver, in nvkm_acr_lsfw_load_sig_image_desc()
162 struct nvkm_falcon *falcon, in nvkm_acr_lsfw_load_sig_image_desc_v1() argument
170 lsfw = nvkm_acr_lsfw_load_sig_image_desc_(subdev, falcon, id, path, ver, in nvkm_acr_lsfw_load_sig_image_desc_v1()
182 struct nvkm_falcon *falcon, in nvkm_acr_lsfw_load_sig_image_desc_v2() argument
192 lsfw = nvkm_acr_lsfw_load_sig_image_desc_(subdev, falcon, id, path, ver, func, &fw); in nvkm_acr_lsfw_load_sig_image_desc_v2()
[all …]
/Linux-v6.6/drivers/net/ethernet/sfc/falcon/
DMakefile2 sfc-falcon-y += efx.o nic.o farch.o falcon.o tx.o rx.o selftest.o \
6 sfc-falcon-$(CONFIG_SFC_FALCON_MTD) += mtd.o
7 obj-$(CONFIG_SFC_FALCON) += sfc-falcon.o

123