Lines Matching refs:sto
66 unsigned long *sto; in dma_get_seg_table_origin() local
69 sto = get_rt_sto(*entry); in dma_get_seg_table_origin()
71 sto = dma_alloc_cpu_table(); in dma_get_seg_table_origin()
72 if (!sto) in dma_get_seg_table_origin()
75 set_rt_sto(entry, sto); in dma_get_seg_table_origin()
79 return sto; in dma_get_seg_table_origin()
101 unsigned long *sto, *pto; in dma_walk_cpu_trans() local
105 sto = dma_get_seg_table_origin(&rto[rtx]); in dma_walk_cpu_trans()
106 if (!sto) in dma_walk_cpu_trans()
110 pto = dma_get_page_table_origin(&sto[sx]); in dma_walk_cpu_trans()
236 unsigned long *sto = get_rt_sto(entry); in dma_free_seg_table() local
240 if (reg_entry_isvalid(sto[sx])) in dma_free_seg_table()
241 dma_free_page_table(get_st_pto(sto[sx])); in dma_free_seg_table()
243 dma_free_cpu_table(sto); in dma_free_seg_table()