/Zephyr-latest/tests/drivers/pwm/pwm_loopback/src/ |
D | test_pwm_loopback.c | 23 void get_test_pwms(struct test_pwm *out, struct test_pwm *in) in get_test_pwms() argument 32 in->dev = DEVICE_DT_GET(PWM_LOOPBACK_IN_CTLR); in get_test_pwms() 33 in->pwm = PWM_LOOPBACK_IN_CHANNEL; in get_test_pwms() 34 in->flags = PWM_LOOPBACK_IN_FLAGS; in get_test_pwms() 35 zassert_true(device_is_ready(in->dev), "pwm loopback input device is not ready"); in get_test_pwms() 41 struct test_pwm in; in test_capture() local 47 get_test_pwms(&out, &in); in test_capture() 74 err = pwm_capture_nsec(in.dev, in.pwm, flags, &period_capture, in test_capture() 79 err = pwm_capture_usec(in.dev, in.pwm, flags, &period_capture, in test_capture() 88 pwm_disable_capture(in.dev, in.pwm); in test_capture() [all …]
|
D | main.c | 14 struct test_pwm in; in pwm_loopback_setup() local 17 get_test_pwms(&out, &in); in pwm_loopback_setup() 20 k_object_access_grant(in.dev, k_current_get()); in pwm_loopback_setup() 27 struct test_pwm in; in pwm_loopback_after() local 33 get_test_pwms(&out, &in); in pwm_loopback_after() 35 err = pwm_disable_capture(in.dev, in.pwm); in pwm_loopback_after()
|
/Zephyr-latest/tests/posix/net/src/ |
D | inet_ntoa.c | 14 struct in_addr in; in ZTEST() local 16 in.s_addr = htonl(0x7f000001); in ZTEST() 17 zassert_mem_equal(inet_ntoa(in), "127.0.0.1", strlen("127.0.0.1") + 1); in ZTEST() 19 in.s_addr = htonl(0); in ZTEST() 20 zassert_mem_equal(inet_ntoa(in), "0.0.0.0", strlen("0.0.0.0") + 1); in ZTEST() 22 in.s_addr = htonl(0xffffffff); in ZTEST() 23 zassert_mem_equal(inet_ntoa(in), "255.255.255.255", strlen("255.255.255.255") + 1); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_rw_plain_text.c | 179 static int plain_text_read_int(struct lwm2m_input_context *in, int64_t *value, in plain_text_read_int() argument 186 if (in->offset >= in->in_cpkt->offset) { in plain_text_read_int() 194 while (in->offset < in->in_cpkt->offset) { in plain_text_read_int() 195 if (buf_read_u8(&tmp, CPKT_BUF_READ(in->in_cpkt), in plain_text_read_int() 196 &in->offset) < 0) { in plain_text_read_int() 206 in->offset--; in plain_text_read_int() 220 static int get_s32(struct lwm2m_input_context *in, int32_t *value) in get_s32() argument 225 len = plain_text_read_int(in, &tmp, true); in get_s32() 233 static int get_s64(struct lwm2m_input_context *in, int64_t *value) in get_s64() argument 235 return plain_text_read_int(in, value, true); in get_s64() [all …]
|
D | lwm2m_rw_cbor.c | 236 static int get_s64(struct lwm2m_input_context *in, int64_t *value) in get_s64() argument 238 ZCBOR_STATE_D(states, 0, ICTX_BUF_R_PTR(in), ICTX_BUF_R_LEFT_SZ(in), 1, 0); in get_s64() 245 int len = ICTX_CBOR_R_SZ(states[0].payload, in); in get_s64() 247 in->offset += len; in get_s64() 252 static int get_s32(struct lwm2m_input_context *in, int32_t *value) in get_s32() argument 254 ZCBOR_STATE_D(states, 0, ICTX_BUF_R_PTR(in), ICTX_BUF_R_LEFT_SZ(in), 1, 0); in get_s32() 262 int len = ICTX_CBOR_R_SZ(states[0].payload, in); in get_s32() 264 in->offset += len; in get_s32() 269 static int get_float(struct lwm2m_input_context *in, double *value) in get_float() argument 271 ZCBOR_STATE_D(states, 0, ICTX_BUF_R_PTR(in), ICTX_BUF_R_LEFT_SZ(in), 1, 0); in get_float() [all …]
|
D | lwm2m_rw_oma_tlv.c | 218 static int oma_tlv_get(struct oma_tlv *tlv, struct lwm2m_input_context *in, in oma_tlv_get() argument 228 tmp_offset = in->offset; in oma_tlv_get() 229 ret = buf_read_u8(&buf[0], CPKT_BUF_READ(in->in_cpkt), &tmp_offset); in oma_tlv_get() 238 ret = buf_read_u8(&buf[1], CPKT_BUF_READ(in->in_cpkt), &tmp_offset); in oma_tlv_get() 247 ret = buf_read_u8(&buf[1], CPKT_BUF_READ(in->in_cpkt), in oma_tlv_get() 262 ret = buf_read_u8(&buf[1], CPKT_BUF_READ(in->in_cpkt), in oma_tlv_get() 278 in->offset = tmp_offset; in oma_tlv_get() 285 in->offset = tmp_offset; in oma_tlv_get() 581 static int get_number(struct lwm2m_input_context *in, int64_t *value, in get_number() argument 589 size = oma_tlv_get(&tlv, in, false); in get_number() [all …]
|
D | lwm2m_object.h | 487 struct lwm2m_input_context in; member 579 int (*get_s32)(struct lwm2m_input_context *in, int32_t *value); 580 int (*get_s64)(struct lwm2m_input_context *in, int64_t *value); 581 int (*get_time)(struct lwm2m_input_context *in, time_t *value); 582 int (*get_string)(struct lwm2m_input_context *in, uint8_t *buf, 584 int (*get_float)(struct lwm2m_input_context *in, double *value); 585 int (*get_bool)(struct lwm2m_input_context *in, bool *value); 586 int (*get_opaque)(struct lwm2m_input_context *in, uint8_t *buf, 589 int (*get_objlnk)(struct lwm2m_input_context *in, 612 static inline void engine_set_in_user_data(struct lwm2m_input_context *in, in engine_set_in_user_data() argument [all …]
|
/Zephyr-latest/samples/sensor/bq274xx/ |
D | README.rst | 12 - Voltage, in volts 13 - Average current, in amps 14 - Standby current, in amps 15 - Maximum load current, in amps 17 - State of charge measurement in percentage 18 - Full Charge Capacity in mAh 19 - Remaining Charge Capacity in mAh 20 - Nominal Available Capacity in mAh 21 - Full Available Capacity in mAh 22 - Average power in mW [all …]
|
/Zephyr-latest/tests/ztest/fail/ |
D | Kconfig | 8 bool "Add a failed assert in the after phase" 11 bool "Add a failed assert in the teardown phase" 14 bool "Add a failed assume in the after phase" 17 bool "Add a failed assume in the teardown phase" 20 bool "Add a call to ztest_test_pass() in the after phase" 23 bool "Add a call to ztest_test_pass() in the teardown phase" 32 default "ERROR: cannot fail in test phase 'after()', bailing" if ZTEST_FAIL_TEST_ASSERT_AFTER 33 default "ERROR: cannot fail in test phase 'teardown()', bailing" if ZTEST_FAIL_TEST_ASSERT_TEARDOWN 34 default "ERROR: cannot skip in test phase 'after()', bailing" if ZTEST_FAIL_TEST_ASSUME_AFTER 35 default "ERROR: cannot skip in test phase 'teardown()', bailing" if ZTEST_FAIL_TEST_ASSUME_TEARDOWN [all …]
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/ |
D | Kconfig | 19 int "Maximum thread count in CMSIS RTOS V2 application" 23 Mention max number of threads in CMSIS RTOS V2 compliant application. 28 int "Maximum dynamic thread count in CMSIS RTOS V2 application" 32 Mention max number of dynamic threads in CMSIS RTOS V2 compliant 38 int "Max stack size threads can be allocated in CMSIS RTOS V2 application" 42 Mention max stack size threads can be allocated in CMSIS RTOS V2 application. 45 int "Dynamic stack size threads are allocated in CMSIS RTOS V2 application" 49 Mention dynamic stack size threads are allocated in CMSIS RTOS V2 application. 52 int "Maximum timer count in CMSIS RTOS V2 application" 56 Mention maximum number of timers in CMSIS RTOS V2 compliant application. [all …]
|
/Zephyr-latest/modules/ |
D | Kconfig.mcux | 24 Set if the 12B1MSPS SAR ADC module is present in the SoC. 29 Set if the 12-bit ADC (ADC12) module is present in the SoC. 34 Set if the 16-bit ADC (ADC16) module is present in the SoC. 39 Set if the LPADC module is present in the SoC. 44 Set if the L1 or L2 cache is present in the SoC. 49 Set if the clock control module (CCM) module is present in the SoC. 54 Set if the revision 2 of clock control module (CCM) module is present in the SoC. 55 This is present in SoC's such as RT1170 60 Set if the syscon module is present in the SoC. 66 present in the SoC. [all …]
|
/Zephyr-latest/tests/arch/arm/arm_runtime_nmi/ |
D | README.txt | 34 Trigger NMI in 10s: 0 s 35 Trigger NMI in 10s: 1 s 36 Trigger NMI in 10s: 2 s 37 Trigger NMI in 10s: 3 s 38 Trigger NMI in 10s: 4 s 39 Trigger NMI in 10s: 5 s 40 Trigger NMI in 10s: 6 s 41 Trigger NMI in 10s: 7 s 42 Trigger NMI in 10s: 8 s 43 Trigger NMI in 10s: 9 s
|
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/src/ |
D | cmsis_dsp_wrapper.c | 18 void vec_power_int16(const int16_t *in, int64_t *out, int rsh, uint32_t length) in vec_power_int16() argument 21 arm_power_q15(in, length, out); in vec_power_int16() 24 void vec_power_int32(const int32_t *in, int64_t *out, int rsh, uint32_t length) in vec_power_int32() argument 27 arm_power_q31(in, length, out); in vec_power_int32() 30 void fft_real32(int32_t *in, int32_t *out, int length) in fft_real32() argument 44 arm_rfft_q31(&rFFT, in, out); in fft_real32() 48 const int32_t *in, int32_t *out, int block_size) in real_block_iir_32() argument 67 arm_biquad_cascade_df1_q31(&handle, in, out, block_size); in real_block_iir_32()
|
D | nature_dsp_wrapper.c | 26 void vec_power_int16(const int16_t *in, int64_t *out, int rsh, uint32_t length) in vec_power_int16() argument 29 out[0] = vec_power16x16(in, rsh, length); in vec_power_int16() 32 void vec_power_int32(const int32_t *in, int64_t *out, int rsh, uint32_t length) in vec_power_int32() argument 35 out[0] = vec_power32x32(in, rsh, length); in vec_power_int32() 38 void fft_real32(int32_t *in, int32_t *out, int length) in fft_real32() argument 46 fft_real32x32(out, in, rfft32_32, FFT_SCALING_OPTION); in fft_real32() 50 const int32_t *in, int32_t *out, int block_size) in real_block_iir_32() argument 70 bqriir32x32_df1(handle, NULL, out, in, block_size); in real_block_iir_32()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | keys.h | 18 int bt_mesh_key_import(enum bt_mesh_key_type type, const uint8_t in[16], struct bt_mesh_key *out); 19 int bt_mesh_key_export(uint8_t out[16], const struct bt_mesh_key *in); 26 static inline int bt_mesh_key_import(enum bt_mesh_key_type type, const uint8_t in[16], in bt_mesh_key_import() 29 memcpy(out, in, 16); in bt_mesh_key_import() 33 static inline int bt_mesh_key_export(uint8_t out[16], const struct bt_mesh_key *in) in bt_mesh_key_export() argument 35 memcpy(out, in, 16); in bt_mesh_key_export()
|
/Zephyr-latest/tests/posix/common/ |
D | Kconfig | 11 This option is specific to posix_apis.test_realtime in clock.c 14 int "Time to sleep between iterations in milliseconds" 18 This option is specific to posix_apis.test_realtime in clock.c 21 int "Maximum overshoot (error) in milliseconds" 25 This option is specific to posix_apis.test_realtime in clock.c 28 int "Number of loops in semaphore test" 32 This option is specific to semaphore.test_named_semaphore in semaphore.c
|
/Zephyr-latest/boards/common/ |
D | renode_robot.board.cmake | 5 # `--variable` is a renode-test argument, for setting a variable that can be later used in a .robot… 6 # ELF: used in common.robot to set the `elf` variable in the default .resc script defined i… 7 # RESC: path to the .resc script, defined in board.cmake 8 # UART: default UART used by Robot in tests, defined in board.cmake 10 # RESULTS_DIR: directory in which Robot artifacts will be generated after running a testsuite
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/ |
D | Kconfig | 18 int "Max stack size threads can be allocated in CMSIS RTOS application" 22 Mention max stack size threads can be allocated in CMSIS RTOS application. 25 int "Maximum timer count in CMSIS application" 29 Mention maximum number of timers in CMSIS compliant application. 32 int "Maximum mutex count in CMSIS application" 36 Mention maximum number of mutexes in CMSIS compliant application. 39 int "Maximum semaphore count in CMSIS application" 43 Mention maximum number of semaphores in CMSIS compliant application.
|
/Zephyr-latest/samples/arch/smp/pktqueue/ |
D | README.rst | 4 Use SMP to process multiple packet headers in parallel. 11 suite specified in RFC1812 "Requirements for IP Version 4 Routers" which 13 provides an indication of the potential performance of a microprocessor in an 16 At the beginning of the application the array (size defined in SIZE_OF_QUEUE) 18 defined in SIZE_OF_HEADER and calculated crc16 header checksum 19 in appropriate field defined by CRC_BYTE_1 and CRC_BYTE_2. The contents of 38 The headers then are stored in multiple "sender" queues (the number is defined 39 in QUEUE_NUM). After that for each pair of "sender"/"receiver" queues one thread 42 Then in each queue-related thread several(defined in THREADS_NUM) threads are created. Each 44 crc is correct put the header to "receiver" queue. Only one thread in a [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-1.12.rst | 30 * A suitably sized k_malloc() request can result in a smaller than 31 requested buffer. Use of that buffer could result in writes to 33 issue in k_malloc and k_calloc. 35 * kernel: mempool: Check for overflow in k_malloc() 36 * kernel: mempool: Always check for overflow in k_calloc() 64 * arch: arc: bug fixes in irq_load 65 * arch: arc: bug fixes and optimization in exception handling 69 * arch: arm: thread built-in stack guard implementation 160 * TCP code refactoring. TCP code is now in one place in tcp.c 161 * Support MSG_DONTWAIT and MSG_PEEK in recvfrom() socket call. [all …]
|
D | release-notes-2.6.rst | 16 * Removed legacy TCP stack support which was deprecated in 2.4 21 * Added an example standalone Zephyr application in its own Git repository: 31 More detailed information can be found in: 61 Deprecated in this release 66 :c:macro:`DT_INST_CLOCKS_LABEL` was deprecated in favor of utilizing 72 :c:macro:`DT_INST_PWMS_LABEL` was deprecated in favor of utilizing 80 :c:macro:`DT_INST_IO_CHANNELS_LABEL` were deprecated in favor of utilizing 86 :c:macro:`DT_INST_DMAS_LABEL_BY_NAME` were deprecated in favor of utilizing 89 * USB HID specific macros in ``<include/usb/class/usb_hid.h>`` are deprecated 90 in favor of new common HID macros defined in ``<include/usb/class/hid.h>``. [all …]
|
/Zephyr-latest/scripts/dts/python-devicetree/tests/ |
D | test-multidir.dts | 15 in-dir-1 { 16 compatible = "in-dir-1"; 18 in-dir-2 { 19 compatible = "in-dir-2";
|
/Zephyr-latest/samples/subsys/llext/modules/ |
D | README.rst | 5 Call a function in a loadable extension module, 6 either built-in or loaded at runtime. 11 This sample demonstrates the use of the :ref:`llext` subsystem in Zephyr. The 16 implemented in :zephyr_file:`samples/subsys/llext/modules/src/hello_world_ext.c`. 17 This is achieved in two different ways, depending on the value of the Kconfig 21 application. The caller code used in this case is in 24 - if it is ``m``, the function is compiled as an llext and it is included in 26 load the extension and call the function. The caller code is in 33 executed in QEMU emulation on the :zephyr:board:`qemu_xtensa <qemu_xtensa>` or 40 Zephyr in the same binary. This can be verified via the following commands: [all …]
|
/Zephyr-latest/drivers/serial/ |
D | Kconfig.nxp_s32 | 18 int "The maximum duration to transfer a byte data in blocking mode" 21 Maximum duration in micro-seconds to transfer a byte data in blocking mode. 24 int "The maximum duration to receive a byte data in blocking mode" 27 Maximum duration in micro-seconds to receive a byte data in blocking mode.
|
/Zephyr-latest/subsys/fs/ext2/ |
D | ext2_format.c | 74 static void default_directory_inode(struct ext2_disk_inode *in, uint32_t nblocks, in default_directory_inode() argument 77 LOG_DBG("Set directory inode: %p", in); in default_directory_inode() 78 in->i_mode = sys_cpu_to_le16(EXT2_DEF_DIR_MODE); in default_directory_inode() 79 in->i_uid = 0; in default_directory_inode() 80 in->i_size = sys_cpu_to_le32(nblocks * cfg->block_size); in default_directory_inode() 81 in->i_atime = 0; in default_directory_inode() 82 in->i_ctime = 0; in default_directory_inode() 83 in->i_mtime = 0; in default_directory_inode() 84 in->i_dtime = 0; in default_directory_inode() 85 in->i_gid = 0; in default_directory_inode() [all …]
|