Lines Matching refs:ARRAY_SIZE
495 .nmuxregs = ARRAY_SIZE(clcd_muxreg),
502 .npins = ARRAY_SIZE(clcd_pins),
504 .nmodemuxs = ARRAY_SIZE(clcd_modemux),
511 .ngroups = ARRAY_SIZE(clcd_grps),
574 .nmuxregs = ARRAY_SIZE(emi_muxreg),
578 .nmuxregs = ARRAY_SIZE(emi_ext_muxreg),
585 .npins = ARRAY_SIZE(emi_pins),
587 .nmodemuxs = ARRAY_SIZE(emi_modemux),
594 .ngroups = ARRAY_SIZE(emi_grps),
624 .nmuxregs = ARRAY_SIZE(fsmc_8bit_muxreg),
631 .npins = ARRAY_SIZE(fsmc_8bit_pins),
633 .nmodemuxs = ARRAY_SIZE(fsmc_8bit_modemux),
663 .nmuxregs = ARRAY_SIZE(fsmc_8bit_muxreg),
667 .nmuxregs = ARRAY_SIZE(fsmc_16bit_autoexp_muxreg),
671 .nmuxregs = ARRAY_SIZE(fsmc_16bit_muxreg),
678 .npins = ARRAY_SIZE(fsmc_16bit_pins),
680 .nmodemuxs = ARRAY_SIZE(fsmc_16bit_modemux),
687 .ngroups = ARRAY_SIZE(fsmc_grps),
717 .nmuxregs = ARRAY_SIZE(spp_muxreg),
724 .npins = ARRAY_SIZE(spp_pins),
726 .nmodemuxs = ARRAY_SIZE(spp_modemux),
733 .ngroups = ARRAY_SIZE(spp_grps),
758 .nmuxregs = ARRAY_SIZE(sdhci_led_muxreg),
762 .nmuxregs = ARRAY_SIZE(sdhci_led_ext_muxreg),
769 .npins = ARRAY_SIZE(sdhci_led_pins),
771 .nmodemuxs = ARRAY_SIZE(sdhci_led_modemux),
841 .nmuxregs = ARRAY_SIZE(sdhci_muxreg), \
845 .nmuxregs = ARRAY_SIZE(sdhci_ext_muxreg), \
855 .nmuxregs = ARRAY_SIZE(sdhci_cd_12_muxreg),
863 .nmuxregs = ARRAY_SIZE(sdhci_cd_51_muxreg),
872 .npins = ARRAY_SIZE(sdhci_cd_12_pins),
874 .nmodemuxs = ARRAY_SIZE(sdhci_modemux[0]),
878 .npins = ARRAY_SIZE(sdhci_cd_51_pins),
880 .nmodemuxs = ARRAY_SIZE(sdhci_modemux[1]),
890 .ngroups = ARRAY_SIZE(sdhci_grps),
923 .nmuxregs = ARRAY_SIZE(i2s_muxreg),
927 .nmuxregs = ARRAY_SIZE(i2s_ext_muxreg),
934 .npins = ARRAY_SIZE(i2s_pins),
936 .nmodemuxs = ARRAY_SIZE(i2s_modemux),
943 .ngroups = ARRAY_SIZE(i2s_grps),
969 .nmuxregs = ARRAY_SIZE(uart1_muxreg),
973 .nmuxregs = ARRAY_SIZE(uart1_ext_muxreg),
980 .npins = ARRAY_SIZE(uart1_pins),
982 .nmodemuxs = ARRAY_SIZE(uart1_modemux),
989 .ngroups = ARRAY_SIZE(uart1_grps),
1085 .nmuxregs = ARRAY_SIZE(uart1_modem_ext_2_to_7_muxreg),
1093 .nmuxregs = ARRAY_SIZE(uart1_modem_31_to_36_muxreg),
1097 .nmuxregs = ARRAY_SIZE(uart1_modem_ext_31_to_36_muxreg),
1105 .nmuxregs = ARRAY_SIZE(uart1_modem_34_to_45_muxreg),
1109 .nmuxregs = ARRAY_SIZE(uart1_modem_ext_34_to_45_muxreg),
1117 .nmuxregs = ARRAY_SIZE(uart1_modem_ext_80_to_85_muxreg),
1125 .npins = ARRAY_SIZE(uart1_modem_2_to_7_pins),
1127 .nmodemuxs = ARRAY_SIZE(uart1_modem_2_to_7_modemux),
1131 .npins = ARRAY_SIZE(uart1_modem_31_to_36_pins),
1133 .nmodemuxs = ARRAY_SIZE(uart1_modem_31_to_36_modemux),
1137 .npins = ARRAY_SIZE(uart1_modem_34_to_45_pins),
1139 .nmodemuxs = ARRAY_SIZE(uart1_modem_34_to_45_modemux),
1143 .npins = ARRAY_SIZE(uart1_modem_80_to_85_pins),
1145 .nmodemuxs = ARRAY_SIZE(uart1_modem_80_to_85_modemux),
1155 .ngroups = ARRAY_SIZE(uart1_modem_grps),
1181 .nmuxregs = ARRAY_SIZE(uart2_muxreg),
1185 .nmuxregs = ARRAY_SIZE(uart2_ext_muxreg),
1192 .npins = ARRAY_SIZE(uart2_pins),
1194 .nmodemuxs = ARRAY_SIZE(uart2_modemux),
1201 .ngroups = ARRAY_SIZE(uart2_grps),
1310 .nmuxregs = ARRAY_SIZE(uart3_ext_8_9_muxreg),
1317 .nmuxregs = ARRAY_SIZE(uart3_ext_15_16_muxreg),
1324 .nmuxregs = ARRAY_SIZE(uart3_ext_41_42_muxreg),
1331 .nmuxregs = ARRAY_SIZE(uart3_ext_52_53_muxreg),
1338 .nmuxregs = ARRAY_SIZE(uart3_ext_73_74_muxreg),
1345 .nmuxregs = ARRAY_SIZE(uart3_ext_94_95_muxreg),
1352 .nmuxregs = ARRAY_SIZE(uart3_ext_98_99_muxreg),
1361 .npins = ARRAY_SIZE(uart3_pins[0]),
1363 .nmodemuxs = ARRAY_SIZE(uart3_modemux[0]),
1367 .npins = ARRAY_SIZE(uart3_pins[1]),
1369 .nmodemuxs = ARRAY_SIZE(uart3_modemux[1]),
1373 .npins = ARRAY_SIZE(uart3_pins[2]),
1375 .nmodemuxs = ARRAY_SIZE(uart3_modemux[2]),
1379 .npins = ARRAY_SIZE(uart3_pins[3]),
1381 .nmodemuxs = ARRAY_SIZE(uart3_modemux[3]),
1385 .npins = ARRAY_SIZE(uart3_pins[4]),
1387 .nmodemuxs = ARRAY_SIZE(uart3_modemux[4]),
1391 .npins = ARRAY_SIZE(uart3_pins[5]),
1393 .nmodemuxs = ARRAY_SIZE(uart3_modemux[5]),
1397 .npins = ARRAY_SIZE(uart3_pins[6]),
1399 .nmodemuxs = ARRAY_SIZE(uart3_modemux[6]),
1410 .ngroups = ARRAY_SIZE(uart3_grps),
1509 .nmuxregs = ARRAY_SIZE(uart4_ext_6_7_muxreg),
1516 .nmuxregs = ARRAY_SIZE(uart4_ext_13_14_muxreg),
1523 .nmuxregs = ARRAY_SIZE(uart4_ext_39_40_muxreg),
1530 .nmuxregs = ARRAY_SIZE(uart4_ext_71_72_muxreg),
1537 .nmuxregs = ARRAY_SIZE(uart4_ext_92_93_muxreg),
1544 .nmuxregs = ARRAY_SIZE(uart4_ext_100_101_muxreg),
1553 .npins = ARRAY_SIZE(uart4_pins[0]),
1555 .nmodemuxs = ARRAY_SIZE(uart4_modemux[0]),
1559 .npins = ARRAY_SIZE(uart4_pins[1]),
1561 .nmodemuxs = ARRAY_SIZE(uart4_modemux[1]),
1565 .npins = ARRAY_SIZE(uart4_pins[2]),
1567 .nmodemuxs = ARRAY_SIZE(uart4_modemux[2]),
1571 .npins = ARRAY_SIZE(uart4_pins[3]),
1573 .nmodemuxs = ARRAY_SIZE(uart4_modemux[3]),
1577 .npins = ARRAY_SIZE(uart4_pins[4]),
1579 .nmodemuxs = ARRAY_SIZE(uart4_modemux[4]),
1583 .npins = ARRAY_SIZE(uart4_pins[5]),
1585 .nmodemuxs = ARRAY_SIZE(uart4_modemux[5]),
1596 .ngroups = ARRAY_SIZE(uart4_grps),
1669 .nmuxregs = ARRAY_SIZE(uart5_ext_4_5_muxreg),
1676 .nmuxregs = ARRAY_SIZE(uart5_ext_37_38_muxreg),
1683 .nmuxregs = ARRAY_SIZE(uart5_ext_69_70_muxreg),
1690 .nmuxregs = ARRAY_SIZE(uart5_ext_90_91_muxreg),
1699 .npins = ARRAY_SIZE(uart5_pins[0]),
1701 .nmodemuxs = ARRAY_SIZE(uart5_modemux[0]),
1705 .npins = ARRAY_SIZE(uart5_pins[1]),
1707 .nmodemuxs = ARRAY_SIZE(uart5_modemux[1]),
1711 .npins = ARRAY_SIZE(uart5_pins[2]),
1713 .nmodemuxs = ARRAY_SIZE(uart5_modemux[2]),
1717 .npins = ARRAY_SIZE(uart5_pins[3]),
1719 .nmodemuxs = ARRAY_SIZE(uart5_modemux[3]),
1728 .ngroups = ARRAY_SIZE(uart5_grps),
1767 .nmuxregs = ARRAY_SIZE(uart6_ext_2_3_muxreg),
1774 .nmuxregs = ARRAY_SIZE(uart6_ext_88_89_muxreg),
1783 .npins = ARRAY_SIZE(uart6_pins[0]),
1785 .nmodemuxs = ARRAY_SIZE(uart6_modemux[0]),
1789 .npins = ARRAY_SIZE(uart6_pins[1]),
1791 .nmodemuxs = ARRAY_SIZE(uart6_modemux[1]),
1799 .ngroups = ARRAY_SIZE(uart6_grps),
1816 .nmuxregs = ARRAY_SIZE(rs485_muxreg),
1823 .npins = ARRAY_SIZE(rs485_pins),
1825 .nmodemuxs = ARRAY_SIZE(rs485_modemux),
1832 .ngroups = ARRAY_SIZE(rs485_grps),
1861 .nmuxregs = ARRAY_SIZE(touchscreen_muxreg),
1865 .nmuxregs = ARRAY_SIZE(touchscreen_ext_muxreg),
1872 .npins = ARRAY_SIZE(touchscreen_pins),
1874 .nmodemuxs = ARRAY_SIZE(touchscreen_modemux),
1881 .ngroups = ARRAY_SIZE(touchscreen_grps),
1907 .nmuxregs = ARRAY_SIZE(can0_muxreg),
1911 .nmuxregs = ARRAY_SIZE(can0_ext_muxreg),
1918 .npins = ARRAY_SIZE(can0_pins),
1920 .nmodemuxs = ARRAY_SIZE(can0_modemux),
1927 .ngroups = ARRAY_SIZE(can0_grps),
1952 .nmuxregs = ARRAY_SIZE(can1_muxreg),
1956 .nmuxregs = ARRAY_SIZE(can1_ext_muxreg),
1963 .npins = ARRAY_SIZE(can1_pins),
1965 .nmodemuxs = ARRAY_SIZE(can1_modemux),
1972 .ngroups = ARRAY_SIZE(can1_grps),
2072 .nmuxregs = ARRAY_SIZE(pwm0_1_pin_8_9_muxreg),
2080 .nmuxregs = ARRAY_SIZE(pwm0_1_autoexpsmallpri_muxreg),
2084 .nmuxregs = ARRAY_SIZE(pwm0_1_pin_14_15_muxreg),
2092 .nmuxregs = ARRAY_SIZE(pwm0_1_pin_30_31_muxreg),
2100 .nmuxregs = ARRAY_SIZE(pwm0_1_net_muxreg),
2104 .nmuxregs = ARRAY_SIZE(pwm0_1_pin_37_38_muxreg),
2112 .nmuxregs = ARRAY_SIZE(pwm0_1_pin_42_43_muxreg),
2120 .nmuxregs = ARRAY_SIZE(pwm0_1_pin_59_60_muxreg),
2128 .nmuxregs = ARRAY_SIZE(pwm0_1_pin_88_89_muxreg),
2136 .npins = ARRAY_SIZE(pwm0_1_pins[0]),
2138 .nmodemuxs = ARRAY_SIZE(pwm0_1_pin_8_9_modemux),
2142 .npins = ARRAY_SIZE(pwm0_1_pins[1]),
2144 .nmodemuxs = ARRAY_SIZE(pwm0_1_pin_14_15_modemux),
2148 .npins = ARRAY_SIZE(pwm0_1_pins[2]),
2150 .nmodemuxs = ARRAY_SIZE(pwm0_1_pin_30_31_modemux),
2154 .npins = ARRAY_SIZE(pwm0_1_pins[3]),
2156 .nmodemuxs = ARRAY_SIZE(pwm0_1_pin_37_38_modemux),
2160 .npins = ARRAY_SIZE(pwm0_1_pins[4]),
2162 .nmodemuxs = ARRAY_SIZE(pwm0_1_pin_42_43_modemux),
2166 .npins = ARRAY_SIZE(pwm0_1_pins[5]),
2168 .nmodemuxs = ARRAY_SIZE(pwm0_1_pin_59_60_modemux),
2172 .npins = ARRAY_SIZE(pwm0_1_pins[6]),
2174 .nmodemuxs = ARRAY_SIZE(pwm0_1_pin_88_89_modemux),
2186 .ngroups = ARRAY_SIZE(pwm0_1_grps),
2284 .nmuxregs = ARRAY_SIZE(pwm2_net_muxreg),
2288 .nmuxregs = ARRAY_SIZE(pwm2_pin_7_muxreg),
2295 .nmuxregs = ARRAY_SIZE(pwm2_autoexpsmallpri_muxreg),
2299 .nmuxregs = ARRAY_SIZE(pwm2_pin_13_muxreg),
2306 .nmuxregs = ARRAY_SIZE(pwm2_pin_29_muxreg),
2313 .nmuxregs = ARRAY_SIZE(pwm2_pin_34_muxreg),
2321 .nmuxregs = ARRAY_SIZE(pwm2_pin_41_muxreg),
2329 .nmuxregs = ARRAY_SIZE(pwm2_pin_58_muxreg),
2337 .nmuxregs = ARRAY_SIZE(pwm2_pin_87_muxreg),
2345 .npins = ARRAY_SIZE(pwm2_pins[0]),
2347 .nmodemuxs = ARRAY_SIZE(pwm2_pin_7_modemux),
2351 .npins = ARRAY_SIZE(pwm2_pins[1]),
2353 .nmodemuxs = ARRAY_SIZE(pwm2_pin_13_modemux),
2357 .npins = ARRAY_SIZE(pwm2_pins[2]),
2359 .nmodemuxs = ARRAY_SIZE(pwm2_pin_29_modemux),
2363 .npins = ARRAY_SIZE(pwm2_pins[3]),
2365 .nmodemuxs = ARRAY_SIZE(pwm2_pin_34_modemux),
2369 .npins = ARRAY_SIZE(pwm2_pins[4]),
2371 .nmodemuxs = ARRAY_SIZE(pwm2_pin_41_modemux),
2375 .npins = ARRAY_SIZE(pwm2_pins[5]),
2377 .nmodemuxs = ARRAY_SIZE(pwm2_pin_58_modemux),
2381 .npins = ARRAY_SIZE(pwm2_pins[6]),
2383 .nmodemuxs = ARRAY_SIZE(pwm2_pin_87_modemux),
2393 .ngroups = ARRAY_SIZE(pwm2_grps),
2471 .nmuxregs = ARRAY_SIZE(pwm3_pin_6_muxreg),
2480 .nmuxregs = ARRAY_SIZE(pwm3_muxreg),
2484 .nmuxregs = ARRAY_SIZE(pwm3_pin_12_muxreg),
2492 .nmuxregs = ARRAY_SIZE(pwm3_pin_28_muxreg),
2500 .nmuxregs = ARRAY_SIZE(pwm3_pin_40_muxreg),
2508 .nmuxregs = ARRAY_SIZE(pwm3_pin_57_muxreg),
2516 .nmuxregs = ARRAY_SIZE(pwm3_pin_86_muxreg),
2524 .npins = ARRAY_SIZE(pwm3_pins[0]),
2526 .nmodemuxs = ARRAY_SIZE(pwm3_pin_6_modemux),
2530 .npins = ARRAY_SIZE(pwm3_pins[1]),
2532 .nmodemuxs = ARRAY_SIZE(pwm3_pin_12_modemux),
2536 .npins = ARRAY_SIZE(pwm3_pins[2]),
2538 .nmodemuxs = ARRAY_SIZE(pwm3_pin_28_modemux),
2542 .npins = ARRAY_SIZE(pwm3_pins[3]),
2544 .nmodemuxs = ARRAY_SIZE(pwm3_pin_40_modemux),
2548 .npins = ARRAY_SIZE(pwm3_pins[4]),
2550 .nmodemuxs = ARRAY_SIZE(pwm3_pin_57_modemux),
2554 .npins = ARRAY_SIZE(pwm3_pins[5]),
2556 .nmodemuxs = ARRAY_SIZE(pwm3_pin_86_modemux),
2566 .ngroups = ARRAY_SIZE(pwm3_grps),
2662 .nmuxregs = ARRAY_SIZE(ssp1_muxreg),
2666 .nmuxregs = ARRAY_SIZE(ssp1_ext_17_20_muxreg),
2674 .nmuxregs = ARRAY_SIZE(ssp1_ext_36_39_muxreg),
2682 .nmuxregs = ARRAY_SIZE(ssp1_ext_48_51_muxreg),
2689 .nmuxregs = ARRAY_SIZE(ssp1_ext_65_68_muxreg),
2697 .nmuxregs = ARRAY_SIZE(ssp1_ext_94_97_muxreg),
2705 .npins = ARRAY_SIZE(ssp1_pins[0]),
2707 .nmodemuxs = ARRAY_SIZE(ssp1_17_20_modemux),
2711 .npins = ARRAY_SIZE(ssp1_pins[1]),
2713 .nmodemuxs = ARRAY_SIZE(ssp1_36_39_modemux),
2717 .npins = ARRAY_SIZE(ssp1_pins[2]),
2719 .nmodemuxs = ARRAY_SIZE(ssp1_48_51_modemux),
2723 .npins = ARRAY_SIZE(ssp1_pins[3]),
2725 .nmodemuxs = ARRAY_SIZE(ssp1_65_68_modemux),
2729 .npins = ARRAY_SIZE(ssp1_pins[4]),
2731 .nmodemuxs = ARRAY_SIZE(ssp1_94_97_modemux),
2741 .ngroups = ARRAY_SIZE(ssp1_grps),
2829 .nmuxregs = ARRAY_SIZE(ssp2_muxreg),
2833 .nmuxregs = ARRAY_SIZE(ssp2_ext_13_16_muxreg),
2841 .nmuxregs = ARRAY_SIZE(ssp2_ext_32_35_muxreg),
2849 .nmuxregs = ARRAY_SIZE(ssp2_ext_44_47_muxreg),
2857 .nmuxregs = ARRAY_SIZE(ssp2_ext_61_64_muxreg),
2865 .nmuxregs = ARRAY_SIZE(ssp2_ext_90_93_muxreg),
2873 .npins = ARRAY_SIZE(ssp2_pins[0]),
2875 .nmodemuxs = ARRAY_SIZE(ssp2_13_16_modemux),
2879 .npins = ARRAY_SIZE(ssp2_pins[1]),
2881 .nmodemuxs = ARRAY_SIZE(ssp2_32_35_modemux),
2885 .npins = ARRAY_SIZE(ssp2_pins[2]),
2887 .nmodemuxs = ARRAY_SIZE(ssp2_44_47_modemux),
2891 .npins = ARRAY_SIZE(ssp2_pins[3]),
2893 .nmodemuxs = ARRAY_SIZE(ssp2_61_64_modemux),
2897 .npins = ARRAY_SIZE(ssp2_pins[4]),
2899 .nmodemuxs = ARRAY_SIZE(ssp2_90_93_modemux),
2908 .ngroups = ARRAY_SIZE(ssp2_grps),
2942 .nmuxregs = ARRAY_SIZE(mii2_muxreg),
2949 .npins = ARRAY_SIZE(mii2_pins),
2951 .nmodemuxs = ARRAY_SIZE(mii2_modemux),
2958 .ngroups = ARRAY_SIZE(mii2_grps),
3023 .nmuxregs = ARRAY_SIZE(mii0_1_muxreg),
3027 .nmuxregs = ARRAY_SIZE(smii0_1_ext_muxreg),
3035 .nmuxregs = ARRAY_SIZE(mii0_1_muxreg),
3039 .nmuxregs = ARRAY_SIZE(rmii0_1_ext_muxreg),
3048 .npins = ARRAY_SIZE(smii0_1_pins),
3050 .nmodemuxs = ARRAY_SIZE(mii0_1_modemux[0]),
3054 .npins = ARRAY_SIZE(rmii0_1_pins),
3056 .nmodemuxs = ARRAY_SIZE(mii0_1_modemux[1]),
3064 .ngroups = ARRAY_SIZE(mii0_1_grps),
3103 .nmuxregs = ARRAY_SIZE(i2c1_ext_8_9_muxreg),
3110 .nmuxregs = ARRAY_SIZE(i2c1_ext_98_99_muxreg),
3119 .npins = ARRAY_SIZE(i2c1_pins[0]),
3121 .nmodemuxs = ARRAY_SIZE(i2c1_modemux[0]),
3125 .npins = ARRAY_SIZE(i2c1_pins[1]),
3127 .nmodemuxs = ARRAY_SIZE(i2c1_modemux[1]),
3135 .ngroups = ARRAY_SIZE(i2c1_grps),
3223 .nmuxregs = ARRAY_SIZE(i2c2_ext_0_1_muxreg),
3230 .nmuxregs = ARRAY_SIZE(i2c2_ext_2_3_muxreg),
3237 .nmuxregs = ARRAY_SIZE(i2c2_ext_19_20_muxreg),
3244 .nmuxregs = ARRAY_SIZE(i2c2_ext_75_76_muxreg),
3251 .nmuxregs = ARRAY_SIZE(i2c2_ext_96_97_muxreg),
3260 .npins = ARRAY_SIZE(i2c2_pins[0]),
3262 .nmodemuxs = ARRAY_SIZE(i2c2_modemux[0]),
3266 .npins = ARRAY_SIZE(i2c2_pins[1]),
3268 .nmodemuxs = ARRAY_SIZE(i2c2_modemux[1]),
3272 .npins = ARRAY_SIZE(i2c2_pins[2]),
3274 .nmodemuxs = ARRAY_SIZE(i2c2_modemux[2]),
3278 .npins = ARRAY_SIZE(i2c2_pins[3]),
3280 .nmodemuxs = ARRAY_SIZE(i2c2_modemux[3]),
3284 .npins = ARRAY_SIZE(i2c2_pins[4]),
3286 .nmodemuxs = ARRAY_SIZE(i2c2_modemux[4]),
3295 .ngroups = ARRAY_SIZE(i2c2_grps),
3422 spear3xx_machdata.ngroups = ARRAY_SIZE(spear320_pingroups); in spear320_pinctrl_probe()
3424 spear3xx_machdata.nfunctions = ARRAY_SIZE(spear320_functions); in spear320_pinctrl_probe()
3428 spear3xx_machdata.npmx_modes = ARRAY_SIZE(spear320_pmx_modes); in spear320_pinctrl_probe()