Searched refs:num_reg (Results 1 – 16 of 16) sorted by relevance
/drivers/misc/mic/host/ |
D | mic_smpt.c | 61 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()
|
D | mic_smpt.h | 51 u8 num_reg; member
|
D | mic_x100.c | 538 info->num_reg = 32; in mic_x100_smpt_hw_init()
|
D | mic_debugfs.c | 47 for (i = 0; i < smpt_info->info.num_reg; i++) { in mic_smpt_show()
|
/drivers/of/ |
D | platform.c | 110 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/ |
D | amdgpu_gfx.c | 44 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()
|
D | amdgpu.h | 1134 unsigned num_reg; member
|
D | gfx_v7_0.c | 2323 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()
|
D | gfx_v8_0.c | 612 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/ |
D | inv_mpu_iio.h | 95 u8 num_reg; member
|
D | inv_mpu_core.c | 71 .num_reg = 117,
|
/drivers/gpu/drm/radeon/ |
D | radeon_device.c | 249 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()
|
D | r600.c | 2812 rdev->scratch.num_reg = 7; in r600_scratch_init() 2814 for (i = 0; i < rdev->scratch.num_reg; i++) { in r600_scratch_init()
|
D | si.c | 3363 rdev->scratch.num_reg = 7; in si_scratch_init() 3365 for (i = 0; i < rdev->scratch.num_reg; i++) { in si_scratch_init()
|
D | radeon.h | 702 unsigned num_reg; member
|
D | cik.c | 3821 rdev->scratch.num_reg = 7; in cik_scratch_init() 3823 for (i = 0; i < rdev->scratch.num_reg; i++) { in cik_scratch_init()
|