Lines Matching defs:ioc
28 struct ioc { struct
29 void __iomem *ioc_hpa; /* I/O MMU base address */ argument
30 char *res_map; /* resource map, bit == pdir entry */
31 u64 *pdir_base; /* physical base address */
32 unsigned long ibase; /* pdir IOV Space base - shared w/lba_pci */
33 unsigned long imask; /* pdir IOV Space mask - shared w/lba_pci */
35 unsigned long iovp_mask; /* help convert IOVA to IOVP */
37 unsigned long *res_hint; /* next avail IOVP - circular search */
38 spinlock_t res_lock;
39 unsigned int res_bitshift; /* from the LEFT! */
40 unsigned int res_size; /* size of resource map in bytes */
43 unsigned long hint_mask_pdir; /* bits used for DMA hints */
44 unsigned int hint_shift_pdir;
47 int saved_cnt;
48 struct sba_dma_pair {
51 } saved[DELAYED_RESOURCE_CNT];
56 unsigned long avg_search[SBA_SEARCH_SAMPLE];
57 unsigned long avg_idx; /* current index into avg_search */
58 unsigned long used_pages;
59 unsigned long msingle_calls;
60 unsigned long msingle_pages;
84 unsigned int num_ioc; /* number of on-board IOC's */ argument
85 struct ioc ioc[MAX_IOC]; argument