Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 273) sorted by relevance

1234567891011

/Zephyr-Core-3.5.0/soc/riscv/openisa_rv32m1/
Dvector.S36 j _isr_wrapper /* IRQ 0 */
37 j _isr_wrapper /* IRQ 1 */
38 j _isr_wrapper /* IRQ 2 */
39 j _isr_wrapper /* IRQ 3 */
40 j _isr_wrapper /* IRQ 4 */
41 j _isr_wrapper /* IRQ 5 */
42 j _isr_wrapper /* IRQ 6 */
43 j _isr_wrapper /* IRQ 7 */
44 j _isr_wrapper /* IRQ 8 */
45 j _isr_wrapper /* IRQ 9 */
[all …]
/Zephyr-Core-3.5.0/lib/crc/
Dcrc4_sw.c13 size_t i, j, k; in crc4() local
16 for (j = 0; j < 2; j++) { in crc4()
17 crc ^= ((src[i] >> (4 * (1 - j))) & 0xf); in crc4()
46 for (size_t j = 0U; j < 2U; j++) { in crc4_ti() local
47 index = seed ^ ((src[i] >> (4*(1-j))) & 0xf); in crc4_ti()
Dcrc16_sw.c12 size_t i, j; in crc16() local
17 for (j = 0; j < 8; j++) { in crc16()
33 size_t i, j; in crc16_reflect() local
38 for (j = 0; j < 8; j++) { in crc16_reflect()
/Zephyr-Core-3.5.0/samples/shields/x_nucleo_iks02a1/microphone/src/
Dmain.c89 int j; in main() local
94 for (j = 0; j < rx_size/2; j++) { in main()
95 printk("0x%04x,\n", pcm_out[j]); in main()
101 int j; in main() local
106 for (j = 0; j < rx_size/2; j++) { in main()
107 pcm_l = (char)(pcm_out[j] & 0xFF); in main()
108 pcm_h = (char)((pcm_out[j] >> 8) & 0xFF); in main()
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/
Ducifi_lpwan.c98 int index, i = 0, j = 0; in lpwan_create() local
126 INIT_OBJ_RES_OPTDATA(UCIFI_LPWAN_NETWORK_TYPE_RID, res[index], i, res_inst[index], j); in lpwan_create()
127 INIT_OBJ_RES_MULTI_OPTDATA(UCIFI_LPWAN_IPV4_ADDRESS_RID, res[index], i, res_inst[index], j, in lpwan_create()
129 INIT_OBJ_RES_MULTI_OPTDATA(UCIFI_LPWAN_IPV6_ADDRESS_RID, res[index], i, res_inst[index], j, in lpwan_create()
132 j, NETWORK_ADDRESS_MAX, false); in lpwan_create()
134 res_inst[index], j, SECONDARY_NETWORK_ADDRESS_MAX, false); in lpwan_create()
135 INIT_OBJ_RES_DATA(UCIFI_LPWAN_MAC_ADDRESS_RID, res[index], i, res_inst[index], j, in lpwan_create()
137 INIT_OBJ_RES_MULTI_OPTDATA(UCIFI_LPWAN_PEER_ADDRESS_RID, res[index], i, res_inst[index], j, in lpwan_create()
140 res_inst[index], j, MULTICAST_GRP_ADDRESS_MAX, false); in lpwan_create()
142 res_inst[index], j, MULTICAST_GRP_KEY_MAX, false); in lpwan_create()
[all …]
Dlwm2m_obj_device.c224 int i = 0, j = 0; in device_create() local
229 INIT_OBJ_RES_OPTDATA(DEVICE_MANUFACTURER_ID, res, i, res_inst, j); in device_create()
230 INIT_OBJ_RES_OPTDATA(DEVICE_MODEL_NUMBER_ID, res, i, res_inst, j); in device_create()
231 INIT_OBJ_RES_OPTDATA(DEVICE_SERIAL_NUMBER_ID, res, i, res_inst, j); in device_create()
232 INIT_OBJ_RES_OPTDATA(DEVICE_FIRMWARE_VERSION_ID, res, i, res_inst, j); in device_create()
236 res_inst, j, DEVICE_PWRSRC_MAX, false); in device_create()
238 res_inst, j, DEVICE_PWRSRC_MAX, false); in device_create()
240 res_inst, j, DEVICE_PWRSRC_MAX, false); in device_create()
241 INIT_OBJ_RES_OPTDATA(DEVICE_BATTERY_LEVEL_ID, res, i, res_inst, j); in device_create()
242 INIT_OBJ_RES_OPTDATA(DEVICE_MEMORY_FREE_ID, res, i, res_inst, j); in device_create()
[all …]
Dlwm2m_obj_connmon.c141 int i = 0, j = 0; in connmon_create() local
162 INIT_OBJ_RES_DATA(CONNMON_NETWORK_BEARER_ID, res, i, res_inst, j, in connmon_create()
165 res_inst, j, CONNMON_AVAIL_BEARER_MAX, in connmon_create()
167 INIT_OBJ_RES_DATA(CONNMON_RADIO_SIGNAL_STRENGTH, res, i, res_inst, j, in connmon_create()
169 INIT_OBJ_RES_DATA(CONNMON_LINK_QUALITY, res, i, res_inst, j, in connmon_create()
172 res_inst, j, CONNMON_IP_ADDRESS_MAX, false); in connmon_create()
174 res_inst, j, CONNMON_ROUTER_IP_ADDRESS_MAX, in connmon_create()
176 INIT_OBJ_RES_MULTI_OPTDATA(CONNMON_APN, res, i, res_inst, j, in connmon_create()
178 INIT_OBJ_RES_DATA(CONNMON_CELLID, res, i, res_inst, j, &cellid, in connmon_create()
180 INIT_OBJ_RES_DATA(CONNMON_SMNC, res, i, res_inst, j, &mnc, sizeof(mnc)); in connmon_create()
[all …]
Ducifi_battery.c84 int index, i = 0, j = 0; in battery_create() local
115 INIT_OBJ_RES_DATA(UCIFI_BATTERY_LEVEL_RID, res[index], i, res_inst[index], j, in battery_create()
117 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_CAPACITY_RID, res[index], i, res_inst[index], j); in battery_create()
118 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_VOLTAGE_RID, res[index], i, res_inst[index], j); in battery_create()
119 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_TYPE_RID, res[index], i, res_inst[index], j); in battery_create()
120 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_LOW_THESHOLD_RID, res[index], i, res_inst[index], j); in battery_create()
121 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_LEVEL_TOO_LOW_RID, res[index], i, res_inst[index], j); in battery_create()
122 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_SHUTDOWN_RID, res[index], i, res_inst[index], j); in battery_create()
123 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_NUM_CYCLES_RID, res[index], i, res_inst[index], j); in battery_create()
124 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_SUPPLY_LOSS_RID, res[index], i, res_inst[index], j); in battery_create()
[all …]
Dipso_accelerometer.c78 int index, avail = -1, i = 0, j = 0; in accel_create() local
108 INIT_OBJ_RES_DATA(X_VALUE_RID, res[avail], i, res_inst[avail], j, in accel_create()
111 INIT_OBJ_RES_DATA(Y_VALUE_RID, res[avail], i, res_inst[avail], j, in accel_create()
114 INIT_OBJ_RES_DATA(Z_VALUE_RID, res[avail], i, res_inst[avail], j, in accel_create()
118 res_inst[avail], j); in accel_create()
120 j, &accel_data[avail].min_range, in accel_create()
123 j, &accel_data[avail].max_range, in accel_create()
127 res_inst[avail], j); in accel_create()
128 INIT_OBJ_RES_OPTDATA(TIMESTAMP_RID, res[avail], i, res_inst[avail], j); in accel_create()
130 res_inst[avail], j); in accel_create()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/host/
Daes_ccm.c45 int i, j, err; in ccm_calculate_X0() local
65 j = 0; in ccm_calculate_X0()
69 b[i] = X0[i] ^ aad[j]; in ccm_calculate_X0()
70 i++, j++; in ccm_calculate_X0()
82 for (; i < aad_len; i++, j++) { in ccm_calculate_X0()
83 b[i] = X0[i] ^ aad[j]; in ccm_calculate_X0()
105 int err, j, i; in ccm_auth() local
126 for (j = 0; j < blk_cnt; j++) { in ccm_auth()
128 if (j + 1 == blk_cnt) { in ccm_auth()
130 b[i] = Xn[i] ^ cleartext_msg[(j * 16) + i]; in ccm_auth()
[all …]
/Zephyr-Core-3.5.0/samples/drivers/memc/src/
Dmain.c17 uint32_t i, j; in dump_memory() local
19 for (i = 0, j = 0; j < (size / 16); i += 16, j++) { in dump_memory()
46 uint32_t i, j; in main() local
55 for (i = 0, j = 0; j < (MEMC_SIZE / BUF_SIZE); i += BUF_SIZE, j++) { in main()
63 for (i = 0, j = 0; j < (MEMC_SIZE / BUF_SIZE); i += BUF_SIZE, j++) { in main()
/Zephyr-Core-3.5.0/tests/subsys/testsuite/fff_fake_contexts/src/
Dmain.c298 for (int j = 0; j < fff.call_history_idx; ++j) { in ZTEST() local
299 zassert_equal(fff.call_history[j], in ZTEST()
300 tc->expected_call_history[j], NULL); in ZTEST()
315 for (int j = 0; j < called_API_open_fake_call_count_expected; ++j) { in ZTEST() local
316 zassert_not_null(called_API_open_fake.arg0_history[j], NULL); in ZTEST()
326 for (int j = 0; j < called_API_close_fake_call_count_expected; ++j) { in ZTEST() local
328 zassert_equal(called_API_close_fake.arg0_history[j], in ZTEST()
329 tc->called_API_open_custom_fake_contexts[j] in ZTEST()
/Zephyr-Core-3.5.0/tests/net/lib/lwm2m/lwm2m_registry/src/
Dtest_obj.c57 int i = 0, j = 0; in obj_create() local
69 INIT_OBJ_RES_DATA_LEN(LWM2M_RES_TYPE_OPAQUE, res, i, res_inst, j, opaque, sizeof(opaque), in obj_create()
71 INIT_OBJ_RES_DATA_LEN(LWM2M_RES_TYPE_STRING, res, i, res_inst, j, string, sizeof(string), in obj_create()
73 INIT_OBJ_RES_DATA(LWM2M_RES_TYPE_U32, res, i, res_inst, j, &u32, sizeof(u32)); in obj_create()
74 INIT_OBJ_RES_DATA(LWM2M_RES_TYPE_U16, res, i, res_inst, j, &u16, sizeof(u16)); in obj_create()
75 INIT_OBJ_RES_DATA(LWM2M_RES_TYPE_U8, res, i, res_inst, j, &u8, sizeof(u8)); in obj_create()
76 INIT_OBJ_RES_DATA(LWM2M_RES_TYPE_S64, res, i, res_inst, j, &s64, sizeof(s64)); in obj_create()
77 INIT_OBJ_RES_DATA(LWM2M_RES_TYPE_S32, res, i, res_inst, j, &s32, sizeof(s32)); in obj_create()
78 INIT_OBJ_RES_DATA(LWM2M_RES_TYPE_S16, res, i, res_inst, j, &s16, sizeof(s16)); in obj_create()
79 INIT_OBJ_RES_DATA(LWM2M_RES_TYPE_S8, res, i, res_inst, j, &s8, sizeof(s8)); in obj_create()
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/controller/ctrl_tx_buffer_alloc/src/
Dmain.c72 for (int j = 1; j < CONFIG_BT_CTLR_LLCP_CONN; j++) { in ZTEST() local
73 conn[j].llcp.tx_buffer_alloc = 0; in ZTEST()
99 for (int j = 1; j < CONFIG_BT_CTLR_LLCP_CONN; j++) { in ZTEST() local
102 zassert_true(llcp_tx_alloc_peek(&conn[j], ctxs[j])); in ZTEST()
103 tx[tx_alloc_idx] = llcp_tx_alloc(&conn[j], ctxs[j]); in ZTEST()
107 zassert_equal(conn[j].llcp.tx_buffer_alloc, i + 1); in ZTEST()
111 zassert_false(llcp_tx_alloc_peek(&conn[j], ctxs[j])); in ZTEST()
112 zassert_equal(ctxs[j]->wait_reason, WAITING_FOR_TX_BUFFER); in ZTEST()
/Zephyr-Core-3.5.0/samples/boards/96b_argonkey/microphone/src/
Dmain.c155 int j; in main() local
160 for (j = 0; j < rx_size/2; j++) { in main()
161 printk("0x%04x,\n", pcm_out[j]); in main()
167 int j; in main() local
172 for (j = 0; j < rx_size/2; j++) { in main()
173 pcm_l = (char)(pcm_out[j] & 0xFF); in main()
174 pcm_h = (char)((pcm_out[j] >> 8) & 0xFF); in main()
/Zephyr-Core-3.5.0/samples/arch/smp/pi/src/
Dmain.c54 int i, j; in test_thread() local
63 for (j = i; j > 0; --j) { in test_thread()
64 sum = sum * j + NEW_BASE * array[j]; in test_thread()
65 array[j] = sum % (j * 2 - 1); in test_thread()
66 sum /= j * 2 - 1; in test_thread()
/Zephyr-Core-3.5.0/subsys/pm/
Dpm_stats.c40 for (uint8_t j = 0U; j < PM_STATE_COUNT; j++) { in pm_stats_init() local
41 snprintk(names[i][j], PM_STAT_NAME_LEN, in pm_stats_init()
42 "pm_cpu_%03d_state_%1d_stats", i, j); in pm_stats_init()
43 stats_init(&(stats[i][j].s_hdr), STATS_SIZE_32, 3U, in pm_stats_init()
45 stats_register(names[i][j], &(stats[i][j].s_hdr)); in pm_stats_init()
/Zephyr-Core-3.5.0/tests/subsys/fs/fcb/src/
Dfcb_test_append.c16 int j; in test_fcb_append() local
20 for (j = 0; j < i; j++) { in test_fcb_append()
21 test_data[j] = fcb_test_append_data(i, j); in test_fcb_append()
Dfcb_test_crc_disabled_after_enabled.c15 int j; in fcb_pretest_crc_disabled_after_enabled() local
19 for (j = 0; j < i; j++) { in fcb_pretest_crc_disabled_after_enabled()
20 test_data[j] = fcb_test_append_data(i, j); in fcb_pretest_crc_disabled_after_enabled()
/Zephyr-Core-3.5.0/samples/modules/tflite-micro/magic_wand/train/
Ddata_augmentation.py33 for j in range((int(len(data) / molecule) - 1) * denominator)]
35 for j in range(len(data[i])):
38 k][j] = (data[molecule * i + k][j] * (denominator - k) +
39 data[molecule * i + k + 1][j] * k) / denominator
57 tmp_data = [[0 for i in range(len(data[0]))] for j in range(len(data))]
60 for j in range(len(tmp_data[i])):
61 tmp_data[i][j] = data[i][j] + 5 * random.random()
/Zephyr-Core-3.5.0/samples/posix/eventfd/src/
Dmain.c27 int j; in writer() local
31 for (j = 1; j < g_argc; j++) { in writer()
32 printf("Writing %s to efd\n", g_argv[j]); in writer()
33 u = strtoull(g_argv[j], NULL, 0); in writer()
/Zephyr-Core-3.5.0/lib/os/
Dbase64.c128 uint32_t j, x; in base64_decode() local
132 for (i = n = j = 0U; i < slen; i++) { in base64_decode()
158 if (src[i] == '=' && ++j > 2) { in base64_decode()
166 if (base64_dec_map[src[i]] < 64 && j != 0U) { in base64_decode()
183 n -= j; in base64_decode()
190 for (j = 3U, n = x = 0U, p = dst; i > 0; i--, src++) { in base64_decode()
196 j -= (base64_dec_map[*src] == 64U); in base64_decode()
201 if (j > 0) { in base64_decode()
204 if (j > 1) { in base64_decode()
207 if (j > 2) { in base64_decode()
/Zephyr-Core-3.5.0/tests/kernel/mem_protect/mem_protect/src/
Dmem_domain.c75 for (unsigned int j = 0; j < MEM_REGION_ALLOC; j++) { in test_mem_domain_setup() local
76 rw_bufs[i][j] = (j % 256U); in test_mem_domain_setup()
84 for (unsigned int j = 0; j < MEM_REGION_ALLOC; j++) { in test_mem_domain_setup() local
85 ro_buf[j] = (j % 256U); in test_mem_domain_setup()
122 for (unsigned int j = 0; j < MEM_REGION_ALLOC; j++) { in rw_part_access() local
124 zassert_equal(rw_bufs[i][j], j % 256U, in rw_part_access()
125 "bad data in rw_buf[%d][%d]", i, j); in rw_part_access()
127 rw_bufs[i][j]++; in rw_part_access()
128 rw_bufs[i][j]--; in rw_part_access()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/ll/
D_compile_permutate_kconfigs.sh52 for (( j = 0; j < $1; j++ )); do
54 results=("${results[@]}" "${list[$j]}n")
56 results=("${results[@]}" "${list[$j]}y")
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/
Dull_filter.c306 uint8_t i, j; in ll_rl_add() local
312 i = ull_filter_rl_find(id_addr->type, id_addr->a.val, &j); in ll_rl_add()
317 } else if (j >= ARRAY_SIZE(rl)) { in ll_rl_add()
322 i = j; in ll_rl_add()
352 j = fal_find(id_addr->type, id_addr->a.val, NULL); in ll_rl_add()
353 if (j < ARRAY_SIZE(fal)) { in ll_rl_add()
354 fal[j].rl_idx = i; in ll_rl_add()
362 j = pal_addr_find(id_addr->type, id_addr->a.val); in ll_rl_add()
363 if (j < ARRAY_SIZE(pal)) { in ll_rl_add()
364 pal[j].rl_idx = i; in ll_rl_add()
[all …]

1234567891011