Lines Matching refs:ps3_dma_region
337 static unsigned long dma_sb_lpar_to_bus(struct ps3_dma_region *r, in dma_sb_lpar_to_bus()
348 static void __maybe_unused _dma_dump_region(const struct ps3_dma_region *r, in _dma_dump_region()
374 struct ps3_dma_region *region;
397 static struct dma_chunk * dma_find_chunk(struct ps3_dma_region *r, in dma_find_chunk()
426 static struct dma_chunk *dma_find_chunk_lpar(struct ps3_dma_region *r, in dma_find_chunk_lpar()
476 struct ps3_dma_region *r = c->region; in dma_ioc0_free_chunk()
513 static int dma_sb_map_pages(struct ps3_dma_region *r, unsigned long phys_addr, in dma_sb_map_pages()
553 static int dma_ioc0_map_pages(struct ps3_dma_region *r, unsigned long phys_addr, in dma_ioc0_map_pages()
638 static int dma_sb_region_create(struct ps3_dma_region *r) in dma_sb_region_create()
677 static int dma_ioc0_region_create(struct ps3_dma_region *r) in dma_ioc0_region_create()
708 static int dma_sb_region_free(struct ps3_dma_region *r) in dma_sb_region_free()
739 static int dma_ioc0_region_free(struct ps3_dma_region *r) in dma_ioc0_region_free()
773 static int dma_sb_map_area(struct ps3_dma_region *r, unsigned long virt_addr, in dma_sb_map_area()
828 static int dma_ioc0_map_area(struct ps3_dma_region *r, unsigned long virt_addr, in dma_ioc0_map_area()
886 static int dma_sb_unmap_area(struct ps3_dma_region *r, dma_addr_t bus_addr, in dma_sb_unmap_area()
922 static int dma_ioc0_unmap_area(struct ps3_dma_region *r, in dma_ioc0_unmap_area()
969 static int dma_sb_region_create_linear(struct ps3_dma_region *r) in dma_sb_region_create_linear()
1024 static int dma_sb_region_free_linear(struct ps3_dma_region *r) in dma_sb_region_free_linear()
1072 static int dma_sb_map_area_linear(struct ps3_dma_region *r, in dma_sb_map_area_linear()
1091 static int dma_sb_unmap_area_linear(struct ps3_dma_region *r, in dma_sb_unmap_area_linear()
1119 struct ps3_dma_region *r, enum ps3_dma_page_size page_size, in ps3_dma_region_init()
1162 int ps3_dma_region_create(struct ps3_dma_region *r) in ps3_dma_region_create()
1171 int ps3_dma_region_free(struct ps3_dma_region *r) in ps3_dma_region_free()
1180 int ps3_dma_map(struct ps3_dma_region *r, unsigned long virt_addr, in ps3_dma_map()
1187 int ps3_dma_unmap(struct ps3_dma_region *r, dma_addr_t bus_addr, in ps3_dma_unmap()