Searched refs:ARRAY_SIZE (Results 1 - 25 of 9273) sorted by relevance

1234567891011>>

/linux-master/drivers/pinctrl/cirrus/
H A Dpinctrl-cs47l85.c37 { "aif1", cs47l85_aif1_pins, ARRAY_SIZE(cs47l85_aif1_pins) },
38 { "aif2", cs47l85_aif2_pins, ARRAY_SIZE(cs47l85_aif2_pins) },
39 { "aif3", cs47l85_aif3_pins, ARRAY_SIZE(cs47l85_aif3_pins) },
40 { "aif4", cs47l85_aif4_pins, ARRAY_SIZE(cs47l85_aif4_pins) },
41 { "mif1", cs47l85_mif1_pins, ARRAY_SIZE(cs47l85_mif1_pins) },
42 { "mif2", cs47l85_mif2_pins, ARRAY_SIZE(cs47l85_mif2_pins) },
43 { "mif3", cs47l85_mif3_pins, ARRAY_SIZE(cs47l85_mif3_pins) },
44 { "dmic4", cs47l85_dmic4_pins, ARRAY_SIZE(cs47l85_dmic4_pins) },
45 { "dmic5", cs47l85_dmic5_pins, ARRAY_SIZE(cs47l85_dmic5_pins) },
46 { "dmic6", cs47l85_dmic6_pins, ARRAY_SIZE(cs47l85_dmic6_pin
[all...]
H A Dpinctrl-cs47l90.c36 { "aif1", cs47l90_aif1_pins, ARRAY_SIZE(cs47l90_aif1_pins) },
37 { "aif2", cs47l90_aif2_pins, ARRAY_SIZE(cs47l90_aif2_pins) },
38 { "aif3", cs47l90_aif3_pins, ARRAY_SIZE(cs47l90_aif3_pins) },
39 { "aif4", cs47l90_aif4_pins, ARRAY_SIZE(cs47l90_aif4_pins) },
40 { "mif1", cs47l90_mif1_pins, ARRAY_SIZE(cs47l90_mif1_pins) },
41 { "mif2", cs47l90_mif2_pins, ARRAY_SIZE(cs47l90_mif2_pins) },
42 { "mif3", cs47l90_mif3_pins, ARRAY_SIZE(cs47l90_mif3_pins) },
43 { "dmic3", cs47l90_dmic3_pins, ARRAY_SIZE(cs47l90_dmic3_pins) },
44 { "dmic4", cs47l90_dmic4_pins, ARRAY_SIZE(cs47l90_dmic4_pins) },
45 { "dmic5", cs47l90_dmic5_pins, ARRAY_SIZE(cs47l90_dmic5_pin
[all...]
H A Dpinctrl-cs47l35.c30 { "aif1", cs47l35_aif1_pins, ARRAY_SIZE(cs47l35_aif1_pins) },
31 { "aif2", cs47l35_aif2_pins, ARRAY_SIZE(cs47l35_aif2_pins) },
32 { "aif3", cs47l35_aif3_pins, ARRAY_SIZE(cs47l35_aif3_pins) },
33 { "mif1", cs47l35_mif1_pins, ARRAY_SIZE(cs47l35_mif1_pins) },
34 { "pdmspk1", cs47l35_spk_pins, ARRAY_SIZE(cs47l35_spk_pins) },
40 .n_pin_groups = ARRAY_SIZE(cs47l35_pin_groups),
H A Dpinctrl-cs47l15.c30 { "aif1", cs47l15_aif1_pins, ARRAY_SIZE(cs47l15_aif1_pins) },
31 { "aif2", cs47l15_aif2_pins, ARRAY_SIZE(cs47l15_aif2_pins) },
32 { "aif3", cs47l15_aif3_pins, ARRAY_SIZE(cs47l15_aif3_pins) },
33 { "pdmspk1", cs47l15_spk1_pins, ARRAY_SIZE(cs47l15_spk1_pins) },
39 .n_pin_groups = ARRAY_SIZE(cs47l15_pin_groups),
H A Dpinctrl-cs47l92.c30 { "aif1", cs47l92_aif1_pins, ARRAY_SIZE(cs47l92_aif1_pins) },
31 { "aif2", cs47l92_aif2_pins, ARRAY_SIZE(cs47l92_aif2_pins) },
32 { "aif3", cs47l92_aif3_pins, ARRAY_SIZE(cs47l92_aif3_pins) },
33 { "pdmspk1", cs47l92_spk1_pins, ARRAY_SIZE(cs47l92_spk1_pins) },
39 .n_pin_groups = ARRAY_SIZE(cs47l92_pin_groups),
/linux-master/scripts/kconfig/
H A Darray_size.h6 * ARRAY_SIZE - get the number of elements in array @arr
9 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/linux-master/drivers/pinctrl/bcm/
H A Dpinctrl-bcm4908.c259 { "led_0_grp_a", led_0_pins_a, ARRAY_SIZE(led_0_pins_a) },
260 { "led_1_grp_a", led_1_pins_a, ARRAY_SIZE(led_1_pins_a) },
261 { "led_2_grp_a", led_2_pins_a, ARRAY_SIZE(led_2_pins_a) },
262 { "led_3_grp_a", led_3_pins_a, ARRAY_SIZE(led_3_pins_a) },
263 { "led_4_grp_a", led_4_pins_a, ARRAY_SIZE(led_4_pins_a) },
264 { "led_5_grp_a", led_5_pins_a, ARRAY_SIZE(led_5_pins_a) },
265 { "led_6_grp_a", led_6_pins_a, ARRAY_SIZE(led_6_pins_a) },
266 { "led_7_grp_a", led_7_pins_a, ARRAY_SIZE(led_7_pins_a) },
267 { "led_8_grp_a", led_8_pins_a, ARRAY_SIZE(led_8_pins_a) },
268 { "led_9_grp_a", led_9_pins_a, ARRAY_SIZE(led_9_pins_
[all...]
/linux-master/drivers/pinctrl/spear/
H A Dpinctrl-spear3xx.c35 .nmuxregs = ARRAY_SIZE(firda_muxreg),
42 .npins = ARRAY_SIZE(firda_pins),
44 .nmodemuxs = ARRAY_SIZE(firda_modemux),
51 .ngroups = ARRAY_SIZE(firda_grps),
68 .nmuxregs = ARRAY_SIZE(i2c_muxreg),
75 .npins = ARRAY_SIZE(i2c_pins),
77 .nmodemuxs = ARRAY_SIZE(i2c_modemux),
84 .ngroups = ARRAY_SIZE(i2c_grps),
101 .nmuxregs = ARRAY_SIZE(ssp_cs_muxreg),
108 .npins = ARRAY_SIZE(ssp_cs_pin
[all...]
H A Dpinctrl-spear310.c36 .nmuxregs = ARRAY_SIZE(emi_cs_0_to_5_muxreg),
43 .npins = ARRAY_SIZE(emi_cs_0_to_5_pins),
45 .nmodemuxs = ARRAY_SIZE(emi_cs_0_to_5_modemux),
52 .ngroups = ARRAY_SIZE(emi_cs_0_to_5_grps),
68 .nmuxregs = ARRAY_SIZE(uart1_muxreg),
75 .npins = ARRAY_SIZE(uart1_pins),
77 .nmodemuxs = ARRAY_SIZE(uart1_modemux),
84 .ngroups = ARRAY_SIZE(uart1_grps),
100 .nmuxregs = ARRAY_SIZE(uart2_muxreg),
107 .npins = ARRAY_SIZE(uart2_pin
[all...]
H A Dpinctrl-spear1340.c255 .nmuxregs = ARRAY_SIZE(pads_as_gpio_muxreg),
262 .npins = ARRAY_SIZE(pads_as_gpio_pins),
264 .nmodemuxs = ARRAY_SIZE(pads_as_gpio_modemux),
271 .ngroups = ARRAY_SIZE(pads_as_gpio_grps),
288 .nmuxregs = ARRAY_SIZE(fsmc_8bit_muxreg),
295 .npins = ARRAY_SIZE(fsmc_8bit_pins),
297 .nmodemuxs = ARRAY_SIZE(fsmc_8bit_modemux),
317 .nmuxregs = ARRAY_SIZE(fsmc_16bit_muxreg),
324 .npins = ARRAY_SIZE(fsmc_16bit_pins),
326 .nmodemuxs = ARRAY_SIZE(fsmc_16bit_modemu
[all...]
H A Dpinctrl-spear300.c174 .nmuxregs = ARRAY_SIZE(fsmc_2chips_muxreg),
181 .npins = ARRAY_SIZE(fsmc_2chips_pins),
183 .nmodemuxs = ARRAY_SIZE(fsmc_2chips_modemux),
201 .nmuxregs = ARRAY_SIZE(fsmc_4chips_muxreg),
208 .npins = ARRAY_SIZE(fsmc_4chips_pins),
210 .nmodemuxs = ARRAY_SIZE(fsmc_4chips_modemux),
218 .ngroups = ARRAY_SIZE(fsmc_grps),
236 .nmuxregs = ARRAY_SIZE(clcd_lcdmode_muxreg),
243 .npins = ARRAY_SIZE(clcd_lcdmode_pins),
245 .nmodemuxs = ARRAY_SIZE(clcd_lcdmode_modemu
[all...]
H A Dpinctrl-spear1310.c253 .nmuxregs = ARRAY_SIZE(i2c0_muxreg),
260 .npins = ARRAY_SIZE(i2c0_pins),
262 .nmodemuxs = ARRAY_SIZE(i2c0_modemux),
269 .ngroups = ARRAY_SIZE(i2c0_grps),
289 .nmuxregs = ARRAY_SIZE(ssp0_muxreg),
296 .npins = ARRAY_SIZE(ssp0_pins),
298 .nmodemuxs = ARRAY_SIZE(ssp0_modemux),
318 .nmuxregs = ARRAY_SIZE(ssp0_cs0_muxreg),
325 .npins = ARRAY_SIZE(ssp0_cs0_pins),
327 .nmodemuxs = ARRAY_SIZE(ssp0_cs0_modemu
[all...]
H A Dpinctrl-spear320.c495 .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_muxre
[all...]
/linux-master/drivers/clk/visconti/
H A Dclkc-tmpv770x.c50 pietherplls_parent_data, ARRAY_SIZE(pietherplls_parent_data),
54 pietherplls_parent_data, ARRAY_SIZE(pietherplls_parent_data),
58 pietherplls_parent_data, ARRAY_SIZE(pietherplls_parent_data),
62 pietherplls_parent_data, ARRAY_SIZE(pietherplls_parent_data),
69 clks_parent_data, ARRAY_SIZE(clks_parent_data),
73 clks_parent_data, ARRAY_SIZE(clks_parent_data),
77 clks_parent_data, ARRAY_SIZE(clks_parent_data),
81 clks_parent_data, ARRAY_SIZE(clks_parent_data),
85 clks_parent_data, ARRAY_SIZE(clks_parent_data),
89 clks_parent_data, ARRAY_SIZE(clks_parent_dat
[all...]
/linux-master/include/linux/
H A Darray_size.h8 * ARRAY_SIZE - get the number of elements in array @arr
11 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) macro
/linux-master/drivers/media/tuners/
H A Dtuner-types.c74 .count = ARRAY_SIZE(tuner_temic_pal_ranges),
90 .count = ARRAY_SIZE(tuner_philips_pal_i_ranges),
106 .count = ARRAY_SIZE(tuner_philips_ntsc_ranges),
123 .count = ARRAY_SIZE(tuner_philips_secam_ranges),
140 .count = ARRAY_SIZE(tuner_philips_pal_ranges),
157 .count = ARRAY_SIZE(tuner_temic_ntsc_ranges),
173 .count = ARRAY_SIZE(tuner_temic_pal_i_ranges),
189 .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_ranges),
205 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
216 .count = ARRAY_SIZE(tuner_alps_tsb_1_range
[all...]
/linux-master/arch/x86/include/asm/
H A Dolpc_ofw.h16 __olpc_ofw((name), ARRAY_SIZE(args), args, ARRAY_SIZE(res), res)
/linux-master/tools/testing/selftests/kvm/lib/x86_64/
H A Dpmu.c23 kvm_static_assert(ARRAY_SIZE(intel_pmu_arch_events) == NR_INTEL_ARCH_EVENTS);
31 kvm_static_assert(ARRAY_SIZE(amd_pmu_zen_events) == NR_AMD_ZEN_EVENTS);
/linux-master/drivers/gpu/drm/msm/dsi/
H A Ddsi_cfg.c21 .num_regulators = ARRAY_SIZE(apq8064_dsi_regulators),
23 .num_bus_clks = ARRAY_SIZE(dsi_v2_bus_clk_names),
42 .num_regulators = ARRAY_SIZE(msm8974_apq8084_regulators),
44 .num_bus_clks = ARRAY_SIZE(dsi_6g_bus_clk_names),
62 .num_regulators = ARRAY_SIZE(dsi_v1_3_1_regulators),
64 .num_bus_clks = ARRAY_SIZE(dsi_v1_3_1_clk_names),
73 .num_regulators = ARRAY_SIZE(dsi_v1_3_1_regulators),
75 .num_bus_clks = ARRAY_SIZE(dsi_v1_3_1_clk_names),
93 .num_regulators = ARRAY_SIZE(msm8994_dsi_regulators),
95 .num_bus_clks = ARRAY_SIZE(dsi_6g_bus_clk_name
[all...]
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_hw_counters.c37 for (cnt = 0; cnt < ARRAY_SIZE(rxe_counter_descs); cnt++)
40 return ARRAY_SIZE(rxe_counter_descs);
46 BUILD_BUG_ON(ARRAY_SIZE(rxe_counter_descs) != RXE_NUM_OF_COUNTERS);
49 ARRAY_SIZE(rxe_counter_descs),
/linux-master/arch/arm/mach-s3c/
H A Ddev-uart-s3c64xx.c51 .nr_resources = ARRAY_SIZE(s3c64xx_uart0_resource),
55 .nr_resources = ARRAY_SIZE(s3c64xx_uart1_resource),
59 .nr_resources = ARRAY_SIZE(s3c6xx_uart2_resource),
63 .nr_resources = ARRAY_SIZE(s3c64xx_uart3_resource),
/linux-master/drivers/staging/rtl8723bs/core/
H A Drtw_rf.c30 if (channel == 0 || channel > ARRAY_SIZE(ch_freq_map))
/linux-master/arch/mips/loongson32/ls1c/
H A Dboard.c20 ARRAY_SIZE(ls1c_platform_devices));
/linux-master/drivers/mfd/
H A Dsun6i-prcm.c50 .num_resources = ARRAY_SIZE(sun6i_a31_ar100_clk_res),
56 .num_resources = ARRAY_SIZE(sun6i_a31_apb0_clk_res),
62 .num_resources = ARRAY_SIZE(sun6i_a31_apb0_gates_clk_res),
68 .num_resources = ARRAY_SIZE(sun6i_a31_ir_clk_res),
74 .num_resources = ARRAY_SIZE(sun6i_a31_apb0_rstc_res),
83 .num_resources = ARRAY_SIZE(sun6i_a31_apb0_clk_res),
89 .num_resources = ARRAY_SIZE(sun6i_a31_apb0_gates_clk_res),
95 .num_resources = ARRAY_SIZE(sun6i_a31_apb0_rstc_res),
101 .num_resources = ARRAY_SIZE(sun8i_codec_analog_res),
107 .nsubdevs = ARRAY_SIZE(sun6i_a31_prcm_subdev
[all...]
/linux-master/drivers/clk/imx/
H A Dclk-imx8-acm.c130 { "acm_aud_clk0_sel", IMX_ADMA_ACM_AUD_CLK0_SEL, imx8qm_aud_clk_sels, ARRAY_SIZE(imx8qm_aud_clk_sels), 0x000000, 0, 5 },
131 { "acm_aud_clk1_sel", IMX_ADMA_ACM_AUD_CLK1_SEL, imx8qm_aud_clk_sels, ARRAY_SIZE(imx8qm_aud_clk_sels), 0x010000, 0, 5 },
132 { "acm_mclkout0_sel", IMX_ADMA_ACM_MCLKOUT0_SEL, imx8qm_mclk_out_sels, ARRAY_SIZE(imx8qm_mclk_out_sels), 0x020000, 0, 3 },
133 { "acm_mclkout1_sel", IMX_ADMA_ACM_MCLKOUT1_SEL, imx8qm_mclk_out_sels, ARRAY_SIZE(imx8qm_mclk_out_sels), 0x030000, 0, 3 },
134 { "acm_asrc0_mclk_sel", IMX_ADMA_ACM_ASRC0_MUX_CLK_SEL, imx8qm_asrc_mux_clk_sels, ARRAY_SIZE(imx8qm_asrc_mux_clk_sels), 0x040000, 0, 2 },
135 { "acm_esai0_mclk_sel", IMX_ADMA_ACM_ESAI0_MCLK_SEL, imx8qm_mclk_sels, ARRAY_SIZE(imx8qm_mclk_sels), 0x060000, 0, 2 },
136 { "acm_esai1_mclk_sel", IMX_ADMA_ACM_ESAI1_MCLK_SEL, imx8qm_mclk_sels, ARRAY_SIZE(imx8qm_mclk_sels), 0x070000, 0, 2 },
137 { "acm_sai0_mclk_sel", IMX_ADMA_ACM_SAI0_MCLK_SEL, imx8qm_mclk_sels, ARRAY_SIZE(imx8qm_mclk_sels), 0x0E0000, 0, 2 },
138 { "acm_sai1_mclk_sel", IMX_ADMA_ACM_SAI1_MCLK_SEL, imx8qm_mclk_sels, ARRAY_SIZE(imx8qm_mclk_sels), 0x0F0000, 0, 2 },
139 { "acm_sai2_mclk_sel", IMX_ADMA_ACM_SAI2_MCLK_SEL, imx8qm_mclk_sels, ARRAY_SIZE(imx8qm_mclk_sel
[all...]

Completed in 290 milliseconds

1234567891011>>