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