Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/tools/
H A Dmkenvimage.c28 #define CRC_SIZE sizeof(uint32_t) macro
152 envsize = datasize - (CRC_SIZE + redundant); in main()
153 envptr = dataptr + CRC_SIZE + redundant; in main()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/drivers/usb/eth/
H A Dr8152.h439 #define CRC_SIZE 4 macro
460 #define RTL8152_RMS (RTL8152_ETH_FRAME_LEN + CRC_SIZE)
461 #define RTL8153_RMS (RTL8152_ETH_FRAME_LEN + CRC_SIZE)
H A Dr8152.c1302 packet_len -= CRC_SIZE; in r8152_recv()
1307 (packet_len + sizeof(struct rx_desc) + CRC_SIZE); in r8152_recv()
1528 packet_len -= CRC_SIZE; in r8152_eth_recv()
1530 if (packet_len > len - (sizeof(struct rx_desc) + CRC_SIZE)) { in r8152_eth_recv()
1547 packet_len += sizeof(struct rx_desc) + CRC_SIZE; in r8152_free_pkt()
/OK3568_Linux_fs/kernel/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.h38 #define CRC_SIZE 2 macro
H A Dfhci-sched.c181 ((td->len + CRC_SIZE) >= ed->max_pkt_size))) in add_packet()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sis/
H A Dsis900.h311 #define CRC_SIZE 4 macro
H A Dsis900.c1755 rx_size = data_size - CRC_SIZE; in sis900_rx()
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dns8382x.c63 #define CRC_SIZE 4 macro
808 length = (rx_status & DSIZE) - CRC_SIZE; in ns8382x_poll()
H A Dnatsemi.c65 #define CRC_SIZE 4 macro
836 length = (rx_status & DSIZE) - CRC_SIZE; in natsemi_poll()