Home
last modified time | relevance | path

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

1234567

/bsp/allwinner/libraries/sunxi-hal/hal/source/gpio/sun8iw19/
A Dgpio-sun8iw19.c77 .irq_arry_size = ARRAY_SIZE(sun8iw19p1_bank_irq_num),
80 .banks = ARRAY_SIZE(sun8iw19p1_bank_base),
82 .irq_banks = ARRAY_SIZE(sun8iw19p1_irq_bank_base),
105 .irq_arry_size = ARRAY_SIZE(sun8iw19p1_r_bank_irq_num),
108 .banks = ARRAY_SIZE(sun8iw19p1_r_bank_base),
110 .irq_banks = ARRAY_SIZE(sun8iw19p1_r_irq_bank_base),
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6800/HPM6880/
A Dhpm_otp_drv.c38 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_shadow()
48 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_ip()
58 uint32_t fuse_idx_max = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
144 uint32_t max_fuse_idx = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6E00/HPM6E80/
A Dhpm_otp_drv.c38 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_shadow()
48 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_ip()
58 uint32_t fuse_idx_max = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
144 uint32_t max_fuse_idx = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM5300/HPM5301/
A Dhpm_otp_drv.c38 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_shadow()
48 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_ip()
58 uint32_t fuse_idx_max = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
144 uint32_t max_fuse_idx = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM5300/HPM5361/
A Dhpm_otp_drv.c38 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_shadow()
48 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_ip()
58 uint32_t fuse_idx_max = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
144 uint32_t max_fuse_idx = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/stm32/stm32mp157a-st-ev1/board/ports/
A Ddrv_pmic.c512 .voltage_table_size = ARRAY_SIZE(buck1_voltage_table),
520 .voltage_table_size = ARRAY_SIZE(buck2_voltage_table),
528 .voltage_table_size = ARRAY_SIZE(buck3_voltage_table),
536 .voltage_table_size = ARRAY_SIZE(buck4_voltage_table),
544 .voltage_table_size = ARRAY_SIZE(ldo1_voltage_table),
552 .voltage_table_size = ARRAY_SIZE(ldo2_voltage_table),
560 .voltage_table_size = ARRAY_SIZE(ldo3_voltage_table),
568 .voltage_table_size = ARRAY_SIZE(ldo4_voltage_table),
576 .voltage_table_size = ARRAY_SIZE(ldo5_voltage_table),
584 .voltage_table_size = ARRAY_SIZE(ldo6_voltage_table),
[all …]
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6700/HPM6750/
A Dhpm_otp_drv.c39 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_shadow()
49 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_ip()
59 uint32_t fuse_idx_max = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
144 uint32_t max_fuse_idx = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6300/HPM6360/
A Dhpm_otp_drv.c38 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_shadow()
48 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_ip()
58 uint32_t fuse_idx_max = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
144 uint32_t max_fuse_idx = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6200/HPM6280/
A Dhpm_otp_drv.c38 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_shadow()
48 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_ip()
58 uint32_t fuse_idx_max = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
144 uint32_t max_fuse_idx = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/stm32/stm32mp157a-st-discovery/board/ports/
A Ddrv_pmic.c512 .voltage_table_size = ARRAY_SIZE(buck1_voltage_table),
520 .voltage_table_size = ARRAY_SIZE(buck2_voltage_table),
528 .voltage_table_size = ARRAY_SIZE(buck3_voltage_table),
536 .voltage_table_size = ARRAY_SIZE(buck4_voltage_table),
544 .voltage_table_size = ARRAY_SIZE(ldo1_voltage_table),
552 .voltage_table_size = ARRAY_SIZE(ldo2_voltage_table),
560 .voltage_table_size = ARRAY_SIZE(ldo3_voltage_table),
568 .voltage_table_size = ARRAY_SIZE(ldo4_voltage_table),
576 .voltage_table_size = ARRAY_SIZE(ldo5_voltage_table),
584 .voltage_table_size = ARRAY_SIZE(ldo6_voltage_table),
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/gpio/sun50iw11/
A Dgpio-sun50iw11.c64 .irq_arry_size = ARRAY_SIZE(sun50iw11p1_r_bank_irq_num),
67 .banks = ARRAY_SIZE(sun50iw11p1_r_bank_base),
69 .irq_banks = ARRAY_SIZE(sun50iw11p1_r_irq_bank_base),
/bsp/allwinner/libraries/sunxi-hal/hal/source/gpio/sun8iw18/
A Dgpio-sun8iw18.c69 .irq_arry_size = ARRAY_SIZE(sun8iw18p1_bank_irq_num),
72 .banks = ARRAY_SIZE(sun8iw18p1_bank_base),
74 .irq_banks = ARRAY_SIZE(sun8iw18p1_irq_bank_base),
/bsp/allwinner/libraries/sunxi-hal/hal/source/gpio/sun8iw20/
A Dgpio-sun8iw20.c75 .irq_arry_size = ARRAY_SIZE(sun8iw20p1_bank_irq_num),
78 .banks = ARRAY_SIZE(sun8iw20p1_bank_base),
80 .irq_banks = ARRAY_SIZE(sun8iw20p1_irq_bank_base),
/bsp/hpmicro/libraries/hpm_sdk/components/camera/ov5640/
A Dhpm_ov5640.c516 for (i = 0; i < ARRAY_SIZE(ov5640_dvp_clock_configs); i++) { in ov5640_get_clock_config()
522 for (i = 0; i < ARRAY_SIZE(ov5640_mipi_clock_configs); i++) { in ov5640_get_clock_config()
627 …stat = ov5640_write_multi_registers(context, ov5640_resolution_800_480_param, ARRAY_SIZE(ov5640_re… in ov5640_set_image_size()
630 …stat = ov5640_write_multi_registers(context, ov5640_resolution_vga_param, ARRAY_SIZE(ov5640_resolu… in ov5640_set_image_size()
633 …stat = ov5640_write_multi_registers(context, ov5640_resolution_qvga_param, ARRAY_SIZE(ov5640_resol… in ov5640_set_image_size()
636 …stat = ov5640_write_multi_registers(context, ov5640_resolution_480_272_param, ARRAY_SIZE(ov5640_re… in ov5640_set_image_size()
639 …stat = ov5640_write_multi_registers(context, ov5640_resolution_720p_param, ARRAY_SIZE(ov5640_resol… in ov5640_set_image_size()
642 …stat = ov5640_write_multi_registers(context, ov5640_resolution_1080p_param, ARRAY_SIZE(ov5640_reso… in ov5640_set_image_size()
795 for (i = 0; i < ARRAY_SIZE(ov5640_light_mode_configs); i++) { in ov5640_set_light_mode()
823 for (i = 0; i < ARRAY_SIZE(ov5640_special_effect_configs); i++) { in ov5640_set_special_effect()
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/component/aw-alsa-utils/audio_wav/
A Daudio_wav.h57 for (i = 0; i < ARRAY_SIZE(wav_file_array); i++) in wav_file_list()
66 for (i = 0; i < ARRAY_SIZE(wav_file_array); i++) { in find_builtin_wav_file()
76 for (i = 0; i < ARRAY_SIZE(wav_file_array); i++) { in find_builtin_wav_file()
/bsp/frdm-k64f/device/MK64F12/
A Dfsl_gpio.c60 for (instance = 0; instance < ARRAY_SIZE(s_gpioBases); instance++) in GPIO_GetInstance()
68 assert(instance < ARRAY_SIZE(s_gpioBases)); in GPIO_GetInstance()
141 for (instance = 0; instance < ARRAY_SIZE(s_fgpioBases); instance++) in FGPIO_GetInstance()
149 assert(instance < ARRAY_SIZE(s_fgpioBases)); in FGPIO_GetInstance()
A Dfsl_dmamux.c68 for (instance = 0; instance < ARRAY_SIZE(s_dmamuxBases); instance++) in DMAMUX_GetInstance()
76 assert(instance < ARRAY_SIZE(s_dmamuxBases)); in DMAMUX_GetInstance()
/bsp/Vango/v85xxp/drivers/
A Ddrv_comm.h18 #ifndef ARRAY_SIZE
19 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) macro
/bsp/Vango/v85xx/drivers/
A Ddrv_comm.h18 #ifndef ARRAY_SIZE
19 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) macro
/bsp/rv32m1_vega/rv32m1_sdk_riscv/devices/RV32M1/drivers/
A Dfsl_gpio.c51 for (instance = 0; instance < ARRAY_SIZE(s_gpioBases); instance++) in GPIO_GetInstance()
59 assert(instance < ARRAY_SIZE(s_gpioBases)); in GPIO_GetInstance()
132 for (instance = 0; instance < ARRAY_SIZE(s_fgpioBases); instance++) in FGPIO_GetInstance()
140 assert(instance < ARRAY_SIZE(s_fgpioBases)); in FGPIO_GetInstance()
A Dfsl_dmamux.c46 for (instance = 0; instance < ARRAY_SIZE(s_dmamuxBases); instance++) in DMAMUX_GetInstance()
54 assert(instance < ARRAY_SIZE(s_dmamuxBases)); in DMAMUX_GetInstance()
/bsp/nxp/mcx/mcxa/frdm-mcxa346/board/MCUX_Config/board/
A Dpin_mux.c39 for (uint32_t i = 0; i < ARRAY_SIZE(port_clocks); i++) { in BOARD_InitPins()
53 release_reset_array(port_resets, ARRAY_SIZE(port_resets)); in BOARD_InitPins()
54 release_reset_array(gpio_resets, ARRAY_SIZE(gpio_resets)); in BOARD_InitPins()
55 release_reset_array(uart_resets, ARRAY_SIZE(uart_resets)); in BOARD_InitPins()
56 release_reset_array(i2c_resets, ARRAY_SIZE(i2c_resets)); in BOARD_InitPins()
57 release_reset_array(spi_resets, ARRAY_SIZE(spi_resets)); in BOARD_InitPins()
58 release_reset_array(dma_resets, ARRAY_SIZE(dma_resets)); in BOARD_InitPins()
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/codecs/
A Ddummy_codec.c80 .codec_dai_num = ARRAY_SIZE(dummy_codec_dai),
109 .codec_dai_num = ARRAY_SIZE(dmic_codec_dai),
151 .codec_dai_num = ARRAY_SIZE(spdif_codec_dai),
A Dsun8iw20-codec.c383 ARRAY_SIZE(codec_format_function), codec_format_function,
387 ARRAY_SIZE(codec_switch), codec_switch,
408 ARRAY_SIZE(codec_switch), codec_switch,
411 ARRAY_SIZE(codec_switch), codec_switch,
428 SND_CTL_ENUM("FM input L switch", ARRAY_SIZE(codec_switch),
430 SND_CTL_ENUM("FM input R switch", ARRAY_SIZE(codec_switch),
432 SND_CTL_ENUM("LINE input L switch", ARRAY_SIZE(codec_switch),
434 SND_CTL_ENUM("LINE input R switch", ARRAY_SIZE(codec_switch),
710 for (i = 0; i < ARRAY_SIZE(sample_rate_conv); i++) { in sunxi_codec_hw_params()
1036 .codec_dai_num = ARRAY_SIZE(sun8iw20_codec_dai),
[all …]
/bsp/tae32f5300/Libraries/TAE32F53xx_StdPeriph_Driver/src/
A Dtae32f53xx_ll_iir.c189 for (int idx = 0; idx < ARRAY_SIZE(Config->AxCOEF); idx++) { in LL_IIR_FilterConfig()
193 for (int idx = 0; idx < ARRAY_SIZE(Config->BxCOEF); idx++) { in LL_IIR_FilterConfig()
228 for (int idx = 0; idx < ARRAY_SIZE(Config->AxCOEF); idx++) { in LL_IIR_FilterConfig_Preload()
232 for (int idx = 0; idx < ARRAY_SIZE(Config->BxCOEF); idx++) { in LL_IIR_FilterConfig_Preload()

Completed in 42 milliseconds

1234567