Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 1 – 25 of 1074) sorted by relevance

12345678910>>...43

/arch/arm/mach-ux500/
Dboard-mop500-regulators.c29 .num_consumer_supplies = ARRAY_SIZE(gpio_en_3v3_consumers),
53 .num_consumer_supplies = ARRAY_SIZE(tps61052_vaudio_consumers),
372 .num_consumer_supplies = ARRAY_SIZE(ab8500_vaux1_consumers),
388 .num_consumer_supplies = ARRAY_SIZE(ab8500_vaux2_consumers),
404 .num_consumer_supplies = ARRAY_SIZE(ab8500_vaux3_consumers),
413 .num_consumer_supplies = ARRAY_SIZE(ab8500_vtvout_consumers),
422 .num_consumer_supplies = ARRAY_SIZE(ab8500_vaud_consumers),
431 .num_consumer_supplies = ARRAY_SIZE(ab8500_vamic1_consumers),
440 .num_consumer_supplies = ARRAY_SIZE(ab8500_vamic2_consumers),
449 .num_consumer_supplies = ARRAY_SIZE(ab8500_vdmic_consumers),
[all …]
/arch/arm/mach-s3c24xx/
Dirq-pm.c77 for (i = 0; i < ARRAY_SIZE(save_extint); i++) in s3c24xx_irq_suspend()
80 for (i = 0; i < ARRAY_SIZE(save_eintflt); i++) in s3c24xx_irq_suspend()
83 s3c_pm_do_save(irq_save, ARRAY_SIZE(irq_save)); in s3c24xx_irq_suspend()
93 for (i = 0; i < ARRAY_SIZE(save_extint); i++) in s3c24xx_irq_resume()
96 for (i = 0; i < ARRAY_SIZE(save_eintflt); i++) in s3c24xx_irq_resume()
99 s3c_pm_do_restore(irq_save, ARRAY_SIZE(irq_save)); in s3c24xx_irq_resume()
115 s3c_pm_do_save(s3c2416_irq_save, ARRAY_SIZE(s3c2416_irq_save)); in s3c2416_irq_suspend()
122 s3c_pm_do_restore(s3c2416_irq_save, ARRAY_SIZE(s3c2416_irq_save)); in s3c2416_irq_resume()
Dmach-anubis.c182 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part),
189 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part),
196 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part),
223 .nr_sets = ARRAY_SIZE(anubis_nand_sets),
243 .num_resources = ARRAY_SIZE(anubis_ide0_resource),
260 .num_resources = ARRAY_SIZE(anubis_ide1_resource),
285 .num_resources = ARRAY_SIZE(anubis_asix_resource),
338 .gpio_i2c_nr = ARRAY_SIZE(anubis_sm501_gpio_i2c),
344 .num_resources = ARRAY_SIZE(anubis_sm501_resource),
389 s3c24xx_init_io(anubis_iodesc, ARRAY_SIZE(anubis_iodesc)); in anubis_map_io()
[all …]
Dmach-vstms.c105 .nr_partitions = ARRAY_SIZE(vstms_nand_part),
118 .nr_sets = ARRAY_SIZE(vstms_nand_sets),
141 s3c24xx_init_io(vstms_iodesc, ARRAY_SIZE(vstms_iodesc)); in vstms_map_io()
142 s3c24xx_init_uarts(vstms_uartcfgs, ARRAY_SIZE(vstms_uartcfgs)); in vstms_map_io()
157 platform_add_devices(vstms_devices, ARRAY_SIZE(vstms_devices)); in vstms_init()
/arch/arm/mach-pxa/
Ddevices.c82 .num_resources = ARRAY_SIZE(pxamci_resources),
120 .num_resources = ARRAY_SIZE(pxa2xx_udc_resources),
131 .num_resources = ARRAY_SIZE(pxa2xx_udc_resources),
156 .num_resources = ARRAY_SIZE(pxa3xx_u2d_resources),
187 .num_resources = ARRAY_SIZE(pxafb_resources),
213 .num_resources = ARRAY_SIZE(pxa_resource_ffuart),
237 .num_resources = ARRAY_SIZE(pxa_resource_btuart),
261 .num_resources = ARRAY_SIZE(pxa_resource_stuart),
285 .num_resources = ARRAY_SIZE(pxa_resource_hwuart),
312 .num_resources = ARRAY_SIZE(pxai2c_resources),
[all …]
/arch/arm/mach-w90x900/
Ddev.c74 .nr_parts = ARRAY_SIZE(nuc900_flash_partitions),
92 .num_resources = ARRAY_SIZE(nuc900_flash_resources),
115 .num_resources = ARRAY_SIZE(nuc900_usb_ehci_resource),
142 .num_resources = ARRAY_SIZE(nuc900_usb_ohci_resource),
168 .num_resources = ARRAY_SIZE(nuc900_usbgadget_resource),
196 .num_resources = ARRAY_SIZE(nuc900_emc_resource),
234 .num_resources = ARRAY_SIZE(nuc900_spi_resource),
254 .nr_parts = ARRAY_SIZE(nuc900_spi_flash_partitions),
287 .num_resources = ARRAY_SIZE(nuc900_wdt_resource),
318 .num_resources = ARRAY_SIZE(nuc900_rtc_resource),
[all …]
/arch/mips/jz4740/
Dplatform.c56 .num_resources = ARRAY_SIZE(jz4740_usb_ohci_resources),
87 .num_resources = ARRAY_SIZE(jz4740_udc_resources),
112 .num_resources = ARRAY_SIZE(jz4740_mmc_resources),
133 .num_resources = ARRAY_SIZE(jz4740_rtc_resources),
154 .num_resources = ARRAY_SIZE(jz4740_i2c_resources),
194 .num_resources = ARRAY_SIZE(jz4740_nand_resources),
210 .num_resources = ARRAY_SIZE(jz4740_framebuffer_resources),
230 .num_resources = ARRAY_SIZE(jz4740_i2s_resources),
252 .num_resources = ARRAY_SIZE(jz4740_codec_resources),
278 .num_resources = ARRAY_SIZE(jz4740_adc_resources),
[all …]
/arch/arm/plat-samsung/
Ddevs.c89 .num_resources = ARRAY_SIZE(s3c_ac97_resource),
111 .num_resources = ARRAY_SIZE(s3c_adc_resource),
126 .num_resources = ARRAY_SIZE(s3c_adc_resource),
143 .num_resources = ARRAY_SIZE(s3c_camif_resource),
165 .num_resources = ARRAY_SIZE(s3c_fb_resource),
213 .num_resources = ARRAY_SIZE(s3c_hsmmc_resource),
243 .num_resources = ARRAY_SIZE(s3c_hsmmc1_resource),
275 .num_resources = ARRAY_SIZE(s3c_hsmmc2_resource),
305 .num_resources = ARRAY_SIZE(s3c_hsmmc3_resource),
330 .num_resources = ARRAY_SIZE(s3c_i2c0_resource),
[all …]
/arch/sh/boards/mach-highlander/
Dsetup.c62 .num_resources = ARRAY_SIZE(r8a66597_usb_host_resources),
94 .num_resources = ARRAY_SIZE(m66592_usb_peripheral_resources),
122 .num_resources = ARRAY_SIZE(cf_ide_resources),
142 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
156 .num_resources = ARRAY_SIZE(heartbeat_resources),
193 .num_resources = ARRAY_SIZE(ax88796_resources),
223 .nr_parts = ARRAY_SIZE(nor_flash_partitions),
240 .num_resources = ARRAY_SIZE(nor_flash_resources),
260 .num_resources = ARRAY_SIZE(smbus_resources),
302 ARRAY_SIZE(r7780rp_devices)); in r7780rp_devices_setup()
[all …]
/arch/sh/kernel/cpu/sh5/
Dsetup-sh5.c36 .num_resources = ARRAY_SIZE(scif0_resources),
68 .num_resources = ARRAY_SIZE(rtc_resources),
93 .num_resources = ARRAY_SIZE(tmu0_resources),
110 ARRAY_SIZE(sh5_early_devices)); in sh5_devices_setup()
115 ARRAY_SIZE(sh5_devices)); in sh5_devices_setup()
122 ARRAY_SIZE(sh5_early_devices)); in plat_early_device_setup()
/arch/arm/mach-s3c64xx/
Ddev-uart.c57 .nr_resources = ARRAY_SIZE(s3c64xx_uart0_resource),
61 .nr_resources = ARRAY_SIZE(s3c64xx_uart1_resource),
65 .nr_resources = ARRAY_SIZE(s3c6xx_uart2_resource),
69 .nr_resources = ARRAY_SIZE(s3c64xx_uart3_resource),
Dmach-crag6410-module.c136 .num_retune_mobile_cfgs = ARRAY_SIZE(wm8996_retune),
309 .num_spi_devs = ARRAY_SIZE(wm5110_spi_devs) },
318 .num_i2c_devs = ARRAY_SIZE(wm6230_i2c_devs) },
322 .spi_devs = wm1253_devs, .num_spi_devs = ARRAY_SIZE(wm1253_devs) },
327 .num_spi_devs = ARRAY_SIZE(balblair_devs) },
329 .i2c_devs = wm1254_devs, .num_i2c_devs = ARRAY_SIZE(wm1254_devs) },
331 .i2c_devs = wm1259_devs, .num_i2c_devs = ARRAY_SIZE(wm1259_devs) },
333 .i2c_devs = wm1255_devs, .num_i2c_devs = ARRAY_SIZE(wm1255_devs) },
336 .i2c_devs = wm1277_devs, .num_i2c_devs = ARRAY_SIZE(wm1277_devs) },
339 .num_spi_devs = ARRAY_SIZE(wm5102_reva_spi_devs) },
[all …]
/arch/blackfin/mach-bf527/boards/
Dcm_bf527.c70 .num_resources = ARRAY_SIZE(bfin_isp1760_resources),
132 .num_resources = ARRAY_SIZE(musb_resources),
154 .nr_partitions = ARRAY_SIZE(partition_info),
175 .num_resources = ARRAY_SIZE(bf5xx_nand_resources),
207 .num_resources = ARRAY_SIZE(bfin_pcmcia_cf_resources),
244 .num_resources = ARRAY_SIZE(smc91x_resources),
274 .num_resources = ARRAY_SIZE(dm9000_resources),
328 .num_resources = ARRAY_SIZE(net2272_bfin_resources),
350 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
474 .num_resources = ARRAY_SIZE(bfin_spi0_resource),
[all …]
/arch/blackfin/mach-bf548/boards/
Dcm_bf548.c64 .num_resources = ARRAY_SIZE(bf54x_lq043_resources),
96 .keymapsize = ARRAY_SIZE(bf548_keymap),
114 .num_resources = ARRAY_SIZE(bf54x_kpad_resources),
171 .num_resources = ARRAY_SIZE(bfin_uart0_resources),
235 .num_resources = ARRAY_SIZE(bfin_uart1_resources),
283 .num_resources = ARRAY_SIZE(bfin_uart2_resources),
347 .num_resources = ARRAY_SIZE(bfin_uart3_resources),
378 .num_resources = ARRAY_SIZE(bfin_sir0_resources),
403 .num_resources = ARRAY_SIZE(bfin_sir1_resources),
428 .num_resources = ARRAY_SIZE(bfin_sir2_resources),
[all …]
Dezkit.c74 .num_resources = ARRAY_SIZE(bfin_isp1760_resources),
103 .num_resources = ARRAY_SIZE(bf54x_lq043_resources),
135 .keymapsize = ARRAY_SIZE(bf548_keymap),
153 .num_resources = ARRAY_SIZE(bf54x_kpad_resources),
190 .num_resources = ARRAY_SIZE(bfin_rotary_resources),
293 .num_resources = ARRAY_SIZE(bfin_uart0_resources),
364 .num_resources = ARRAY_SIZE(bfin_uart1_resources),
419 .num_resources = ARRAY_SIZE(bfin_uart2_resources),
490 .num_resources = ARRAY_SIZE(bfin_uart3_resources),
521 .num_resources = ARRAY_SIZE(bfin_sir0_resources),
[all …]
/arch/arm/mach-clps711x/
Dboard-cdb89712.c64 .nr_parts = ARRAY_SIZE(cdb89712_flash_partitions),
75 .num_resources = ARRAY_SIZE(cdb89712_flash_resources),
93 .nr_parts = ARRAY_SIZE(cdb89712_bootrom_partitions),
105 .num_resources = ARRAY_SIZE(cdb89712_bootrom_resources),
123 .num_resources = ARRAY_SIZE(cdb89712_sram_resources),
136 ARRAY_SIZE(cdb89712_cs8900_resource)); in cdb89712_init()
/arch/blackfin/mach-bf537/boards/
Dcm_bf537u.c60 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
140 .num_resources = ARRAY_SIZE(bfin_spi0_resource),
185 .num_resources = ARRAY_SIZE(smc91x_resources),
227 .num_resources = ARRAY_SIZE(isp1362_hcd_resources),
248 .num_resources = ARRAY_SIZE(net2272_bfin_resources),
273 .nr_parts = ARRAY_SIZE(cm_partitions),
286 .end = ARRAY_SIZE(cm_flash_gpios),
297 .num_resources = ARRAY_SIZE(cm_flash_resource),
344 .num_resources = ARRAY_SIZE(bfin_uart0_resources),
392 .num_resources = ARRAY_SIZE(bfin_uart1_resources),
[all …]
Dtcm_bf537.c60 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
140 .num_resources = ARRAY_SIZE(bfin_spi0_resource),
185 .num_resources = ARRAY_SIZE(smc91x_resources),
227 .num_resources = ARRAY_SIZE(isp1362_hcd_resources),
248 .num_resources = ARRAY_SIZE(net2272_bfin_resources),
273 .nr_parts = ARRAY_SIZE(cm_partitions),
286 .end = ARRAY_SIZE(cm_flash_gpios),
297 .num_resources = ARRAY_SIZE(cm_flash_resource),
344 .num_resources = ARRAY_SIZE(bfin_uart0_resources),
392 .num_resources = ARRAY_SIZE(bfin_uart1_resources),
[all …]
/arch/blackfin/mach-bf533/boards/
Dcm_bf533.c55 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
135 .num_resources = ARRAY_SIZE(bfin_spi0_resource),
173 .num_resources = ARRAY_SIZE(smc91x_resources),
207 .num_resources = ARRAY_SIZE(smsc911x_resources),
257 .num_resources = ARRAY_SIZE(bfin_uart0_resources),
289 .num_resources = ARRAY_SIZE(bfin_sir0_resources),
323 .num_resources = ARRAY_SIZE(bfin_sport0_uart_resources),
357 .num_resources = ARRAY_SIZE(bfin_sport1_uart_resources),
400 .num_resources = ARRAY_SIZE(isp1362_hcd_resources),
422 .num_resources = ARRAY_SIZE(net2272_bfin_resources),
[all …]
Dblackstamp.c70 .num_resources = ARRAY_SIZE(smc91x_resources),
99 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
180 .num_resources = ARRAY_SIZE(bfin_spi0_resource),
230 .num_resources = ARRAY_SIZE(bfin_uart0_resources),
262 .num_resources = ARRAY_SIZE(bfin_sir0_resources),
296 .num_resources = ARRAY_SIZE(bfin_sport0_uart_resources),
330 .num_resources = ARRAY_SIZE(bfin_sport1_uart_resources),
351 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
402 .tabsize = ARRAY_SIZE(cclk_vlev_datasheet),
467 ARRAY_SIZE(bfin_i2c_board_info)); in blackstamp_init()
[all …]
/arch/sh/boards/
Dboard-polaris.c58 .num_resources = ARRAY_SIZE(smsc911x_resources),
69 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
99 regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies)); in polaris_initialise()
113 ARRAY_SIZE(polaris_devices)); in polaris_initialise()
129 .nr_offsets = ARRAY_SIZE(ipr_offsets),
132 .nr_irqs = ARRAY_SIZE(ipr_irq_table),
Dboard-edosk7760.c69 .nr_parts = ARRAY_SIZE(edosk7760_nor_flash_partitions),
84 .num_resources = ARRAY_SIZE(edosk7760_nor_flash_resources),
115 .num_resources = ARRAY_SIZE(sh7760_i2c1_res),
137 .num_resources = ARRAY_SIZE(sh7760_i2c0_res),
161 .num_resources = ARRAY_SIZE(smc91x_res),
182 ARRAY_SIZE(edosk7760_devices)); in init_edosk7760_devices()
/arch/blackfin/mach-bf538/boards/
Dezkit.c97 .num_resources = ARRAY_SIZE(bfin_uart0_resources),
145 .num_resources = ARRAY_SIZE(bfin_uart1_resources),
193 .num_resources = ARRAY_SIZE(bfin_uart2_resources),
224 .num_resources = ARRAY_SIZE(bfin_sir0_resources),
249 .num_resources = ARRAY_SIZE(bfin_sir1_resources),
274 .num_resources = ARRAY_SIZE(bfin_sir2_resources),
308 .num_resources = ARRAY_SIZE(bfin_sport0_uart_resources),
342 .num_resources = ARRAY_SIZE(bfin_sport1_uart_resources),
376 .num_resources = ARRAY_SIZE(bfin_sport2_uart_resources),
410 .num_resources = ARRAY_SIZE(bfin_sport3_uart_resources),
[all …]
/arch/blackfin/mach-bf561/boards/
Dcm_bf561.c57 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
129 .num_resources = ARRAY_SIZE(bfin_spi0_resource),
170 .num_resources = ARRAY_SIZE(smc91x_resources),
205 .num_resources = ARRAY_SIZE(smsc911x_resources),
229 .num_resources = ARRAY_SIZE(net2272_bfin_resources),
268 .num_resources = ARRAY_SIZE(isp1362_hcd_resources),
315 .num_resources = ARRAY_SIZE(bfin_uart0_resources),
347 .num_resources = ARRAY_SIZE(bfin_sir0_resources),
381 .num_resources = ARRAY_SIZE(bfin_pata_resources),
409 .nr_parts = ARRAY_SIZE(para_partitions),
[all …]
/arch/unicore32/kernel/
Dpuv3-core.c261 puv3_rtc_resources, ARRAY_SIZE(puv3_rtc_resources)); in puv3_core_init()
263 puv3_umal_resources, ARRAY_SIZE(puv3_umal_resources)); in puv3_core_init()
265 puv3_mmc_resources, ARRAY_SIZE(puv3_mmc_resources)); in puv3_core_init()
267 puv3_unigfx_resources, ARRAY_SIZE(puv3_unigfx_resources)); in puv3_core_init()
269 puv3_pwm_resources, ARRAY_SIZE(puv3_pwm_resources)); in puv3_core_init()
271 puv3_uart0_resources, ARRAY_SIZE(puv3_uart0_resources)); in puv3_core_init()
273 puv3_uart1_resources, ARRAY_SIZE(puv3_uart1_resources)); in puv3_core_init()
276 puv3_usb_resources, ARRAY_SIZE(puv3_usb_resources), in puv3_core_init()

12345678910>>...43