Home
last modified time | relevance | path

Searched refs:i (Results 426 – 450 of 27312) sorted by relevance

1...<<11121314151617181920>>...1093

/OK3568_Linux_fs/external/rknpu2/examples/rknn_common_test/src/
H A Dmain.cc44 uint32_t i, j; in rknn_GetTopN() local
47 for (i = 0; i < topNum; ++i) { in rknn_GetTopN()
48 pfMaxProb[i] = -FLT_MAX; in rknn_GetTopN()
49 pMaxClass[i] = -1; in rknn_GetTopN()
53 for (i = 0; i < outputCount; i++) { in rknn_GetTopN()
54 …if ((i == *(pMaxClass + 0)) || (i == *(pMaxClass + 1)) || (i == *(pMaxClass + 2)) || (i == *(pMaxC… in rknn_GetTopN()
55 (i == *(pMaxClass + 4))) { in rknn_GetTopN()
59 if (pfProb[i] > *(pfMaxProb + j)) { in rknn_GetTopN()
60 *(pfMaxProb + j) = pfProb[i]; in rknn_GetTopN()
61 *(pMaxClass + j) = i; in rknn_GetTopN()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/
H A Dr8168_asf.c224 int i; in rtl8168_asf_console_mac() local
227 for (i = 0; i < 6; i++) in rtl8168_asf_console_mac()
228 data[i] = rtl8168_eri_read(tp, ConsoleMA + i, RW_ONE_BYTE, ERIAR_ASF); in rtl8168_asf_console_mac()
230 for (i = 0; i < 6; i++) in rtl8168_asf_console_mac()
231 rtl8168_eri_write(tp, ConsoleMA + i, RW_ONE_BYTE, data[i], ERIAR_ASF); in rtl8168_asf_console_mac()
242 int i; in rtl8168_asf_ip_address() local
246 for (i = 0; i < 4; i++) in rtl8168_asf_ip_address()
247 data[i] = rtl8168_eri_read(tp, offset + i, RW_ONE_BYTE, ERIAR_ASF); in rtl8168_asf_ip_address()
249 for (i = 0; i < 4; i++) in rtl8168_asf_ip_address()
250 rtl8168_eri_write(tp, offset + i, RW_ONE_BYTE, data[i], ERIAR_ASF); in rtl8168_asf_ip_address()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/crypto/
H A Dsha256-internal.c30 size_t i; in sha256_vector() local
36 for (i = 0; i < num_elem; i++) in sha256_vector()
37 if (sha256_process(&ctx, addr[i], len[i])) in sha256_vector()
89 int i; in sha256_compress() local
92 for (i = 0; i < 8; i++) { in sha256_compress()
93 S[i] = md->state[i]; in sha256_compress()
97 for (i = 0; i < 16; i++) in sha256_compress()
98 W[i] = WPA_GET_BE32(buf + (4 * i)); in sha256_compress()
101 for (i = 16; i < 64; i++) { in sha256_compress()
102 W[i] = Gamma1(W[i - 2]) + W[i - 7] + Gamma0(W[i - 15]) + in sha256_compress()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/crypto/
H A Dsha256-internal.c30 size_t i; in sha256_vector() local
36 for (i = 0; i < num_elem; i++) in sha256_vector()
37 if (sha256_process(&ctx, addr[i], len[i])) in sha256_vector()
89 int i; in sha256_compress() local
92 for (i = 0; i < 8; i++) { in sha256_compress()
93 S[i] = md->state[i]; in sha256_compress()
97 for (i = 0; i < 16; i++) in sha256_compress()
98 W[i] = WPA_GET_BE32(buf + (4 * i)); in sha256_compress()
101 for (i = 16; i < 64; i++) { in sha256_compress()
102 W[i] = Gamma1(W[i - 2]) + W[i - 7] + Gamma0(W[i - 15]) + in sha256_compress()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/crypto/
H A Dsha256-internal.c30 size_t i; in sha256_vector() local
36 for (i = 0; i < num_elem; i++) in sha256_vector()
37 if (sha256_process(&ctx, addr[i], len[i])) in sha256_vector()
89 int i; in sha256_compress() local
92 for (i = 0; i < 8; i++) { in sha256_compress()
93 S[i] = md->state[i]; in sha256_compress()
97 for (i = 0; i < 16; i++) in sha256_compress()
98 W[i] = WPA_GET_BE32(buf + (4 * i)); in sha256_compress()
101 for (i = 16; i < 64; i++) { in sha256_compress()
102 W[i] = Gamma1(W[i - 2]) + W[i - 7] + Gamma0(W[i - 15]) + in sha256_compress()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/crypto/
H A Dsha256-internal.c30 size_t i; in sha256_vector() local
36 for (i = 0; i < num_elem; i++) in sha256_vector()
37 if (sha256_process(&ctx, addr[i], len[i])) in sha256_vector()
89 int i; in sha256_compress() local
92 for (i = 0; i < 8; i++) { in sha256_compress()
93 S[i] = md->state[i]; in sha256_compress()
97 for (i = 0; i < 16; i++) in sha256_compress()
98 W[i] = WPA_GET_BE32(buf + (4 * i)); in sha256_compress()
101 for (i = 16; i < 64; i++) { in sha256_compress()
102 W[i] = Gamma1(W[i - 2]) + W[i - 7] + Gamma0(W[i - 15]) + in sha256_compress()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/crypto/
H A Dsha256-internal.c30 size_t i; in sha256_vector() local
36 for (i = 0; i < num_elem; i++) in sha256_vector()
37 if (sha256_process(&ctx, addr[i], len[i])) in sha256_vector()
89 int i; in sha256_compress() local
92 for (i = 0; i < 8; i++) { in sha256_compress()
93 S[i] = md->state[i]; in sha256_compress()
97 for (i = 0; i < 16; i++) in sha256_compress()
98 W[i] = WPA_GET_BE32(buf + (4 * i)); in sha256_compress()
101 for (i = 16; i < 64; i++) { in sha256_compress()
102 W[i] = Gamma1(W[i - 2]) + W[i - 7] + Gamma0(W[i - 15]) + in sha256_compress()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/crypto/
H A Dsha256-internal.c31 size_t i; in sha256_vector() local
37 for (i = 0; i < num_elem; i++) in sha256_vector()
38 if (sha256_process(&ctx, addr[i], len[i])) in sha256_vector()
90 int i; in sha256_compress() local
93 for (i = 0; i < 8; i++) { in sha256_compress()
94 S[i] = md->state[i]; in sha256_compress()
98 for (i = 0; i < 16; i++) in sha256_compress()
99 W[i] = WPA_GET_BE32(buf + (4 * i)); in sha256_compress()
102 for (i = 16; i < 64; i++) { in sha256_compress()
103 W[i] = Gamma1(W[i - 2]) + W[i - 7] + Gamma0(W[i - 15]) + in sha256_compress()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/crypto/
H A Dsha256-internal.c31 size_t i; in sha256_vector() local
37 for (i = 0; i < num_elem; i++) in sha256_vector()
38 if (sha256_process(&ctx, addr[i], len[i])) in sha256_vector()
90 int i; in sha256_compress() local
93 for (i = 0; i < 8; i++) { in sha256_compress()
94 S[i] = md->state[i]; in sha256_compress()
98 for (i = 0; i < 16; i++) in sha256_compress()
99 W[i] = WPA_GET_BE32(buf + (4 * i)); in sha256_compress()
102 for (i = 16; i < 64; i++) { in sha256_compress()
103 W[i] = Gamma1(W[i - 2]) + W[i - 7] + Gamma0(W[i - 15]) + in sha256_compress()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/crypto/
H A Dsha256-internal.c30 size_t i; in sha256_vector() local
36 for (i = 0; i < num_elem; i++) in sha256_vector()
37 if (sha256_process(&ctx, addr[i], len[i])) in sha256_vector()
89 int i; in sha256_compress() local
92 for (i = 0; i < 8; i++) { in sha256_compress()
93 S[i] = md->state[i]; in sha256_compress()
97 for (i = 0; i < 16; i++) in sha256_compress()
98 W[i] = WPA_GET_BE32(buf + (4 * i)); in sha256_compress()
101 for (i = 16; i < 64; i++) { in sha256_compress()
102 W[i] = Gamma1(W[i - 2]) + W[i - 7] + Gamma0(W[i - 15]) + in sha256_compress()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dmachine_kexec.c37 unsigned long i; in _kexec_image_info() local
46 for (i = 0; i < kimage->nr_segments; i++) { in _kexec_image_info()
48 i, in _kexec_image_info()
49 kimage->segment[i].mem, in _kexec_image_info()
50 kimage->segment[i].mem + kimage->segment[i].memsz, in _kexec_image_info()
51 kimage->segment[i].memsz, in _kexec_image_info()
52 kimage->segment[i].memsz / PAGE_SIZE); in _kexec_image_info()
122 unsigned long i; in kexec_segment_flush() local
126 for (i = 0; i < kimage->nr_segments; i++) { in kexec_segment_flush()
128 i, in kexec_segment_flush()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/crypto/
H A Dsha256-internal.c30 size_t i; in sha256_vector() local
36 for (i = 0; i < num_elem; i++) in sha256_vector()
37 if (sha256_process(&ctx, addr[i], len[i])) in sha256_vector()
89 int i; in sha256_compress() local
92 for (i = 0; i < 8; i++) { in sha256_compress()
93 S[i] = md->state[i]; in sha256_compress()
97 for (i = 0; i < 16; i++) in sha256_compress()
98 W[i] = WPA_GET_BE32(buf + (4 * i)); in sha256_compress()
101 for (i = 16; i < 64; i++) { in sha256_compress()
102 W[i] = Gamma1(W[i - 2]) + W[i - 7] + Gamma0(W[i - 15]) + in sha256_compress()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/crypto/
H A Dsha256-internal.c30 size_t i; in sha256_vector() local
36 for (i = 0; i < num_elem; i++) in sha256_vector()
37 if (sha256_process(&ctx, addr[i], len[i])) in sha256_vector()
89 int i; in sha256_compress() local
92 for (i = 0; i < 8; i++) { in sha256_compress()
93 S[i] = md->state[i]; in sha256_compress()
97 for (i = 0; i < 16; i++) in sha256_compress()
98 W[i] = WPA_GET_BE32(buf + (4 * i)); in sha256_compress()
101 for (i = 16; i < 64; i++) { in sha256_compress()
102 W[i] = Gamma1(W[i - 2]) + W[i - 7] + Gamma0(W[i - 15]) + in sha256_compress()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/xen/
H A Dp2m.c144 unsigned i; in p2m_top_mfn_init() local
146 for (i = 0; i < P2M_TOP_PER_PAGE; i++) in p2m_top_mfn_init()
147 top[i] = virt_to_mfn(p2m_mid_missing_mfn); in p2m_top_mfn_init()
152 unsigned i; in p2m_top_mfn_p_init() local
154 for (i = 0; i < P2M_TOP_PER_PAGE; i++) in p2m_top_mfn_p_init()
155 top[i] = p2m_mid_missing_mfn; in p2m_top_mfn_p_init()
160 unsigned i; in p2m_mid_mfn_init() local
162 for (i = 0; i < P2M_MID_PER_PAGE; i++) in p2m_mid_mfn_init()
163 mid[i] = virt_to_mfn(leaf); in p2m_mid_mfn_init()
168 unsigned i; in p2m_init() local
[all …]
/OK3568_Linux_fs/kernel/tools/gpio/
H A Dgpio-hammer.c33 int i, j; in hammer_device() local
48 for (i = 0; i < num_lines; i++) in hammer_device()
49 gpiotools_set_bit(&values.mask, i); in hammer_device()
56 for (i = 0; i < num_lines; i++) { in hammer_device()
57 fprintf(stdout, "%d", lines[i]); in hammer_device()
58 if (i != (num_lines - 1)) in hammer_device()
62 for (i = 0; i < num_lines; i++) { in hammer_device()
63 fprintf(stdout, "%d", gpiotools_test_bit(values.bits, i)); in hammer_device()
64 if (i != (num_lines - 1)) in hammer_device()
73 for (i = 0; i < num_lines; i++) in hammer_device()
[all …]
/OK3568_Linux_fs/u-boot/post/
H A Dpost.c27 unsigned int i; in post_init_f() local
29 for (i = 0; i < post_list_size; i++) { in post_init_f()
30 struct post_test *test = post_list + i; in post_init_f()
176 int i, j; in post_get_env_flags() local
178 for (i = 0; i < varnum; i++) { in post_get_env_flags()
179 if (env_get_f(var[i], list, sizeof(list)) <= 0) in post_get_env_flags()
183 test_flags[j] &= ~flag[i]; in post_get_env_flags()
202 test_flags[j] |= flag[i]; in post_get_env_flags()
237 int test_flags, int flags, unsigned int i) in post_run_single() argument
248 POST_FAIL_SAVE | i : i); in post_run_single()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/greybus/tools/
H A Dloopback_test.c114 int i; \
115 for (i = 0; i < t->device_count; i++) { \
116 if (!device_enabled(t, i)) \
118 if (t->devices[i].results.field > max) \
119 max = t->devices[i].results.field; \
128 int i; \
129 for (i = 0; i < t->device_count; i++) { \
130 if (!device_enabled(t, i)) \
132 if (t->devices[i].results.field < min) \
133 min = t->devices[i].results.field; \
[all …]
/OK3568_Linux_fs/external/common_algorithm/video/move_detect/test/
H A Dtest.c15 int i, j; in down_sampling() local
20 for (i = 0; i < height; i++) in down_sampling()
24i*width + j] = (im[(i * 3 + 0)*width * 3 + j * 3 + 0] + im[(i * 3 + 0)*width * 3 + j * 3 + 1] + im… in down_sampling()
33 int i, j; in down_sampling1() local
38 for (i = 0; i < height; i++) in down_sampling1()
42 img_down_sam[i*width + j] = im[(i * 2 + 1)*width * 2 + j * 2 + 1]; in down_sampling1()
76 int i; in hw_simu_top() local
116 for (i = 1; i < frame - 1; i++) in hw_simu_top()
144 int i, j; in rga_ds() local
151 for (i = 0; i < h_ds; i++) in rga_ds()
[all …]
/OK3568_Linux_fs/u-boot/examples/api/
H A Ddemo.c29 int rv = 0, h, i, j, devs_no; in main() local
66 for (i = 0; i < WAIT_SECS; i++) in main()
83 for (i = 0; i < devs_no; i++) { in main()
84 test_dump_di(i); in main()
103 for (i = 0; i < devs_no; i++) { in main()
104 di = ub_dev_get(i); in main()
110 if (i == devs_no) in main()
115 if ((rv = ub_dev_open(i)) != 0) in main()
116 errf("open device %d error %d\n", i, rv); in main()
118 else if ((rv = ub_dev_read(i, buf, 1, 0, &rlen)) != 0) in main()
[all …]
/OK3568_Linux_fs/external/xserver/dix/
H A Dextension.c78 int i; in AddExtension() local
103 i = NumExtensions; in AddExtension()
104 newexts = reallocarray(extensions, i + 1, sizeof(ExtensionEntry *)); in AddExtension()
113 extensions[i] = ext; in AddExtension()
114 ext->index = i; in AddExtension()
115 ext->base = i + EXTENSION_BASE; in AddExtension()
118 ProcVector[i + EXTENSION_BASE] = MainProc; in AddExtension()
119 SwappedProcVector[i + EXTENSION_BASE] = SwappedMainProc; in AddExtension()
148 int i; in FindExtension() local
150 for (i = 0; i < NumExtensions; i++) { in FindExtension()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/hal/
H A DHalHWImg8723B_BB.c262 u32 i = 0; in ODM_ReadAndConfig_MP_8723B_AGC_TAB() local
273 for (i = 0; i < ArrayLen; i += 2) { in ODM_ReadAndConfig_MP_8723B_AGC_TAB()
274 u32 v1 = Array[i]; in ODM_ReadAndConfig_MP_8723B_AGC_TAB()
275 u32 v2 = Array[i+1]; in ODM_ReadAndConfig_MP_8723B_AGC_TAB()
288 READ_NEXT_PAIR(v1, v2, i); in ODM_ReadAndConfig_MP_8723B_AGC_TAB()
291 READ_NEXT_PAIR(v1, v2, i); in ODM_ReadAndConfig_MP_8723B_AGC_TAB()
292 READ_NEXT_PAIR(v1, v2, i); in ODM_ReadAndConfig_MP_8723B_AGC_TAB()
294 READ_NEXT_PAIR(v1, v2, i); in ODM_ReadAndConfig_MP_8723B_AGC_TAB()
299 READ_NEXT_PAIR(v1, v2, i); in ODM_ReadAndConfig_MP_8723B_AGC_TAB()
306 while (v1 < 0x40000000 && i < ArrayLen-2) in ODM_ReadAndConfig_MP_8723B_AGC_TAB()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A Dhil_kbd.c106 int i, idx; in hil_dev_handle_command_response() local
138 for (i = 0; i < idx; i++) in hil_dev_handle_command_response()
139 buf[i] = dev->data[i] & HIL_PKT_DATA_MASK; in hil_dev_handle_command_response()
140 for (; i < HIL_PACKET_MAX_LENGTH; i++) in hil_dev_handle_command_response()
141 buf[i] = 0; in hil_dev_handle_command_response()
150 int i; in hil_dev_handle_kbd_events() local
157 for (i = 1; i < idx - 1; i++) in hil_dev_handle_kbd_events()
158 input_report_key(dev, kbd->data[i] & 0x7f, 1); in hil_dev_handle_kbd_events()
164 for (i = 1; i < idx - 1; i++) in hil_dev_handle_kbd_events()
165 input_report_key(dev, kbd->data[i], 1); in hil_dev_handle_kbd_events()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/
H A Dxusb-padctl-common.c51 int i; in tegra_xusb_phy_get() local
53 for (i = 0; i < padctl.socdata->num_phys; i++) { in tegra_xusb_phy_get()
54 phy = &padctl.socdata->phys[i]; in tegra_xusb_phy_get()
66 unsigned int i; in tegra_xusb_padctl_find_lane() local
68 for (i = 0; i < padctl->socdata->num_lanes; i++) in tegra_xusb_padctl_find_lane()
69 if (strcmp(name, padctl->socdata->lanes[i].name) == 0) in tegra_xusb_padctl_find_lane()
70 return &padctl->socdata->lanes[i]; in tegra_xusb_padctl_find_lane()
80 unsigned int i; in tegra_xusb_padctl_group_parse_dt() local
93 for (i = 0; i < group->num_pins; i++) { in tegra_xusb_padctl_group_parse_dt()
94 ret = ofnode_read_string_index(node, "nvidia,lanes", i, in tegra_xusb_padctl_group_parse_dt()
[all …]
/OK3568_Linux_fs/external/mpp/mpp/hal/common/jpeg/
H A Dhal_jpege_hdr.c678 RK_U32 i; in write_jpeg_comment_header() local
688 for (i = 0; i < length; i++) { in write_jpeg_comment_header()
690 jpege_bits_put(bits, data[i], 8); in write_jpeg_comment_header()
696 RK_S32 i; in write_jpeg_dqt_header() local
708 for (i = 0; i < 64; i++) { in write_jpeg_dqt_header()
710 jpege_bits_put(bits, qtable[zigzag[i]], 8); in write_jpeg_dqt_header()
724 for (i = 0; i < 64; i++) { in write_jpeg_dqt_header()
726 jpege_bits_put(bits, qtable[zigzag[i]], 8); in write_jpeg_dqt_header()
732 RK_S32 i; in write_jpeg_SOFO_header() local
752 for (i = 0; i < 3; i++) { in write_jpeg_SOFO_header()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/acnr/
H A Drk_aiq_acnr_algo_cnr_v1.cpp8 int i = 0; in cnr_get_mode_by_name_V1() local
57 int i = 0; in cnr_get_setting_by_name_V1() local
143 int i = 0; in cnr_init_params_V1() local
158 for(i = 0; i < RK_CNR_V1_MAX_ISO_NUM; i++ ) { in cnr_init_params_V1()
159 pParams->iso[i] = pCalibParms->iso[i]; in cnr_init_params_V1()
160 pParams->rkcnr_hq_bila_bypass[i] = pCalibParms->rkcnr_hq_bila_bypass[i]; in cnr_init_params_V1()
161 pParams->rkcnr_lq_bila_bypass[i] = pCalibParms->rkcnr_lq_bila_bypass[i]; in cnr_init_params_V1()
162 pParams->rkcnr_exgain[i] = pCalibParms->rkcnr_exgain[i]; in cnr_init_params_V1()
163 pParams->rkcnr_g_gain[i] = pCalibParms->rkcnr_g_gain[i]; in cnr_init_params_V1()
164 pParams->ratio[i] = pCalibParms->ratio[i]; in cnr_init_params_V1()
[all …]

1...<<11121314151617181920>>...1093