Lines Matching refs:tx_desc_info
1213 struct ksz_desc_info tx_desc_info; member
3900 if (hw->tx_desc_info.avail <= 1) in hw_alloc_pkt()
3904 get_tx_pkt(&hw->tx_desc_info, &hw->tx_desc_info.cur); in hw_alloc_pkt()
3905 hw->tx_desc_info.cur->sw.buf.tx.first_seg = 1; in hw_alloc_pkt()
3915 if (physical > hw->tx_desc_info.avail) in hw_alloc_pkt()
3918 return hw->tx_desc_info.avail; in hw_alloc_pkt()
3929 struct ksz_desc *cur = hw->tx_desc_info.cur; in hw_send_pkt()
4316 hw->tx_desc_info.size * hw->tx_desc_info.alloc + in ksz_alloc_desc()
4340 hw->tx_desc_info.ring_virt = (struct ksz_hw_desc *) in ksz_alloc_desc()
4342 hw->tx_desc_info.ring_phys = adapter->desc_pool.phys + offset; in ksz_alloc_desc()
4346 if (ksz_alloc_soft_desc(&hw->tx_desc_info, 1)) in ksz_alloc_desc()
4421 hw->tx_desc_info.alloc = NUM_OF_TX_DESC; in ksz_alloc_mem()
4441 hw->tx_desc_info.size = in ksz_alloc_mem()
4447 ksz_check_desc_num(&hw->tx_desc_info); in ksz_alloc_mem()
4469 hw->tx_desc_info.ring_virt = NULL; in ksz_free_desc()
4471 hw->tx_desc_info.ring_phys = 0; in ksz_free_desc()
4486 kfree(hw->tx_desc_info.ring); in ksz_free_desc()
4487 hw->tx_desc_info.ring = NULL; in ksz_free_desc()
4522 ksz_free_buffers(adapter, &adapter->hw.tx_desc_info, DMA_TO_DEVICE); in ksz_free_mem()
4561 struct ksz_desc_info *info = &hw->tx_desc_info; in send_packet()
4664 struct ksz_desc_info *info = &hw->tx_desc_info; in transmit_cleanup()
4849 hw_reset_pkts(&hw->tx_desc_info); in netdev_tx_timeout()
4855 hw->tx_desc_info.ring_phys, in netdev_tx_timeout()
5323 hw_reset_pkts(&hw->tx_desc_info); in netdev_close()
5379 hw->tx_desc_info.ring_phys, hw->rx_desc_info.ring_phys); in prepare_hardware()
6333 ring->tx_pending = hw->tx_desc_info.alloc; in netdev_get_ringparam()