Home
last modified time | relevance | path

Searched refs:BIT64 (Results 1 – 25 of 45) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/controller/include/
Dll_feat.h11 #define LL_FEAT_BIT_ENC BIT64(BT_LE_FEAT_BIT_ENC)
17 #define LL_FEAT_BIT_CONN_PARAM_REQ BIT64(BT_LE_FEAT_BIT_CONN_PARAM_REQ)
23 #define LL_FEAT_BIT_EXT_REJ_IND BIT64(BT_LE_FEAT_BIT_EXT_REJ_IND)
29 #define LL_FEAT_BIT_PER_INIT_FEAT_XCHG BIT64(BT_LE_FEAT_BIT_PER_INIT_FEAT_XCHG)
35 #define LL_FEAT_BIT_PING BIT64(BT_LE_FEAT_BIT_PING)
47 #define LL_FEAT_BIT_DLE BIT64(BT_LE_FEAT_BIT_DLE)
55 #define LL_FEAT_BIT_PRIVACY BIT64(BT_LE_FEAT_BIT_PRIVACY)
61 #define LL_FEAT_BIT_EXT_SCAN BIT64(BT_LE_FEAT_BIT_EXT_SCAN)
67 #define LL_FEAT_BIT_PHY_2M BIT64(BT_LE_FEAT_BIT_PHY_2M)
75 BIT64(BT_LE_FEAT_BIT_SMI_TX) : 0)
[all …]
/Zephyr-latest/tests/unit/pot/
Dnhpot.cpp11 static constexpr uint64_t val64 = NHPOT(42 + BIT64(32));
31 zassert_equal(BIT64(32), NHPOT(BIT(31) + 1)); in ZTEST()
32 zassert_equal(BIT64(32), NHPOT(UINT32_MAX)); in ZTEST()
33 zassert_equal(BIT64(32), NHPOT(BIT64(32))); in ZTEST()
34 zassert_equal(0, (uint32_t)NHPOT(BIT64(32))); in ZTEST()
35 zassert_equal(BIT64(33), NHPOT(BIT64(32) + 1)); in ZTEST()
36 zassert_equal(BIT64(63), NHPOT(BIT64(63) - 1)); in ZTEST()
37 zassert_equal(BIT64(63), NHPOT(BIT64(63))); in ZTEST()
38 zassert_equal(0, NHPOT(BIT64(63) + 1)); in ZTEST()
43 zassert_equal(BIT64(33), val64); in ZTEST()
[all …]
Dnhpot.c13 static const uint64_t val64 = NHPOT(42 + BIT64(32));
28 zassert_equal(BIT64(32), NHPOT(BIT(31) + 1)); in ZTEST()
29 zassert_equal(BIT64(32), NHPOT(UINT32_MAX)); in ZTEST()
30 zassert_equal(BIT64(32), NHPOT(BIT64(32))); in ZTEST()
31 zassert_equal(0, (uint32_t)NHPOT(BIT64(32))); in ZTEST()
32 zassert_equal(BIT64(33), NHPOT(BIT64(32) + 1)); in ZTEST()
33 zassert_equal(BIT64(63), NHPOT(BIT64(63) - 1)); in ZTEST()
34 zassert_equal(BIT64(63), NHPOT(BIT64(63))); in ZTEST()
35 zassert_equal(0, NHPOT(BIT64(63) + 1)); in ZTEST()
39 zassert_equal(BIT64(33), val64); in ZTEST()
Dlog2ceil.cpp11 static constexpr uint8_t val64 = LOG2CEIL(42 + BIT64(32));
33 zassert_equal(32, LOG2CEIL(BIT64(32))); in ZTEST()
34 zassert_equal(33, LOG2CEIL(BIT64(32) + 1)); in ZTEST()
35 zassert_equal(63, LOG2CEIL(BIT64(63) - 1)); in ZTEST()
36 zassert_equal(63, LOG2CEIL(BIT64(63))); in ZTEST()
37 zassert_equal(64, LOG2CEIL(BIT64(63) + 1)); in ZTEST()
43 zassert_equal(33, log2ceil(42 + BIT64(32))); in ZTEST()
Dlog2.cpp11 static constexpr uint8_t val64 = LOG2(42 + BIT64(32));
29 zassert_equal(32, LOG2(BIT64(32))); in ZTEST()
30 zassert_equal(62, LOG2(BIT64(63) - 1)); in ZTEST()
31 zassert_equal(63, LOG2(BIT64(63))); in ZTEST()
32 zassert_equal(63, LOG2(BIT64(63) + 1)); in ZTEST()
38 zassert_equal(32, log2(42 + BIT64(32))); in ZTEST()
Dlog2ceil.c11 static const uint8_t val64 = LOG2CEIL(42 + BIT64(32));
28 zassert_equal(32, LOG2CEIL(BIT64(32))); in ZTEST()
29 zassert_equal(33, LOG2CEIL(BIT64(32) + 1)); in ZTEST()
30 zassert_equal(63, LOG2CEIL(BIT64(63) - 1)); in ZTEST()
31 zassert_equal(63, LOG2CEIL(BIT64(63))); in ZTEST()
32 zassert_equal(64, LOG2CEIL(BIT64(63) + 1)); in ZTEST()
Dlog2.c11 static const uint8_t val64 = LOG2(42 + BIT64(32));
28 zassert_equal(32, LOG2(BIT64(32))); in ZTEST()
29 zassert_equal(62, LOG2(BIT64(63) - 1)); in ZTEST()
30 zassert_equal(63, LOG2(BIT64(63))); in ZTEST()
31 zassert_equal(63, LOG2(BIT64(63) + 1)); in ZTEST()
Dis_power_of_two.c22 zassert_true(IS_POWER_OF_TWO(BIT64(32))); in ZTEST()
23 zassert_false(IS_POWER_OF_TWO(BIT64(32) + 1)); in ZTEST()
24 zassert_true(IS_POWER_OF_TWO(BIT64(63))); in ZTEST()
25 zassert_false(IS_POWER_OF_TWO(BIT64(63) + 1)); in ZTEST()
/Zephyr-latest/include/zephyr/arch/x86/
Dmmustructs.h19 #define Z_X86_MMU_RW BIT64(1) /** Read-Write */
20 #define Z_X86_MMU_US BIT64(2) /** User-Supervisor */
22 #define Z_X86_MMU_XD BIT64(63) /** Execute Disable */
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_features.h154 return (conn->llcp.fex.features_peer & BIT64(BT_LE_FEAT_BIT_SMI_RX)) != 0; in feature_peer_smi_rx()
164 return (conn->llcp.fex.features_peer & BIT64(BT_LE_FEAT_BIT_SMI_TX)) != 0; in feature_peer_smi_tx()
169 return (conn->llcp.fex.features_peer & BIT64(BT_LE_FEAT_BIT_CIS_CENTRAL)) != 0; in feature_peer_iso_central()
179 return (conn->llcp.fex.features_peer & BIT64(BT_LE_FEAT_BIT_CIS_PERIPHERAL)) != 0; in feature_peer_iso_peripheral()
189 return (conn->llcp.fex.features_peer & BIT64(BT_LE_FEAT_BIT_PAST_RECV)) != 0; in feature_peer_periodic_sync_recv()
Dll_feat.c41 feature = BIT64(bit_number); in ll_set_host_feature()
/Zephyr-latest/drivers/edac/
Dibecc.h77 #define MCHBAR_ENABLE BIT64(0)
123 #define ECC_ERROR_MERRSTS BIT64(63)
125 #define ECC_ERROR_CERRSTS BIT64(62)
135 #define PARITY_ERROR_ERRSTS BIT64(63)
/Zephyr-latest/drivers/dma/
Ddma_dw_axi.c45 #define CH_EN(chan) (BIT64(8 + chan) | BIT64(chan))
47 #define CH_SUSP(chan) (BIT64(24 + chan) | BIT64(16 + chan))
49 #define CH_ABORT(chan) (BIT64(40 + chan) | BIT64(32 + chan))
52 #define CH_RESUME_WE(chan) (BIT64(24 + chan))
54 #define CH_RESUME(chan) (BIT64(16 + chan))
108 #define DMA_DW_AXI_CTL_LLI_VALID BIT64(63)
110 #define DMA_DW_AXI_CTL_LLI_LAST BIT64(62)
112 #define DMA_DW_AXI_CTL_IOC_BLK_TFR BIT64(58)
114 #define DMA_DW_AXI_CTL_SRC_STAT_EN BIT64(56)
116 #define DMA_DW_AXI_CTL_DST_STAT_EN BIT64(57)
[all …]
/Zephyr-latest/samples/boards/espressif/deep_sleep/src/
Dmain.c77 const uint64_t ext_wakeup_pin_1_mask = BIT64(ext_wakeup_pin_1); in main()
79 const uint64_t ext_wakeup_pin_2_mask = BIT64(ext_wakeup_pin_2); in main()
/Zephyr-latest/tests/kernel/timer/cycle64/src/
Dmain.c35 uint64_t next = prev + BIT64(32) - now; in timeout()
57 (uint32_t)(BIT64(32) / (uint32_t)sys_clock_hw_cycles_per_sec())); in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/ctrl_periodic_sync/src/
Dmain.c172 conn.llcp.fex.features_peer |= BIT64(BT_LE_FEAT_BIT_PAST_RECV); in ZTEST()
221 conn.llcp.fex.features_peer |= BIT64(BT_LE_FEAT_BIT_PAST_RECV); in ZTEST()
277 conn.llcp.fex.features_peer |= BIT64(BT_LE_FEAT_BIT_PAST_RECV); in ZTEST()
387 conn.llcp.fex.features_peer |= BIT64(BT_LE_FEAT_BIT_PAST_RECV); in ZTEST()
506 conn.llcp.fex.features_peer |= BIT64(BT_LE_FEAT_BIT_PAST_RECV); in ZTEST()
621 conn.llcp.fex.features_peer |= BIT64(BT_LE_FEAT_BIT_PAST_RECV); in ZTEST()
/Zephyr-latest/soc/nordic/
Dtiming.c51 #define COUNTER_SPAN BIT64(32) in soc_timing_cycles_get()
/Zephyr-latest/include/zephyr/sys/
Dutil_macro.h49 #define BIT64(_n) (1ULL << (_n)) macro
74 #define BIT64_MASK(n) (BIT64(n) - 1ULL)
/Zephyr-latest/drivers/w1/
Dw1_net.c124 (*rom_inv_64 & BIT64(id_bit_nr - 1)))) { in search_slave()
151 *rom_inv_64 &= ~BIT64(id_bit_nr - 1); in search_slave()
152 *rom_inv_64 |= last_id_bit ? BIT64(id_bit_nr - 1) : 0; in search_slave()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c1518 #define ST_ADV (BIT64(0) | BIT64(1) | BIT64(8) | BIT64(9) | BIT64(12) | \ in le_read_supp_states()
1519 BIT64(13) | BIT64(16) | BIT64(17) | BIT64(18) | BIT64(19) | \ in le_read_supp_states()
1520 BIT64(20) | BIT64(21)) in le_read_supp_states()
1522 #define ST_SCA (BIT64(4) | BIT64(5) | BIT64(8) | BIT64(9) | BIT64(10) | \ in le_read_supp_states()
1523 BIT64(11) | BIT64(12) | BIT64(13) | BIT64(14) | BIT64(15) | \ in le_read_supp_states()
1524 BIT64(22) | BIT64(23) | BIT64(24) | BIT64(25) | BIT64(26) | \ in le_read_supp_states()
1525 BIT64(27) | BIT64(30) | BIT64(31)) in le_read_supp_states()
1527 #define ST_PER (BIT64(2) | BIT64(3) | BIT64(7) | BIT64(10) | BIT64(11) | \ in le_read_supp_states()
1528 BIT64(14) | BIT64(15) | BIT64(20) | BIT64(21) | BIT64(26) | \ in le_read_supp_states()
1529 BIT64(27) | BIT64(29) | BIT64(30) | BIT64(31) | BIT64(32) | \ in le_read_supp_states()
[all …]
/Zephyr-latest/samples/bluetooth/direction_finding_peripheral/src/
Dmain.c24 #define DF_FEAT_ENABLED BIT64(BT_LE_FEAT_BIT_CONN_CTE_RESP)
/Zephyr-latest/include/zephyr/arch/riscv/
Dirq.h45 #define RISCV_MCAUSE_IRQ_BIT BIT64(RISCV_MCAUSE_IRQ_POS)
/Zephyr-latest/drivers/gpio/
Dgpio_shell.c57 reserved = ((BIT64(pin) & reserved_mask) != 0); in port_pin_get()
180 if ((BIT64(i) & ctrl->reserved_mask) != 0) { in get_gpio_pin()
218 } else if ((BIT64(pin) & ctrl->reserved_mask) != 0) { in get_sh_gpio()
520 reserved = (BIT64(pin) & ctrl->reserved_mask) != 0; in print_gpio_ctrl_info()
541 info.reserved = (BIT64(pin) & reserved_mask) != 0; in foreach_pin()
/Zephyr-latest/arch/x86/include/
Dx86_mmu.h21 #define BITL BIT64
/Zephyr-latest/drivers/serial/
Duart_opentitan.c105 #define NCO_REG(baud, clk) (BIT64(20) * (baud) / (clk))

12