Home
last modified time | relevance | path

Searched refs:u32 (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/tests/lib/net_buf/buf_simple/src/
Dmain.c29 static const uint32_t u32 = 0x01020304; variable
119 zassert_equal(u32, net_buf_simple_pull_le32(&buf), in ZTEST()
127 zassert_equal(u32, net_buf_simple_pull_be32(&buf), in ZTEST()
133 net_buf_simple_add_le32(&buf, u32); in ZTEST()
141 net_buf_simple_add_be32(&buf, u32); in ZTEST()
329 zassert_equal(u32, net_buf_simple_remove_le32(&buf), in ZTEST()
339 zassert_equal(u32, net_buf_simple_remove_be32(&buf), in ZTEST()
347 net_buf_simple_push_le32(&buf, u32); in ZTEST()
357 net_buf_simple_push_be32(&buf, u32); in ZTEST()
/Zephyr-latest/samples/subsys/logging/dictionary/src/
Dmain.c26 uint32_t u32 = 33; in main() local
44 LOG_DBG("int32_t %" PRId32 ", uint32_t %" PRIu32, i32, u32); in main()
/Zephyr-latest/drivers/ethernet/
Deth_numaker.c74 synopGMAC_write_phy_reg((u32 *)gmacdev->MacBase, addr, reg, data); in mdio_write()
81 synopGMAC_read_phy_reg((u32 *)gmacdev->MacBase, addr, reg, &data); in mdio_read()
289 synopGMAC_set_rx_qptr(gmacdev, (u32)((u64)(skb->data) & NUMAKER_MASK_32), in m_numaker_gmacdev_init()
290 sizeof(skb->data), (u32)((u64)skb & NUMAKER_MASK_32)); in m_numaker_gmacdev_init()
295 synopGMAC_set_tx_qptr(gmacdev, (u32)((u64)(skb->data) & NUMAKER_MASK_32), in m_numaker_gmacdev_init()
296 sizeof(skb->data), (u32)((u64)skb & NUMAKER_MASK_32), in m_numaker_gmacdev_init()
575 mac_status_reg = synopGMACReadReg((u32 *)gmacdev->MacBase, GmacInterruptStatus); in eth_numaker_isr()
578 status = synopGMACReadReg((u32 *)gmacdev->MacBase, GmacTSStatus); in eth_numaker_isr()
591 reg = synopGMACReadReg((u32 *)gmacdev->MacBase, GmacRgmiiCtrlSts); in eth_numaker_isr()
594 synopGMACWriteReg((u32 *)gmacdev->MacBase, GmacInterruptStatus, mac_status_reg); in eth_numaker_isr()
[all …]
/Zephyr-latest/tests/lib/net_buf/buf/src/
Dmain.c548 uint32_t u32; in ZTEST() local
577 u32 = net_buf_pull_le24(buf); in ZTEST()
578 zassert_equal(u32, net_buf_pull_be24(buf), in ZTEST()
583 net_buf_add_le24(buf, u32); in ZTEST()
584 net_buf_add_be24(buf, u32); in ZTEST()
596 u32 = net_buf_pull_le32(buf); in ZTEST()
597 zassert_equal(u32, net_buf_pull_be32(buf), in ZTEST()
602 net_buf_add_le32(buf, u32); in ZTEST()
603 net_buf_add_be32(buf, u32); in ZTEST()
694 u32 = net_buf_remove_le24(buf); in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/logging/dictionary/src/
Dmain.c27 uint32_t u32 = 33; in main() local
45 LOG_DBG("int32_t %" PRId32 ", uint32_t %" PRIu32, i32, u32); in main()
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_registry/src/
Dtest_obj.c22 uint32_t u32; variable
73 INIT_OBJ_RES_DATA(LWM2M_RES_TYPE_U32, res, i, res_inst, j, &u32, sizeof(u32)); in obj_create()
Dlwm2m_registry.c145 uint32_t u32 = 32; in ZTEST() local
161 zassert_equal(lwm2m_set_u32(&LWM2M_OBJ(32768, 0, LWM2M_RES_TYPE_U32), u32), 0); in ZTEST()
175 zassert_equal(lwm2m_get_u32(&LWM2M_OBJ(32768, 0, LWM2M_RES_TYPE_U32), &u32), 0); in ZTEST()
189 zassert_equal(u32, 32); in ZTEST()
532 uint32_t u32 = 320; in ZTEST() local
548 {&LWM2M_OBJ(TEST_OBJ_ID, 0, LWM2M_RES_TYPE_U32), &u32, sizeof(u32)}, in ZTEST()
567 zassert_equal(lwm2m_get_u32(&LWM2M_OBJ(TEST_OBJ_ID, 0, LWM2M_RES_TYPE_U32), &u32), 0); in ZTEST()
583 zassert_equal(u32, 320); in ZTEST()
/Zephyr-latest/tests/lib/cmsis_dsp/distance/
DCMakeLists.txt8 src/u32.c
/Zephyr-latest/drivers/flash/
Dflash_npcx_fiu_qspi.h36 uint32_t u32; member
Dflash_npcx_fiu_nor.c104 cfg.addr.u32 = sys_cpu_to_be32(addr); in flash_npcx_uma_cmd_by_addr()
135 cfg.addr.u32 = sys_cpu_to_be32(addr); in flash_npcx_uma_write_by_addr()
395 cfg.addr.u32 = sys_cpu_to_be32(op_in->addr); in flash_npcx_nor_ex_exec_uma()
Dspi_nor.c401 uint32_t u32; in spi_nor_access() member
404 .u32 = sys_cpu_to_be32(addr), in spi_nor_access()
/Zephyr-latest/subsys/debug/gdbstub/
Dgdbstub.c322 uint32_t u32; in gdb_mem_read_aligned() member
344 data.u32 = *(uint32_t *)mem_ptr; in gdb_mem_read_aligned()
461 uint32_t u32; in gdb_mem_write_aligned() member
477 data.u32 = *(uint32_t *)mem_ptr; in gdb_mem_write_aligned()
511 *(uint32_t *)mem_ptr = data.u32; in gdb_mem_write_aligned()
522 data.u32 = *(uint32_t *)mem_ptr; in gdb_mem_write_aligned()
/Zephyr-latest/tests/unit/util/
Dmain.c66 uint32_t u32; in ZTEST() local
76 u32 = 0xfffffff; in ZTEST()
77 zassert_equal(sign_extend(u32, 27), -1); in ZTEST()
78 zassert_equal(sign_extend(u32, 28), 0xfffffff); in ZTEST()
84 uint32_t u32; in ZTEST() local
95 u32 = 0xfffffff; in ZTEST()
96 zassert_equal(sign_extend_64(u32, 27), -1); in ZTEST()
97 zassert_equal(sign_extend_64(u32, 28), 0xfffffff); in ZTEST()
/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_nxp_lcdic.c73 uint32_t u32; member
403 base->TFIFO_WDATA = cmd.u32; in mipi_dbi_lcdic_set_cmd()
/Zephyr-latest/include/zephyr/net/
Dlwm2m.h338 uint32_t u32; member
/Zephyr-latest/subsys/bluetooth/host/classic/
Dsdp.c355 struct bt_uuid_32 u32; in search_uuid() member
380 u.u32.val = *((uint32_t *)cur_elem); in search_uuid()
481 struct bt_uuid_32 u32; in find_services() member
523 u.u32.val = net_buf_pull_be32(buf); in find_services()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_registry.c1509 elements.u32 = *(uint32_t *)value; in lwm2m_engine_cache_write()
Dlwm2m_message_handling.c1424 ret = engine_put_s64(&msg->out, &msg->path, (int64_t)buf.u32); in lwm2m_read_cached_data()
/Zephyr-latest/doc/releases/
Drelease-notes-2.1.rst697 * :github:`19550` - drivers/pcie: \`pcie\_get\_mbar()\` should return a \`void \*\` not \`u32\_t\`
Drelease-notes-2.3.rst752 …5` - [Coverity CID :210564] Uninitialized scalar variable in tests/lib/cmsis_dsp/distance/src/u32.c