Home
last modified time | relevance | path

Searched refs:CRC_SIZE (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/tools/
H A Dmkenvimage.c27 #define CRC_SIZE sizeof(uint32_t) macro
151 envsize = datasize - (CRC_SIZE + redundant); in main()
152 envptr = dataptr + CRC_SIZE + redundant; in main()
/openbmc/u-boot/drivers/usb/eth/
H A Dr8152.h438 #define CRC_SIZE 4 macro
459 #define RTL8152_RMS (RTL8152_ETH_FRAME_LEN + CRC_SIZE)
460 #define RTL8153_RMS (RTL8152_ETH_FRAME_LEN + CRC_SIZE)
H A Dr8152.c1301 packet_len -= CRC_SIZE; in r8152_recv()
1306 (packet_len + sizeof(struct rx_desc) + CRC_SIZE); in r8152_recv()
1527 packet_len -= CRC_SIZE; in r8152_eth_recv()
1529 if (packet_len > len - (sizeof(struct rx_desc) + CRC_SIZE)) { in r8152_eth_recv()
1546 packet_len += sizeof(struct rx_desc) + CRC_SIZE; in r8152_free_pkt()
/openbmc/qemu/include/hw/net/
H A Dallwinner_emac.h136 #define CRC_SIZE 4 macro
/openbmc/qemu/hw/net/
H A Dallwinner_emac.c201 total_size = QEMU_ALIGN_UP(RX_HDR_SIZE + padded_size + CRC_SIZE, 4); in aw_emac_receive()
208 fifo8_push_word(fifo, EMAC_RX_HEADER(padded_size + CRC_SIZE, in aw_emac_receive()
/openbmc/u-boot/drivers/net/
H A Dns8382x.c62 #define CRC_SIZE 4 macro
807 length = (rx_status & DSIZE) - CRC_SIZE; in ns8382x_poll()
H A Dnatsemi.c64 #define CRC_SIZE 4 macro
835 length = (rx_status & DSIZE) - CRC_SIZE; in natsemi_poll()