Home
last modified time | relevance | path

Searched refs:sys_cpu_to_be32 (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-latest/drivers/hwinfo/
Dhwinfo_mcux_sim.c34 *idp++ = sys_cpu_to_be32(SIM->UIDH); in z_impl_hwinfo_get_device_id()
38 *idp++ = sys_cpu_to_be32(SIM->UIDM); in z_impl_hwinfo_get_device_id()
40 *idp++ = sys_cpu_to_be32(SIM->UIDMH); in z_impl_hwinfo_get_device_id()
41 *idp++ = sys_cpu_to_be32(SIM->UIDML); in z_impl_hwinfo_get_device_id()
43 *idp++ = sys_cpu_to_be32(SIM->UIDL); in z_impl_hwinfo_get_device_id()
Dhwinfo_sam0.c22 dev_id.id[0] = sys_cpu_to_be32(*(const uint32_t *) in z_impl_hwinfo_get_device_id()
24 dev_id.id[1] = sys_cpu_to_be32(*(const uint32_t *) in z_impl_hwinfo_get_device_id()
26 dev_id.id[2] = sys_cpu_to_be32(*(const uint32_t *) in z_impl_hwinfo_get_device_id()
28 dev_id.id[3] = sys_cpu_to_be32(*(const uint32_t *) in z_impl_hwinfo_get_device_id()
Dhwinfo_imxrt.c21 dev_id.id[0] = sys_cpu_to_be32(OCOTP->FUSEN[17].FUSE); in z_impl_hwinfo_get_device_id()
22 dev_id.id[1] = sys_cpu_to_be32(OCOTP->FUSEN[16].FUSE); in z_impl_hwinfo_get_device_id()
24 dev_id.id[0] = sys_cpu_to_be32(OCOTP->CFG2); in z_impl_hwinfo_get_device_id()
25 dev_id.id[1] = sys_cpu_to_be32(OCOTP->CFG1); in z_impl_hwinfo_get_device_id()
Dhwinfo_numaker.c23 dev_id.id[0] = sys_cpu_to_be32(FMC_ReadUID(0)); in z_impl_hwinfo_get_device_id()
24 dev_id.id[1] = sys_cpu_to_be32(FMC_ReadUID(1)); in z_impl_hwinfo_get_device_id()
25 dev_id.id[2] = sys_cpu_to_be32(FMC_ReadUID(2)); in z_impl_hwinfo_get_device_id()
Dhwinfo_numaker_rmc.c23 dev_id.id[0] = sys_cpu_to_be32(RMC_ReadUID(0)); in z_impl_hwinfo_get_device_id()
24 dev_id.id[1] = sys_cpu_to_be32(RMC_ReadUID(1)); in z_impl_hwinfo_get_device_id()
25 dev_id.id[2] = sys_cpu_to_be32(RMC_ReadUID(2)); in z_impl_hwinfo_get_device_id()
Dhwinfo_stm32.c30 dev_id.id[0] = sys_cpu_to_be32(LL_GetUID_Word2()); in z_impl_hwinfo_get_device_id()
31 dev_id.id[1] = sys_cpu_to_be32(LL_GetUID_Word1()); in z_impl_hwinfo_get_device_id()
32 dev_id.id[2] = sys_cpu_to_be32(LL_GetUID_Word0()); in z_impl_hwinfo_get_device_id()
58 dev_eui64.id[0] = sys_cpu_to_be32(READ_REG(*((uint32_t *)UID64_BASE + 1U))); in z_impl_hwinfo_get_device_eui64()
59 dev_eui64.id[1] = sys_cpu_to_be32(READ_REG(*((uint32_t *)UID64_BASE))); in z_impl_hwinfo_get_device_eui64()
Dhwinfo_mcux_syscon.c29 dev_id.id[i] = sys_cpu_to_be32(uid_addr[i]); in z_impl_hwinfo_get_device_id()
Dhwinfo_nrf.c54 dev_id.id[0] = sys_cpu_to_be32(buf[1]); in z_impl_hwinfo_get_device_id()
55 dev_id.id[1] = sys_cpu_to_be32(buf[0]); in z_impl_hwinfo_get_device_id()
/Zephyr-latest/drivers/crypto/
Dcrypto_it8xxx2_sha.c115 chip_ctx.w_sha[i] = sys_cpu_to_be32(chip_ctx.w_sha[i]); in it8xxx2_sha256_module_calculation()
160 chip_ctx.w_sha[15] = sys_cpu_to_be32(chip_ctx.total_len * 8); in it8xxx2_hash_handler()
Dcrypto_it8xxx2_sha_v2.c234 chip_ctx.w_sha[15] = sys_cpu_to_be32(chip_ctx.total_len * 8); in it8xxx2_hash_handler()
/Zephyr-latest/drivers/ethernet/
Doa_tc6.c47 *hdr = sys_cpu_to_be32(*hdr); in oa_tc6_reg_read()
105 *hdr = sys_cpu_to_be32(*hdr); in oa_tc6_reg_write()
107 *(uint32_t *)&buf_tx[4] = sys_cpu_to_be32(val); in oa_tc6_reg_write()
289 hdr = sys_cpu_to_be32(hdr); in oa_tc6_chunk_spi_transfer()
Deth_adin2111.c187 *hdr = sys_cpu_to_be32(*hdr); in eth_adin2111_reg_read_oa()
225 *hdr = sys_cpu_to_be32(*hdr); in eth_adin2111_reg_write_oa()
229 *(uint32_t *)&ctx->oa_tx_buf[4] = sys_cpu_to_be32(val); in eth_adin2111_reg_write_oa()
231 *(uint32_t *)&ctx->oa_tx_buf[8] = sys_cpu_to_be32(~val); in eth_adin2111_reg_write_oa()
271 *(uint32_t *)&ctx->oa_tx_buf[len] = sys_cpu_to_be32(hdr); in eth_adin2111_oa_data_read()
388 *(uint32_t *)&ctx->oa_tx_buf[cur] = sys_cpu_to_be32(hdr); in eth_adin2111_send_oa_frame()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_msc_scsi.c433 r.information = sys_cpu_to_be32(0); in SCSI_CMD_HANDLER()
436 r.command_specific_information = sys_cpu_to_be32(0); in SCSI_CMD_HANDLER()
650 r.desc.number_of_blocks = sys_cpu_to_be32(UINT32_MAX); in SCSI_CMD_HANDLER()
653 r.desc.number_of_blocks = sys_cpu_to_be32(ctx->sector_count); in SCSI_CMD_HANDLER()
656 r.desc.block_length = sys_cpu_to_be32(ctx->sector_size); in SCSI_CMD_HANDLER()
677 r.last_lba = sys_cpu_to_be32(ctx->sector_count ? ctx->sector_count - 1 : 0); in SCSI_CMD_HANDLER()
678 r.block_length = sys_cpu_to_be32(ctx->sector_size); in SCSI_CMD_HANDLER()
/Zephyr-latest/drivers/flash/
Dflash_smartbond.c112 address = sys_cpu_to_be32(address); in qspic_write_page()
231 address = sys_cpu_to_be32(offset); in flash_smartbond_erase()
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()
/Zephyr-latest/include/zephyr/sys/
Dbyteorder.h236 #define sys_cpu_to_be32(val) BSWAP_32(val) macro
282 #define sys_cpu_to_be32(val) (val) macro
/Zephyr-latest/drivers/sensor/st/vl53l1x/
Dvl53l1_platform.c89 data = sys_cpu_to_be32(data); in VL53L1_WrDWord()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_rw_oma_tlv.c464 net_value = sys_cpu_to_be32(value); in put_s32()
567 int32_t net_value = sys_cpu_to_be32( in put_objlnk()
613 *value = sys_cpu_to_be32((int32_t)temp); in get_number()
/Zephyr-latest/drivers/video/
Dmt9m114.c228 *(uint32_t *)value = sys_cpu_to_be32(*(uint32_t *)value); in mt9m114_write_reg()
/Zephyr-latest/drivers/can/
Dcan_mcux_flexcan.c502 dest->dataWord0 = sys_cpu_to_be32(src->data_32[0]); in mcux_flexcan_from_can_frame()
503 dest->dataWord1 = sys_cpu_to_be32(src->data_32[1]); in mcux_flexcan_from_can_frame()
556 dest->dataWord[i] = sys_cpu_to_be32(src->data_32[i]); in mcux_flexcan_fd_from_can_frame()
Dcan_tcan4x5x.c326 src32[i] = sys_cpu_to_be32(((uint32_t *)src)[i]); in tcan4x5x_write()
/Zephyr-latest/drivers/bluetooth/hci/
Dhci_nxp_setup.c730 crc = sys_cpu_to_be32(crc); in fw_upload_change_speed()
734 crc = sys_cpu_to_be32(crc); in fw_upload_change_speed()
/Zephyr-latest/drivers/espi/
Despi_npcx.c403 taf_pckt.addr = sys_cpu_to_be32(taf_addr); in espi_taf_parse()
1107 inst->FLASHTXBUF[1] = sys_cpu_to_be32(flash_addr); in espi_npcx_flash_prepare_tx_header()
/Zephyr-latest/drivers/gpio/
Dgpio_sx1509b.c524 irq_buf.irq.interrupt_sense = sys_cpu_to_be32(irq->interrupt_sense); in pin_interrupt_configure()
/Zephyr-latest/include/zephyr/net/
Dnet_ip.h132 #define htonl(x) sys_cpu_to_be32(x)

12