Searched refs:tdt (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/dma/bestcomm/
H A Dbestcomm.c63 if (!bcom_eng->tdt[i].stop) { /* we use stop as a marker */ bcom_task_alloc()
64 bcom_eng->tdt[i].stop = 0xfffffffful; /* dummy addr */ bcom_task_alloc()
114 bcom_eng->tdt[tasknum].stop = 0; bcom_task_alloc()
127 bcom_eng->tdt[tsk->tasknum].start = 0; bcom_task_free()
128 bcom_eng->tdt[tsk->tasknum].stop = 0; bcom_task_free()
142 struct bcom_tdt *tdt; bcom_load_image() local
160 tdt = &bcom_eng->tdt[task]; bcom_load_image()
162 if (tdt->start) { bcom_load_image()
180 tdt->start = start_pa; bcom_load_image()
181 tdt->stop = start_pa + ((hdr->desc_size-1) * sizeof(u32)); bcom_load_image()
288 bcom_eng->tdt = bcom_sram_alloc(tdt_size, sizeof(u32), &tdt_pa); bcom_engine_init()
293 if (!bcom_eng->tdt || !bcom_eng->ctx || !bcom_eng->var || !bcom_eng->fdt) { bcom_engine_init()
296 bcom_sram_free(bcom_eng->tdt); bcom_engine_init()
304 memset(bcom_eng->tdt, 0x00, tdt_size); bcom_engine_init()
318 bcom_eng->tdt[task].context = ctx_pa; bcom_engine_init()
319 bcom_eng->tdt[task].var = var_pa; bcom_engine_init()
320 bcom_eng->tdt[task].fdt = fdt_pa; bcom_engine_init()
356 bcom_sram_free(bcom_eng->tdt); bcom_engine_cleanup()
/linux-4.4.14/include/linux/fsl/bestcomm/
H A Dbestcomm_priv.h73 struct bcom_tdt *tdt; member in struct:bcom_engine
279 return bcom_sram_pa2va(bcom_eng->tdt[task].start); bcom_task_desc()
285 return (bcom_eng->tdt[task].stop - bcom_eng->tdt[task].start)/sizeof(u32) + 1; bcom_task_num_descs()
291 return bcom_sram_pa2va(bcom_eng->tdt[task].var); bcom_task_var()
330 u32 *fdt = &bcom_eng->tdt[task].fdt; bcom_set_task_pragma()
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
H A De1000.h187 u16 tdt; member in struct:e1000_tx_ring
H A De1000_main.c1619 adapter->tx_ring[0].tdt = ((hw->mac_type >= e1000_82543) ? e1000_configure_tx()
2013 writel(0, hw->hw_addr + tx_ring->tdt); e1000_clean_tx_ring()
3263 writel(tx_ring->next_to_use, hw->hw_addr + tx_ring->tdt); e1000_xmit_frame()
3922 readl(hw->hw_addr + tx_ring->tdt), e1000_clean_tx_irq()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c3811 u32 tdt, tctl, txd_lower = E1000_TXD_CMD_IFCS; e1000_flush_tx_ring() local
3816 tdt = er32(TDT(0)); e1000_flush_tx_ring()
3817 BUG_ON(tdt != tx_ring->next_to_use); e1000_flush_tx_ring()

Completed in 325 milliseconds