Home
last modified time | relevance | path

Searched refs:num_reg (Results 1 – 12 of 12) 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()
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()
Dmic_smpt.h51 u8 num_reg; member
Dmic_x100.c541 info->num_reg = 32; in mic_x100_smpt_hw_init()
Dmic_debugfs.c112 for (i = 0; i < smpt_info->info.num_reg; i++) { in mic_smpt_show()
/drivers/of/
Dplatform.c109 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/
Dradeon_device.c245 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()
Dr600.c2738 rdev->scratch.num_reg = 7; in r600_scratch_init()
2740 for (i = 0; i < rdev->scratch.num_reg; i++) { in r600_scratch_init()
Dsi.c3327 rdev->scratch.num_reg = 7; in si_scratch_init()
3329 for (i = 0; i < rdev->scratch.num_reg; i++) { in si_scratch_init()
Dradeon.h681 unsigned num_reg; member
Dcik.c3763 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/
Dinv_mpu_iio.h94 u8 num_reg; member
Dinv_mpu_core.c68 .num_reg = 117,