Home
last modified time | relevance | path

Searched refs:b2 (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-2.7.6/tests/kernel/common/src/
Dbitfield.c37 unsigned char b2[BITFIELD_SIZE >> 3] = { 0 }; in test_bitfield() local
84 sys_bitfield_set_bit((mem_addr_t)b2, bit); in test_bitfield()
85 zassert_equal(b2[BIT_INDEX(bit)], BIT_VAL(bit), in test_bitfield()
88 zassert_true(sys_bitfield_test_bit((mem_addr_t)b2, bit), in test_bitfield()
92 sys_bitfield_clear_bit((mem_addr_t)b2, bit); in test_bitfield()
93 zassert_equal(b2[BIT_INDEX(bit)], 0, in test_bitfield()
96 zassert_false(sys_bitfield_test_bit((mem_addr_t)b2, bit), in test_bitfield()
100 ret = sys_bitfield_test_and_set_bit((mem_addr_t)b2, bit); in test_bitfield()
104 zassert_equal(b2[BIT_INDEX(bit)], BIT_VAL(bit), in test_bitfield()
107 zassert_true(sys_bitfield_test_and_set_bit((mem_addr_t)b2, bit), in test_bitfield()
[all …]
/Zephyr-Core-2.7.6/drivers/ethernet/
Deth.h33 static inline void gen_random_mac(uint8_t *mac_addr, uint8_t b0, uint8_t b1, uint8_t b2) in gen_random_mac() argument
41 mac_addr[2] = b2; in gen_random_mac()
/Zephyr-Core-2.7.6/dts/arm/nuvoton/npcx/
Dnpcx-miwus-int-map.dtsi81 group_b2: group-b2-map {
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/src/devicetree/
Dedtlib.py2597 def _and(b1, b2): argument
2602 maxlen = max(len(b1), len(b2))
2604 b2.rjust(maxlen, b'\xff')))
2607 def _or(b1, b2): argument
2612 maxlen = max(len(b1), len(b2))
2614 b2.rjust(maxlen, b'\x00')))
/Zephyr-Core-2.7.6/tests/net/net_pkt/src/
Dmain.c565 struct net_buf b2 = { variable
576 .frags = &b2,
/Zephyr-Core-2.7.6/kernel/
Dsched.c90 int32_t b2 = thread_2->base.prio; in z_sched_prio_cmp() local
92 if (b1 != b2) { in z_sched_prio_cmp()
93 return b2 - b1; in z_sched_prio_cmp()