/Zephyr-latest/tests/kernel/common/src/ |
D | bitfield.c | 39 uint32_t b1 = 0U; in ZTEST() 47 sys_set_bit((mem_addr_t)&b1, bit); in ZTEST() 49 zassert_equal(b1, (1 << bit), in ZTEST() 52 zassert_true(sys_test_bit((mem_addr_t)&b1, bit), in ZTEST() 55 sys_clear_bit((mem_addr_t)&b1, bit); in ZTEST() 56 zassert_equal(b1, 0, "sys_clear_bit failed for bit %d\n", bit); in ZTEST() 58 zassert_false(sys_test_bit((mem_addr_t)&b1, bit), in ZTEST() 62 zassert_false(sys_test_and_set_bit((mem_addr_t)&b1, bit), in ZTEST() 65 zassert_equal(b1, (1 << bit), in ZTEST() 68 zassert_true(sys_test_and_set_bit((mem_addr_t)&b1, bit), in ZTEST() [all …]
|
/Zephyr-latest/drivers/audio/ |
D | wm8904.h | 81 (((mute & 0b1) << 8) | (vu & 0b1) << 7 | (zc & 0b1) << 6 | (vol & 0b000111111)) 93 ((mute & 0b1) << 7 | (vol & 0b00011111)) 105 (((cm) & 0b1) << 6) | (((nin) & 0b11) << 4)
|
/Zephyr-latest/drivers/reset/ |
D | reset_lpc_syscon.c | 28 SYSCON->PRESETCTRLSET[LPC_RESET_OFFSET(id)] = FIELD_PREP(LPC_RESET_BIT(id), 0b1); in reset_nxp_syscon_line_assert() 35 SYSCON->PRESETCTRLCLR[LPC_RESET_OFFSET(id)] = FIELD_PREP(LPC_RESET_BIT(id), 0b1); in reset_nxp_syscon_line_deassert() 48 } while (status != 0b1); in reset_nxp_syscon_line_toggle()
|
D | reset_nxp_rstctl.c | 37 *set_reg = FIELD_PREP(NXP_RSTCTL_BIT(id), 0b1); in reset_nxp_rstctl_line_assert() 47 *clr_reg = FIELD_PREP(NXP_RSTCTL_BIT(id), 0b1); in reset_nxp_rstctl_line_deassert() 60 } while (status != 0b1); in reset_nxp_rstctl_line_toggle()
|
/Zephyr-latest/drivers/ethernet/eth_nxp_enet_qos/ |
D | eth_nxp_enet_qos_mac.c | 293 base->DMA_MODE |= ENET_QOS_REG_PREP(DMA_MODE, SWR, 0b1); in enet_qos_dma_reset() 331 ENET_QOS_REG_PREP(DMA_CH_DMA_CHX_TX_CTRL, TxPBL, 0b1); in enet_qos_dma_config_init() 333 ENET_QOS_REG_PREP(DMA_CH_DMA_CHX_RX_CTRL, RxPBL, 0b1); in enet_qos_dma_config_init() 340 ENET_QOS_REG_PREP(MTL_QUEUE_MTL_TXQX_OP_MODE, FTQ, 0b1); in enet_qos_mtl_config_init() 360 ENET_QOS_REG_PREP(MTL_QUEUE_MTL_RXQX_OP_MODE, FUP, 0b1); in enet_qos_mtl_config_init() 385 ENET_QOS_REG_PREP(MAC_CONFIGURATION, PS, 0b1) | in enet_qos_mac_config_init() 387 ENET_QOS_REG_PREP(MAC_CONFIGURATION, DM, 0b1) | in enet_qos_mac_config_init() 389 ENET_QOS_REG_PREP(MAC_CONFIGURATION, FES, 0b1) | in enet_qos_mac_config_init() 391 ENET_QOS_REG_PREP(MAC_CONFIGURATION, ECRSFD, 0b1); in enet_qos_mac_config_init() 395 ENET_QOS_REG_PREP(MAC_RXQ_CTRL, RXQ0EN, 0b1); in enet_qos_mac_config_init() [all …]
|
/Zephyr-latest/soc/arm/musca/ |
D | CMakeLists.txt | 8 zephyr_sources(b1/soc.c) 9 zephyr_include_directories(b1)
|
/Zephyr-latest/drivers/ethernet/ |
D | eth.h | 33 static inline void gen_random_mac(uint8_t *mac_addr, uint8_t b0, uint8_t b1, uint8_t b2) in gen_random_mac() argument 36 mac_addr[1] = b1; in gen_random_mac()
|
/Zephyr-latest/tests/subsys/lorawan/frag_decoder/src/ |
D | frag_encoder.c | 39 int32_t b1 = (seed & 32) / 32; in prbs23() local 41 return (seed / 2) + ((b0 ^ b1) << 22); in prbs23()
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | avctp_internal.h | 16 BT_AVCTP_IPID_INVALID = 0b1, 21 BT_AVCTP_RESPONSE = 0b1,
|
/Zephyr-latest/drivers/mdio/ |
D | mdio_nxp_enet_qos.c | 61 goc_1_code = 0b1; in do_transaction() 70 ENET_QOS_REG_PREP(MAC_MDIO_ADDRESS, GOC_0, 0b1) | in do_transaction() 78 ENET_QOS_REG_PREP(MAC_MDIO_ADDRESS, GB, 0b1); in do_transaction()
|
/Zephyr-latest/boards/nordic/nrf9161dk/ |
D | nrf9161dk_nrf9161_common_0_7_0.dtsi | 20 10 d8 00 ff d5 31 b1 fe 82 e4 14 4c ec 60 06 33
|
/Zephyr-latest/drivers/sensor/bosch/bmp180/ |
D | bmp180.c | 43 int16_t b1; member 328 partial_X2 = cal->b1 * partial_B6 * (float)(1.0f * partial_B6 / 0x8000000); in bmp180_compensate_press() 402 cal->b1 = BSWAP_s16(cal->b1); in bmp180_get_calibration_data()
|
/Zephyr-latest/dts/arm/nuvoton/npcx/ |
D | npcx-miwus-int-map.dtsi | 35 group_b1: group-b1-map {
|
/Zephyr-latest/subsys/lorawan/services/ |
D | frag_decoder_lowmem.c | 132 int32_t b1 = (previous & 32) / 32; in prbs23() local 134 return (previous / 2) + ((b0 ^ b1) << 22); in prbs23()
|
/Zephyr-latest/boards/u-blox/ubx_evkninab1/doc/ |
D | index.rst | 173 .. _NINA-B1 product page: https://www.u-blox.com/en/product/nina-b1-series-open-cpu 174 .. _EVK-NINA-B1 product page: https://www.u-blox.com/en/product/evk-nina-b1
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | access.h | 390 #define BT_MESH_MODEL_OP_2(b0, b1) (((b0) << 8) | (b1)) argument
|
/Zephyr-latest/drivers/adc/ |
D | adc_ads114s0x.c | 372 ADS114S0X_REGISTER_REF_NOT_REFN_BUF_SET(target, 0b1); \ 385 ADS114S0X_REGISTER_DATARATE_MODE_SET(target, 0b1); \ 386 ADS114S0X_REGISTER_DATARATE_FILTER_SET(target, 0b1); \ 652 ADS114S0X_REGISTER_REF_NOT_REFN_BUF_SET(reference_control, 0b1); in ads114s0x_channel_setup() 654 ADS114S0X_REGISTER_REF_NOT_REFP_BUF_SET(reference_control, 0b1); in ads114s0x_channel_setup()
|
/Zephyr-latest/kernel/ |
D | sched.c | 60 int32_t b1 = thread_1->base.prio; in z_sched_prio_cmp() local 63 if (b1 != b2) { in z_sched_prio_cmp() 64 return b2 - b1; in z_sched_prio_cmp()
|
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/ |
D | edtlib.py | 3078 def _and(b1: bytes, b2: bytes) -> bytes: 3083 maxlen = max(len(b1), len(b2)) 3084 return bytes(x & y for x, y in zip(b1.rjust(maxlen, b'\xff'), 3088 def _or(b1: bytes, b2: bytes) -> bytes: 3093 maxlen = max(len(b1), len(b2)) 3094 return bytes(x | y for x, y in zip(b1.rjust(maxlen, b'\x00'),
|
/Zephyr-latest/tests/net/net_pkt/src/ |
D | main.c | 605 struct net_buf b1 = { variable 625 net_pkt_append_buffer(pkt_src, &b1); in ZTEST()
|
/Zephyr-latest/doc/releases/ |
D | release-notes-1.14.rst | 1204 * :github:`15019` - tests/kernel/common: test_bitfield: test_bitfield: (b1 not equal to (1 << bit))
|
/Zephyr-latest/samples/modules/tflite-micro/hello_world/train/ |
D | train_hello_world_model.ipynb | 3405 "outputId": "c25b75c6-a28d-47b1-9b3a-b7ba821ee310",
|