/Zephyr-latest/include/zephyr/ |
D | sys_clock.h | 127 # define Z_TIMEOUT_MS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ms_to_ticks_ceil64(MAX(t, 0))) 128 # define Z_TIMEOUT_US(t) Z_TIMEOUT_TICKS((k_ticks_t)k_us_to_ticks_ceil64(MAX(t, 0))) 129 # define Z_TIMEOUT_NS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ns_to_ticks_ceil64(MAX(t, 0))) 130 # define Z_TIMEOUT_CYC(t) Z_TIMEOUT_TICKS((k_ticks_t)k_cyc_to_ticks_ceil64(MAX(t, 0))) 131 # define Z_TIMEOUT_MS_TICKS(t) ((k_ticks_t)k_ms_to_ticks_ceil64(MAX(t, 0))) 133 # define Z_TIMEOUT_MS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ms_to_ticks_ceil32(MAX(t, 0))) 134 # define Z_TIMEOUT_US(t) Z_TIMEOUT_TICKS((k_ticks_t)k_us_to_ticks_ceil32(MAX(t, 0))) 135 # define Z_TIMEOUT_NS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ns_to_ticks_ceil32(MAX(t, 0))) 136 # define Z_TIMEOUT_CYC(t) Z_TIMEOUT_TICKS((k_ticks_t)k_cyc_to_ticks_ceil32(MAX(t, 0))) 137 # define Z_TIMEOUT_MS_TICKS(t) ((k_ticks_t)k_ms_to_ticks_ceil32(MAX(t, 0)))
|
/Zephyr-latest/include/zephyr/ipc/ |
D | pbuf.h | 119 MAX(dcache_align, _PBUF_IDX_SIZE)), \ 121 MAX(dcache_align, _PBUF_IDX_SIZE) + _PBUF_IDX_SIZE), \ 122 .len = (uint32_t)((uint32_t)(size) - MAX(dcache_align, _PBUF_IDX_SIZE) - \ 135 (MAX(dcache_align, _PBUF_IDX_SIZE) + _PBUF_IDX_SIZE) 150 BUILD_ASSERT(IS_PTR_ALIGNED_BYTES(mem_addr, MAX(dcache_align, _PBUF_IDX_SIZE)), \ 152 BUILD_ASSERT(size >= (MAX(dcache_align, _PBUF_IDX_SIZE) + _PBUF_IDX_SIZE + \
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | buf.h | 103 (MAX(CONFIG_BT_BUF_ACL_RX_COUNT, (CONFIG_BT_MAX_CONN + 1)) + \ 117 #define BT_BUF_RX_SIZE (MAX(MAX(BT_BUF_ACL_RX_SIZE, BT_BUF_EVT_RX_SIZE), \ 121 #define BT_BUF_RX_COUNT (MAX(MAX(CONFIG_BT_BUF_EVT_RX_COUNT, \
|
/Zephyr-latest/tests/kconfig/functions/src/ |
D | main.c | 44 zassert_equal(CONFIG_KCONFIG_MAX_10_3, MAX(10, 3)); in ZTEST() 45 zassert_equal(CONFIG_KCONFIG_MAX_10_3_2, MAX(MAX(10, 3), 2)); in ZTEST()
|
/Zephyr-latest/include/zephyr/arch/riscv/ |
D | arch.h | 37 MAX(CONFIG_PMP_GRANULARITY, ARCH_STACK_PTR_ALIGN) 51 Z_POW2_CEIL(MAX(sizeof(struct arch_esf) + CONFIG_PMP_STACK_GUARD_MIN_SIZE, \ 118 Z_POW2_CEIL(MAX(MAX(size, CONFIG_PRIVILEGED_STACK_SIZE), \
|
/Zephyr-latest/include/zephyr/devicetree/ |
D | can.h | 76 MAX(DT_PROP_OR(DT_PHANDLE(node_id, phys), min_bitrate, 0), min), \ 77 MAX(DT_PROP_OR(DT_CHILD(node_id, can_transceiver), min_bitrate, min), min))
|
/Zephyr-latest/drivers/mspi/ |
D | mspi_ambiq.h | 19 kheap_##name[MAX(bytes, MSPI_AMBIQ_HEAP_MIN_SIZE)]; \ 24 .init_bytes = MAX(bytes, MSPI_AMBIQ_HEAP_MIN_SIZE), \
|
/Zephyr-latest/tests/unit/intmath/ |
D | main.c | 27 #define ROLLOVER_CHECK(T, MAX, MIN) BUILD_ASSERT((T)((T)1 + (T)MAX) == (T)MIN) argument
|
/Zephyr-latest/include/zephyr/sys/ |
D | spsc_pbuf.h | 54 MAX(CONFIG_SPSC_PBUF_REMOTE_DCACHE_LINE, Z_SPSC_PBUF_LOCAL_DCACHE_LINE) 74 MAX(0, Z_SPSC_PBUF_DCACHE_LINE - (int)sizeof(struct spsc_pbuf_common))
|
/Zephyr-latest/include/zephyr/arch/arm/ |
D | arch.h | 230 #define Z_MPU_GUARD_ALIGN (MAX(MPU_GUARD_ALIGN_AND_SIZE, \ 246 #define ARCH_THREAD_STACK_OBJ_ALIGN(size) MAX(Z_THREAD_MIN_STACK_ALIGN, \
|
/Zephyr-latest/tests/lib/spsc_pbuf/src/ |
D | main.c | 28 static uint8_t memory_area[216] __aligned(MAX(Z_SPSC_PBUF_DCACHE_LINE, 4)); in test_spsc_pbuf_flags() 182 static uint8_t buffer[128] __aligned(MAX(Z_SPSC_PBUF_DCACHE_LINE, 4)); in ZTEST() 214 static uint8_t buffer[128] __aligned(MAX(Z_SPSC_PBUF_DCACHE_LINE, 4)); in ZTEST() 234 static uint8_t buffer[128] __aligned(MAX(Z_SPSC_PBUF_DCACHE_LINE, 4)); in ZTEST() 264 static uint8_t buffer[128] __aligned(MAX(Z_SPSC_PBUF_DCACHE_LINE, 4)); in ZTEST() 300 static uint8_t buffer[128] __aligned(MAX(Z_SPSC_PBUF_DCACHE_LINE, 4)); in ZTEST() 340 static uint8_t buffer[128] __aligned(MAX(Z_SPSC_PBUF_DCACHE_LINE, 4)); in ZTEST() 375 static uint8_t buffer[128] __aligned(MAX(Z_SPSC_PBUF_DCACHE_LINE, 4)); in ZTEST() 469 static uint8_t buffer[128] __aligned(MAX(Z_SPSC_PBUF_DCACHE_LINE, 4)); in ZTEST() 539 static uint8_t buffer[128] __aligned(MAX(Z_SPSC_PBUF_DCACHE_LINE, 4)); in ZTEST()
|
/Zephyr-latest/include/zephyr/linker/ |
D | kobject-text.ld | 26 /* In a valid build the MAX function will always evaluate to the 32 . = MAX(., _kobject_text_area_start + CONFIG_KOBJECT_TEXT_AREA);
|
/Zephyr-latest/include/zephyr/drivers/usb/ |
D | udc_buf.h | 78 kheap_##name[MAX(bytes, Z_HEAP_MIN_SIZE)]; \ 82 .init_bytes = MAX(bytes, Z_HEAP_MIN_SIZE), \
|
/Zephyr-latest/lib/libc/common/source/stdlib/ |
D | malloc.c | 59 # define HEAP_ALIGN MAX(sizeof(double), CONFIG_ARM_MPU_REGION_MIN_ALIGN_AND_SIZE) 61 # define HEAP_ALIGN MAX(sizeof(double), Z_ARC_MPU_ALIGN) 63 # define HEAP_ALIGN Z_POW2_CEIL(MAX(sizeof(double), Z_RISCV_STACK_GUARD_SIZE))
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | blob.h | 66 MAX(sizeof(((struct bt_mesh_blob_block *)0)->missing), \ 69 MAX(sizeof(((struct bt_mesh_blob_block *)0)->missing), \
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_vendor.h | 88 #define EVENT_OVERHEAD_CIS_SETUP_US MAX(EVENT_OVERHEAD_START_US, 500U)
|
/Zephyr-latest/boards/native/native_posix/ |
D | main.c | 42 max_exit_code = MAX(exit_code, max_exit_code); in posix_exit()
|
/Zephyr-latest/subsys/net/conn_mgr/ |
D | conn_mgr_private.h | 14 #define CONN_MGR_IFACE_MAX MAX(CONFIG_NET_IF_MAX_IPV6_COUNT, \
|
/Zephyr-latest/tests/arch/arm/arm_irq_vector_table/src/ |
D | arm_irq_vector_table.c | 168 #define IRQ_VECTOR_TABLE_SIZE (MAX(POWER_CLOCK_IRQ_NUM, MAX(TIMER_IRQ_NUM, _ISR_OFFSET + 2)) + 1)
|
/Zephyr-latest/drivers/timer/ |
D | arcv2_timer0.c | 289 delay = MAX(ticks * CYC_PER_TICK, MIN_DELAY); in sys_clock_set_timeout() 313 ticks = MIN(MAX_TICKS, (uint32_t)(MAX((int32_t)(ticks - 1), 0))); in sys_clock_set_timeout() 347 delay = MAX(delay, MIN_DELAY); in sys_clock_set_timeout()
|
/Zephyr-latest/include/zephyr/net/ |
D | hostname.h | 29 MAX(CONFIG_NET_HOSTNAME_MAX_LEN, \
|
/Zephyr-latest/tests/arch/arm/arm_sw_vector_relay/src/ |
D | arm_sw_vector_relay.c | 46 uint32_t mask = MAX(128, Z_POW2_CEIL(4 * (16 + CONFIG_NUM_IRQS))) - 1; in ZTEST()
|
/Zephyr-latest/boards/qemu/nios2/doc/ |
D | index.rst | 6 This board configuration will use QEMU to emulate the Altera MAX 10 platform. 117 * `Nios II Processor Booting Methods in MAX 10 FPGA Devices <https://www.altera.com/en_US/pdfs/lite… 119 * `MAX 10 FPGA Configuration User Guide <https://www.altera.com/content/dam/altera-www/global/en_US… 120 * `MAX 10 FPGA Development Kit User Guide <https://www.altera.com/content/dam/altera-www/global/en_…
|
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/ |
D | ull.c | 70 #define PDU_ADV_SIZE MAX(PDU_AC_LL_SIZE_MAX, \ 77 MAX(MAX(PDU_ADV_SIZE, PDU_DATA_SIZE), PDU_RX_USER_PDU_OCTETS_MAX))
|
/Zephyr-latest/tests/drivers/uart/uart_async_rx/src/ |
D | main.c | 165 uint32_t len = MAX(1, MIN(uart_async_rx_get_buf_len(async_rx), r & 0x7)); in producer_no_chunks() 200 uint32_t rpt = MAX(1, r & 0x7); in consumer() 205 size_t claim_len = MAX(1, r & 0x7); in consumer() 252 uint32_t len = MAX(1, MIN(uart_async_rx_get_buf_len(async_rx), r & 0x7)); in producer_in_chunks()
|