Lines Matching refs:t

584 	struct s_smt_fp_txd volatile *t ;  in repair_txd_ring()  local
588 t = queue->tx_curr_get ; in repair_txd_ring()
591 t = t->txd_next ; in repair_txd_ring()
593 phys = le32_to_cpu(t->txd_ntdadr) ; in repair_txd_ring()
595 t = queue->tx_curr_get ; in repair_txd_ring()
597 DRV_BUF_FLUSH(t,DDI_DMA_SYNC_FORCPU) ; in repair_txd_ring()
598 tbctrl = le32_to_cpu(t->txd_tbctrl) ; in repair_txd_ring()
608 t->txd_tbctrl &= ~cpu_to_le32(BMU_OWN) ; in repair_txd_ring()
611 phys = le32_to_cpu(t->txd_ntdadr) ; in repair_txd_ring()
612 DRV_BUF_FLUSH(t,DDI_DMA_SYNC_FORDEV) ; in repair_txd_ring()
613 t = t->txd_next ; in repair_txd_ring()
1623 struct s_smt_fp_txd volatile *t ; in hwm_tx_frag() local
1635 t = queue->tx_curr_put ; in hwm_tx_frag()
1640 DB_TX(3, "LAN_TX: TxD = %p, virt = %p", t, virt); in hwm_tx_frag()
1641 t->txd_virt = virt ; in hwm_tx_frag()
1642 t->txd_txdscr = cpu_to_le32(smc->os.hwm.tx_descr) ; in hwm_tx_frag()
1643 t->txd_tbadr = cpu_to_le32(phys) ; in hwm_tx_frag()
1647 t->txd_tbctrl = tbctrl ; in hwm_tx_frag()
1650 DRV_BUF_FLUSH(t,DDI_DMA_SYNC_FORDEV) ; in hwm_tx_frag()
1653 DRV_BUF_FLUSH(t,DDI_DMA_SYNC_FORDEV) ; in hwm_tx_frag()
1663 queue->tx_curr_put = t->txd_next ; in hwm_tx_frag()
1680 hwm_cpy_txd2mb(t,smc->os.hwm.tx_data, in hwm_tx_frag()
1702 hwm_cpy_txd2mb(t,smc->os.hwm.tx_data, in hwm_tx_frag()
1719 NDD_TRACE("THfE",t,queue->tx_free,0) ; in hwm_tx_frag()
1809 struct s_smt_fp_txd volatile *t ; in smt_send_mbuf() local
1873 t = queue->tx_curr_put ; in smt_send_mbuf()
1876 DB_TX(5, "init TxD = 0x%p", t); in smt_send_mbuf()
1879 t->txd_txdscr = cpu_to_le32(TX_DESCRIPTOR | in smt_send_mbuf()
1882 t->txd_virt = virt[i] ; in smt_send_mbuf()
1885 t->txd_tbadr = cpu_to_le32(phys) ; in smt_send_mbuf()
1889 t->txd_tbctrl = tbctrl ; in smt_send_mbuf()
1891 DRV_BUF_FLUSH(t,DDI_DMA_SYNC_FORDEV) ; in smt_send_mbuf()
1894 DRV_BUF_FLUSH(t,DDI_DMA_SYNC_FORDEV) ; in smt_send_mbuf()
1898 queue->tx_curr_put = t = t->txd_next ; in smt_send_mbuf()
1916 NDD_TRACE("THSE",t,queue->tx_free,frag_count) ; in smt_send_mbuf()
2025 struct s_smt_fp_txd volatile *t ; in mac_drv_clear_tx_queue() local
2043 t = queue->tx_curr_get ; in mac_drv_clear_tx_queue()
2046 DRV_BUF_FLUSH(t,DDI_DMA_SYNC_FORCPU) ; in mac_drv_clear_tx_queue()
2047 DB_TX(5, "switch OWN bit of TxD 0x%p", t); in mac_drv_clear_tx_queue()
2048 t->txd_tbctrl &= ~cpu_to_le32(BMU_OWN) ; in mac_drv_clear_tx_queue()
2049 DRV_BUF_FLUSH(t,DDI_DMA_SYNC_FORDEV) ; in mac_drv_clear_tx_queue()
2050 t = t->txd_next ; in mac_drv_clear_tx_queue()
2062 t = queue->tx_curr_get ; in mac_drv_clear_tx_queue()
2070 outpd(ADDR(B5_XS_DA),le32_to_cpu(t->txd_ntdadr)) ; in mac_drv_clear_tx_queue()
2073 outpd(ADDR(B5_XA_DA),le32_to_cpu(t->txd_ntdadr)) ; in mac_drv_clear_tx_queue()