Home
last modified time | relevance | path

Searched full:limit (Results 1 – 25 of 445) sorted by relevance

12345678910>>...18

/Zephyr-latest/include/zephyr/dt-bindings/usb-c/
Dnxp_nx20p3483.h14 /** Voltage limit of 6.0V */
16 /** Voltage limit of 6.8V */
18 /** Voltage limit of 10.0V */
20 /** Voltage limit of 11.5V */
22 /** Voltage limit of 14.0V */
24 /** Voltage limit of 17.0V */
26 /** Voltage limit of 23.0V */
29 /** Current limit of 400mA */
31 /** Current limit of 600mA */
33 /** Current limit of 800mA */
[all …]
/Zephyr-latest/dts/bindings/regulator/
Dregulator.yaml46 regulator-input-current-limit-microamp:
150 Set over current protection limit. This is a limit where hardware performs
152 indicates that protection should be enabled but limit setting can be
158 Set over current error limit. This is a limit where part of the hardware
161 should be enabled but limit setting can be omitted.
166 Set over current warning limit. This is a limit where hardware is assumed
167 still to be functional but approaching limit where it gets damaged.
170 limit setting can be omitted.
175 Set over voltage protection limit. This is a limit where hardware performs
177 indicates that protection should be enabled but limit setting can be
[all …]
/Zephyr-latest/include/zephyr/drivers/led/
Dis31fl3733.h23 * @brief Sets led current limit
25 * Sets the current limit for the LED driver. This is a separate value
27 * This value sets the output current limit according
28 * to the following formula: (840/R_ISET) * (limit/256)
31 * @param limit: current limit to apply
34 int is31fl3733_current_limit(const struct device *dev, uint8_t limit);
/Zephyr-latest/scripts/utils/
Dgen_util_macros.py35 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/
Dsem.c48 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/
Darm_mpu_v8.h80 /* Helper define to calculate the region limit address. */
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
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dist,tsic-xx6.yaml14 lower-temperature-limit = <(-10)>;
15 higher-temperature-limit = <60>;
26 lower-temperature-limit:
31 higher-temperature-limit:
Dnordic,npm1300-charger.yaml36 dischg-limit-microamp:
43 Discharge current limit in uA.
46 vbus-limit-microamp:
49 Vbus current limit in uA.
/Zephyr-latest/kernel/
Dsem.c46 unsigned int limit) in z_impl_k_sem_init() argument
49 * Limit cannot be zero and count cannot be greater than limit in z_impl_k_sem_init()
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/dts/bindings/display/
Dmaxim,max7219.yaml12 scan-limit:
26 Display digit 0 only when scan-limit is 0, digits 0 & 1 when
27 scan-limit is 1, and so on.
/Zephyr-latest/samples/sensor/adc_cmp_npcx/
DREADME.rst13 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/dts/bindings/led/
Dissi,is31fl3733.yaml17 current-limit:
21 Global current limit. Sets the global current control register of LED
23 formula: (840/R_ISET) * (current-limit/256). Defaults to max value
/Zephyr-latest/arch/x86/
Dgen_gdt.py84 def chop_base_limit(base, limit): argument
85 """Limit argument always in bytes"""
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/doc/kernel/services/synchronization/
Dsemaphores.rst24 * 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/tests/kernel/spinlock/src/
Dspinlock_error_case.c149 * @brief Test unlocking spinlock held over the time limit
151 * @details Validate unlocking spinlock held past the time limit will trigger
171 TC_PRINT("testing lock time limit, limit is %d!\n", CONFIG_SPIN_LOCK_TIME_LIMIT); in ZTEST()
176 /* spin here a while, the spin lock limit is in terms of system clock in ZTEST()
178 * go well past the time limit. in ZTEST()
/Zephyr-latest/arch/arm64/core/cortex_r/
Darm_mpu.c162 * Have to set limit register first as the enable/disable bit of the in mpu_clr_region()
163 * region is in the limit register. in mpu_clr_region()
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()
[all …]
/Zephyr-latest/tests/drivers/build_all/sensor/
Dpwm.dtsi14 lower-temperature-limit = <(-100)>;
15 higher-temperature-limit = <250>;
/Zephyr-latest/drivers/sensor/st/vl53l1x/
Dvl53l1_platform_user_config.h34 /*!< Lower Limit for the MM1 effective SPAD count during offset
39 /*!< Max Limit for the pre range peak rate during offset
45 /*!< Max sigma estimate limit during offset calibration
/Zephyr-latest/tests/subsys/modem/mock/
Dmodem_backend_mock.c44 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()
/Zephyr-latest/subsys/shell/backends/
DKconfig.backends152 prompt "Initial log level limit"
156 bool "System limit (LOG_MAX_LEVEL)"
245 prompt "Initial log level limit"
249 bool "System limit (LOG_MAX_LEVEL)"
341 prompt "Initial log level limit"
345 bool "System limit (LOG_MAX_LEVEL)"
426 prompt "Initial log level limit"
430 bool "System limit (LOG_MAX_LEVEL)"
537 prompt "Initial log level limit"
541 bool "System limit (LOG_MAX_LEVEL)"
[all …]
/Zephyr-latest/dts/bindings/espi/
Dmicrochip,xec-espi-host-dev.yaml56 Base address in the SoC data memory, read limit, and write limit.
58 register is less than the limit value the access is allowed. Bit[15]
/Zephyr-latest/drivers/entropy/
Dentropy_smartbond.c211 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/drivers/sensor/microchip/tcn75a/
Dtcn75a_trigger.c72 LOG_DBG("Writing 0x%02X to limit reg %s", *(uint16_t *)(tx_buf + 1), in tcn75a_attr_set()
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/boards/ezurio/bl654_usb/
DKconfig.defconfig13 # correctly, after Nordic MBR, and limit the maximum size to not protude into
18 # so no override or limit is necessary.
/Zephyr-latest/modules/thrift/src/thrift/server/
DTServerFramework.h113 * Get the concurrent client limit.
114 * \returns the concurrent client limit
131 * Set the concurrent client limit. This can be changed while
134 * limit is lowered below the number of connected clients, no
137 * \param[in] newLimit the new limit of concurrent clients
168 * serve() thread if the limit has been reached.
189 * The limit on the number of concurrent clients.

12345678910>>...18