Home
last modified time | relevance | path

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

12345678910>>...28

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/
Dgc0310_mipi.c562 .size = ARRAY_SIZE(sensor_wb_manual),
567 .size = ARRAY_SIZE(sensor_wb_auto_regs),
572 .size = ARRAY_SIZE(sensor_wb_incandescence_regs),
577 .size = ARRAY_SIZE(sensor_wb_fluorescent_regs),
582 .size = ARRAY_SIZE(sensor_wb_tungsten_regs),
587 .size = ARRAY_SIZE(sensor_wb_horizon),
592 .size = ARRAY_SIZE(sensor_wb_daylight_regs),
597 .size = ARRAY_SIZE(sensor_wb_flash),
602 .size = ARRAY_SIZE(sensor_wb_cloud_regs),
607 .size = ARRAY_SIZE(sensor_wb_shade),
[all …]
Dgc2145.c846 .size = ARRAY_SIZE(sensor_wb_manual),
850 .size = ARRAY_SIZE(sensor_wb_auto_regs),
854 .size = ARRAY_SIZE(sensor_wb_incandescence_regs),
858 .size = ARRAY_SIZE(sensor_wb_fluorescent_regs),
862 .size = ARRAY_SIZE(sensor_wb_tungsten_regs),
866 .size = ARRAY_SIZE(sensor_wb_horizon),
870 .size = ARRAY_SIZE(sensor_wb_daylight_regs),
874 .size = ARRAY_SIZE(sensor_wb_flash),
878 .size = ARRAY_SIZE(sensor_wb_cloud_regs),
882 .size = ARRAY_SIZE(sensor_wb_shade),
[all …]
Dov5640.c1661 .size = ARRAY_SIZE(sensor_wb_manual),
1665 .size = ARRAY_SIZE(sensor_wb_auto_regs),
1669 .size = ARRAY_SIZE(sensor_wb_incandescence_regs),
1673 .size = ARRAY_SIZE(sensor_wb_fluorescent_regs),
1677 .size = ARRAY_SIZE(sensor_wb_tungsten_regs),
1681 .size = ARRAY_SIZE(sensor_wb_horizon),
1685 .size = ARRAY_SIZE(sensor_wb_daylight_regs),
1689 .size = ARRAY_SIZE(sensor_wb_flash),
1693 .size = ARRAY_SIZE(sensor_wb_cloud_regs),
1697 .size = ARRAY_SIZE(sensor_wb_shade),
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/
Drga_hw_config.c109 .num_of_raster_formats = ARRAY_SIZE(rga3_raster_format),
111 .num_of_fbc_formats = ARRAY_SIZE(rga3_fbcd_format),
113 .num_of_tile_formats = ARRAY_SIZE(rga3_tile_format),
124 .num_of_raster_formats = ARRAY_SIZE(rga3_raster_format),
126 .num_of_fbc_formats = ARRAY_SIZE(rga3_fbcd_format),
128 .num_of_tile_formats = ARRAY_SIZE(rga3_tile_format),
139 .num_of_raster_formats = ARRAY_SIZE(rga3_raster_format),
141 .num_of_fbc_formats = ARRAY_SIZE(rga3_fbcd_format),
143 .num_of_tile_formats = ARRAY_SIZE(rga3_tile_format),
156 .num_of_raster_formats = ARRAY_SIZE(rga2e_raster_format),
[all …]
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_memsc.c32 if (id >= ARRAY_SIZE(cmu->MEMSC)) { in hal_memsc_lock()
41 if (id >= ARRAY_SIZE(cmu->MEMSC)) { in hal_memsc_unlock()
50 if (id >= ARRAY_SIZE(cmu->MEMSC)) { in hal_memsc_avail()
64 if (id >= ARRAY_SIZE(aoncmu->MEMSC)) { in hal_memsc_aon_lock()
73 if (id >= ARRAY_SIZE(aoncmu->MEMSC)) { in hal_memsc_aon_unlock()
82 if (id >= ARRAY_SIZE(aoncmu->MEMSC)) { in hal_memsc_aon_avail()
/device/soc/rockchip/common/vendor/drivers/rockchip/
Dgrf.c40 .num_values = ARRAY_SIZE(px30_defaults),
55 .num_values = ARRAY_SIZE(rk3036_defaults),
66 .num_values = ARRAY_SIZE(rk3128_defaults),
77 .num_values = ARRAY_SIZE(rk3228_defaults),
90 .num_values = ARRAY_SIZE(rk3288_defaults),
101 .num_values = ARRAY_SIZE(rk3328_defaults),
112 .num_values = ARRAY_SIZE(rk3308_defaults),
123 .num_values = ARRAY_SIZE(rk3368_defaults),
134 .num_values = ARRAY_SIZE(rk3399_defaults),
158 .num_values = ARRAY_SIZE(rv1126_defaults),
Drockchip_pvtm.c415 .num_pvtms = ARRAY_SIZE(px30_pvtm_infos),
431 .num_pvtms = ARRAY_SIZE(px30_pmupvtm_infos),
446 .num_pvtms = ARRAY_SIZE(rk1808_pvtm_infos),
462 .num_pvtms = ARRAY_SIZE(rk1808_pmupvtm_infos),
477 .num_pvtms = ARRAY_SIZE(rk1808_npupvtm_infos),
494 .num_pvtms = ARRAY_SIZE(rk3288_pvtm_infos),
505 .num_pvtms = ARRAY_SIZE(px30_pmupvtm_infos),
523 .num_pvtms = ARRAY_SIZE(rk3399_pvtm_infos),
539 .num_pvtms = ARRAY_SIZE(rk3399_pmupvtm_infos),
554 .num_pvtms = ARRAY_SIZE(rk3568_corepvtm_infos),
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/soc/rockchip/
Dgrf.c40 .num_values = ARRAY_SIZE(px30_defaults),
55 .num_values = ARRAY_SIZE(rk3036_defaults),
66 .num_values = ARRAY_SIZE(rk3128_defaults),
77 .num_values = ARRAY_SIZE(rk3228_defaults),
90 .num_values = ARRAY_SIZE(rk3288_defaults),
101 .num_values = ARRAY_SIZE(rk3328_defaults),
112 .num_values = ARRAY_SIZE(rk3308_defaults),
123 .num_values = ARRAY_SIZE(rk3368_defaults),
134 .num_values = ARRAY_SIZE(rk3399_defaults),
158 .num_values = ARRAY_SIZE(rv1126_defaults),
/device/soc/rockchip/common/sdk_linux/drivers/pinctrl/
Dpinctrl-rk805.c104 .ngroups = ARRAY_SIZE(rk805_gpio_groups),
157 .ngroups = ARRAY_SIZE(rk816_gpio_groups),
163 .ngroups = ARRAY_SIZE(rk816_gpio_groups),
206 .ngroups = ARRAY_SIZE(rk817_gpio_groups),
212 .ngroups = ARRAY_SIZE(rk817_gpio_groups),
218 .ngroups = ARRAY_SIZE(rk817_gpio_groups),
224 .ngroups = ARRAY_SIZE(rk817_gpio_groups),
656 pci->num_pins = ARRAY_SIZE(rk805_pins_desc); in rk805_pinctrl_probe()
658 pci->num_functions = ARRAY_SIZE(rk805_pin_functions); in rk805_pinctrl_probe()
660 pci->num_pin_groups = ARRAY_SIZE(rk805_pin_groups); in rk805_pinctrl_probe()
[all …]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Dhw.c85 size = ARRAY_SIZE(v20_reg); in default_sw_reg_flag()
89 size = ARRAY_SIZE(v21_reg); in default_sw_reg_flag()
93 size = ARRAY_SIZE(v30_reg); in default_sw_reg_flag()
494 .num_clks = ARRAY_SIZE(rv1126_isp_clks),
497 .num_clk_rate_tbl = ARRAY_SIZE(rv1126_isp_clk_rate),
499 .num_irqs = ARRAY_SIZE(rv1126_isp_irqs),
505 .num_clks = ARRAY_SIZE(rk1808_isp_clks),
508 .num_clk_rate_tbl = ARRAY_SIZE(rk1808_isp_clk_rate),
510 .num_irqs = ARRAY_SIZE(rk1808_isp_irqs),
516 .num_clks = ARRAY_SIZE(rk3288_isp_clks),
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Dhw.c95 size = ARRAY_SIZE(v20_reg); in default_sw_reg_flag()
99 size = ARRAY_SIZE(v21_reg); in default_sw_reg_flag()
103 size = ARRAY_SIZE(v30_reg); in default_sw_reg_flag()
495 .num_clks = ARRAY_SIZE(rv1126_isp_clks),
498 .num_clk_rate_tbl = ARRAY_SIZE(rv1126_isp_clk_rate),
500 .num_irqs = ARRAY_SIZE(rv1126_isp_irqs),
506 .num_clks = ARRAY_SIZE(rk1808_isp_clks),
509 .num_clk_rate_tbl = ARRAY_SIZE(rk1808_isp_clk_rate),
511 .num_irqs = ARRAY_SIZE(rk1808_isp_irqs),
517 .num_clks = ARRAY_SIZE(rk3288_isp_clks),
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Dhw.c95 size = ARRAY_SIZE(v20_reg); in default_sw_reg_flag()
99 size = ARRAY_SIZE(v21_reg); in default_sw_reg_flag()
103 size = ARRAY_SIZE(v30_reg); in default_sw_reg_flag()
495 .num_clks = ARRAY_SIZE(rv1126_isp_clks),
498 .num_clk_rate_tbl = ARRAY_SIZE(rv1126_isp_clk_rate),
500 .num_irqs = ARRAY_SIZE(rv1126_isp_irqs),
506 .num_clks = ARRAY_SIZE(rk1808_isp_clks),
509 .num_clk_rate_tbl = ARRAY_SIZE(rk1808_isp_clk_rate),
511 .num_irqs = ARRAY_SIZE(rk1808_isp_irqs),
517 .num_clks = ARRAY_SIZE(rk3288_isp_clks),
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/power/mfd/
Daxp2101.c53 .n_yes_ranges = ARRAY_SIZE(axp152_writeable_ranges),
58 .n_yes_ranges = ARRAY_SIZE(axp152_volatile_ranges),
78 .n_yes_ranges = ARRAY_SIZE(axp20x_writeable_ranges),
83 .n_yes_ranges = ARRAY_SIZE(axp20x_volatile_ranges),
101 .n_yes_ranges = ARRAY_SIZE(axp22x_writeable_ranges),
106 .n_yes_ranges = ARRAY_SIZE(axp22x_volatile_ranges),
120 .n_yes_ranges = ARRAY_SIZE(axp288_writeable_ranges),
125 .n_yes_ranges = ARRAY_SIZE(axp288_volatile_ranges),
138 .n_yes_ranges = ARRAY_SIZE(axp806_writeable_ranges),
143 .n_yes_ranges = ARRAY_SIZE(axp806_volatile_ranges),
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
Dmali_kbase_gator_api.c62 count = ARRAY_SIZE(hardware_counters_mali_tMIx); in kbase_gator_hwcnt_init_names()
66 count = ARRAY_SIZE(hardware_counters_mali_tHEx); in kbase_gator_hwcnt_init_names()
70 count = ARRAY_SIZE(hardware_counters_mali_tSIx); in kbase_gator_hwcnt_init_names()
83 count = ARRAY_SIZE(hardware_counters_mali_t60x); in kbase_gator_hwcnt_init_names()
88 count = ARRAY_SIZE(hardware_counters_mali_t62x); in kbase_gator_hwcnt_init_names()
93 count = ARRAY_SIZE(hardware_counters_mali_t72x); in kbase_gator_hwcnt_init_names()
98 count = ARRAY_SIZE(hardware_counters_mali_t76x); in kbase_gator_hwcnt_init_names()
103 count = ARRAY_SIZE(hardware_counters_mali_t82x); in kbase_gator_hwcnt_init_names()
108 count = ARRAY_SIZE(hardware_counters_mali_t83x); in kbase_gator_hwcnt_init_names()
113 count = ARRAY_SIZE(hardware_counters_mali_t86x); in kbase_gator_hwcnt_init_names()
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
Dmali_kbase_gator_api.c61 count = ARRAY_SIZE(hardware_counters_mali_tMIx); in kbase_gator_hwcnt_init_names()
65 count = ARRAY_SIZE(hardware_counters_mali_tHEx); in kbase_gator_hwcnt_init_names()
69 count = ARRAY_SIZE(hardware_counters_mali_tSIx); in kbase_gator_hwcnt_init_names()
83 count = ARRAY_SIZE(hardware_counters_mali_t60x); in kbase_gator_hwcnt_init_names()
88 count = ARRAY_SIZE(hardware_counters_mali_t62x); in kbase_gator_hwcnt_init_names()
93 count = ARRAY_SIZE(hardware_counters_mali_t72x); in kbase_gator_hwcnt_init_names()
98 count = ARRAY_SIZE(hardware_counters_mali_t76x); in kbase_gator_hwcnt_init_names()
103 count = ARRAY_SIZE(hardware_counters_mali_t82x); in kbase_gator_hwcnt_init_names()
108 count = ARRAY_SIZE(hardware_counters_mali_t83x); in kbase_gator_hwcnt_init_names()
113 count = ARRAY_SIZE(hardware_counters_mali_t86x); in kbase_gator_hwcnt_init_names()
[all …]
/device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6750/
Dhpm_otp_drv.c37 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_shadow()
47 if (addr < ARRAY_SIZE(HPM_OTP->SHADOW)) { in otp_read_from_ip()
62 uint32_t fuse_idx_max = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_program()
117 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
140 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
165 uint32_t max_fuse_idx = ARRAY_SIZE(HPM_OTP->SHADOW); in otp_set_configurable_region()
181 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6360/
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()
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
Drockchip_pvtm.c436 .num_pvtms = ARRAY_SIZE(px30_pvtm_infos),
451 .num_pvtms = ARRAY_SIZE(px30_pmupvtm_infos),
465 .num_pvtms = ARRAY_SIZE(rk1808_pvtm_infos),
480 .num_pvtms = ARRAY_SIZE(rk1808_pmupvtm_infos),
494 .num_pvtms = ARRAY_SIZE(rk1808_npupvtm_infos),
510 .num_pvtms = ARRAY_SIZE(rk3288_pvtm_infos),
520 .num_pvtms = ARRAY_SIZE(px30_pmupvtm_infos),
537 .num_pvtms = ARRAY_SIZE(rk3399_pvtm_infos),
552 .num_pvtms = ARRAY_SIZE(rk3399_pmupvtm_infos),
566 .num_pvtms = ARRAY_SIZE(rk3568_corepvtm_infos),
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/soc/
Drockchip_pvtm.c436 .num_pvtms = ARRAY_SIZE(px30_pvtm_infos),
451 .num_pvtms = ARRAY_SIZE(px30_pmupvtm_infos),
465 .num_pvtms = ARRAY_SIZE(rk1808_pvtm_infos),
480 .num_pvtms = ARRAY_SIZE(rk1808_pmupvtm_infos),
494 .num_pvtms = ARRAY_SIZE(rk1808_npupvtm_infos),
510 .num_pvtms = ARRAY_SIZE(rk3288_pvtm_infos),
520 .num_pvtms = ARRAY_SIZE(px30_pmupvtm_infos),
537 .num_pvtms = ARRAY_SIZE(rk3399_pvtm_infos),
552 .num_pvtms = ARRAY_SIZE(rk3399_pmupvtm_infos),
566 .num_pvtms = ARRAY_SIZE(rk3568_corepvtm_infos),
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/arm/
Darm.c330 mali_gpu_device.num_resources = ARRAY_SIZE(mali_gpu_resources_m450_mp6); in mali_platform_device_register()
335 mali_gpu_device.num_resources = ARRAY_SIZE(mali_gpu_resources_m470_mp4); in mali_platform_device_register()
340 mali_gpu_device.num_resources = ARRAY_SIZE(mali_gpu_resources_m470_mp3); in mali_platform_device_register()
345 mali_gpu_device.num_resources = ARRAY_SIZE(mali_gpu_resources_m470_mp2); in mali_platform_device_register()
350 mali_gpu_device.num_resources = ARRAY_SIZE(mali_gpu_resources_m470_mp1); in mali_platform_device_register()
357 mali_gpu_device.num_resources = ARRAY_SIZE(mali_gpu_resources_m450_mp8); in mali_platform_device_register()
362 mali_gpu_device.num_resources = ARRAY_SIZE(mali_gpu_resources_m450_mp6); in mali_platform_device_register()
367 mali_gpu_device.num_resources = ARRAY_SIZE(mali_gpu_resources_m450_mp4); in mali_platform_device_register()
372 mali_gpu_device.num_resources = ARRAY_SIZE(mali_gpu_resources_m470_mp4); in mali_platform_device_register()
383 mali_gpu_device.num_resources = ARRAY_SIZE(mali_gpu_resources_m300); in mali_platform_device_register()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/mfd/
Drk808.c207 .num_resources = ARRAY_SIZE(rtc_resources),
212 .num_resources = ARRAY_SIZE(rk805_key_resources),
226 .num_resources = ARRAY_SIZE(rtc_resources),
247 .num_resources = ARRAY_SIZE(rk816_pwrkey_resources),
252 .num_resources = ARRAY_SIZE(rk816_rtc_resources),
274 .num_resources = ARRAY_SIZE(rk817_pwrkey_resources),
279 .num_resources = ARRAY_SIZE(rk817_rtc_resources),
304 .num_resources = ARRAY_SIZE(rtc_resources),
645 .num_irqs = ARRAY_SIZE(rk805_irqs),
656 .num_irqs = ARRAY_SIZE(rk808_irqs),
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
Drockchip_vop_reg.c135 .nformats = ARRAY_SIZE(formats_win_full_10bit),
158 .nformats = ARRAY_SIZE(formats_win_lite),
309 .area_size = ARRAY_SIZE(rk3288_area_data),
316 .area_size = ARRAY_SIZE(rk3288_area_data),
329 .nintrs = ARRAY_SIZE(rk3288_vop_intrs),
355 .win_size = ARRAY_SIZE(rk3288_vop_win_data),
369 .win_size = ARRAY_SIZE(rk3288_vop_win_data),
380 .nintrs = ARRAY_SIZE(rk3368_vop_intrs),
390 .nformats = ARRAY_SIZE(formats_win_lite),
445 .area_size = ARRAY_SIZE(rk3368_area_data),
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/mailbox/
Dmailbox_driver_base.c23 static mailbox_info_t s_mailbox[ARRAY_SIZE(mailbox_cfg_map_table)] = {NULL};
56 for(int index = 0; index < ARRAY_SIZE(mailbox_cfg_map_table); index++) in bk_mailbox_init()
77 for(int index = 0; index < ARRAY_SIZE(mailbox_cfg_map_table); index++) { in bk_mailbox_deinit()
99 for (index = 0; index < ARRAY_SIZE(mailbox_cfg_map_table); index++) { in mailbox_config()
128 for(int index = 0; index < ARRAY_SIZE(mailbox_cfg_map_table); index++) in mailbox_check_src_dst()
161 if (id >= ARRAY_SIZE(mailbox_cfg_map_table)) in bk_mailbox_send()
257 if (id >= ARRAY_SIZE(mailbox_cfg_map_table)) in bk_mailbox_recv_callback_register()
281 if (id >= ARRAY_SIZE(mailbox_cfg_map_table)) in bk_mailbox_recv_callback_unregister()
302 for(int index = 0; index < ARRAY_SIZE(mailbox_cfg_map_table); index++) in mailbox_service0_isr()
319 for(int index = 0; index < ARRAY_SIZE(mailbox_cfg_map_table); index++) in mailbox_service1_isr()
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/src/
Dproxy.c182 for (i = 0; i < ARRAY_SIZE(clients); i++) { in find_client()
239 for (i = 0; i < ARRAY_SIZE(client->filter); i++) { in filter_add()
245 for (i = 0; i < ARRAY_SIZE(client->filter); i++) { in filter_add()
262 for (i = 0; i < ARRAY_SIZE(client->filter); i++) { in filter_remove()
292 for (filter_size = 0, i = 0; i < ARRAY_SIZE(client->filter); i++) { in send_filter_status()
388 for (i = 0; i < ARRAY_SIZE(bt_mesh.sub); i++) { in proxy_send_beacons()
418 for (i = 0; i < ARRAY_SIZE(bt_mesh.sub); i++) { in bt_mesh_proxy_beacon_send()
427 for (i = 0; i < ARRAY_SIZE(clients); i++) { in bt_mesh_proxy_beacon_send()
457 for (i = 0; i < ARRAY_SIZE(bt_mesh.sub); i++) { in bt_mesh_proxy_identity_enable()
618 for (client = NULL, i = 0; i < ARRAY_SIZE(clients); i++) { in proxy_connected()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/clk/
Dccu-sun50iw9-r.c35 .n_var_predivs = ARRAY_SIZE(cpus_r_apb2_predivs),
70 .n_var_predivs = ARRAY_SIZE(cpus_r_apb2_predivs),
139 .num_ccu_clks = ARRAY_SIZE(sun50iw9_r_ccu_clks),
144 .num_resets = ARRAY_SIZE(sun50iw9_r_ccu_resets),
161 ARRAY_SIZE(sun50iw9_r_ccu_clks), in sun50iw9_r_ccu_probe()

12345678910>>...28