Lines Matching refs:crc_size
1930 skb = netdev_alloc_skb(cp->dev, alloclen + swivel + cp->crc_size); in cas_rx_process_pkt()
1947 i += cp->crc_size; in cas_rx_process_pkt()
1977 i += cp->crc_size; in cas_rx_process_pkt()
2014 hlen + cp->crc_size, in cas_rx_process_pkt()
2018 hlen + cp->crc_size, in cas_rx_process_pkt()
2028 RX_USED_ADD(page, hlen + cp->crc_size); in cas_rx_process_pkt()
2031 if (cp->crc_size) in cas_rx_process_pkt()
2051 i += cp->crc_size; in cas_rx_process_pkt()
2070 dlen + cp->crc_size, in cas_rx_process_pkt()
2072 memcpy(p, page_address(page->buffer), dlen + cp->crc_size); in cas_rx_process_pkt()
2075 dlen + cp->crc_size, in cas_rx_process_pkt()
2077 RX_USED_ADD(page, dlen + cp->crc_size); in cas_rx_process_pkt()
2080 if (cp->crc_size) in cas_rx_process_pkt()
2087 if (cp->crc_size) { in cas_rx_process_pkt()
2089 csum = csum_fold(csum_partial(crcaddr, cp->crc_size, in cas_rx_process_pkt()
3037 if ((cp->cas_flags & CAS_FLAG_SATURN) && cp->crc_size) in cas_init_mac()
3610 cp->crc_size = 4; in cas_set_link_modes()
3623 cp->crc_size = 0; in cas_set_link_modes()
3627 cp->crc_size = 4; in cas_set_link_modes()