Searched refs:ARRAY_SIZE (Results 476 - 500 of 9320) sorted by relevance

<<11121314151617181920>>

/linux-master/sound/firewire/dice/
H A Ddice-weiss.c90 for (i = 0; i < ARRAY_SIZE(entries); ++i) {
95 if (i == ARRAY_SIZE(entries))
/linux-master/drivers/usb/common/
H A Dcommon.c37 if (ep_type < 0 || ep_type >= ARRAY_SIZE(ep_type_names))
62 if (state < 0 || state >= ARRAY_SIZE(names))
94 if (speed < 0 || speed >= ARRAY_SIZE(speed_names))
117 ret = match_string(ssp_rate, ARRAY_SIZE(ssp_rate), maximum_speed);
121 ret = match_string(speed_names, ARRAY_SIZE(speed_names), maximum_speed);
144 ret = match_string(ssp_rate, ARRAY_SIZE(ssp_rate), maximum_speed);
169 if (state < 0 || state >= ARRAY_SIZE(names))
187 ret = match_string(usb_dr_modes, ARRAY_SIZE(usb_dr_modes), str);
/linux-master/drivers/pmdomain/st/
H A Dste-ux500-pm-domain.c73 genpd_data->num_domains = ARRAY_SIZE(ux500_pm_domains);
75 for (i = 0; i < ARRAY_SIZE(ux500_pm_domains); ++i)
/linux-master/drivers/net/ethernet/ti/icssg/
H A Dicssg_stats.c28 for (i = 0; i < ARRAY_SIZE(icssg_all_stats); i++) {
59 for (i = 0; i < ARRAY_SIZE(icssg_all_stats); i++) {
/linux-master/fs/bcachefs/
H A Dfs-ioctl.h38 for (_i = 0; _i < ARRAY_SIZE(_map); _i++) \
57 for (_i = 0; _i < ARRAY_SIZE(_map); _i++) \
/linux-master/drivers/clk/mediatek/
H A Dclk-mt7988-xfipll.c45 .num_clks = ARRAY_SIZE(xfipll_clks),
47 .num_factor_clks = ARRAY_SIZE(xfipll_divs),
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dmap_btf.c29 for (i = 0; i < ARRAY_SIZE(map_fd_arr); i++)
48 for (i = 0; i < ARRAY_SIZE(map_fd_arr); i++) {
/linux-master/drivers/pinctrl/mediatek/
H A Dpinctrl-paris.h29 #define MTK_RANGE(_a) { .range = (_a), .nranges = ARRAY_SIZE(_a), }
54 .grp = PINCTRL_PINGROUP(_name_,id##_pins, ARRAY_SIZE(id##_pins)), \
/linux-master/drivers/video/
H A Dcmdline.c45 for (i = 0; i < ARRAY_SIZE(video_options); ++i) {
121 for (i = 0; i < ARRAY_SIZE(video_options); i++) {
/linux-master/arch/sh/boards/
H A Dboard-sh7785lcr.c75 .nr_parts = ARRAY_SIZE(nor_flash_partitions),
91 .num_resources = ARRAY_SIZE(nor_flash_resources),
121 .num_resources = ARRAY_SIZE(r8a66597_usb_host_resources),
214 .num_resources = ARRAY_SIZE(sm501_resources),
263 .num_resources = ARRAY_SIZE(i2c_resources),
284 ARRAY_SIZE(sh7785lcr_i2c_devices));
288 i2c_device.num_resources = ARRAY_SIZE(i2c_proto_resources);
293 ARRAY_SIZE(sh7785lcr_devices));
/linux-master/tools/testing/selftests/bpf/progs/
H A Dkprobe_multi_session.c8 #define ARRAY_SIZE(x) (int)(sizeof(x) / sizeof((x)[0])) macro
45 for (i = 0; i < ARRAY_SIZE(kfuncs); i++) {
H A Dsetget_sockopt.c10 #ifndef ARRAY_SIZE
11 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
146 if (i >= ARRAY_SIZE(sol_socket_tests))
163 if (i >= ARRAY_SIZE(sol_ip_tests))
180 if (i >= ARRAY_SIZE(sol_ipv6_tests))
199 if (i >= ARRAY_SIZE(sol_tcp_tests))
253 n = bpf_loop(ARRAY_SIZE(sol_socket_tests), bpf_test_socket_sockopt, &lc, 0);
254 if (n != ARRAY_SIZE(sol_socket_tests))
258 n = bpf_loop(ARRAY_SIZE(sol_tcp_tests), bpf_test_tcp_sockopt, &lc, 0);
259 if (n != ARRAY_SIZE(sol_tcp_test
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_module.c82 for (i = 0; i < ARRAY_SIZE(init_funcs); i++) {
98 for (i = ARRAY_SIZE(init_funcs) - 1; i >= 0; i--)
/linux-master/arch/m68k/coldfire/
H A Ddevice.c140 .num_resources = ARRAY_SIZE(mcf_fec0_resources),
176 .num_resources = ARRAY_SIZE(mcf_fec1_resources),
336 .num_resources = ARRAY_SIZE(mcf_qspi_resources),
359 .num_resources = ARRAY_SIZE(mcf_i2c0_resources),
380 .num_resources = ARRAY_SIZE(mcf_i2c1_resources),
404 .num_resources = ARRAY_SIZE(mcf_i2c2_resources),
428 .num_resources = ARRAY_SIZE(mcf_i2c3_resources),
452 .num_resources = ARRAY_SIZE(mcf_i2c4_resources),
476 .num_resources = ARRAY_SIZE(mcf_i2c5_resources),
507 .slavecnt = ARRAY_SIZE(mcf_edma_ma
[all...]
/linux-master/arch/sh/boards/mach-ap325rxa/
H A Dsetup.c75 .num_resources = ARRAY_SIZE(smsc9118_resources),
115 .nr_parts = ARRAY_SIZE(ap325rxa_nor_flash_partitions),
130 .num_resources = ARRAY_SIZE(ap325rxa_nor_flash_resources),
154 .nr_parts = ARRAY_SIZE(nand_partition_info),
162 .num_resources = ARRAY_SIZE(nand_flash_resources),
226 .num_modes = ARRAY_SIZE(ap325rxa_lcdc_modes),
256 .num_resources = ARRAY_SIZE(lcdc_resources),
300 .num_resources = ARRAY_SIZE(ceu_resources),
336 .num_resources = ARRAY_SIZE(sdhi0_cn3_resources),
363 .num_resources = ARRAY_SIZE(sdhi1_cn7_resource
[all...]
/linux-master/drivers/clk/
H A Dclk-npcm7xx.c300 cpuck_mux_parents, ARRAY_SIZE(cpuck_mux_parents), CLK_IS_CRITICAL,
304 pixcksel_mux_parents, ARRAY_SIZE(pixcksel_mux_parents), 0,
308 pll_mux_parents, ARRAY_SIZE(pll_mux_parents), 0, -1},
311 pll_mux_parents, ARRAY_SIZE(pll_mux_parents), 0, -1},
314 sucksel_mux_parents, ARRAY_SIZE(sucksel_mux_parents), 0, -1},
317 mccksel_mux_parents, ARRAY_SIZE(mccksel_mux_parents), 0, -1},
320 pll_mux_parents, ARRAY_SIZE(pll_mux_parents), 0, -1},
323 pll_mux_parents, ARRAY_SIZE(pll_mux_parents), 0, -1},
326 clkoutsel_mux_parents, ARRAY_SIZE(clkoutsel_mux_parents), 0, -1},
329 gfxmsel_mux_parents, ARRAY_SIZE(gfxmsel_mux_parent
[all...]
/linux-master/arch/arm/mach-s3c/
H A Dmach-crag6410-module.c155 .num_retune_mobile_cfgs = ARRAY_SIZE(wm8996_retune),
359 .num_spi_devs = ARRAY_SIZE(wm5110_spi_devs) },
368 .num_i2c_devs = ARRAY_SIZE(wm6230_i2c_devs) },
372 .spi_devs = wm1253_devs, .num_spi_devs = ARRAY_SIZE(wm1253_devs),
378 .num_spi_devs = ARRAY_SIZE(balblair_devs) },
380 .i2c_devs = wm1254_devs, .num_i2c_devs = ARRAY_SIZE(wm1254_devs),
383 .i2c_devs = wm1259_devs, .num_i2c_devs = ARRAY_SIZE(wm1259_devs) },
385 .i2c_devs = wm1255_devs, .num_i2c_devs = ARRAY_SIZE(wm1255_devs),
389 .i2c_devs = wm1277_devs, .num_i2c_devs = ARRAY_SIZE(wm1277_devs),
393 .num_spi_devs = ARRAY_SIZE(wm5102_reva_spi_dev
[all...]
/linux-master/drivers/gpu/drm/msm/disp/dpu1/catalog/
H A Ddpu_6_0_sm8250.h340 .num_formats = ARRAY_SIZE(wb2_formats_rgb_yuv),
359 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
362 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
365 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
388 .ctl_count = ARRAY_SIZE(sm8250_ctl),
390 .sspp_count = ARRAY_SIZE(sm8250_sspp),
392 .mixer_count = ARRAY_SIZE(sm8250_lm),
394 .dspp_count = ARRAY_SIZE(sm8250_dspp),
396 .dsc_count = ARRAY_SIZE(sm8250_dsc),
398 .pingpong_count = ARRAY_SIZE(sm8250_p
[all...]
H A Ddpu_8_1_sm8450.h325 .num_formats = ARRAY_SIZE(wb2_formats_rgb),
387 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
390 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
393 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
415 .ctl_count = ARRAY_SIZE(sm8450_ctl),
417 .sspp_count = ARRAY_SIZE(sm8450_sspp),
419 .mixer_count = ARRAY_SIZE(sm8450_lm),
421 .dspp_count = ARRAY_SIZE(sm8450_dspp),
423 .pingpong_count = ARRAY_SIZE(sm8450_pp),
425 .dsc_count = ARRAY_SIZE(sm8450_ds
[all...]
H A Ddpu_7_0_sm8350.h307 .num_formats = ARRAY_SIZE(wb2_formats_rgb),
369 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
372 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
375 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
397 .ctl_count = ARRAY_SIZE(sm8350_ctl),
399 .sspp_count = ARRAY_SIZE(sm8350_sspp),
401 .mixer_count = ARRAY_SIZE(sm8350_lm),
403 .dspp_count = ARRAY_SIZE(sm8350_dspp),
405 .pingpong_count = ARRAY_SIZE(sm8350_pp),
407 .dsc_count = ARRAY_SIZE(sm8350_ds
[all...]
H A Ddpu_9_0_sm8550.h319 .num_formats = ARRAY_SIZE(wb2_formats_rgb),
380 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
383 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
386 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
408 .ctl_count = ARRAY_SIZE(sm8550_ctl),
410 .sspp_count = ARRAY_SIZE(sm8550_sspp),
412 .mixer_count = ARRAY_SIZE(sm8550_lm),
414 .dspp_count = ARRAY_SIZE(sm8550_dspp),
416 .pingpong_count = ARRAY_SIZE(sm8550_pp),
418 .dsc_count = ARRAY_SIZE(sm8550_ds
[all...]
H A Ddpu_10_0_sm8650.h345 .num_formats = ARRAY_SIZE(wb2_formats_rgb),
406 {.nentry = ARRAY_SIZE(sc7180_qos_linear),
409 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile),
412 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
434 .ctl_count = ARRAY_SIZE(sm8650_ctl),
436 .sspp_count = ARRAY_SIZE(sm8650_sspp),
438 .mixer_count = ARRAY_SIZE(sm8650_lm),
440 .dspp_count = ARRAY_SIZE(sm8650_dspp),
442 .pingpong_count = ARRAY_SIZE(sm8650_pp),
444 .dsc_count = ARRAY_SIZE(sm8650_ds
[all...]
/linux-master/sound/soc/amd/vangogh/
H A Dacp5x-mach.c105 ARRAY_SIZE(acp5x_nau8821_jack_pins));
122 .count = ARRAY_SIZE(rates),
132 .count = ARRAY_SIZE(channels),
141 .count = ARRAY_SIZE(acp5x_nau8821_format),
324 .num_links = ARRAY_SIZE(acp5x_8821_35l41_dai),
326 .num_dapm_widgets = ARRAY_SIZE(acp5x_8821_35l41_widgets),
328 .num_dapm_routes = ARRAY_SIZE(acp5x_8821_35l41_audio_route),
330 .num_configs = ARRAY_SIZE(acp5x_cs35l41_conf),
332 .num_controls = ARRAY_SIZE(acp5x_8821_controls),
426 .num_links = ARRAY_SIZE(acp5x_8821_98388_da
[all...]
/linux-master/drivers/soc/tegra/fuse/
H A Dfuse-tegra30.c287 .num_lookups = ARRAY_SIZE(tegra124_fuse_lookups),
289 .num_cells = ARRAY_SIZE(tegra124_fuse_cells),
459 .num_cells = ARRAY_SIZE(tegra210_fuse_cells),
460 .num_lookups = ARRAY_SIZE(tegra210_fuse_lookups),
515 .num_lookups = ARRAY_SIZE(tegra186_fuse_lookups),
517 .num_cells = ARRAY_SIZE(tegra186_fuse_cells),
519 .num_keepouts = ARRAY_SIZE(tegra186_fuse_keepouts),
608 .num_lookups = ARRAY_SIZE(tegra194_fuse_lookups),
610 .num_cells = ARRAY_SIZE(tegra194_fuse_cells),
612 .num_keepouts = ARRAY_SIZE(tegra194_fuse_keepout
[all...]
/linux-master/drivers/mfd/
H A Dda9063-i2c.c169 .n_yes_ranges = ARRAY_SIZE(da9063_ad_readable_ranges),
174 .n_yes_ranges = ARRAY_SIZE(da9063_ad_writeable_ranges),
179 .n_yes_ranges = ARRAY_SIZE(da9063_ad_volatile_ranges),
214 .n_yes_ranges = ARRAY_SIZE(da9063_bb_readable_ranges),
219 .n_yes_ranges = ARRAY_SIZE(da9063_bb_writeable_ranges),
224 .n_yes_ranges = ARRAY_SIZE(da9063_bb_da_volatile_ranges),
258 .n_yes_ranges = ARRAY_SIZE(da9063l_bb_readable_ranges),
263 .n_yes_ranges = ARRAY_SIZE(da9063l_bb_writeable_ranges),
268 .n_yes_ranges = ARRAY_SIZE(da9063l_bb_da_volatile_ranges),
291 .n_yes_ranges = ARRAY_SIZE(da9063_da_readable_range
[all...]

Completed in 237 milliseconds

<<11121314151617181920>>