Searched refs:num_reg (Results 1 – 12 of 12) 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() 217 ref = kmalloc(mdev->smpt->info.num_reg * sizeof(s64), GFP_KERNEL); in mic_map() 274 ref = kmalloc(mdev->smpt->info.num_reg * sizeof(s64), GFP_KERNEL); in mic_unmap() 369 smpt_info->entry = kmalloc_array(smpt_info->info.num_reg, in mic_smpt_init() 376 for (i = 0; i < smpt_info->info.num_reg; i++) { in mic_smpt_init() 408 for (i = 0; i < smpt_info->info.num_reg; i++) { in mic_smpt_uninit() 438 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 | 541 info->num_reg = 32; in mic_x100_smpt_hw_init()
|
D | mic_debugfs.c | 112 for (i = 0; i < smpt_info->info.num_reg; i++) { in mic_smpt_show()
|
/drivers/of/ |
D | platform.c | 109 int rc, i, num_reg = 0, num_irq; in of_device_alloc() local 117 while (of_address_to_resource(np, num_reg, &temp_res) == 0) in of_device_alloc() 118 num_reg++; in of_device_alloc() 122 if (num_irq || num_reg) { in of_device_alloc() 123 res = kzalloc(sizeof(*res) * (num_irq + num_reg), GFP_KERNEL); in of_device_alloc() 129 dev->num_resources = num_reg + num_irq; in of_device_alloc() 131 for (i = 0; i < num_reg; i++, res++) { in of_device_alloc()
|
/drivers/gpu/drm/radeon/ |
D | radeon_device.c | 245 rdev->scratch.num_reg = 5; in radeon_scratch_init() 247 rdev->scratch.num_reg = 7; in radeon_scratch_init() 250 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_init() 269 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_get() 291 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_free()
|
D | r600.c | 2738 rdev->scratch.num_reg = 7; in r600_scratch_init() 2740 for (i = 0; i < rdev->scratch.num_reg; i++) { in r600_scratch_init()
|
D | si.c | 3327 rdev->scratch.num_reg = 7; in si_scratch_init() 3329 for (i = 0; i < rdev->scratch.num_reg; i++) { in si_scratch_init()
|
D | radeon.h | 681 unsigned num_reg; member
|
D | cik.c | 3763 rdev->scratch.num_reg = 7; in cik_scratch_init() 3765 for (i = 0; i < rdev->scratch.num_reg; i++) { in cik_scratch_init()
|
/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_iio.h | 94 u8 num_reg; member
|
D | inv_mpu_core.c | 68 .num_reg = 117,
|