Home
last modified time | relevance | path

Searched refs:MAX (Results 1 – 25 of 166) sorted by relevance

1234567

/Zephyr-Core-3.4.0/include/zephyr/
Dsys_clock.h91 # define Z_TIMEOUT_MS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ms_to_ticks_ceil64(MAX(t, 0)))
92 # define Z_TIMEOUT_US(t) Z_TIMEOUT_TICKS((k_ticks_t)k_us_to_ticks_ceil64(MAX(t, 0)))
93 # define Z_TIMEOUT_NS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ns_to_ticks_ceil64(MAX(t, 0)))
94 # define Z_TIMEOUT_CYC(t) Z_TIMEOUT_TICKS((k_ticks_t)k_cyc_to_ticks_ceil64(MAX(t, 0)))
96 # define Z_TIMEOUT_MS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ms_to_ticks_ceil32(MAX(t, 0)))
97 # define Z_TIMEOUT_US(t) Z_TIMEOUT_TICKS((k_ticks_t)k_us_to_ticks_ceil32(MAX(t, 0)))
98 # define Z_TIMEOUT_NS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ns_to_ticks_ceil32(MAX(t, 0)))
99 # define Z_TIMEOUT_CYC(t) Z_TIMEOUT_TICKS((k_ticks_t)k_cyc_to_ticks_ceil32(MAX(t, 0)))
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/
Dbuf.h55 #define BT_BUF_RESERVE MAX(CONFIG_BT_HCI_RESERVE, CONFIG_BT_HCI_RAW_RESERVE)
92 #define BT_BUF_RX_SIZE (MAX(MAX(BT_BUF_ACL_RX_SIZE, BT_BUF_EVT_RX_SIZE), \
96 #define BT_BUF_RX_COUNT (MAX(MAX(CONFIG_BT_BUF_EVT_RX_COUNT, \
/Zephyr-Core-3.4.0/include/zephyr/arch/riscv/
Darch.h38 MAX(CONFIG_PMP_GRANULARITY, ARCH_STACK_PTR_ALIGN)
52 Z_POW2_CEIL(MAX(sizeof(z_arch_esf_t) + CONFIG_PMP_STACK_GUARD_MIN_SIZE, \
119 Z_POW2_CEIL(MAX(MAX(size, CONFIG_PRIVILEGED_STACK_SIZE), \
/Zephyr-Core-3.4.0/tests/unit/intmath/
Dmain.c27 #define ROLLOVER_CHECK(T, MAX, MIN) BUILD_ASSERT((T)((T)1 + (T)MAX) == (T)MIN) argument
/Zephyr-Core-3.4.0/include/zephyr/sys/
Dspsc_pbuf.h49 MAX(CONFIG_SPSC_PBUF_REMOTE_DCACHE_LINE, Z_SPSC_PBUF_LOCAL_DCACHE_LINE)
69 MAX(0, Z_SPSC_PBUF_DCACHE_LINE - (int)sizeof(struct spsc_pbuf_common))
/Zephyr-Core-3.4.0/include/zephyr/arch/arm/aarch32/
Darch.h228 #define Z_MPU_GUARD_ALIGN (MAX(MPU_GUARD_ALIGN_AND_SIZE, \
244 #define ARCH_THREAD_STACK_OBJ_ALIGN(size) MAX(Z_THREAD_MIN_STACK_ALIGN, \
/Zephyr-Core-3.4.0/tests/lib/spsc_pbuf/src/
Dmain.c28 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-Core-3.4.0/include/zephyr/linker/
Dkobject-text.ld26 /* In a valid build the MAX function will always evaluate to the
32 . = MAX(., _kobject_text_area_start + CONFIG_KOBJECT_TEXT_AREA);
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/
Dblob.h52 MAX(sizeof(((struct bt_mesh_blob_block *)0)->missing), \
55 MAX(sizeof(((struct bt_mesh_blob_block *)0)->missing), \
/Zephyr-Core-3.4.0/lib/libc/common/source/stdlib/
Dmalloc.c59 # 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-Core-3.4.0/subsys/bluetooth/controller/ll_sw/
Dull_sched.c183 ticks_slot_overhead = MAX(conn->ull.ticks_active_to_start, in ull_sched_mfy_after_cen_offset_get()
211 ticks_slot_overhead = MAX(conn->ull.ticks_active_to_start, in ull_sched_mfy_win_offset_use()
350 MAX(aux->ull.ticks_active_to_start, in group_free_slot_get()
368 MAX(sync->ull.ticks_active_to_start, in group_free_slot_get()
386 MAX(iso->ull.ticks_active_to_start, in group_free_slot_get()
532 MAX(hdr->ticks_active_to_start, in after_match_slot_get()
543 MAX(hdr->ticks_active_to_start, in after_match_slot_get()
Dlll_common.c56 prio = MAX(-127, prio - hdr->score - hdr->latency); in lll_prepare()
Dull_central_iso.c355 max_se_length = MAX(max_se_length, se[i].length); in ll_cig_parameters_commit()
358 se[i].total_count = MAX((cis->central.c_rtn + 1) * cis->lll.tx.bn, in ll_cig_parameters_commit()
432 cis->lll.sub_interval = MAX(SUB_INTERVAL_MIN, se[i].length); in ll_cig_parameters_commit()
438 cis->lll.sub_interval = MAX(SUB_INTERVAL_MIN, num_cis * max_se_length); in ll_cig_parameters_commit()
439 cig_sync_delay = MAX(cig_sync_delay, in ll_cig_parameters_commit()
485 c_max_latency = MAX(c_max_latency, c_latency); in ll_cig_parameters_commit()
486 p_max_latency = MAX(p_max_latency, p_latency); in ll_cig_parameters_commit()
751 instant = MAX(*conn_event_count, event_counter + 1); in ull_central_iso_setup()
797 cis_offset = MAX((HAL_TICKER_TICKS_TO_US(conn->ull.ticks_slot) + in ull_central_iso_setup()
857 *cis_offset_min = MAX(400, EVENT_OVERHEAD_CIS_SETUP_US); in ull_central_iso_cis_offset_get()
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_vendor.h87 #define EVENT_OVERHEAD_CIS_SETUP_US MAX(EVENT_OVERHEAD_START_US, 500U)
/Zephyr-Core-3.4.0/drivers/timer/
Darcv2_timer0.c289 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()
Dcortex_m_systick.c31 #define MIN_DELAY MAX(1024U, ((uint32_t)CYC_PER_TICK/16U))
204 delay = MAX(delay, MIN_DELAY); in sys_clock_set_timeout()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/mock_ctrl/src/
Dull.c70 #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-Core-3.4.0/subsys/net/conn_mgr/
Dconn_mgr_private.h14 #define CONN_MGR_IFACE_MAX MAX(CONFIG_NET_IF_MAX_IPV6_COUNT, \
/Zephyr-Core-3.4.0/boards/nios2/qemu_nios2/doc/
Dindex.rst9 This board configuration will use QEMU to emulate the Altera MAX 10 platform.
120 * `Nios II Processor Booting Methods in MAX 10 FPGA Devices <https://www.altera.com/en_US/pdfs/lite…
122 * `MAX 10 FPGA Configuration User Guide <https://www.altera.com/content/dam/altera-www/global/en_US…
123 * `MAX 10 FPGA Development Kit User Guide <https://www.altera.com/content/dam/altera-www/global/en_…
/Zephyr-Core-3.4.0/tests/arch/arm/arm_sw_vector_relay/src/
Darm_sw_vector_relay.c46 uint32_t mask = MAX(128, Z_POW2_CEIL(4 * (16 + CONFIG_NUM_IRQS))) - 1; in ZTEST()
/Zephyr-Core-3.4.0/kernel/
Dtimeout.c77 ret = MAX(0, to->dticks - ticks_elapsed); in next_timeout()
104 to->dticks = MAX(1, ticks); in z_add_timeout()
336 return sys_clock_tick_get() + MAX(1, dt); in sys_clock_timeout_end_calc()
/Zephyr-Core-3.4.0/boards/posix/native_posix/
Dmain.c42 max_exit_code = MAX(exit_code, max_exit_code); in posix_exit()
/Zephyr-Core-3.4.0/arch/arm/core/aarch32/cortex_m/
Dvector_table_pad.ld20 . = MAX(ABSOLUTE(.), CONFIG_CORTEX_M_NULL_POINTER_EXCEPTION_PAGE_SIZE);
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/att/read_fill_buf/client/
Dmain.c25 #define BT_ATT_BUF_SIZE MAX(BT_LOCAL_ATT_MTU_UATT, BT_LOCAL_ATT_MTU_EATT)
/Zephyr-Core-3.4.0/samples/sensor/isl29035/src/
Dmain.c73 struct sensor_value lo_thr = { MAX(lux - LUX_ALERT_DELTA, 0), }; in process_sample()

1234567