Home
last modified time | relevance | path

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

/drivers/misc/mic/host/
Dmic_smpt.c61 return mdev->smpt->info.num_reg * mdev->smpt->info.page_size; in mic_max_system_memory()
113 for (i = 0; i < smpt_info->info.num_reg; i++) { in mic_smpt_op()
125 for (ae = 0, i = 0; i < smpt_info->info.num_reg; i++) { in mic_smpt_op()
216 ref = kmalloc_array(mdev->smpt->info.num_reg, sizeof(s64), GFP_ATOMIC); in mic_map()
273 ref = kmalloc_array(mdev->smpt->info.num_reg, sizeof(s64), GFP_ATOMIC); in mic_unmap()
366 smpt_info->entry = kmalloc_array(smpt_info->info.num_reg, in mic_smpt_init()
373 for (i = 0; i < smpt_info->info.num_reg; i++) { in mic_smpt_init()
405 for (i = 0; i < smpt_info->info.num_reg; i++) { in mic_smpt_uninit()
435 for (i = 0; i < mdev->smpt->info.num_reg; i++) { in mic_smpt_restore()
Dmic_smpt.h51 u8 num_reg; member
Dmic_x100.c538 info->num_reg = 32; in mic_x100_smpt_hw_init()
Dmic_debugfs.c47 for (i = 0; i < smpt_info->info.num_reg; i++) { in mic_smpt_show()
/drivers/of/
Dplatform.c110 int rc, i, num_reg = 0, num_irq; in of_device_alloc() local
118 while (of_address_to_resource(np, num_reg, &temp_res) == 0) in of_device_alloc()
119 num_reg++; in of_device_alloc()
123 if (num_irq || num_reg) { in of_device_alloc()
124 res = kzalloc(sizeof(*res) * (num_irq + num_reg), GFP_KERNEL); in of_device_alloc()
130 dev->num_resources = num_reg + num_irq; in of_device_alloc()
132 for (i = 0; i < num_reg; i++, res++) { in of_device_alloc()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c44 for (i = 0; i < adev->gfx.scratch.num_reg; i++) { in amdgpu_gfx_scratch_get()
66 for (i = 0; i < adev->gfx.scratch.num_reg; i++) { in amdgpu_gfx_scratch_free()
Damdgpu.h1134 unsigned num_reg; member
Dgfx_v7_0.c2323 adev->gfx.scratch.num_reg = 7; in gfx_v7_0_scratch_init()
2325 for (i = 0; i < adev->gfx.scratch.num_reg; i++) { in gfx_v7_0_scratch_init()
Dgfx_v8_0.c612 adev->gfx.scratch.num_reg = 7; in gfx_v8_0_scratch_init()
614 for (i = 0; i < adev->gfx.scratch.num_reg; i++) { in gfx_v8_0_scratch_init()
/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_iio.h95 u8 num_reg; member
Dinv_mpu_core.c71 .num_reg = 117,
/drivers/gpu/drm/radeon/
Dradeon_device.c249 rdev->scratch.num_reg = 5; in radeon_scratch_init()
251 rdev->scratch.num_reg = 7; in radeon_scratch_init()
254 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_init()
273 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_get()
295 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_free()
Dr600.c2812 rdev->scratch.num_reg = 7; in r600_scratch_init()
2814 for (i = 0; i < rdev->scratch.num_reg; i++) { in r600_scratch_init()
Dsi.c3363 rdev->scratch.num_reg = 7; in si_scratch_init()
3365 for (i = 0; i < rdev->scratch.num_reg; i++) { in si_scratch_init()
Dradeon.h702 unsigned num_reg; member
Dcik.c3821 rdev->scratch.num_reg = 7; in cik_scratch_init()
3823 for (i = 0; i < rdev->scratch.num_reg; i++) { in cik_scratch_init()