Lines Matching refs:prrs
1357 struct sk_buff *skb, struct atl1e_recv_ret_status *prrs) in atl1e_rx_checksum() argument
1359 u8 *packet = (u8 *)(prrs + 1); in atl1e_rx_checksum()
1366 pkt_flags = prrs->pkt_flag; in atl1e_rx_checksum()
1367 err_flags = prrs->err_flag; in atl1e_rx_checksum()
1407 struct atl1e_recv_ret_status *prrs; in atl1e_clean_rx_irq() local
1416 prrs = (struct atl1e_recv_ret_status *) (rx_page->addr + in atl1e_clean_rx_irq()
1419 if (prrs->seq_num != rx_page_desc[que].rx_nxseq) { in atl1e_clean_rx_irq()
1422 prrs->seq_num, in atl1e_clean_rx_irq()
1427 (((u32)prrs->seq_num) << 16) | in atl1e_clean_rx_irq()
1434 if ((prrs->pkt_flag & RRS_IS_ERR_FRAME) && in atl1e_clean_rx_irq()
1436 if (prrs->err_flag & (RRS_ERR_BAD_CRC | in atl1e_clean_rx_irq()
1442 *((u32 *)prrs + 1)); in atl1e_clean_rx_irq()
1447 packet_size = ((prrs->word1 >> RRS_PKT_SIZE_SHIFT) & in atl1e_clean_rx_irq()
1456 memcpy(skb->data, (u8 *)(prrs + 1), packet_size); in atl1e_clean_rx_irq()
1459 atl1e_rx_checksum(adapter, skb, prrs); in atl1e_clean_rx_irq()
1461 if (prrs->pkt_flag & RRS_IS_VLAN_TAG) { in atl1e_clean_rx_irq()
1462 u16 vlan_tag = (prrs->vtag >> 4) | in atl1e_clean_rx_irq()
1463 ((prrs->vtag & 7) << 13) | in atl1e_clean_rx_irq()
1464 ((prrs->vtag & 8) << 9); in atl1e_clean_rx_irq()
1467 prrs->vtag); in atl1e_clean_rx_irq()
1475 (((u32)((prrs->word1 >> RRS_PKT_SIZE_SHIFT) & in atl1e_clean_rx_irq()