Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_ioctl.c155 struct hl_info_dram_usage dram_usage = {0}; in dram_usage_info() local
166 dram_usage.dram_free_mem = (prop->dram_size - dram_kmd_size) - in dram_usage_info()
169 dram_usage.ctx_dram_mem = in dram_usage_info()
172 return copy_to_user(out, &dram_usage, in dram_usage_info()
173 min((size_t) max_size, sizeof(dram_usage))) ? -EFAULT : 0; in dram_usage_info()