Lines Matching defs:tx_ring
70 #define TX_BUFF_RINGSIZE(tx_ring) \
71 (sizeof(struct qlcnic_cmd_buffer) * tx_ring->num_desc)
72 #define TX_DESC_RINGSIZE(tx_ring) \
73 (sizeof(struct cmd_desc_type0) * tx_ring->num_desc)
592 struct qlcnic_host_tx_ring *tx_ring;
1102 struct qlcnic_host_tx_ring *tx_ring;
1722 static inline u32 qlcnic_tx_avail(struct qlcnic_host_tx_ring *tx_ring)
1724 if (likely(tx_ring->producer < tx_ring->sw_consumer))
1725 return tx_ring->sw_consumer - tx_ring->producer;
1727 return tx_ring->sw_consumer + tx_ring->num_desc -
1728 tx_ring->producer;
1800 u16 vlan, struct qlcnic_host_tx_ring *tx_ring);
2059 struct qlcnic_host_tx_ring *tx_ring)
2061 adapter->ahw->hw_ops->change_l2_filter(adapter, addr, vlan, tx_ring);
2165 struct qlcnic_host_tx_ring *tx_ring)
2169 writel(0x0, tx_ring->crb_intr_mask);
2174 struct qlcnic_host_tx_ring *tx_ring)
2178 writel(1, tx_ring->crb_intr_mask);
2183 struct qlcnic_host_tx_ring *tx_ring)
2185 writel(0, tx_ring->crb_intr_mask);
2190 struct qlcnic_host_tx_ring *tx_ring)
2192 writel(1, tx_ring->crb_intr_mask);
2248 struct qlcnic_host_tx_ring *tx_ring)
2251 adapter->ahw->hw_ops->enable_tx_intr(adapter, tx_ring);
2255 struct qlcnic_host_tx_ring *tx_ring)
2258 adapter->ahw->hw_ops->disable_tx_intr(adapter, tx_ring);