Home
last modified time | relevance | path

Searched refs:cpu_to_le16 (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dforcedeth.c532 rx_ring[i].Length = cpu_to_le16(RX_NIC_BUFSIZE); in alloc_rx()
534 rx_ring[i].Flags = cpu_to_le16(NV_RX_AVAIL); in alloc_rx()
813 if ( ! (prd->Flags & cpu_to_le16(NV_RX_DESCRIPTORVALID)) ) { in forcedeth_poll()
820 len = cpu_to_le16(prd->Length); in forcedeth_poll()
864 tx_ring[nr].Length = cpu_to_le16(s - 1); in forcedeth_transmit()
993 cpu_to_le16(NV_TX_LASTPACKET | NV_TX_LASTPACKET1 | in forcedeth_probe()
1001 np->tx_flags |= cpu_to_le16(NV_TX_LASTPACKET1); in forcedeth_probe()
1006 np->tx_flags |= cpu_to_le16(NV_TX_LASTPACKET1); in forcedeth_probe()
H A Dbig_bswap.h9 #define cpu_to_le16(x) __bswap_16(x) macro
H A Dlittle_bswap.h9 #define cpu_to_le16(x) (x) macro
H A Dnic.c239 return (~cpu_to_le16(sum)) & 0xFFFF; in ipchksum()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c4881 cpu_to_le16(ip_hdr_off); in ql_hw_csum_setup()
4907 (uint16_t)cpu_to_le16(hdr_off); in ql_hw_csum_setup()
4909 cpu_to_le16(mac_hdr_len + ip_hdr_len + in ql_hw_csum_setup()
4941 (uint16_t)cpu_to_le16(hdr_off); in ql_hw_csum_setup()
4943 cpu_to_le16(mac_hdr_len + ip_hdr_len in ql_hw_csum_setup()
5244 (uint16_t)cpu_to_le16(hdr_off); in ql_hw_lso_setup()
5281 (uint16_t)cpu_to_le16(hdr_off); in ql_hw_lso_setup()
6530 cpu_to_le16(qlge->tx_coalesce_usecs); in ql_start_rx_ring()
6537 cpu_to_le16(qlge->rx_coalesce_usecs); in ql_start_rx_ring()
6548 cpu_to_le16(qlge->rx_coalesce_usecs); in ql_start_rx_ring()
[all …]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge.h88 #define cpu_to_le16(x) BSWAP_16(x) macro
91 #define le16_to_cpu(x) cpu_to_le16(x)
95 #define cpu_to_le16(x) (x)
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dosdep.h157 #define cpu_to_le16(x) LE_16((uint16_t)(x)) macro
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Dbcm_osal.h558 #define cpu_to_le16(val) ((val)) macro