Searched refs:CRC_SIZE (Results 1 – 14 of 14) sorted by relevance
22 #define CRC_SIZE 2 macro23 #define CMD_OVERHEAD_SIZE (COUNT_SIZE + CRC_SIZE)
48 size_t len = cmd->count - CRC_SIZE; in atmel_i2c_checksum()
27 #define CRC_SIZE sizeof(uint32_t) macro151 envsize = datasize - (CRC_SIZE + redundant); in main()152 envptr = dataptr + CRC_SIZE + redundant; in main()
438 #define CRC_SIZE 4 macro459 #define RTL8152_RMS (RTL8152_ETH_FRAME_LEN + CRC_SIZE)460 #define RTL8153_RMS (RTL8152_ETH_FRAME_LEN + CRC_SIZE)
1301 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()
136 #define CRC_SIZE 4 macro
348 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()
39 #define CRC_SIZE 2 macro
181 ((td->len + CRC_SIZE) >= ed->max_pkt_size))) in add_packet()
201 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()
311 #define CRC_SIZE 4 macro
1762 rx_size = data_size - CRC_SIZE; in sis900_rx()
62 #define CRC_SIZE 4 macro807 length = (rx_status & DSIZE) - CRC_SIZE; in ns8382x_poll()
64 #define CRC_SIZE 4 macro835 length = (rx_status & DSIZE) - CRC_SIZE; in natsemi_poll()