Home
last modified time | relevance | path

Searched refs:swap32_from_le (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_udma_main.c566 comp_flags = swap32_from_le(curr->al_desc_comp_tx.ctrl_meta); in al_udma_cdesc_packet_get()
575 comp_flags = swap32_from_le(curr->al_desc_comp_tx.ctrl_meta); in al_udma_cdesc_packet_get()
H A Dal_hal_plat_services.h411 #define swap32_from_le(x) le32toh(x) macro
/freebsd/sys/contrib/alpine-hal/eth/
H A Dal_hal_eth_main.c2780 buf1_len = swap32_from_le(rx_desc->len); in al_eth_pkt_rx()
2782 if ((i == 0) && (swap32_from_le(rx_desc->word2) & in al_eth_pkt_rx()
2784 buf2_len = swap32_from_le(rx_desc->word2); in al_eth_pkt_rx()
2788 if ((swap32_from_le(rx_desc->ctrl_meta) & AL_UDMA_CDESC_BUF1_USED) && in al_eth_pkt_rx()
2789 ((swap32_from_le(rx_desc->ctrl_meta) & AL_UDMA_CDESC_DDP) == 0)) in al_eth_pkt_rx()
2795 pkt->flags = swap32_from_le(rx_desc->ctrl_meta); in al_eth_pkt_rx()
2798 pkt->rx_desc_raw[1] = swap32_from_le(rx_desc->len); in al_eth_pkt_rx()
2799 pkt->rx_desc_raw[2] = swap32_from_le(rx_desc->word2); in al_eth_pkt_rx()
2800 pkt->rx_desc_raw[3] = swap32_from_le(rx_desc->word3); in al_eth_pkt_rx()
2806 pkt->rxhash = (swap32_from_le(rx_desc->len) & AL_ETH_RX_HASH_MASK) >> in al_eth_pkt_rx()
[all …]