Searched refs:htonl (Results 1 – 20 of 20) sorted by relevance
| /u-boot/cmd/ |
| A D | tsi148.c | 89 __raw_writel(htonl(0x00000084), &dev->uregs->vctrl); in tsi148_init() 102 __raw_writel(htonl(0x00000000), &dev->uregs->inten); in tsi148_init() 104 __raw_writel(htonl(0x00000000), &dev->uregs->inteo); in tsi148_init() 107 __raw_writel(htonl(0x03ff3f00), &dev->uregs->intc); in tsi148_init() 109 __raw_writel(htonl(0x00000000), &dev->uregs->intm1); in tsi148_init() 325 __raw_writel(htonl(vmeAddr), &dev->uregs->gbal); in tsi148_vme_gcsr_window() 330 __raw_writel(htonl(ctl), &dev->uregs->gcsrat); in tsi148_vme_gcsr_window() 349 __raw_writel(htonl(vmeAddr), &dev->uregs->crol); in tsi148_vme_crcsr_window() 353 __raw_writel(htonl(ctl), &dev->uregs->crat); in tsi148_vme_crcsr_window() 372 __raw_writel(htonl(vmeAddr), &dev->uregs->cbal); in tsi148_vme_crg_window() [all …]
|
| /u-boot/net/ |
| A D | nfs.c | 187 rpc_pkt.u.call.id = htonl(id); in rpc_req() 234 data[4] = htonl(prog); in rpc_lookup_req() 235 data[5] = htonl(ver); in rpc_lookup_req() 256 *p++ = htonl(pathlen); in nfs_mount_req() 308 *p++ = htonl(filefh3_length); in nfs_readlink_req() 336 *p++ = htonl(fnamelen); in nfs_lookup_req() 349 *p++ = htonl(fnamelen); in nfs_lookup_req() 376 *p++ = htonl(offset); in nfs_read_req() 377 *p++ = htonl(readlen); in nfs_read_req() 384 *p++ = htonl(offset); in nfs_read_req() [all …]
|
| A D | eth_legacy.c | 309 mcast_mac[5] = htonl(mcast_ip.s_addr) & 0xff; in eth_mcast_join() 310 mcast_mac[4] = (htonl(mcast_ip.s_addr)>>8) & 0xff; in eth_mcast_join() 311 mcast_mac[3] = (htonl(mcast_ip.s_addr)>>16) & 0x7f; in eth_mcast_join()
|
| A D | link_local.c | 78 ip.s_addr = htonl((LINKLOCAL_ADDR + 0x0100) + tmp); in pick() 117 net_netmask.s_addr = htonl(IN_CLASSB_NET); in link_local_start()
|
| A D | cdp.c | 166 *(ulong *)s = htonl(CONFIG_CDP_CAPABILITIES); in cdp_send_trigger() 197 *(ulong *)s = htonl(CONFIG_CDP_TRIGGER); in cdp_send_trigger()
|
| A D | bootp.c | 387 if (net_read_u32((u32 *)&bp->bp_vend[0]) == htonl(BOOTP_VENDOR_MAGIC)) in bootp_handler() 815 bootp_id = htonl(bootp_id); in bootp_request() 937 if (net_read_u32((u32 *)&bp->bp_vend[0]) != htonl(BOOTP_VENDOR_MAGIC)) in dhcp_packet_process_options() 963 if (net_read_u32((u32 *)popt) != htonl(BOOTP_VENDOR_MAGIC)) in dhcp_message_type()
|
| /u-boot/tools/ |
| A D | update_octeon_header.c | 379 header.magic = htonl(BOOTLOADER_HEADER_MAGIC); in main() 382 header.dlen = htonl(data_len); in main() 383 header.dcrc = htonl(data_crc); in main() 387 header.flags |= htonl(BL_HEADER_FLAG_FAILSAFE); in main() 441 header.hcrc = htonl(crc32(header.hcrc, ((void *)&(header)) + 16, in main()
|
| A D | mxsimage.h | 121 return htonl(ret); in sb_hab_ivt_header()
|
| A D | mxsimage.c | 554 dctx->payload[0] = htonl((SB_HAB_DCD_TAG << 24) | in sb_grow_dcd() 697 dcd[0] = htonl(address); in sb_build_dcd_block() 698 dcd[1] = htonl(value); in sb_build_dcd_block() 705 dctx->prev_dcd_head[0] = htonl(type | (length << 8)); in sb_build_dcd_block()
|
| /u-boot/board/toradex/common/ |
| A D | tdx-common.c | 88 tdx_eth_addr.oui = htonl(TORADEX_OUI << 8); in show_board_info() 89 tdx_eth_addr.nic = htonl(tdx_serial << 8); in show_board_info()
|
| A D | tdx-cfg-block.c | 941 tdx_eth_addr.oui = htonl(0x00142dUL << 8); in do_cfgblock_create() 942 tdx_eth_addr.nic = htonl(tdx_serial << 8); in do_cfgblock_create()
|
| /u-boot/include/linux/byteorder/ |
| A D | generic.h | 131 #undef htonl 139 #define htonl(x) ___htonl(x) macro
|
| /u-boot/drivers/net/mscc_eswitch/ |
| A D | servalt_switch.c | 368 ifh[0] = htonl(0); in servalt_send() 369 ifh[1] = htonl(0x1FFFFF); in servalt_send() 370 ifh[2] = htonl(~0); in servalt_send() 372 ifh[5] = htonl(0x4c0); in servalt_send()
|
| A D | jr2_switch.c | 794 ifh[0] = htonl(0); in jr2_send() 795 ifh[1] = htonl(0x1FFFFF); in jr2_send() 796 ifh[2] = htonl(~0); in jr2_send() 798 ifh[5] = htonl(0x4c0); in jr2_send()
|
| /u-boot/lib/ |
| A D | net_utils.c | 42 addr.s_addr = htonl(addr.s_addr); in string_to_ip()
|
| A D | crc32.c | 265 crc = htonl(crc); in crc32_wd_buf()
|
| /u-boot/common/ |
| A D | bedbug.c | 540 i = htonl (read_number (name)); in spr_value() 553 i = htonl (sprp->spr_val); in spr_value() 640 val = htonl (val); in tbr_value() 896 data = htonl (data); in parse_operand() 916 data = htonl (read_number (txt)); in parse_operand()
|
| /u-boot/drivers/net/phy/ |
| A D | ncsi.c | 553 put_unaligned_be32(htonl(checksum), pchecksum); in ncsi_send_command() 744 cmd.mode = htonl(ncsi_priv->packages[np].channels[nc].cap_aen); in ncsi_send_ae() 757 cmd.mode = htonl(ncsi_priv->packages[np].channels[nc].cap_bc); in ncsi_send_ebf()
|
| /u-boot/arch/sandbox/cpu/ |
| A D | eth-raw-os.c | 156 device->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in _local_inet_start()
|
| /u-boot/drivers/net/ |
| A D | bcm-sf2-eth-gmac.c | 769 writel(htonl(*(uint32_t *)mac), UNIMAC0_MAC_MSB_ADDR); in gmac_set_mac_addr()
|
Completed in 47 milliseconds