/Zephyr-latest/soc/altr/zephyr_nios2f/cpu/ |
D | ghrd_10m50da.qsys | 16 value = "5"; 24 value = "0"; 29 value = "1048576"; 37 value = "10"; 45 value = "0"; 53 value = "11"; 61 value = "1049152"; 69 value = "134217728"; 77 value = "8"; 85 value = "1049088"; [all …]
|
D | ghrd_10m50da.sopcinfo | 8 <value>1512455752</value> 17 <value></value> 26 <value>MAX10FPGA</value> 35 <value>10M50DAF484C6GES</value> 44 <value>6</value> 53 <value>-1</value> 63 <value>-1</value> 73 <value>-1</value> 83 <value>MAX 10</value> 92 <value>false</value> [all …]
|
/Zephyr-latest/tests/drivers/gnss/gnss_parse/src/ |
D | main.c | 14 int32_t value; member 18 {.str = "10", .base = 10, .value = 10}, 19 {.str = "1", .base = 10, .value = 1}, 20 {.str = "002", .base = 10, .value = 2}, 21 {.str = "-10", .base = 10, .value = -10}, 22 {.str = "-1", .base = 10, .value = -1}, 23 {.str = "-002", .base = 10, .value = -2}, 24 {.str = "30000000", .base = 10, .value = 30000000}, 25 {.str = "-30000000", .base = 10, .value = -30000000}, 26 {.str = "00", .base = 16, .value = 0}, [all …]
|
/Zephyr-latest/tests/net/lib/prometheus/counter/src/ |
D | main.c | 12 ({ .key = "test_counter", .value = "test" }), 17 * @details The test shall increment the counter value by 1 and check if the 18 * value is incremented correctly. 24 zassert_equal(test_counter_m.value, 0, "Counter value is not 0"); in ZTEST() 29 zassert_equal(test_counter_m.value, 1, "Counter value is not 1"); in ZTEST() 34 zassert_equal(test_counter_m.value, 2, "Counter value is not 2"); in ZTEST() 39 * @details The test shall increment the counter value by arbitrary value 40 * and check if the value is incremented correctly. 49 zassert_equal(test_counter_m.value, 4, "Counter value is not 4"); in ZTEST() 54 zassert_equal(test_counter_m.value, 4, "Counter value is not 4"); in ZTEST() [all …]
|
/Zephyr-latest/include/zephyr/dsp/ |
D | utils.h | 40 * @brief Convert a Q7 fixed-point value to a floating-point (float32_t) value with a left shift. 42 * @param src The input Q7 fixed-point value. 43 * @param m The number of bits to left shift the input value (0 to 7). 44 * @return The converted floating-point (float32_t) value. 49 * @brief Convert a Q15 fixed-point value to a floating-point (float32_t) value with a left shift. 51 * @param src The input Q15 fixed-point value. 52 * @param m The number of bits to left shift the input value (0 to 15). 53 * @return The converted floating-point (float32_t) value. 58 * @brief Convert a Q31 fixed-point value to a floating-point (float32_t) value with a left shift. 60 * @param src The input Q31 fixed-point value. [all …]
|
/Zephyr-latest/drivers/ethernet/dwc_xgmac/ |
D | eth_dwc_xgmac_priv.h | 39 #define MTL_RXQ_DMA_MAP_QxDDMACH_SET(q_pos, value) ((value & 0x1u) << (8u * q_pos + 7u)) argument 40 #define MTL_RXQ_DMA_MAP_QxMDMACH_SET(q_pos, value) ((value & 0x7u) << (8u * q_pos)) argument 50 #define DMA_MODE_SWR_SET(value) ((value) & 0x00000001) argument 56 #define DMA_MODE_INTM_SET(value) (((value) << 12) & 0x00003000) argument 60 #define DMA_SYSBUS_MODE_RD_OSR_LMT_SET(value) (((value) << 16) & 0x001f0000) argument 62 #define DMA_SYSBUS_MODE_WR_OSR_LMT_SET(value) (((value) << 24) & 0x1f000000) argument 64 #define DMA_SYSBUS_MODE_AAL_SET(value) (((value) << 12) & 0x00001000) argument 66 #define DMA_SYSBUS_MODE_EAME_SET(value) (((value) << 11) & 0x00000800) argument 68 #define DMA_SYSBUS_MODE_BLEN4_SET(value) (((value) << 1) & 0x00000002) argument 70 #define DMA_SYSBUS_MODE_BLEN8_SET(value) (((value) << 2) & 0x00000004) argument [all …]
|
/Zephyr-latest/kernel/ |
D | atomic_c.c | 51 atomic_val_t value) \ 54 return z_impl_##name((atomic_t *)target, value); \ 65 * This routine provides the compare-and-set operator. If the original value at 69 * If the original value at <target> does not equal <oldValue>, then the store 72 * The reading of the original value at <target>, the comparison, 73 * and the write of the new value (if it occurs) all happen atomically with 77 * @param old_value value to compare against 78 * @param new_value value to compare against 152 * This routine provides the atomic addition operator. The <value> is 153 * atomically added to the value at <target>, placing the result at <target>, [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | uuid.h | 56 /** UUID value, 16-bit in host endianness. */ 63 /** UUID value, 32-bit in host endianness. */ 70 /** UUID value, 128-bit in little-endian format. */ 76 * @param value 16-bit UUID value in host endianness. 78 #define BT_UUID_INIT_16(value) \ argument 81 .val = (value), \ 86 * @param value 32-bit UUID value in host endianness. 88 #define BT_UUID_INIT_32(value) \ argument 91 .val = (value), \ 96 * @param value 128-bit UUID array values in little-endian format. [all …]
|
/Zephyr-latest/subsys/net/lib/prometheus/ |
D | counter.c | 17 int prometheus_counter_add(struct prometheus_counter *counter, uint64_t value) in prometheus_counter_add() argument 23 counter->value += value; in prometheus_counter_add() 28 int prometheus_counter_set(struct prometheus_counter *counter, uint64_t value) in prometheus_counter_set() argument 36 if (value == counter->value) { in prometheus_counter_set() 40 old_value = counter->value; in prometheus_counter_set() 41 if (value < old_value) { in prometheus_counter_set() 42 LOG_DBG("Cannot set counter to a lower value (%" PRIu64 " < %" PRIu64 ")", in prometheus_counter_set() 43 value, old_value); in prometheus_counter_set() 47 counter->value += (value - old_value); in prometheus_counter_set()
|
/Zephyr-latest/tests/posix/common/src/ |
D | timer.c | 29 LOG_DBG("Handler Signal value %d for %d times", val.sival_int, exp_count); in handler() 36 struct itimerspec value, ovalue; in test_timer() local 48 value.it_value.tv_sec = DURATION_SECS; in test_timer() 49 value.it_value.tv_nsec = DURATION_NSECS; in test_timer() 50 value.it_interval.tv_sec = PERIOD_SECS; in test_timer() 51 value.it_interval.tv_nsec = PERIOD_NSECS; in test_timer() 52 zassert_ok(timer_settime(timerid, 0, &value, &ovalue)); in test_timer() 55 zassert_ok(timer_gettime(timerid, &value)); in test_timer() 57 LOG_DBG("Timer fires every %d secs and %d nsecs", (int)value.it_interval.tv_sec, in test_timer() 58 (int)value.it_interval.tv_nsec); in test_timer() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/classic/ |
D | hfp_hf.h | 87 * This callback provides service indicator value to the application 90 * @param value service indicator value received from the AG. 92 void (*service)(struct bt_conn *conn, uint32_t value); 95 * This callback provides call indicator value to the application 98 * @param value call indicator value received from the AG. 100 void (*call)(struct bt_conn *conn, uint32_t value); 103 * This callback provides call setup indicator value to the application 106 * @param value call setup indicator value received from the AG. 108 void (*call_setup)(struct bt_conn *conn, uint32_t value); 111 * This callback provides call held indicator value to the application [all …]
|
/Zephyr-latest/samples/bluetooth/handsfree/src/ |
D | main.c | 32 static void service(struct bt_conn *conn, uint32_t value) in service() argument 34 printk("Service indicator value: %u\n", value); in service() 37 static void call(struct bt_conn *conn, uint32_t value) in call() argument 39 printk("Call indicator value: %u\n", value); in call() 42 static void call_setup(struct bt_conn *conn, uint32_t value) in call_setup() argument 44 printk("Call Setup indicator value: %u\n", value); in call_setup() 47 static void call_held(struct bt_conn *conn, uint32_t value) in call_held() argument 49 printk("Call Held indicator value: %u\n", value); in call_held() 52 static void signal(struct bt_conn *conn, uint32_t value) in signal() argument 54 printk("Signal indicator value: %u\n", value); in signal() [all …]
|
/Zephyr-latest/soc/litex/litex_vexriscv/ |
D | soc.h | 71 static inline void litex_write8(unsigned char value, unsigned long addr) in litex_write8() argument 74 sys_write8(value, addr); in litex_write8() 80 static inline void litex_write16(unsigned short value, unsigned long addr) in litex_write16() argument 83 sys_write8(value >> 8, addr); in litex_write16() 84 sys_write8(value, addr + 0x4); in litex_write16() 86 sys_write16(value, addr); in litex_write16() 92 static inline void litex_write32(unsigned int value, unsigned long addr) in litex_write32() argument 95 sys_write8(value >> 24, addr); in litex_write32() 96 sys_write8(value >> 16, addr + 0x4); in litex_write32() 97 sys_write8(value >> 8, addr + 0x8); in litex_write32() [all …]
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | cmakecache.py | 21 STRING str OR list of str (if ';' is in the value) 23 INTERNAL str OR list of str (if ';' is in the value) 37 =(?P<value>.*) # value 70 # (The value of an entry could contain a comment character). 82 name, type_, value = (m.group(g) for g in ('name', 'type', 'value')) 85 value = cls._to_bool(value) 89 # If the value is a CMake list (i.e. is a string which contains a ';'), 91 elif type_ in ['STRING', 'INTERNAL'] and ';' in value: 92 value = value.split(';') 94 return CMakeCacheEntry(name, value) [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | atomic_builtin.h | 39 static inline atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) in atomic_add() argument 41 return __atomic_fetch_add(target, value, __ATOMIC_SEQ_CST); in atomic_add() 44 static inline atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value) in atomic_sub() argument 46 return __atomic_fetch_sub(target, value, __ATOMIC_SEQ_CST); in atomic_sub() 69 static inline atomic_val_t atomic_set(atomic_t *target, atomic_val_t value) in atomic_set() argument 73 * writes value into *ptr, and returns the previous contents of *ptr. in atomic_set() 75 return __atomic_exchange_n(target, value, __ATOMIC_SEQ_CST); in atomic_set() 78 static inline atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value) in atomic_ptr_set() argument 80 return __atomic_exchange_n(target, value, __ATOMIC_SEQ_CST); in atomic_ptr_set() 93 static inline atomic_val_t atomic_or(atomic_t *target, atomic_val_t value) in atomic_or() argument [all …]
|
D | atomic.h | 57 * @param i Value to assign to atomic variable. 68 * @param p Pointer value to assign to atomic pointer variable. 117 * Atomically get a value and then test whether bit number @a bit of @a target is set or not. 137 * Atomically clear bit number @a bit of @a target and return its old value. 160 * Atomically set bit number @a bit of @a target and return its old value. 217 * @brief Atomically set a bit to a given value. 219 * Atomically set bit number @a bit of @a target to value @a val. 243 * value of @a target equals @a old_value, @a target is set to @a new_value. 244 * If the current value of @a target does not equal @a old_value, @a target 250 * @param old_value Original value to compare against. [all …]
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_senml_cbor.cddl | 8 ? ( vi => int .size 8 // ; Integer Value 9 vf => float // ; Float Value 10 vs => tstr // ; String Value 11 vb => bool // ; Boolean Value 12 vd => bstr // ; Data Value 13 vlo => tstr ), ; Object Link Value 14 0*5 key-value-pair ; To handle unordered maps; length-first ordered map keys 18 key-value-pair = ( int => value ) 20 value = tstr / bstr / int .size 8 / float / bool
|
/Zephyr-latest/tests/net/lib/prometheus/gauge/src/ |
D | main.c | 12 ({ .key = "test", .value = "gauge" }), NULL); 17 * @details The test shall set the gauge value to 1 and check if the 18 * value is set correctly. 20 * @details The test shall set the gauge value to 2 and check if the 21 * value is set correctly. 27 zassert_equal(test_gauge_m.value, 0, "Gauge value is not 0"); in ZTEST() 32 zassert_equal(test_gauge_m.value, 1, "Gauge value is not 1"); in ZTEST() 37 zassert_equal(test_gauge_m.value, 2, "Gauge value is not 2"); in ZTEST()
|
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/ |
D | ztest_mock.h | 27 * @brief Tell function @a func to expect the value @a value for @a param 29 * When using ztest_check_expected_value(), tell that the value of @a param 30 * should be @a value. The value will internally be stored as an `uintptr_t`. 33 * @param param Parameter for which the value should be set 34 * @param value Value for @a param 36 #define ztest_expect_value(func, param, value) \ argument 38 (uintptr_t)(value)) 41 * @brief If @a param doesn't match the value set by ztest_expect_value(), 44 * This will first check that does @a param have a value to be expected, and 45 * then checks whether the value of the parameter is equal to the expected [all …]
|
/Zephyr-latest/drivers/tee/optee/ |
D | optee_rpc_cmd.h | 25 * [out] value[0].a Number of seconds 26 * [out] value[0].b Number of nano seconds. 42 * [in] value[0].a OPTEE_RPC_NOTIFICATION_WAIT 43 * [in] value[0].b notification value 46 * [in] value[0].a OPTEE_RPC_NOTIFICATION_SEND 47 * [in] value[0].b notification value 56 * [in] value[0].a Number of milliseconds to suspend 63 * [in] value[0].a Type of memory one of 65 * [in] value[0].b Requested size 66 * [in] value[0].c Required alignment [all …]
|
/Zephyr-latest/include/zephyr/net/prometheus/ |
D | counter.h | 34 /** Value of the Prometheus counter metric */ 35 uint64_t value; member 56 * ({ .key = "http_request", .value = "request_count" }), 68 .value = 0ULL, \ 76 * @brief Increment the value of a Prometheus counter metric 77 * Increments the value of the specified counter metric by arbitrary amount. 79 * @param value Amount to increment the counter by. 82 int prometheus_counter_add(struct prometheus_counter *counter, uint64_t value); 85 * @brief Increment the value of a Prometheus counter metric 86 * Increments the value of the specified counter metric by one. [all …]
|
/Zephyr-latest/samples/drivers/mbox_data/ |
D | sample.yaml | 21 - "Client received \\(on channel 2\\) value: 1" 22 - "Client send \\(on channel 3\\) value: 2" 23 - "Client received \\(on channel 2\\) value: 3" 24 - "Client send \\(on channel 3\\) value: 4" 25 - "Client received \\(on channel 2\\) value: 41" 26 - "Client send \\(on channel 3\\) value: 42" 27 - "Client received \\(on channel 2\\) value: 97" 28 - "Client send \\(on channel 3\\) value: 98" 29 - "Client received \\(on channel 2\\) value: 99"
|
/Zephyr-latest/modules/hal_nordic/nrfx/ |
D | nrfx_glue.h | 137 * @brief When set to a non-zero value, this macro specifies that 159 * @brief Macro for storing a value to an atomic object and returning its previous value. 162 * @param[in] value Value to store. 164 * @return Previous value of the atomic object. 166 #define NRFX_ATOMIC_FETCH_STORE(p_data, value) atomic_set(p_data, value) argument 169 …rief Macro for running a bitwise OR operation on an atomic object and returning its previous value. 172 * @param[in] value Value of the second operand in the OR operation. 174 * @return Previous value of the atomic object. 176 #define NRFX_ATOMIC_FETCH_OR(p_data, value) atomic_or(p_data, value) argument 180 * and returning its previous value. [all …]
|
/Zephyr-latest/boards/native/nrf_bsim/common/cmsis/ |
D | cmsis_instr.h | 72 * \param [in] value Value to store 76 static inline uint32_t __STREXB(uint8_t value, volatile uint8_t *ptr) in __STREXB() argument 78 *ptr = value; in __STREXB() 85 * \param [in] value Value to store 89 static inline uint32_t __STREXH(uint16_t value, volatile uint16_t *ptr) in __STREXH() argument 91 *ptr = value; in __STREXH() 98 * \param [in] value Value to store 102 static inline uint32_t __STREXW(uint32_t value, volatile uint32_t *ptr) in __STREXW() argument 104 *ptr = value; in __STREXW() 110 * \details Executes an ~exclusive~ LDR instruction for 8 bit value. [all …]
|
/Zephyr-latest/samples/boards/st/ccm/ |
D | README.rst | 25 that don't need to have a defined initial value (for example 67 ccm_data_var_8 addr: 0x10000014 value: 0x12 68 ccm_data_var_16 addr: 0x10000016 value: 0x3456 69 ccm_data_var_32 addr: 0x10000018 value: 0x789abcde 70 ccm_data_array addr: 0x1000001c size: 5 value: 72 ccm_bss_array addr: 0x10000000 size: 7 value: 74 ccm_noinit_array addr: 0x10000008 size: 11 value: 78 ccm_data_var_8 addr: 0x10000014 value: 0xed 79 ccm_data_var_16 addr: 0x10000016 value: 0xcba9 80 ccm_data_var_32 addr: 0x10000018 value: 0x87654321 [all …]
|