Lines Matching refs:tx_desc_info

1288 	struct ksz_desc_info tx_desc_info;  member
3984 if (hw->tx_desc_info.avail <= 1) in hw_alloc_pkt()
3988 get_tx_pkt(&hw->tx_desc_info, &hw->tx_desc_info.cur); in hw_alloc_pkt()
3989 hw->tx_desc_info.cur->sw.buf.tx.first_seg = 1; in hw_alloc_pkt()
3999 if (physical > hw->tx_desc_info.avail) in hw_alloc_pkt()
4002 return hw->tx_desc_info.avail; in hw_alloc_pkt()
4013 struct ksz_desc *cur = hw->tx_desc_info.cur; in hw_send_pkt()
4400 hw->tx_desc_info.size * hw->tx_desc_info.alloc + in ksz_alloc_desc()
4424 hw->tx_desc_info.ring_virt = (struct ksz_hw_desc *) in ksz_alloc_desc()
4426 hw->tx_desc_info.ring_phys = adapter->desc_pool.phys + offset; in ksz_alloc_desc()
4430 if (ksz_alloc_soft_desc(&hw->tx_desc_info, 1)) in ksz_alloc_desc()
4503 hw->tx_desc_info.alloc = NUM_OF_TX_DESC; in ksz_alloc_mem()
4523 hw->tx_desc_info.size = in ksz_alloc_mem()
4529 ksz_check_desc_num(&hw->tx_desc_info); in ksz_alloc_mem()
4551 hw->tx_desc_info.ring_virt = NULL; in ksz_free_desc()
4553 hw->tx_desc_info.ring_phys = 0; in ksz_free_desc()
4569 kfree(hw->tx_desc_info.ring); in ksz_free_desc()
4570 hw->tx_desc_info.ring = NULL; in ksz_free_desc()
4604 ksz_free_buffers(adapter, &adapter->hw.tx_desc_info, in ksz_free_mem()
4645 struct ksz_desc_info *info = &hw->tx_desc_info; in send_packet()
4750 struct ksz_desc_info *info = &hw->tx_desc_info; in transmit_cleanup()
4935 hw_reset_pkts(&hw->tx_desc_info); in netdev_tx_timeout()
4941 hw->tx_desc_info.ring_phys, in netdev_tx_timeout()
5413 hw_reset_pkts(&hw->tx_desc_info); in netdev_close()
5471 hw->tx_desc_info.ring_phys, hw->rx_desc_info.ring_phys); in prepare_hardware()
6414 ring->tx_pending = hw->tx_desc_info.alloc; in netdev_get_ringparam()