Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/
H A Datmel-i2c.h22 #define CRC_SIZE 2 macro
23 #define CMD_OVERHEAD_SIZE (COUNT_SIZE + CRC_SIZE)
H A Datmel-i2c.c48 size_t len = cmd->count - CRC_SIZE; in atmel_i2c_checksum()
/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/linux/drivers/usb/host/
H A Dfhci-tds.c348 pkt->len > td_length - CRC_SIZE) { in fhci_td_transaction_confirm()
353 pkt->len = td_length - CRC_SIZE; in fhci_td_transaction_confirm()
454 out_be16(&td->length, pkt->len + CRC_SIZE); in fhci_host_transaction()
H A Dfhci.h39 #define CRC_SIZE 2 macro
H A Dfhci-sched.c181 ((td->len + CRC_SIZE) >= ed->max_pkt_size))) in add_packet()
/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/linux/drivers/net/ethernet/sis/
H A Dsis900.h311 #define CRC_SIZE 4 macro
H A Dsis900.c1762 rx_size = data_size - CRC_SIZE; in sis900_rx()
/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()