Home
last modified time | relevance | path

Searched refs:npu_info (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/accel/ethosu/
H A Dethosu_drv.c35 args->size = sizeof(ethosudev->npu_info); in ethosu_ioctl_dev_query()
48 &ethosudev->npu_info, in ethosu_ioctl_dev_query()
49 sizeof(ethosudev->npu_info), NULL); in ethosu_ioctl_dev_query()
252 memset_io(ethosudev->sram, 0, ethosudev->npu_info.sram_size); in ethosu_reset()
288 ethosudev->npu_info.sram_size = gen_pool_size(ethosudev->srampool); in ethosu_sram_init()
291 ethosudev->npu_info.sram_size, in ethosu_sram_init()
294 ethosudev->npu_info.sram_size = 0; in ethosu_sram_init()
318 ethosudev->npu_info.id = id = readl_relaxed(ethosudev->regs + NPU_REG_ID); in ethosu_init()
319 ethosudev->npu_info.config = config = readl_relaxed(ethosudev->regs + NPU_REG_CONFIG); in ethosu_init()
326 ethosudev->npu_info.pmu_counters = FIELD_GET(PMCR_NUM_EVENT_CNT_MASK, in ethosu_init()
[all …]
H A Dethosu_device.h196 struct drm_ethosu_npu_info npu_info; member
226 return FIELD_GET(ID_ARCH_MAJOR_MASK, ethosudev->npu_info.id) == 1; in ethosu_is_u65()
H A Dethosu_job.c404 if (edev->npu_info.sram_size < job->sram_size) in ethosu_ioctl_submit_job()