/Zephyr-latest/scripts/utils/ |
D | gen_util_macros.py | 35 def gen_util_listify(limit:int): 52 for i in range(2, limit + 3): 63 def gen_util_internal_is_eq(limit): argument 76 for i in range(0, limit + 1): 85 def gen_util_internal_util_inc(limit): argument 98 for i in range(0, limit + 2): 107 def gen_util_internal_util_dec(limit): argument 121 for i in range(1, limit + 2): 130 def gen_util_internal_util_x2(limit): argument 143 for i in range(0, limit + 1): [all …]
|
/Zephyr-latest/lib/os/ |
D | sem.c | 48 unsigned int limit) in sys_sem_init() argument 50 if ((sem == NULL) || (limit == SYS_SEM_MINIMUM) || in sys_sem_init() 51 (initial_count > limit) || (limit > INT_MAX)) { in sys_sem_init() 56 sem->limit = limit; in sys_sem_init() 67 SYS_SEM_MINIMUM, sem->limit); in sys_sem_give() 74 } else if (old_value >= sem->limit) { in sys_sem_give() 109 unsigned int limit) in sys_sem_init() argument 111 k_sem_init(&sem->kernel_sem, initial_count, limit); in sys_sem_init()
|
/Zephyr-latest/include/zephyr/arch/arm/mpu/ |
D | arm_mpu_v8.h | 184 #define REGION_RAM_ATTR(limit) \ argument 190 .r_limit = limit - 1, /* Region Limit */ \ 193 #define REGION_RAM_TEXT_ATTR(limit) \ argument 198 .r_limit = limit - 1, /* Region Limit */ \ 201 #define REGION_RAM_RO_ATTR(limit) \ argument 207 .r_limit = limit - 1, /* Region Limit */ \ 209 #define REGION_RAM_NOCACHE_ATTR(limit) \ argument 215 .r_limit = limit - 1, /* Region Limit */ \ 221 #define REGION_FLASH_ATTR(limit) \ argument 226 .r_limit = limit - 1, /* Region Limit */ \ [all …]
|
/Zephyr-latest/arch/x86/ |
D | gen_gdt.py | 84 def chop_base_limit(base, limit): argument 90 limit_lo = limit & 0xFFFF 91 limit_hi = (limit >> 16) & 0xF 99 def create_code_data_entry(base, limit, dpl, flags, access): argument 102 (base, limit, dpl, flags, access)) 105 limit) 128 def create_tss_entry(base, limit, dpl): argument 130 debug("create TSS entry: %x %x %x" % (base, limit, dpl)) 134 limit)
|
/Zephyr-latest/kernel/ |
D | sem.c | 46 unsigned int limit) in z_impl_k_sem_init() argument 51 CHECKIF(limit == 0U || initial_count > limit) { in z_impl_k_sem_init() 58 sem->limit = limit; in z_impl_k_sem_init() 77 unsigned int limit) in z_vrfy_k_sem_init() argument 80 return z_impl_k_sem_init(sem, initial_count, limit); in z_vrfy_k_sem_init() 110 sem->count += (sem->count != sem->limit) ? 1U : 0U; in z_impl_k_sem_give()
|
/Zephyr-latest/arch/arm64/core/cortex_r/ |
D | arm_mpu.c | 182 uint64_t rlar = (region_conf->limit - 1) & MPU_RLAR_LIMIT_Msk; in region_init() 196 .limit = (reg).dt_addr + (reg).dt_size, \ 389 uint64_t limit = base + size; in dynamic_areas_init() local 403 if (base >= region->base && limit <= region->limit) { in dynamic_areas_init() 433 uint64_t base, uint64_t limit, in set_region() argument 437 region->limit = limit; in set_region() 473 uint64_t limit) in get_underlying_region() argument 478 if (base >= region->base && limit <= region->limit) { in get_underlying_region() 497 uint64_t base, uint64_t limit, struct arm_mpu_region_attr *attr) in _insert_region() argument 511 set_region(&tmp_region->region_conf, base, limit, attr); in _insert_region() [all …]
|
/Zephyr-latest/drivers/entropy/ |
D | entropy_smartbond.c | 211 const uint8_t *limit) in rng_pool_put_bytes() argument 216 for (; bytes < limit; ++bytes) { in rng_pool_put_bytes() 238 const uint8_t *const limit = word + 4; in smartbond_trng_isr() local 253 limit); in smartbond_trng_isr() 254 if (ptr < limit) { in smartbond_trng_isr() 261 ptr, limit); in smartbond_trng_isr() 264 if (ptr < limit) { in smartbond_trng_isr() 331 const uint8_t *const limit = bytes + 4; in entropy_smartbond_get_entropy_isr() local 353 while (ptr < limit && len) { in entropy_smartbond_get_entropy_isr() 357 if (unlikely(ptr < limit)) { in entropy_smartbond_get_entropy_isr() [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | sem.h | 38 int limit; member 67 .limit = _count_limit \ 98 unsigned int limit);
|
/Zephyr-latest/tests/subsys/modem/mock/ |
D | modem_backend_mock.c | 44 size = (mock->limit < size) ? mock->limit : size; in modem_backend_mock_transmit() 71 size = (mock->limit < size) ? mock->limit : size; in modem_backend_mock_receive() 115 mock->limit = config->limit; in modem_backend_mock_init()
|
D | modem_backend_mock.h | 37 size_t limit; member 47 size_t limit; member
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | pwm.dtsi | 14 lower-temperature-limit = <(-100)>; 15 higher-temperature-limit = <250>;
|
/Zephyr-latest/samples/sensor/adc_cmp_npcx/ |
D | README.rst | 13 This application is a voltage comparator with hysteresis, upper limit is 14 set at 1 V while lower limit is 250 mV. Initially configured to detect 15 upper limit.
|
/Zephyr-latest/drivers/sensor/microchip/tcn75a/ |
D | tcn75a_trigger.c | 84 uint16_t limit, temp_lsb; in tcn75a_attr_get() local 107 limit = sys_get_be16(rx_buf); in tcn75a_attr_get() 109 LOG_DBG("Read 0x%02X from %s", limit, config_reg == TCN75A_THYST_REG ? "THYST" : "TSET"); in tcn75a_attr_get() 112 val->val1 = limit >> TCN75A_TEMP_MSB_POS; in tcn75a_attr_get() 113 temp_lsb = (limit & TCN75A_TEMP_LSB_MASK); in tcn75a_attr_get()
|
/Zephyr-latest/doc/kernel/services/synchronization/ |
D | semaphores.rst | 24 * A **limit** that indicates the maximum value the semaphore's count 28 to a non-negative value that is less than or equal to its limit. 31 increments its count, unless the count is already equal to the limit. 41 You may initialize a "full" semaphore (count equal to limit) to limit the number 43 initialize an empty semaphore (count equal to 0, with a limit greater than 0) 61 semaphore by setting its count to 0 and its limit to 1.
|
/Zephyr-latest/dts/xtensa/ |
D | dc233c.dtsi | 22 * Although RAM is of size 128MB (0x08000000), limit this to 16MB so 32 * Although ROM is of size 32MB (0x02000000), limit this to 16KB so
|
/Zephyr-latest/include/zephyr/drivers/led/ |
D | is31fl3733.h | 34 int is31fl3733_current_limit(const struct device *dev, uint8_t limit);
|
/Zephyr-latest/boards/ezurio/bl654_usb/ |
D | Kconfig.defconfig | 13 # correctly, after Nordic MBR, and limit the maximum size to not protude into 18 # so no override or limit is necessary.
|
/Zephyr-latest/subsys/zbus/ |
D | zbus.c | 186 for (int16_t i = chan->data->observers_start_idx, limit = chan->data->observers_end_idx; in _zbus_vded_exec() local 187 i < limit; ++i) { in _zbus_vded_exec() 250 const int limit = chan->data->observers_end_idx; in chan_update_hop() local 252 for (int16_t i = chan->data->observers_start_idx; i < limit; ++i) { in chan_update_hop() 543 limit = chan->data->observers_end_idx; in zbus_obs_set_chan_notification_mask() local 544 i < limit; ++i) { in zbus_obs_set_chan_notification_mask() 579 const int limit = chan->data->observers_end_idx; in zbus_obs_is_chan_notification_masked() local 581 for (int16_t i = chan->data->observers_start_idx; i < limit; ++i) { in zbus_obs_is_chan_notification_masked()
|
D | zbus_runtime_observers.c | 27 for (int16_t i = chan->data->observers_start_idx, limit = chan->data->observers_end_idx; in zbus_chan_add_obs() local 28 i < limit; ++i) { in zbus_chan_add_obs()
|
/Zephyr-latest/samples/subsys/logging/logger/src/ |
D | main.c | 182 uint32_t limit = COND_CODE_1(CONFIG_LOG_MODE_IMMEDIATE, in performance_showcase() local 216 if (cnt >= limit) { in performance_showcase() 222 } else if (cnt < (limit / 2)) { in performance_showcase()
|
/Zephyr-latest/boards/shields/npm1300_ek/ |
D | npm1300_ek.overlay | 51 dischg-limit-microamp = <1000000>; 52 vbus-limit-microamp = <500000>;
|
/Zephyr-latest/boards/shields/max7219/ |
D | max7219_8x8.overlay | 21 scan-limit = <7>;
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | Kconfig | 38 Upper size limit for packets sent by zperf. 44 Upper size limit for connections handled by zperf.
|
/Zephyr-latest/tests/drivers/retained_mem/api/ |
D | Kconfig | 12 Will limit data size for test to 1 byte instead of 10 bytes
|
/Zephyr-latest/tests/kernel/mem_protect/mem_map/boards/ |
D | up_squared.overlay | 9 * this range, so limit the memory range below 0x10000000.
|