Lines Matching refs:TceTable
60 struct TceTable virtBusVethTceTable; /* Tce table for virtual ethernet */
61 struct TceTable virtBusVioTceTable; /* Tce table for virtual I/O */
78 static inline long alloc_tce_range(struct TceTable *,
84 static long alloc_tce_range_nolock(struct TceTable *,
88 static inline void free_tce_range(struct TceTable *,
95 void free_tce_range_nolock(struct TceTable *,
100 dma_addr_t get_tces(struct TceTable *, unsigned order, void *page,
103 static long test_tce_range( struct TceTable *,
114 static dma_addr_t create_tces_sg( struct TceTable *tbl,
121 struct TceTable *tce_table_parms );
125 struct TceTable *tce_table_parms );
129 struct TceTable *newTceTable );
131 static struct TceTable* findHwTceTable(struct TceTable * newTceTable );
140 static inline struct TceTable *get_tce_table(struct pci_dev *dev) in get_tce_table()
160 static void tce_build_iSeries(struct TceTable *tbl, long tcenum, in tce_build_iSeries()
194 static void tce_build_pSeries(struct TceTable *tbl, long tcenum, in tce_build_pSeries()
219 struct TceTable *build_tce_table(struct TceTable * tbl) in build_tce_table()
307 static inline long alloc_tce_range( struct TceTable *tbl, unsigned order ) in alloc_tce_range()
324 static long alloc_tce_range_nolock( struct TceTable *tbl, unsigned order ) in alloc_tce_range_nolock()
401 static inline void free_tce_range(struct TceTable *tbl, in free_tce_range()
417 void free_tce_range_nolock(struct TceTable *tbl, in free_tce_range_nolock()
495 static long test_tce_range( struct TceTable *tbl, long tcenum, unsigned order ) in test_tce_range()
527 inline dma_addr_t get_tces(struct TceTable *tbl, unsigned order, in get_tces()
562 static void tce_free_one_iSeries( struct TceTable *tbl, long tcenum ) in tce_free_one_iSeries()
575 static void tce_free_one_pSeries( struct TceTable *tbl, long tcenum ) in tce_free_one_pSeries()
587 void tce_free(struct TceTable *tbl, dma_addr_t dma_addr, in tce_free()
625 struct TceTable *t; in create_virtual_bus_tce_table()
758 struct TceTable * newTceTable; in create_pci_bus_tce_table()
763 newTceTable = (struct TceTable *)kmalloc( sizeof(struct TceTable), GFP_KERNEL ); in create_pci_bus_tce_table()
812 static struct TceTable* findHwTceTable(struct TceTable * newTceTable ) in findHwTceTable()
847 struct TceTable* newTceTable ) in getTceTableParmsiSeries()
883 struct TceTable *newTceTable ) { in getTceTableParmsPSeries()
969 struct TceTable *newTceTable ) { in getTceTableParmsPSeriesLP()
994 struct TceTable * tbl; in pci_alloc_consistent()
1047 struct TceTable * tbl; in pci_free_consistent()
1081 struct TceTable * tbl; in pci_map_single()
1118 struct TceTable * tbl; in pci_unmap_single()
1285 static dma_addr_t create_tces_sg(struct TceTable *tbl, struct scatterlist *sg, in create_tces_sg()
1361 struct TceTable * tbl; in pci_map_sg()
1401 struct TceTable * tbl; in pci_unmap_sg()