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()
246 memset_io(ethosudev->sram, 0, ethosudev->npu_info.sram_size); in ethosu_reset()
278 ethosudev->npu_info.sram_size = 0; in ethosu_sram_init()
284 ethosudev->npu_info.sram_size = gen_pool_size(ethosudev->srampool); in ethosu_sram_init()
287 ethosudev->npu_info.sram_size, in ethosu_sram_init()
313 ethosudev->npu_info.id = id = readl_relaxed(ethosudev->regs + NPU_REG_ID); in ethosu_init()
314 ethosudev->npu_info.config = config = readl_relaxed(ethosudev->regs + NPU_REG_CONFIG); in ethosu_init()
327 ethosudev->npu_info.sram_size / 1024); in ethosu_init()
[all …]
H A Dethosu_device.h173 struct drm_ethosu_npu_info npu_info; member
194 return FIELD_GET(ID_ARCH_MAJOR_MASK, ethosudev->npu_info.id) == 1; in ethosu_is_u65()
H A Dethosu_job.c381 if (edev->npu_info.sram_size < job->sram_size) in ethosu_ioctl_submit_job()