Home
last modified time | relevance | path

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

/linux/arch/sparc/kernel/
A Dof_device_64.c322 int index, num_reg; in build_device_resources() local
333 if (!preg || num_reg == 0) in build_device_resources()
337 num_reg /= 4; in build_device_resources()
340 num_reg /= na + ns; in build_device_resources()
343 if (num_reg > PROMREG_MAX) { in build_device_resources()
347 num_reg = PROMREG_MAX; in build_device_resources()
351 op->num_resources = num_reg; in build_device_resources()
352 for (index = 0; index < num_reg; index++) { in build_device_resources()
430 int na, num_reg, i; in apply_interrupt_map() local
435 reg = of_get_property(dp, "reg", &num_reg); in apply_interrupt_map()
[all …]
A Dof_device_32.c252 int index, num_reg; in build_device_resources() local
262 preg = of_get_property(op->dev.of_node, bus->addr_prop_name, &num_reg); in build_device_resources()
263 if (!preg || num_reg == 0) in build_device_resources()
267 num_reg /= 4; in build_device_resources()
270 num_reg /= na + ns; in build_device_resources()
273 op->num_resources = num_reg; in build_device_resources()
274 for (index = 0; index < num_reg; index++) { in build_device_resources()
/linux/arch/x86/kernel/cpu/mtrr/
A Dcleanup.c477 int num_reg; in x86_setup_var_mtrrs() local
498 num_reg = var_state.reg; in x86_setup_var_mtrrs()
505 return num_reg; in x86_setup_var_mtrrs()
512 unsigned int num_reg; member
604 int num_reg; in mtrr_calc_range_state() local
607 num_reg = x86_setup_var_mtrrs(range, nr_range, chunk_size, gran_size); in mtrr_calc_range_state()
617 result[i].num_reg = num_reg; in mtrr_calc_range_state()
632 if (!result[i].bad && (range_sums - range_sums_new < min_loss_pfn[num_reg])) in mtrr_calc_range_state()
633 min_loss_pfn[num_reg] = range_sums - range_sums_new; in mtrr_calc_range_state()
649 result[i].num_reg, result[i].bad ? "-" : "", in mtrr_print_out_one_result()
[all …]
/linux/drivers/of/
A Dplatform.c117 int rc, i, num_reg = 0, num_irq; in of_device_alloc() local
125 while (of_address_to_resource(np, num_reg, &temp_res) == 0) in of_device_alloc()
126 num_reg++; in of_device_alloc()
130 if (num_irq || num_reg) { in of_device_alloc()
131 res = kcalloc(num_irq + num_reg, sizeof(*res), GFP_KERNEL); in of_device_alloc()
137 dev->num_resources = num_reg + num_irq; in of_device_alloc()
139 for (i = 0; i < num_reg; i++, res++) { in of_device_alloc()
/linux/drivers/mfd/
A Dstm32-timers.c51 unsigned int num_reg, unsigned int bursts, in stm32_timers_dma_burst_read() argument
58 size_t len = num_reg * bursts * sizeof(u32); in stm32_timers_dma_burst_read()
71 if (!num_reg || !bursts || reg > STM32_TIMERS_MAX_REGISTERS || in stm32_timers_dma_burst_read()
72 (reg + num_reg * sizeof(u32)) > STM32_TIMERS_MAX_REGISTERS) in stm32_timers_dma_burst_read()
/linux/include/linux/mfd/
A Dstm32-timers.h130 unsigned int num_reg, unsigned int bursts,
136 unsigned int num_reg, in stm32_timers_dma_burst_read() argument
/linux/drivers/crypto/marvell/octeontx2/
A Dotx2_cptpf_main.c167 int reg, dev, vf, start_vf, num_reg = 1; in cptpf_vf_flr_intr() local
172 num_reg = 2; in cptpf_vf_flr_intr()
174 for (reg = 0; reg < num_reg; reg++) { in cptpf_vf_flr_intr()
200 int reg, vf, num_reg = 1; in cptpf_vf_me_intr() local
204 num_reg = 2; in cptpf_vf_me_intr()
206 for (reg = 0; reg < num_reg; reg++) { in cptpf_vf_me_intr()
/linux/drivers/gpu/drm/msm/hdmi/
A Dhdmi_pll_8960.c32 int num_reg; member
393 for (i = 0; i < pll_rate->num_reg; i++) in hdmi_pll_set_rate()
/linux/drivers/gpu/drm/radeon/
A Dradeon_device.c272 rdev->scratch.num_reg = 5; in radeon_scratch_init()
274 rdev->scratch.num_reg = 7; in radeon_scratch_init()
277 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_init()
296 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_get()
318 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_free()
A Dr600.c2815 rdev->scratch.num_reg = 7; in r600_scratch_init()
2817 for (i = 0; i < rdev->scratch.num_reg; i++) { in r600_scratch_init()
A Dsi.c3361 rdev->scratch.num_reg = 7; in si_scratch_init()
3363 for (i = 0; i < rdev->scratch.num_reg; i++) { in si_scratch_init()
A Dradeon.h703 unsigned num_reg; member
A Dcik.c3426 rdev->scratch.num_reg = 7; in cik_scratch_init()
3428 for (i = 0; i < rdev->scratch.num_reg; i++) { in cik_scratch_init()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_gfx.h118 unsigned num_reg; member
A Damdgpu_gfx.c115 if (i != 0 && i <= adev->gfx.scratch.num_reg) { in amdgpu_gfx_scratch_get()
A Dgfx_v6_0.c1784 adev->gfx.scratch.num_reg = 8; in gfx_v6_0_scratch_init()
1786 adev->gfx.scratch.free_mask = (1u << adev->gfx.scratch.num_reg) - 1; in gfx_v6_0_scratch_init()
A Dgfx_v7_0.c2067 adev->gfx.scratch.num_reg = 8; in gfx_v7_0_scratch_init()
2069 adev->gfx.scratch.free_mask = (1u << adev->gfx.scratch.num_reg) - 1; in gfx_v7_0_scratch_init()
A Dgfx_v8_0.c840 adev->gfx.scratch.num_reg = 8; in gfx_v8_0_scratch_init()
842 adev->gfx.scratch.free_mask = (1u << adev->gfx.scratch.num_reg) - 1; in gfx_v8_0_scratch_init()
A Dgfx_v9_0.c1025 adev->gfx.scratch.num_reg = 8; in gfx_v9_0_scratch_init()
1027 adev->gfx.scratch.free_mask = (1u << adev->gfx.scratch.num_reg) - 1; in gfx_v9_0_scratch_init()
A Dgfx_v10_0.c3805 adev->gfx.scratch.num_reg = 8; in gfx_v10_0_scratch_init()
3807 adev->gfx.scratch.free_mask = (1u << adev->gfx.scratch.num_reg) - 1; in gfx_v10_0_scratch_init()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_pf.c145 int reg, dev, vf, start_vf, num_reg = 1; in otx2_pf_flr_intr_handler() local
149 num_reg = 2; in otx2_pf_flr_intr_handler()
151 for (reg = 0; reg < num_reg; reg++) { in otx2_pf_flr_intr_handler()
174 int vf, reg, num_reg = 1; in otx2_pf_me_intr_handler() local
178 num_reg = 2; in otx2_pf_me_intr_handler()
180 for (reg = 0; reg < num_reg; reg++) { in otx2_pf_me_intr_handler()

Completed in 121 milliseconds