Lines Matching refs:status_n_length
464 __le32 status_n_length; member
1005 if (hmp->tx_ring[entry].status_n_length & cpu_to_le32(DescOwn)) in hamachi_tx()
1016 hmp->tx_ring[entry].status_n_length = 0; in hamachi_tx()
1018 hmp->tx_ring[TX_RING_SIZE-1].status_n_length |= in hamachi_tx()
1064 le32_to_cpu(hmp->rx_ring[i].status_n_length)); in hamachi_tx_timeout()
1069 le32_to_cpu(hmp->tx_ring[i].status_n_length)); in hamachi_tx_timeout()
1085 hmp->rx_ring[i].status_n_length &= cpu_to_le32(~DescOwn); in hamachi_tx_timeout()
1094 hmp->tx_ring[i].status_n_length = in hamachi_tx_timeout()
1096 (hmp->tx_ring[i].status_n_length & in hamachi_tx_timeout()
1099 hmp->tx_ring[i].status_n_length &= cpu_to_le32(0x0000ffff); in hamachi_tx_timeout()
1145 hmp->rx_ring[i].status_n_length = cpu_to_le32(DescOwn | in hamachi_tx_timeout()
1150 hmp->rx_ring[RX_RING_SIZE-1].status_n_length |= cpu_to_le32(DescEndRing); in hamachi_tx_timeout()
1185 hmp->rx_ring[i].status_n_length = 0; in hamachi_init_ring()
1200 hmp->rx_ring[i].status_n_length = cpu_to_le32(DescOwn | in hamachi_init_ring()
1204 hmp->rx_ring[RX_RING_SIZE-1].status_n_length |= cpu_to_le32(DescEndRing); in hamachi_init_ring()
1208 hmp->tx_ring[i].status_n_length = 0; in hamachi_init_ring()
1211 hmp->tx_ring[TX_RING_SIZE-1].status_n_length |= cpu_to_le32(DescEndRing); in hamachi_init_ring()
1262 hmp->tx_ring[entry].status_n_length = cpu_to_le32(DescOwn | in hamachi_start_xmit()
1265 hmp->tx_ring[entry].status_n_length = cpu_to_le32(DescOwn | in hamachi_start_xmit()
1344 if (hmp->tx_ring[entry].status_n_length & cpu_to_le32(DescOwn)) in hamachi_interrupt()
1356 hmp->tx_ring[entry].status_n_length = 0; in hamachi_interrupt()
1358 hmp->tx_ring[TX_RING_SIZE-1].status_n_length |= in hamachi_interrupt()
1416 entry, hmp->rx_ring[entry].status_n_length); in hamachi_rx()
1422 u32 desc_status = le32_to_cpu(desc->status_n_length); in hamachi_rx()
1447 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx+1) % RX_RING_SIZE].status_n_length) & 0xffff0000, in hamachi_rx()
1448 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx+1) % RX_RING_SIZE].status_n_length) & 0x0000ffff, in hamachi_rx()
1449 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx-1) % RX_RING_SIZE].status_n_length)); in hamachi_rx()
1607 desc->status_n_length = cpu_to_le32(hmp->rx_buf_sz); in hamachi_rx()
1609 desc->status_n_length |= cpu_to_le32(DescOwn | in hamachi_rx()
1612 desc->status_n_length |= cpu_to_le32(DescOwn | in hamachi_rx()
1691 i, hmp->tx_ring[i].status_n_length, hmp->tx_ring[i].addr); in hamachi_close()
1697 i, hmp->rx_ring[i].status_n_length, hmp->rx_ring[i].addr); in hamachi_close()
1720 hmp->rx_ring[i].status_n_length = 0; in hamachi_close()