/linux/include/linux/mtd/ |
H A D | nand-ecc-mxic.h | 21 void mxic_ecc_put_pipelined_engine(struct nand_ecc_engine *eng); 22 int mxic_ecc_process_data_pipelined(struct nand_ecc_engine *eng, 38 static inline void mxic_ecc_put_pipelined_engine(struct nand_ecc_engine *eng) {} in mxic_ecc_put_pipelined_engine() argument 40 static inline int mxic_ecc_process_data_pipelined(struct nand_ecc_engine *eng, in mxic_ecc_process_data_pipelined() argument
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | g84.c | 49 ret = nvkm_gpuobj_new(device, 0x0200, 0, true, chan->inst, &chan->eng); in g84_chan_ramfc_write() 143 nvkm_kmap(chan->eng); in g84_ectx_bind() 144 nvkm_wo32(chan->eng, ptr0 + 0x00, flags); in g84_ectx_bind() 145 nvkm_wo32(chan->eng, ptr0 + 0x04, lower_32_bits(limit)); in g84_ectx_bind() 146 nvkm_wo32(chan->eng, ptr0 + 0x08, lower_32_bits(start)); in g84_ectx_bind() 147 nvkm_wo32(chan->eng, ptr0 + 0x0c, upper_32_bits(limit) << 24 | in g84_ectx_bind() 149 nvkm_wo32(chan->eng, ptr0 + 0x10, 0x00000000); in g84_ectx_bind() 150 nvkm_wo32(chan->eng, ptr0 + 0x14, 0x00000000); in g84_ectx_bind() 151 nvkm_done(chan->eng); in g84_ectx_bind()
|
H A D | nv50.c | 90 ret = nvkm_gpuobj_new(device, 0x1200, 0, true, chan->inst, &chan->eng); in nv50_chan_ramfc_write() 193 nvkm_kmap(chan->eng); in nv50_ectx_bind() 194 nvkm_wo32(chan->eng, ptr0 + 0x00, flags); in nv50_ectx_bind() 195 nvkm_wo32(chan->eng, ptr0 + 0x04, lower_32_bits(limit)); in nv50_ectx_bind() 196 nvkm_wo32(chan->eng, ptr0 + 0x08, lower_32_bits(start)); in nv50_ectx_bind() 197 nvkm_wo32(chan->eng, ptr0 + 0x0c, upper_32_bits(limit) << 24 | in nv50_ectx_bind() 199 nvkm_wo32(chan->eng, ptr0 + 0x10, 0x00000000); in nv50_ectx_bind() 200 nvkm_wo32(chan->eng, ptr0 + 0x14, 0x00000000); in nv50_ectx_bind() 201 nvkm_done(chan->eng); in nv50_ectx_bind()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | gk104.c | 43 struct gk104_clk_info eng[16]; member 290 struct gk104_clk_info *info = &clk->eng[idx]; in calc_clk() 359 struct gk104_clk_info *info = &clk->eng[idx]; in gk104_clk_prog_0() 388 struct gk104_clk_info *info = &clk->eng[idx]; in gk104_clk_prog_2() 413 struct gk104_clk_info *info = &clk->eng[idx]; in gk104_clk_prog_3() 424 struct gk104_clk_info *info = &clk->eng[idx]; in gk104_clk_prog_4_0() 439 struct gk104_clk_info *info = &clk->eng[idx]; in gk104_clk_prog_4_1() 466 for (j = 0; j < ARRAY_SIZE(clk->eng); j++) { in gk104_clk_prog() 469 if (!clk->eng[j].freq) in gk104_clk_prog() 482 memset(clk->eng, 0x00, sizeof(clk->eng)); in gk104_clk_tidy()
|
H A D | gf100.c | 43 struct gf100_clk_info eng[16]; member 276 struct gf100_clk_info *info = &clk->eng[idx]; in calc_clk() 346 struct gf100_clk_info *info = &clk->eng[idx]; in gf100_clk_prog_0() 368 struct gf100_clk_info *info = &clk->eng[idx]; in gf100_clk_prog_2() 395 struct gf100_clk_info *info = &clk->eng[idx]; in gf100_clk_prog_3() 410 struct gf100_clk_info *info = &clk->eng[idx]; in gf100_clk_prog_4() 431 for (j = 0; j < ARRAY_SIZE(clk->eng); j++) { in gf100_clk_prog() 432 if (!clk->eng[j].freq) in gf100_clk_prog() 445 memset(clk->eng, 0x00, sizeof(clk->eng)); in gf100_clk_tidy()
|
H A D | gt215.c | 36 struct gt215_clk_info eng[nv_clk_src_max]; member 278 &clk->eng[dom]); in calc_clk() 289 struct gt215_clk_info *info = &clk->eng[nv_clk_src_host]; in calc_host() 365 struct gt215_clk_info *info = &clk->eng[dom]; in prog_pll() 409 struct gt215_clk_info *info = &clk->eng[dom]; in prog_clk() 417 struct gt215_clk_info *info = &clk->eng[nv_clk_src_host]; in prog_host() 445 struct gt215_clk_info *info = &clk->eng[dom]; in prog_core() 462 struct gt215_clk_info *core = &clk->eng[nv_clk_src_core]; in gt215_clk_calc() 477 &clk->eng[nv_clk_src_core_intm]); in gt215_clk_calc() 489 struct gt215_clk_info *core = &clk->eng[nv_clk_src_core]; in gt215_clk_prog()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | gmc_v12_0.c | 206 const unsigned eng = 17; in gmc_v12_0_flush_vm_hub() local 226 hub->eng_distance * eng, hub_ip); in gmc_v12_0_flush_vm_hub() 237 WREG32_RLC_NO_KIQ(hub->vm_inv_eng0_req + hub->eng_distance * eng, inv_req, hub_ip); in gmc_v12_0_flush_vm_hub() 242 hub->eng_distance * eng, hub_ip); in gmc_v12_0_flush_vm_hub() 257 hub->eng_distance * eng, 0, hub_ip); in gmc_v12_0_flush_vm_hub() 305 const unsigned eng = 17; in gmc_v12_0_flush_gpu_tlb() local 307 u32 req = hub->vm_inv_eng0_req + hub->eng_distance * eng; in gmc_v12_0_flush_gpu_tlb() 308 u32 ack = hub->vm_inv_eng0_ack + hub->eng_distance * eng; in gmc_v12_0_flush_gpu_tlb() 365 unsigned eng = ring->vm_inv_eng; in gmc_v12_0_emit_flush_gpu_tlb() local 379 hub->eng_distance * eng, 0x1, 0x1); in gmc_v12_0_emit_flush_gpu_tlb() [all …]
|
H A D | gmc_v11_0.c | 215 const unsigned int eng = 17; in gmc_v11_0_flush_gpu_tlb() local 224 sem = hub->vm_inv_eng0_sem + hub->eng_distance * eng; in gmc_v11_0_flush_gpu_tlb() 225 req = hub->vm_inv_eng0_req + hub->eng_distance * eng; in gmc_v11_0_flush_gpu_tlb() 226 ack = hub->vm_inv_eng0_ack + hub->eng_distance * eng; in gmc_v11_0_flush_gpu_tlb() 345 unsigned int eng = ring->vm_inv_eng; in gmc_v11_0_emit_flush_gpu_tlb() local 359 hub->eng_distance * eng, 0x1, 0x1); in gmc_v11_0_emit_flush_gpu_tlb() 370 hub->eng_distance * eng, in gmc_v11_0_emit_flush_gpu_tlb() 372 hub->eng_distance * eng, in gmc_v11_0_emit_flush_gpu_tlb() 382 hub->eng_distance * eng, 0); in gmc_v11_0_emit_flush_gpu_tlb()
|
H A D | gmc_v10_0.c | 257 const unsigned int eng = 17; in gmc_v10_0_flush_gpu_tlb() local 263 sem = hub->vm_inv_eng0_sem + hub->eng_distance * eng; in gmc_v10_0_flush_gpu_tlb() 264 req = hub->vm_inv_eng0_req + hub->eng_distance * eng; in gmc_v10_0_flush_gpu_tlb() 265 ack = hub->vm_inv_eng0_ack + hub->eng_distance * eng; in gmc_v10_0_flush_gpu_tlb() 380 unsigned int eng = ring->vm_inv_eng; in gmc_v10_0_emit_flush_gpu_tlb() local 394 hub->eng_distance * eng, 0x1, 0x1); in gmc_v10_0_emit_flush_gpu_tlb() 405 hub->eng_distance * eng, in gmc_v10_0_emit_flush_gpu_tlb() 407 hub->eng_distance * eng, in gmc_v10_0_emit_flush_gpu_tlb() 417 hub->eng_distance * eng, 0); in gmc_v10_0_emit_flush_gpu_tlb()
|
H A D | gmc_v9_0.c | 836 const unsigned int eng = 17; in gmc_v9_0_flush_gpu_tlb() local 843 sem = hub->vm_inv_eng0_sem + hub->eng_distance * eng; in gmc_v9_0_flush_gpu_tlb() 844 req = hub->vm_inv_eng0_req + hub->eng_distance * eng; in gmc_v9_0_flush_gpu_tlb() 845 ack = hub->vm_inv_eng0_ack + hub->eng_distance * eng; in gmc_v9_0_flush_gpu_tlb() 857 uint32_t req = hub->vm_inv_eng0_req + hub->eng_distance * eng; in gmc_v9_0_flush_gpu_tlb() 858 uint32_t ack = hub->vm_inv_eng0_ack + hub->eng_distance * eng; in gmc_v9_0_flush_gpu_tlb() 982 unsigned int eng = ring->vm_inv_eng; in gmc_v9_0_emit_flush_gpu_tlb() local 996 hub->eng_distance * eng, 0x1, 0x1); in gmc_v9_0_emit_flush_gpu_tlb() 1007 hub->eng_distance * eng, in gmc_v9_0_emit_flush_gpu_tlb() 1009 hub->eng_distance * eng, in gmc_v9_0_emit_flush_gpu_tlb() [all …]
|
H A D | mmsch_v1_0.h | 57 struct mmsch_vf_eng_init_header eng[2]; member
|
H A D | vcn_v2_5.c | 1280 header->eng[i].table_offset = header->total_size; in vcn_v2_5_sriov_start() 1281 header->eng[i].init_status = 0; in vcn_v2_5_sriov_start() 1282 header->eng[i].table_size = 0; in vcn_v2_5_sriov_start() 1393 header->eng[i].table_size = table_size; in vcn_v2_5_sriov_start()
|
/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cpt_devlink.c | 102 struct otx2_cpt_engs_rsvd *eng; in otx2_cpt_dl_info_firmware_version_put() local 106 eng = find_engines_by_type(&grp[i], eng_type); in otx2_cpt_dl_info_firmware_version_put() 107 if (eng) in otx2_cpt_dl_info_firmware_version_put() 109 eng->ucode->ver_str); in otx2_cpt_dl_info_firmware_version_put()
|
/linux/drivers/mtd/nand/ |
H A D | ecc-mxic.c | 114 static struct mxic_ecc_engine *ext_ecc_eng_to_mxic(struct nand_ecc_engine *eng) in ext_ecc_eng_to_mxic() argument 116 return container_of(eng, struct mxic_ecc_engine, external_engine); in ext_ecc_eng_to_mxic() 119 static struct mxic_ecc_engine *pip_ecc_eng_to_mxic(struct nand_ecc_engine *eng) in pip_ecc_eng_to_mxic() argument 121 return container_of(eng, struct mxic_ecc_engine, pipelined_engine); in pip_ecc_eng_to_mxic() 126 struct nand_ecc_engine *eng = nand->ecc.engine; in nand_to_mxic() local 128 if (eng->integration == NAND_ECC_ENGINE_INTEGRATION_EXTERNAL) in nand_to_mxic() 129 return ext_ecc_eng_to_mxic(eng); in nand_to_mxic() 131 return pip_ecc_eng_to_mxic(eng); in nand_to_mxic() 468 int mxic_ecc_process_data_pipelined(struct nand_ecc_engine *eng, in mxic_ecc_process_data_pipelined() argument 471 struct mxic_ecc_engine *mxic = pip_ecc_eng_to_mxic(eng); in mxic_ecc_process_data_pipelined() [all …]
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | cn23xx_pf_regs.h | 552 #define CN23XX_DPI_DMA_ENG_ENB(eng) (CN23XX_DPI_DMA_ENG0_ENB + ((eng) * 8)) argument 565 #define CN23XX_DPI_DMA_ENG_BUF(eng) \ argument 566 (CN23XX_DPI_DMA_ENG0_BUF + ((eng) * 8))
|
/linux/drivers/spi/ |
H A D | spi-mxic.c | 695 struct nand_ecc_engine *eng; in mxic_spi_mem_ecc_probe() local 700 eng = mxic_ecc_get_pipelined_engine(pdev); in mxic_spi_mem_ecc_probe() 701 if (IS_ERR(eng)) in mxic_spi_mem_ecc_probe() 702 return PTR_ERR(eng); in mxic_spi_mem_ecc_probe() 704 eng->dev = &pdev->dev; in mxic_spi_mem_ecc_probe() 705 eng->integration = NAND_ECC_ENGINE_INTEGRATION_PIPELINED; in mxic_spi_mem_ecc_probe() 706 eng->ops = &mxic_spi_mem_ecc_engine_pipelined_ops; in mxic_spi_mem_ecc_probe() 707 eng->priv = mxic; in mxic_spi_mem_ecc_probe() 708 mxic->ecc.pipelined_engine = eng; in mxic_spi_mem_ecc_probe() 709 nand_ecc_register_on_host_hw_engine(eng); in mxic_spi_mem_ecc_probe()
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_cpt.c | 87 int i, eng; in cpt_af_flt_intr_handler() local 97 eng = i; in cpt_af_flt_intr_handler() 100 eng = i + 64; in cpt_af_flt_intr_handler() 103 eng = i + 128; in cpt_af_flt_intr_handler() 106 grp = rvu_read64(rvu, blkaddr, CPT_AF_EXEX_CTL2(eng)) & 0xFF; in cpt_af_flt_intr_handler() 108 rvu_write64(rvu, blkaddr, CPT_AF_EXEX_CTL2(eng), 0x0); in cpt_af_flt_intr_handler() 109 val = rvu_read64(rvu, blkaddr, CPT_AF_EXEX_CTL(eng)); in cpt_af_flt_intr_handler() 110 rvu_write64(rvu, blkaddr, CPT_AF_EXEX_CTL(eng), val & ~1ULL); in cpt_af_flt_intr_handler() 112 rvu_write64(rvu, blkaddr, CPT_AF_EXEX_CTL2(eng), grp); in cpt_af_flt_intr_handler() 113 rvu_write64(rvu, blkaddr, CPT_AF_EXEX_CTL(eng), val | 1ULL); in cpt_af_flt_intr_handler() [all …]
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dev_api.h | 360 u8 ppfid, enum qed_eng eng); 370 int qed_llh_set_roce_affinity(struct qed_dev *cdev, enum qed_eng eng);
|
H A D | qed_dev.c | 644 enum qed_eng eng; in qed_llh_set_engine_affin() local 657 eng = cdev->fir_affin ? QED_ENG1 : QED_ENG0; in qed_llh_set_engine_affin() 658 rc = qed_llh_set_roce_affinity(cdev, eng); in qed_llh_set_engine_affin() 668 eng); in qed_llh_set_engine_affin() 674 eng = cdev->fir_affin ? QED_ENG1 : QED_ENG0; in qed_llh_set_engine_affin() 676 eng = QED_BOTH_ENG; in qed_llh_set_engine_affin() 679 rc = qed_llh_set_ppfid_affinity(cdev, ppfid, eng); in qed_llh_set_engine_affin() 690 eng); in qed_llh_set_engine_affin() 741 int qed_llh_set_ppfid_affinity(struct qed_dev *cdev, u8 ppfid, enum qed_eng eng) in qed_llh_set_ppfid_affinity() argument 759 switch (eng) { in qed_llh_set_ppfid_affinity() [all …]
|
H A D | qed_rdma.c | 1957 enum qed_eng eng; in qed_iwarp_set_engine_affin() local 1966 eng = QED_BOTH_ENG; in qed_iwarp_set_engine_affin() 1968 eng = cdev->l2_affin_hint ? QED_ENG1 : QED_ENG0; in qed_iwarp_set_engine_affin() 1970 rc = qed_llh_set_ppfid_affinity(cdev, ppfid, eng); in qed_iwarp_set_engine_affin() 1980 eng); in qed_iwarp_set_engine_affin()
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_capture.c | 1395 #define GCAP_PRINT_INTEL_ENG_INFO(ebuf, eng) \ argument 1398 (eng)->name); \ 1399 i915_error_printf(ebuf, " i915-Eng-Inst-Class: 0x%02x\n", (eng)->class); \ 1400 i915_error_printf(ebuf, " i915-Eng-Inst-Id: 0x%02x\n", (eng)->instance); \ 1402 (eng)->logical_mask); \ 1427 struct intel_engine_cs *eng; in intel_guc_capture_print_engine_node() local 1468 eng = intel_guc_lookup_engine(guc, node->eng_class, node->eng_inst); in intel_guc_capture_print_engine_node() 1469 if (eng) in intel_guc_capture_print_engine_node() 1470 GCAP_PRINT_INTEL_ENG_INFO(ebuf, eng); in intel_guc_capture_print_engine_node()
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
H A D | fifo.h | 31 struct nvkm_gpuobj *eng; member
|
/linux/Documentation/fb/ |
H A D | sh7760fb.rst | 53 (http://documentation.renesas.com/eng/products/mpumcu/e602291_sh7760.pdf)
|
/linux/drivers/dma/idxd/ |
H A D | device.c | 1043 struct idxd_engine *eng; in idxd_engines_setup() local 1052 eng = idxd->engines[i]; in idxd_engines_setup() 1053 group = eng->group; in idxd_engines_setup() 1058 group->grpcfg.engines |= BIT(eng->id); in idxd_engines_setup()
|
H A D | registers.h | 557 u64 eng:8; member
|