/Zephyr-Core-3.7.0/samples/drivers/uart/native_tty/ |
D | README.rst | 55 Device uart sent: "Hello from device uart, num 9" 56 Device uart2 received: "Hello from device uart, num 9" 57 Device uart sent: "Hello from device uart, num 8" 58 Device uart2 received: "Hello from device uart, num 8" 59 Device uart sent: "Hello from device uart, num 7" 60 Device uart2 received: "Hello from device uart, num 7" 61 Device uart sent: "Hello from device uart, num 6" 62 Device uart2 received: "Hello from device uart, num 6" 63 Device uart sent: "Hello from device uart, num 5" 64 Device uart2 received: "Hello from device uart, num 5" [all …]
|
/Zephyr-Core-3.7.0/subsys/sensing/ |
D | sensing_sensor.c | 39 int i, num = 0; in sensing_sensor_get_reporters() local 41 for (i = 0; i < sensor->reporter_num && num < max_handles; ++i) { in sensing_sensor_get_reporters() 44 reporter_handles[num] = &sensor->conns[i]; in sensing_sensor_get_reporters() 45 num++; in sensing_sensor_get_reporters() 49 return num; in sensing_sensor_get_reporters() 55 int i, num = 0; in sensing_sensor_get_reporters_count() local 60 num++; in sensing_sensor_get_reporters_count() 64 return num; in sensing_sensor_get_reporters_count()
|
/Zephyr-Core-3.7.0/samples/shields/x_nucleo_53l0a1/src/ |
D | display_7seg.c | 125 int display_number(int num, unsigned int base) in display_number() argument 136 if (num <= max_negative_for_base[base] || num >= max_positive_for_base[base]) { in display_number() 140 if (num < 0) { in display_number() 141 num = -num; in display_number() 147 if (num > 0 || i == 3) { in display_number() 148 d = num % base; in display_number() 150 num /= base; in display_number()
|
/Zephyr-Core-3.7.0/subsys/ipc/ipc_service/backends/ |
D | ipc_rpmsg_static_vrings.h | 144 static inline size_t vq_ring_size(unsigned int num, unsigned int buf_size) in vq_ring_size() argument 146 return ROUND_UP((buf_size * num), MEM_ALIGNMENT); in vq_ring_size() 149 static inline size_t shm_size(unsigned int num, unsigned int buf_size) in shm_size() argument 151 return (VRING_COUNT * (vq_ring_size(num, buf_size) + in shm_size() 152 ROUND_UP(vring_size(num, MEM_ALIGNMENT), MEM_ALIGNMENT))); in shm_size()
|
/Zephyr-Core-3.7.0/arch/arc/core/mpu/ |
D | arc_mpu.c | 25 uint32_t num = z_arc_v2_aux_reg_read(_ARC_V2_MPU_BUILD); in get_num_regions() local 27 num = (num & 0xFF00U) >> 8U; in get_num_regions() 29 return (uint8_t)num; in get_num_regions()
|
/Zephyr-Core-3.7.0/tests/unit/intmath/ |
D | main.c | 81 volatile uint32_t num, a, b; in ZTEST() local 90 num = a * b; in ZTEST() 91 zassert_true((num == 176160000U), "32-bit multiplication failed"); in ZTEST() 95 num = a / b; in ZTEST() 96 zassert_true((num == 2368U), "32-bit division failed"); in ZTEST()
|
/Zephyr-Core-3.7.0/samples/subsys/input/input_dump/boards/ |
D | esp32_devkitc_wroom_procpu.overlay | 14 channel-num = <9>; 20 channel-num = <8>; 26 channel-num = <6>; 32 channel-num = <4>;
|
D | esp32_devkitc_wrover_procpu.overlay | 14 channel-num = <9>; 20 channel-num = <8>; 26 channel-num = <6>; 32 channel-num = <4>;
|
D | esp32s2_saola.overlay | 14 channel-num = <9>; 20 channel-num = <8>; 26 channel-num = <6>; 32 channel-num = <4>;
|
D | esp32s3_devkitm_procpu.overlay | 14 channel-num = <9>; 20 channel-num = <8>; 26 channel-num = <6>; 32 channel-num = <4>;
|
/Zephyr-Core-3.7.0/drivers/spi/ |
D | spi_sedi.c | 389 #define CREATE_SEDI_SPI_INSTANCE(num) \ argument 390 static void spi_##num##_irq_init(void) \ 392 IRQ_CONNECT(DT_INST_IRQN(num), \ 393 DT_INST_IRQ(num, priority), \ 394 spi_isr, num, SPI_SEDI_IRQ_FLAGS(num)); \ 395 irq_enable(DT_INST_IRQN(num)); \ 397 static struct spi_sedi_data spi_##num##_data = { \ 398 SPI_CONTEXT_INIT_LOCK(spi_##num##_data, ctx), \ 399 SPI_CONTEXT_INIT_SYNC(spi_##num##_data, ctx), \ 401 const static struct spi_sedi_config spi_##num##_config = { \ [all …]
|
/Zephyr-Core-3.7.0/drivers/entropy/ |
D | entropy_cc13xx_cc26xx.c | 133 uint32_t num[2]; in entropy_cc13xx_cc26xx_isr() local 140 num[1] = TRNGNumberGet(TRNG_HI_WORD); in entropy_cc13xx_cc26xx_isr() 141 num[0] = TRNGNumberGet(TRNG_LOW_WORD); in entropy_cc13xx_cc26xx_isr() 143 cnt = ring_buf_put(&data->pool, (uint8_t *)num, sizeof(num)); in entropy_cc13xx_cc26xx_isr() 146 if (cnt != sizeof(num)) { in entropy_cc13xx_cc26xx_isr() 177 uint32_t num[2]; in entropy_cc13xx_cc26xx_get_entropy_isr() local 200 num[1] = TRNGNumberGet(TRNG_HI_WORD); in entropy_cc13xx_cc26xx_get_entropy_isr() 201 num[0] = TRNGNumberGet(TRNG_LOW_WORD); in entropy_cc13xx_cc26xx_get_entropy_isr() 203 ring_buf_put(&data->pool, (uint8_t *)num, in entropy_cc13xx_cc26xx_get_entropy_isr() 204 sizeof(num)); in entropy_cc13xx_cc26xx_get_entropy_isr()
|
/Zephyr-Core-3.7.0/tests/subsys/sensing/src/ |
D | main.c | 64 int num = total_sensor_counts; in ZTEST() local 66 ret = sensing_get_sensors(&num, &info); in ZTEST() 68 zassert_equal(num, total_sensor_counts, "Expected %d sensors, but got %d", in ZTEST() 69 total_sensor_counts, num); in ZTEST() 72 for (int i = 0; i < num; ++i) { in ZTEST()
|
/Zephyr-Core-3.7.0/samples/drivers/mspi/mspi_flash/boards/ |
D | apollo3p_evb.overlay | 44 mspi-hardware-ce-num = <0>; 65 mspi-hardware-ce-num = <0>; 113 ambiq,iom-num = <1>; 120 ambiq,iom-num = <2>; 127 ambiq,iom-num = <1>; 149 ambiq,iom-num = <1>; 156 ambiq,iom-num = <2>; 163 ambiq,iom-num = <1>;
|
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | prov.c | 152 uint32_t num = 0; in get_auth_number() local 154 bt_rand(&num, sizeof(num)); in get_auth_number() 161 num = (num % (divider[size - 1] - 1)) + 1; in get_auth_number() 163 num %= divider[size - 1]; in get_auth_number() 166 sys_put_be32(num, &bt_mesh_prov_link.auth[auth_size - sizeof(num)]); in get_auth_number() 167 memset(bt_mesh_prov_link.auth, 0, auth_size - sizeof(num)); in get_auth_number() 169 return num; in get_auth_number() 264 int bt_mesh_input_number(uint32_t num) in bt_mesh_input_number() argument 268 LOG_DBG("%u", num); in bt_mesh_input_number() 274 sys_put_be32(num, &bt_mesh_prov_link.auth[auth_size - sizeof(num)]); in bt_mesh_input_number()
|
/Zephyr-Core-3.7.0/drivers/interrupt_controller/ |
D | Kconfig.multilevel.aggregator_template | 4 int "Level $(prev-level-num) IRQ line for $(cur-level) level aggregator $(aggregator)" 8 This is the level $(prev-level-num) interrupt number for level 9 $(cur-level-num) interrupt aggregator $(aggregator).
|
/Zephyr-Core-3.7.0/tests/drivers/entropy/api/src/ |
D | main.c | 35 static int random_entropy(const struct device *dev, char *buffer, char num) in random_entropy() argument 40 (void)memset(buffer, num, BUFFER_LENGTH); in random_entropy() 53 if (buffer[BUFFER_LENGTH - 1] != num) { in random_entropy() 60 if (buffer[i] == num) { in random_entropy()
|
/Zephyr-Core-3.7.0/tests/drivers/tee/optee/src/ |
D | main.c | 37 int num; member 148 t_call.num = 0; in ZTEST() 184 t_call.num = 0; in ZTEST() 230 t_call.num = 0; in ZTEST() 262 switch (t_call.num) { in normal_call() 289 t_call.num++; in normal_call() 303 t_call.num = 0; in ZTEST() 314 t_call.num = 0; in ZTEST() 329 t_call.num = 0; in ZTEST() 336 t_call.num = 0; in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/boards/rak/rak11720/ |
D | rak11720_apollo3-pinctrl.dtsi | 76 ambiq,iom-num = <0>; 87 ambiq,iom-num = <1>; 98 ambiq,iom-num = <2>; 109 ambiq,iom-num = <3>; 120 ambiq,iom-num = <4>; 131 ambiq,iom-num = <5>; 148 ambiq,iom-num = <6>;
|
/Zephyr-Core-3.7.0/tests/crypto/tinycrypt/src/ |
D | test_ecc_utils.c | 122 int check_ecc_result(const int num, const char *name, in check_ecc_result() argument 130 TC_PRINT("\n Vector #%02d check %s - FAILURE:\n\n", num, name); in check_ecc_result() 137 TC_PRINT(" Vector #%02d check %s - success\n", num, name); in check_ecc_result() 142 int check_code(const int num, const int expected, in check_code() argument 147 TC_ERROR("\n Vector #%02d check - FAILURE:\n", num); in check_code() 153 TC_PRINT(" Vector #%02d check - success (%d=%d)\n", num, in check_code()
|
/Zephyr-Core-3.7.0/samples/modules/tflite-micro/magic_wand/train/ |
D | data_split_test.py | 36 self.num = len(lines) 39 self.assertEqual(len(self.data), self.num) 71 self.assertEqual(len(test_data_100), self.num) 72 self.assertEqual(len(test_data_0), (self.num - 2 * len_50)) 73 self.assertEqual(len(test_data_20), (self.num - len_60 - len_20))
|
/Zephyr-Core-3.7.0/samples/basic/threads/src/ |
D | main.c | 41 uint8_t num; member 46 .num = 0, 51 .num = 1, 68 ret, spec->pin, led->num); in blink()
|
/Zephyr-Core-3.7.0/tests/bluetooth/gatt/src/ |
D | main.c | 168 uint16_t num = 0; in ZTEST() local 177 bt_gatt_foreach_attr(test_attrs[0].handle, 0xffff, count_attr, &num); in ZTEST() 178 zassert_equal(num, 7, "Number of attributes don't match"); in ZTEST() 181 num = 0; in ZTEST() 183 count_attr, &num); in ZTEST() 184 zassert_equal(num, 1, "Number of attributes don't match"); in ZTEST() 208 num = 0; in ZTEST() 210 BT_UUID_GATT_CHRC, NULL, 0, count_attr, &num); in ZTEST() 211 zassert_equal(num, 2, "Number of attributes don't match"); in ZTEST()
|
/Zephyr-Core-3.7.0/samples/drivers/memc/boards/ |
D | apollo3p_evb.overlay | 43 mspi-hardware-ce-num = <0>; 91 ambiq,iom-num = <1>; 98 ambiq,iom-num = <2>; 105 ambiq,iom-num = <1>;
|
/Zephyr-Core-3.7.0/samples/drivers/mspi/mspi_async/boards/ |
D | apollo3p_evb.overlay | 43 mspi-hardware-ce-num = <0>; 91 ambiq,iom-num = <1>; 98 ambiq,iom-num = <2>; 105 ambiq,iom-num = <1>;
|