/arch/arm/mach-mx2/ |
D | mx27ads.c | 71 ARRAY_SIZE(mxc_uart0_pins), "UART0"); in uart_mxc_port0_init() 77 ARRAY_SIZE(mxc_uart0_pins)); in uart_mxc_port0_exit() 91 ARRAY_SIZE(mxc_uart1_pins), "UART1"); in uart_mxc_port1_init() 97 ARRAY_SIZE(mxc_uart1_pins)); in uart_mxc_port1_exit() 111 ARRAY_SIZE(mxc_uart2_pins), "UART2"); in uart_mxc_port2_init() 117 ARRAY_SIZE(mxc_uart2_pins)); in uart_mxc_port2_exit() 131 ARRAY_SIZE(mxc_uart3_pins), "UART3"); in uart_mxc_port3_init() 137 ARRAY_SIZE(mxc_uart3_pins)); in uart_mxc_port3_exit() 150 ARRAY_SIZE(mxc_uart4_pins), "UART4"); in uart_mxc_port4_init() 156 ARRAY_SIZE(mxc_uart4_pins)); in uart_mxc_port4_exit() [all …]
|
D | devices.c | 58 .num_resources = ARRAY_SIZE(mxc_irda_resources), 87 .num_resources = ARRAY_SIZE(timer1_resources), 107 .num_resources = ARRAY_SIZE(timer2_resources), 128 .num_resources = ARRAY_SIZE(timer3_resources), 148 .num_resources = ARRAY_SIZE(timer4_resources), 168 .num_resources = ARRAY_SIZE(timer5_resources), 190 .num_resources = ARRAY_SIZE(mxc_wdt_resources), 205 .num_resources = ARRAY_SIZE(mxc_w1_master_resources), 224 .num_resources = ARRAY_SIZE(mxc_nand_resources), 265 return mxc_gpio_init(imx_gpio_ports, ARRAY_SIZE(imx_gpio_ports)); in mxc_register_gpios()
|
D | pcm038.c | 94 ARRAY_SIZE(mxc_uart0_pins), "UART0"); in uart_mxc_port0_init() 100 ARRAY_SIZE(mxc_uart0_pins)); in uart_mxc_port0_exit() 114 ARRAY_SIZE(mxc_uart1_pins), "UART1"); in uart_mxc_port1_init() 120 ARRAY_SIZE(mxc_uart1_pins)); in uart_mxc_port1_exit() 132 ARRAY_SIZE(mxc_uart2_pins), "UART2"); in uart_mxc_port2_init() 138 ARRAY_SIZE(mxc_uart2_pins)); in uart_mxc_port2_exit() 182 ARRAY_SIZE(mxc_fec_pins), "FEC"); in gpio_fec_active() 188 ARRAY_SIZE(mxc_fec_pins)); in gpio_fec_inactive() 223 platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); in pcm038_init()
|
D | serial.c | 42 .num_resources = ARRAY_SIZE(uart0), 61 .num_resources = ARRAY_SIZE(uart1), 80 .num_resources = ARRAY_SIZE(uart2), 99 .num_resources = ARRAY_SIZE(uart3), 118 .num_resources = ARRAY_SIZE(uart4), 137 .num_resources = ARRAY_SIZE(uart5),
|
/arch/arm/mach-pxa/ |
D | devices.c | 66 .num_resources = ARRAY_SIZE(pxamci_resources), 102 .num_resources = ARRAY_SIZE(pxa2xx_udc_resources), 113 .num_resources = ARRAY_SIZE(pxa2xx_udc_resources), 142 .num_resources = ARRAY_SIZE(pxafb_resources), 172 .num_resources = ARRAY_SIZE(pxa_resource_ffuart), 191 .num_resources = ARRAY_SIZE(pxa_resource_btuart), 210 .num_resources = ARRAY_SIZE(pxa_resource_stuart), 229 .num_resources = ARRAY_SIZE(pxa_resource_hwuart), 248 .num_resources = ARRAY_SIZE(pxai2c_resources), 273 .num_resources = ARRAY_SIZE(pxa27x_resources_i2c_power), [all …]
|
/arch/arm/mach-s3c2440/ |
D | mach-anubis.c | 121 .clocks_size = ARRAY_SIZE(anubis_serial_clocks), 130 .clocks_size = ARRAY_SIZE(anubis_serial_clocks), 198 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part), 205 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part), 212 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part), 239 .nr_sets = ARRAY_SIZE(anubis_nand_sets), 269 .num_resources = ARRAY_SIZE(anubis_ide0_resource), 296 .num_resources = ARRAY_SIZE(anubis_ide1_resource), 329 .num_resources = ARRAY_SIZE(anubis_asix_resource), 394 .gpio_i2c_nr = ARRAY_SIZE(anubis_sm501_gpio_i2c), [all …]
|
D | mach-rx3715.c | 87 .clocks_size = ARRAY_SIZE(rx3715_serial_clocks), 96 .clocks_size = ARRAY_SIZE(rx3715_serial_clocks), 106 .clocks_size = ARRAY_SIZE(rx3715_serial_clocks), 165 .nr_partitions = ARRAY_SIZE(rx3715_nand_part), 174 .nr_sets = ARRAY_SIZE(rx3715_nand_sets), 191 s3c24xx_init_io(rx3715_iodesc, ARRAY_SIZE(rx3715_iodesc)); in rx3715_map_io() 193 s3c24xx_init_uarts(rx3715_uartcfgs, ARRAY_SIZE(rx3715_uartcfgs)); in rx3715_map_io() 209 platform_add_devices(rx3715_devices, ARRAY_SIZE(rx3715_devices)); in rx3715_init_machine()
|
D | mach-osiris.c | 121 .clocks_size = ARRAY_SIZE(osiris_serial_clocks), 130 .clocks_size = ARRAY_SIZE(osiris_serial_clocks), 139 .clocks_size = ARRAY_SIZE(osiris_serial_clocks), 207 .nr_partitions = ARRAY_SIZE(osiris_default_nand_part), 214 .nr_partitions = ARRAY_SIZE(osiris_default_nand_part), 221 .nr_partitions = ARRAY_SIZE(osiris_default_nand_part), 248 .nr_sets = ARRAY_SIZE(osiris_nand_sets), 271 .num_resources = ARRAY_SIZE(osiris_pcmcia_resource), 370 s3c24xx_register_clocks(osiris_clocks, ARRAY_SIZE(osiris_clocks)); in osiris_map_io() 374 s3c24xx_init_io(osiris_iodesc, ARRAY_SIZE(osiris_iodesc)); in osiris_map_io() [all …]
|
D | mach-at2440evb.c | 84 .clocks_size = ARRAY_SIZE(at2440evb_serial_clocks), 93 .clocks_size = ARRAY_SIZE(at2440evb_serial_clocks), 121 .nr_partitions = ARRAY_SIZE(at2440evb_default_nand_part), 130 .nr_sets = ARRAY_SIZE(at2440evb_nand_sets), 161 .num_resources = ARRAY_SIZE(at2440evb_dm9k_resource), 223 s3c24xx_init_io(at2440evb_iodesc, ARRAY_SIZE(at2440evb_iodesc)); in at2440evb_map_io() 225 s3c24xx_init_uarts(at2440evb_uartcfgs, ARRAY_SIZE(at2440evb_uartcfgs)); in at2440evb_map_io() 233 platform_add_devices(at2440evb_devices, ARRAY_SIZE(at2440evb_devices)); in at2440evb_init()
|
/arch/arm/plat-s3c24xx/ |
D | devs.c | 95 .nr_resources = ARRAY_SIZE(s3c2410_uart0_resource), 99 .nr_resources = ARRAY_SIZE(s3c2410_uart1_resource), 103 .nr_resources = ARRAY_SIZE(s3c2410_uart2_resource), 107 .nr_resources = ARRAY_SIZE(s3c2410_uart3_resource), 159 .num_resources = ARRAY_SIZE(s3c_usb_resource), 190 .num_resources = ARRAY_SIZE(s3c_lcd_resource), 226 .num_resources = ARRAY_SIZE(s3c_nand_resource), 251 .num_resources = ARRAY_SIZE(s3c_usbgadget_resource), 290 .num_resources = ARRAY_SIZE(s3c_wdt_resource), 311 .num_resources = ARRAY_SIZE(s3c_iis_resource), [all …]
|
/arch/arm/mach-mx3/ |
D | devices.c | 44 .num_resources = ARRAY_SIZE(uart0), 63 .num_resources = ARRAY_SIZE(uart1), 82 .num_resources = ARRAY_SIZE(uart2), 101 .num_resources = ARRAY_SIZE(uart3), 120 .num_resources = ARRAY_SIZE(uart4), 147 return mxc_gpio_init(imx_gpio_ports, ARRAY_SIZE(imx_gpio_ports)); in mxc_register_gpios() 161 .num_resources = ARRAY_SIZE(mxc_w1_master_resources), 180 .num_resources = ARRAY_SIZE(mxc_nand_resources),
|
/arch/blackfin/mach-bf548/boards/ |
D | ezkit.c | 93 .num_resources = ARRAY_SIZE(bfin_isp1760_resources), 122 .num_resources = ARRAY_SIZE(bf54x_lq043_resources), 154 .keymapsize = ARRAY_SIZE(bf548_keymap), 172 .num_resources = ARRAY_SIZE(bf54x_kpad_resources), 203 .num_resources = ARRAY_SIZE(bfin_rotary_resources), 253 .num_resources = ARRAY_SIZE(bfin_uart_resources), 280 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 305 .num_resources = ARRAY_SIZE(bfin_sir1_resources), 330 .num_resources = ARRAY_SIZE(bfin_sir2_resources), 355 .num_resources = ARRAY_SIZE(bfin_sir3_resources), [all …]
|
D | cm_bf548.c | 85 .num_resources = ARRAY_SIZE(bf54x_lq043_resources), 117 .keymapsize = ARRAY_SIZE(bf548_keymap), 135 .num_resources = ARRAY_SIZE(bf54x_kpad_resources), 185 .num_resources = ARRAY_SIZE(bfin_uart_resources), 212 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 237 .num_resources = ARRAY_SIZE(bfin_sir1_resources), 262 .num_resources = ARRAY_SIZE(bfin_sir2_resources), 287 .num_resources = ARRAY_SIZE(bfin_sir3_resources), 310 .num_resources = ARRAY_SIZE(smsc911x_resources), 365 .num_resources = ARRAY_SIZE(musb_resources), [all …]
|
/arch/arm/mach-msm/ |
D | devices.c | 69 .num_resources = ARRAY_SIZE(resources_uart1), 76 .num_resources = ARRAY_SIZE(resources_uart2), 83 .num_resources = ARRAY_SIZE(resources_uart3), 103 .num_resources = ARRAY_SIZE(resources_i2c), 123 .num_resources = ARRAY_SIZE(resources_hsusb), 146 .num_resources = ARRAY_SIZE(resources_nand), 233 .num_resources = ARRAY_SIZE(resources_sdc1), 243 .num_resources = ARRAY_SIZE(resources_sdc2), 253 .num_resources = ARRAY_SIZE(resources_sdc3), 263 .num_resources = ARRAY_SIZE(resources_sdc4),
|
/arch/blackfin/mach-bf538/boards/ |
D | ezkit.c | 92 .num_resources = ARRAY_SIZE(bfin_uart_resources), 119 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 144 .num_resources = ARRAY_SIZE(bfin_sir1_resources), 169 .num_resources = ARRAY_SIZE(bfin_sir2_resources), 195 .num_resources = ARRAY_SIZE(smc91x_resources), 221 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 276 .num_resources = ARRAY_SIZE(bfin_lq035q1_resources), 397 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 413 .num_resources = ARRAY_SIZE(bfin_spi1_resource), 429 .num_resources = ARRAY_SIZE(bfin_spi2_resource), [all …]
|
/arch/blackfin/mach-bf537/boards/ |
D | cm_bf537.c | 78 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 199 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 236 .num_resources = ARRAY_SIZE(smc91x_resources), 275 .num_resources = ARRAY_SIZE(isp1362_hcd_resources), 296 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 334 .nr_parts = ARRAY_SIZE(cm_partitions), 347 .end = ARRAY_SIZE(cm_flash_gpios), 358 .num_resources = ARRAY_SIZE(cm_flash_resource), 379 .num_resources = ARRAY_SIZE(bfin_uart_resources), 406 .num_resources = ARRAY_SIZE(bfin_sir0_resources), [all …]
|
D | tcm_bf537.c | 78 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 199 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 236 .num_resources = ARRAY_SIZE(smc91x_resources), 275 .num_resources = ARRAY_SIZE(isp1362_hcd_resources), 296 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 334 .nr_parts = ARRAY_SIZE(cm_partitions), 347 .end = ARRAY_SIZE(cm_flash_gpios), 358 .num_resources = ARRAY_SIZE(cm_flash_resource), 379 .num_resources = ARRAY_SIZE(bfin_uart_resources), 407 .num_resources = ARRAY_SIZE(bfin_sir0_resources), [all …]
|
D | minotaur.c | 51 .num_resources = ARRAY_SIZE(bfin_pcmcia_cf_resources), 90 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 126 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 194 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 218 .num_resources = ARRAY_SIZE(bfin_uart_resources), 246 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 272 .num_resources = ARRAY_SIZE(bfin_sir1_resources), 295 .num_resources = ARRAY_SIZE(bfin_twi0_resource), 361 platform_add_devices(minotaur_devices, ARRAY_SIZE(minotaur_devices)); in minotaur_init() 364 ARRAY_SIZE(bfin_spi_board_info)); in minotaur_init()
|
/arch/blackfin/mach-bf561/boards/ |
D | ezkit.c | 79 .num_resources = ARRAY_SIZE(bfin_isp1760_resources), 120 .num_resources = ARRAY_SIZE(isp1362_hcd_resources), 141 .num_resources = ARRAY_SIZE(net2272_bfin_resources), 168 .num_resources = ARRAY_SIZE(smc91x_resources), 190 .num_resources = ARRAY_SIZE(ax88180_resources), 207 .num_resources = ARRAY_SIZE(bfin_uart_resources), 235 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 261 .nr_parts = ARRAY_SIZE(ezkit_partitions), 321 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 364 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table), [all …]
|
/arch/sh/boards/mach-highlander/ |
D | setup.c | 52 .num_resources = ARRAY_SIZE(r8a66597_usb_host_resources), 78 .num_resources = ARRAY_SIZE(m66592_usb_peripheral_resources), 106 .num_resources = ARRAY_SIZE(cf_ide_resources), 126 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos), 140 .num_resources = ARRAY_SIZE(heartbeat_resources), 177 .num_resources = ARRAY_SIZE(ax88796_resources), 197 .num_resources = ARRAY_SIZE(smbus_resources), 238 ARRAY_SIZE(r7780rp_devices)); in r7780rp_devices_setup() 241 ARRAY_SIZE(highlander_i2c_devices)); in r7780rp_devices_setup() 303 for (i = 0; i < ARRAY_SIZE(r7780rp_clocks); i++) { in highlander_setup()
|
/arch/blackfin/mach-bf533/boards/ |
D | ip0x.c | 102 .num_resources = ARRAY_SIZE(dm9000_resource1), 116 .num_resources = ARRAY_SIZE(dm9000_resource2), 193 .num_resources = ARRAY_SIZE(bfin_uart_resources), 221 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 261 .num_resources = ARRAY_SIZE(isp1362_hcd_resources), 299 platform_add_devices(ip0x_devices, ARRAY_SIZE(ip0x_devices)); in ip0x_init() 302 for (i = 0; i < ARRAY_SIZE(bfin_spi_board_info); ++i) { in ip0x_init() 308 spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); in ip0x_init()
|
D | blackstamp.c | 67 .num_resources = ARRAY_SIZE(smc91x_resources), 93 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 179 .num_resources = ARRAY_SIZE(bfin_spi0_resource), 199 .num_resources = ARRAY_SIZE(bfin_uart_resources), 227 .num_resources = ARRAY_SIZE(bfin_sir0_resources), 257 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table), 321 .tabsize = ARRAY_SIZE(cclk_vlev_datasheet), 382 ARRAY_SIZE(bfin_i2c_board_info)); in blackstamp_init() 384 ret = platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices)); in blackstamp_init() 395 spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); in blackstamp_init()
|
/arch/blackfin/mach-bf527/boards/ |
D | ezkit.c | 94 .num_resources = ARRAY_SIZE(bfin_isp1760_resources), 149 .num_resources = ARRAY_SIZE(musb_resources), 167 .num_resources = ARRAY_SIZE(bf52x_t350mcqb_resources), 192 .nr_parts = ARRAY_SIZE(ezkit_partitions), 230 .nr_partitions = ARRAY_SIZE(partition_info), 251 .num_resources = ARRAY_SIZE(bf5xx_nand_resources), 283 .num_resources = ARRAY_SIZE(bfin_pcmcia_cf_resources), 312 .num_resources = ARRAY_SIZE(smc91x_resources), 339 .num_resources = ARRAY_SIZE(dm9000_resources), 383 .num_resources = ARRAY_SIZE(sl811_hcd_resources), [all …]
|
/arch/arm/mach-s3c2410/ |
D | mach-bast.c | 186 .clocks_size = ARRAY_SIZE(bast_serial_clocks), 195 .clocks_size = ARRAY_SIZE(bast_serial_clocks), 205 .clocks_size = ARRAY_SIZE(bast_serial_clocks), 278 .nr_partitions = ARRAY_SIZE(bast_default_nand_part), 285 .nr_partitions = ARRAY_SIZE(bast_default_nand_part), 292 .nr_partitions = ARRAY_SIZE(bast_default_nand_part), 299 .nr_partitions = ARRAY_SIZE(bast_default_nand_part), 327 .nr_sets = ARRAY_SIZE(bast_nand_sets), 364 .num_resources = ARRAY_SIZE(bast_dm9k_resource), 446 .num_resources = ARRAY_SIZE(bast_asix_resource), [all …]
|
/arch/arm/mach-omap1/ |
D | board-palmte.c | 89 .num_resources = ARRAY_SIZE(palmte_kp_resources), 118 .nr_parts = ARRAY_SIZE(palmte_rom_partitions), 178 .num_resources = ARRAY_SIZE(palmte_irda_resources), 234 hi = ARRAY_SIZE(palmte_battery_sample); in palmte_get_power_status() 242 info->time = INTERVAL * ARRAY_SIZE(palmte_battery_sample); in palmte_get_power_status() 258 ARRAY_SIZE(palmte_battery_sample); in palmte_get_power_status() 259 info->time = INTERVAL * (ARRAY_SIZE(palmte_battery_sample) - in palmte_get_power_status() 337 omap_board_config_size = ARRAY_SIZE(palmte_config); in omap_palmte_init() 339 platform_add_devices(palmte_devices, ARRAY_SIZE(palmte_devices)); in omap_palmte_init() 341 spi_register_board_info(palmte_spi_info, ARRAY_SIZE(palmte_spi_info)); in omap_palmte_init()
|