Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_gpu.c281 pfdev->features.l2_present = gpu_read(pfdev, GPU_L2_PRESENT_LO); in panfrost_gpu_init_features()
282 pfdev->features.l2_present |= (u64)gpu_read(pfdev, GPU_L2_PRESENT_HI) << 32; in panfrost_gpu_init_features()
283 pfdev->features.nr_core_groups = hweight64(pfdev->features.l2_present); in panfrost_gpu_init_features()
349 pfdev->features.shader_present, pfdev->features.l2_present); in panfrost_gpu_init_features()
402 if (pfdev->features.l2_present == 1) in panfrost_get_core_mask()
412 core_mask = ~(pfdev->features.l2_present - 1) & in panfrost_get_core_mask()
413 (pfdev->features.l2_present - 2); in panfrost_get_core_mask()
430 gpu_write(pfdev, L2_PWRON_LO, pfdev->features.l2_present & core_mask); in panfrost_gpu_power_on()
432 val, val == (pfdev->features.l2_present & core_mask), in panfrost_gpu_power_on()
469 gpu_write(pfdev, L2_PWROFF_LO, pfdev->features.l2_present); in panfrost_gpu_power_off()
/linux/drivers/net/ethernet/cavium/thunder/
H A Dq_struct.h188 u64 l2_present:1; member
223 u64 l2_present:1;
/linux/include/uapi/drm/
H A Dpanthor_drm.h319 /** @l2_present: Bitmask encoding the L2 caches exposed by the GPU. */
320 __u64 l2_present;
342 __u64 l2_present; global() member