Lines Matching defs:ioc

198 struct ioc {  struct
199 void __iomem *ioc_hpa; /* I/O MMU base address */ argument
200 char *res_map; /* resource map, bit == pdir entry */
201 u64 *pdir_base; /* physical base address */
202 unsigned long ibase; /* pdir IOV Space base */
203 unsigned long imask; /* pdir IOV Space mask */
205 unsigned long *res_hint; /* next avail IOVP - circular search */
206 unsigned long dma_mask;
207 spinlock_t res_lock; /* protects the resource bitmap, but must be held when */
231 struct ioc *next; /* list of IOC's in system */ argument
241 static struct ioc *ioc_list, *ioc_found; argument
309 sba_dump_pdir_entry(struct ioc *ioc, char *msg, uint pide) in sba_dump_pdir_entry()
340 sba_check_pdir(struct ioc *ioc, char *msg) in sba_check_pdir()
387 sba_dump_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) in sba_dump_sg()
398 sba_check_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) in sba_check_sg()
427 #define SBA_IOVA(ioc,iovp,offset) ((ioc->ibase) | (iovp) | (offset)) argument
428 #define SBA_IOVP(ioc,iova) ((iova) & ~(ioc->ibase)) argument
457 static unsigned long ptr_to_pide(struct ioc *ioc, unsigned long *res_ptr, in ptr_to_pide()
475 sba_search_bitmap(struct ioc *ioc, struct device *dev, in sba_search_bitmap()
622 sba_alloc_range(struct ioc *ioc, struct device *dev, size_t size) in sba_alloc_range()
720 sba_free_range(struct ioc *ioc, dma_addr_t iova, size_t size) in sba_free_range()
838 sba_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) in sba_mark_invalid()
916 struct ioc *ioc; in sba_map_page() local
1000 sba_mark_clean(struct ioc *ioc, dma_addr_t iova, size_t size) in sba_mark_clean()
1035 struct ioc *ioc; in sba_unmap_page() local
1114 struct ioc *ioc; in sba_alloc_coherent() local
1198 struct ioc *ioc, in sba_fill_pdir()
1293 sba_coalesce_chunks(struct ioc *ioc, struct device *dev, in sba_coalesce_chunks()
1433 struct ioc *ioc; in sba_map_sg_attrs() local
1533 struct ioc *ioc; in sba_unmap_sg_attrs() local
1574 ioc_iova_init(struct ioc *ioc) in ioc_iova_init()
1679 ioc_resource_init(struct ioc *ioc) in ioc_resource_init()
1717 ioc_sac_init(struct ioc *ioc) in ioc_sac_init()
1743 ioc_zx1_init(struct ioc *ioc) in ioc_zx1_init()
1782 static void __init ioc_init(unsigned long hpa, struct ioc *ioc) in ioc_init()
1843 struct ioc *ioc; in ioc_start() local
1856 struct ioc *ioc = v; in ioc_next() local
1870 struct ioc *ioc = v; in ioc_show() local
1934 struct ioc *ioc; in sba_connect_bus() local
1966 sba_map_ioc_to_node(struct ioc *ioc, acpi_handle handle) in sba_map_ioc_to_node()
1979 static void __init acpi_sba_ioc_add(struct ioc *ioc) in acpi_sba_ioc_add()
2032 struct ioc *ioc; in acpi_sba_ioc_attach() local