Home
last modified time | relevance | path

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

/drivers/of/
Dplatform.c117 int rc, i, num_reg = 0; 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()
129 if (num_reg) { in of_device_alloc()
130 res = kcalloc(num_reg, sizeof(*res), GFP_KERNEL); in of_device_alloc()
136 dev->num_resources = num_reg; in of_device_alloc()
138 for (i = 0; i < num_reg; i++, res++) { in of_device_alloc()
/drivers/mfd/
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()
/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_main.c174 int reg, dev, vf, start_vf, num_reg = 1; in cptpf_vf_flr_intr() local
179 num_reg = 2; in cptpf_vf_flr_intr()
181 for (reg = 0; reg < num_reg; reg++) { in cptpf_vf_flr_intr()
207 int reg, vf, num_reg = 1; in cptpf_vf_me_intr() local
211 num_reg = 2; in cptpf_vf_me_intr()
213 for (reg = 0; reg < num_reg; reg++) { in cptpf_vf_me_intr()
/drivers/gpu/drm/msm/hdmi/
Dhdmi_pll_8960.c32 int num_reg; member
393 for (i = 0; i < pll_rate->num_reg; i++) in hdmi_pll_set_rate()
/drivers/gpu/drm/radeon/
Dradeon_device.c273 rdev->scratch.num_reg = 5; in radeon_scratch_init()
275 rdev->scratch.num_reg = 7; in radeon_scratch_init()
278 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_init()
297 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_get()
319 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_free()
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()
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()
Dradeon.h702 unsigned num_reg; member
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()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c147 int reg, dev, vf, start_vf, num_reg = 1; in otx2_pf_flr_intr_handler() local
151 num_reg = 2; in otx2_pf_flr_intr_handler()
153 for (reg = 0; reg < num_reg; reg++) { in otx2_pf_flr_intr_handler()
176 int vf, reg, num_reg = 1; in otx2_pf_me_intr_handler() local
180 num_reg = 2; in otx2_pf_me_intr_handler()
182 for (reg = 0; reg < num_reg; reg++) { in otx2_pf_me_intr_handler()