Lines Matching refs:desc

6669 	struct tg3_rx_buffer_desc *desc;  in tg3_alloc_rx_data()  local
6678 desc = &tpr->rx_std[dest_idx]; in tg3_alloc_rx_data()
6685 desc = &tpr->rx_jmb[dest_idx].std; in tg3_alloc_rx_data()
6722 desc->addr_hi = ((u64)mapping >> 32); in tg3_alloc_rx_data()
6723 desc->addr_lo = ((u64)mapping & 0xffffffff); in tg3_alloc_rx_data()
6824 struct tg3_rx_buffer_desc *desc = &tnapi->rx_rcb[sw_idx]; in tg3_rx() local
6832 desc_idx = desc->opaque & RXD_OPAQUE_INDEX_MASK; in tg3_rx()
6833 opaque_key = desc->opaque & RXD_OPAQUE_RING_MASK; in tg3_rx()
6850 if (desc->err_vlan & RXD_ERR_MASK) { in tg3_rx()
6861 len = ((desc->idx_len & RXD_LEN_MASK) >> RXD_LEN_SHIFT) - in tg3_rx()
6864 if ((desc->type_flags & RXD_FLAG_PTPSTAT_MASK) == in tg3_rx()
6866 (desc->type_flags & RXD_FLAG_PTPSTAT_MASK) == in tg3_rx()
6925 (desc->type_flags & RXD_FLAG_TCPUDP_CSUM) && in tg3_rx()
6926 (((desc->ip_tcp_csum & RXD_TCPCSUM_MASK) in tg3_rx()
6941 if (desc->type_flags & RXD_FLAG_VLAN && in tg3_rx()
6944 desc->err_vlan & RXD_VLAN_MASK); in tg3_rx()
13422 struct tg3_rx_buffer_desc *desc; in tg3_run_loopback() local
13565 desc = &rnapi->rx_rcb[rx_start_idx++]; in tg3_run_loopback()
13566 desc_idx = desc->opaque & RXD_OPAQUE_INDEX_MASK; in tg3_run_loopback()
13567 opaque_key = desc->opaque & RXD_OPAQUE_RING_MASK; in tg3_run_loopback()
13569 if ((desc->err_vlan & RXD_ERR_MASK) != 0 && in tg3_run_loopback()
13570 (desc->err_vlan != RXD_ERR_ODD_NIBBLE_RCVD_MII)) in tg3_run_loopback()
13573 rx_len = ((desc->idx_len & RXD_LEN_MASK) >> RXD_LEN_SHIFT) in tg3_run_loopback()
13587 } else if ((desc->type_flags & RXD_FLAG_TCPUDP_CSUM) && in tg3_run_loopback()
13588 (desc->ip_tcp_csum & RXD_TCPCSUM_MASK) in tg3_run_loopback()