Lines Matching refs:tx_desc_info

1288 	struct ksz_desc_info tx_desc_info;  member
3981 if (hw->tx_desc_info.avail <= 1) in hw_alloc_pkt()
3985 get_tx_pkt(&hw->tx_desc_info, &hw->tx_desc_info.cur); in hw_alloc_pkt()
3986 hw->tx_desc_info.cur->sw.buf.tx.first_seg = 1; in hw_alloc_pkt()
3996 if (physical > hw->tx_desc_info.avail) in hw_alloc_pkt()
3999 return hw->tx_desc_info.avail; in hw_alloc_pkt()
4010 struct ksz_desc *cur = hw->tx_desc_info.cur; in hw_send_pkt()
4397 hw->tx_desc_info.size * hw->tx_desc_info.alloc + in ksz_alloc_desc()
4421 hw->tx_desc_info.ring_virt = (struct ksz_hw_desc *) in ksz_alloc_desc()
4423 hw->tx_desc_info.ring_phys = adapter->desc_pool.phys + offset; in ksz_alloc_desc()
4427 if (ksz_alloc_soft_desc(&hw->tx_desc_info, 1)) in ksz_alloc_desc()
4500 hw->tx_desc_info.alloc = NUM_OF_TX_DESC; in ksz_alloc_mem()
4520 hw->tx_desc_info.size = in ksz_alloc_mem()
4526 ksz_check_desc_num(&hw->tx_desc_info); in ksz_alloc_mem()
4548 hw->tx_desc_info.ring_virt = NULL; in ksz_free_desc()
4550 hw->tx_desc_info.ring_phys = 0; in ksz_free_desc()
4566 kfree(hw->tx_desc_info.ring); in ksz_free_desc()
4567 hw->tx_desc_info.ring = NULL; in ksz_free_desc()
4601 ksz_free_buffers(adapter, &adapter->hw.tx_desc_info, in ksz_free_mem()
4642 struct ksz_desc_info *info = &hw->tx_desc_info; in send_packet()
4747 struct ksz_desc_info *info = &hw->tx_desc_info; in transmit_cleanup()
4932 hw_reset_pkts(&hw->tx_desc_info); in netdev_tx_timeout()
4938 hw->tx_desc_info.ring_phys, in netdev_tx_timeout()
5409 hw_reset_pkts(&hw->tx_desc_info); in netdev_close()
5467 hw->tx_desc_info.ring_phys, hw->rx_desc_info.ring_phys); in prepare_hardware()
6419 ring->tx_pending = hw->tx_desc_info.alloc; in netdev_get_ringparam()