Lines Matching full:mid

91 	unsigned long mid = MCPCIA_HOSE2MID(hose->index);  in conf_read()  local
99 addr, type1, mid)); in conf_read()
102 stat0 = *(vuip)MCPCIA_CAP_ERR(mid); in conf_read()
103 *(vuip)MCPCIA_CAP_ERR(mid) = stat0; in conf_read()
105 *(vuip)MCPCIA_CAP_ERR(mid); in conf_read()
106 DBG_CFG(("conf_read: MCPCIA_CAP_ERR(%d) was 0x%x\n", mid, stat0)); in conf_read()
112 mcheck_extra(cpu) = mid; in conf_read()
139 unsigned long mid = MCPCIA_HOSE2MID(hose->index); in conf_write() local
147 stat0 = *(vuip)MCPCIA_CAP_ERR(mid); in conf_write()
148 *(vuip)MCPCIA_CAP_ERR(mid) = stat0; mb(); in conf_write()
149 *(vuip)MCPCIA_CAP_ERR(mid); in conf_write()
150 DBG_CFG(("conf_write: MCPCIA CAP_ERR(%d) was 0x%x\n", mid, stat0)); in conf_write()
154 mcheck_extra(cpu) = mid; in conf_write()
161 *(vuip)MCPCIA_CAP_ERR(mid); /* read to force the write */ in conf_write()
257 int mid = MCPCIA_HOSE2MID(h); in mcpcia_probe_hose() local
269 mcheck_extra(cpu) = mid; in mcpcia_probe_hose()
273 pci_rev = *(vuip)MCPCIA_REV(mid); in mcpcia_probe_hose()
293 int mid = MCPCIA_HOSE2MID(h); in mcpcia_new_hose() local
304 hose->sparse_mem_base = MCPCIA_SPARSE(mid) - IDENT_ADDR; in mcpcia_new_hose()
305 hose->dense_mem_base = MCPCIA_DENSE(mid) - IDENT_ADDR; in mcpcia_new_hose()
306 hose->sparse_io_base = MCPCIA_IO(mid) - IDENT_ADDR; in mcpcia_new_hose()
308 hose->config_space_base = MCPCIA_CONF(mid); in mcpcia_new_hose()
311 io->start = MCPCIA_IO(mid) - MCPCIA_IO_BIAS; in mcpcia_new_hose()
316 mem->start = MCPCIA_DENSE(mid) - MCPCIA_MEM_BIAS; in mcpcia_new_hose()
335 mcpcia_pci_clr_err(int mid) in mcpcia_pci_clr_err() argument
337 *(vuip)MCPCIA_CAP_ERR(mid); in mcpcia_pci_clr_err()
338 *(vuip)MCPCIA_CAP_ERR(mid) = 0xffffffff; /* Clear them all. */ in mcpcia_pci_clr_err()
340 *(vuip)MCPCIA_CAP_ERR(mid); /* Re-read for force write. */ in mcpcia_pci_clr_err()
346 int mid = MCPCIA_HOSE2MID(hose->index); in mcpcia_startup_hose() local
349 mcpcia_pci_clr_err(mid); in mcpcia_startup_hose()
354 tmp = *(vuip)MCPCIA_CAP_ERR(mid); in mcpcia_startup_hose()
356 *(vuip)MCPCIA_CAP_ERR(mid) = tmp; in mcpcia_startup_hose()
358 tmp = *(vuip)MCPCIA_CAP_ERR(mid); in mcpcia_startup_hose()
376 *(vuip)MCPCIA_W0_BASE(mid) = hose->sg_isa->dma_base | 3; in mcpcia_startup_hose()
377 *(vuip)MCPCIA_W0_MASK(mid) = (hose->sg_isa->size - 1) & 0xfff00000; in mcpcia_startup_hose()
378 *(vuip)MCPCIA_T0_BASE(mid) = virt_to_phys(hose->sg_isa->ptes) >> 8; in mcpcia_startup_hose()
380 *(vuip)MCPCIA_W1_BASE(mid) = hose->sg_pci->dma_base | 3; in mcpcia_startup_hose()
381 *(vuip)MCPCIA_W1_MASK(mid) = (hose->sg_pci->size - 1) & 0xfff00000; in mcpcia_startup_hose()
382 *(vuip)MCPCIA_T1_BASE(mid) = virt_to_phys(hose->sg_pci->ptes) >> 8; in mcpcia_startup_hose()
384 *(vuip)MCPCIA_W2_BASE(mid) = __direct_map_base | 1; in mcpcia_startup_hose()
385 *(vuip)MCPCIA_W2_MASK(mid) = (__direct_map_size - 1) & 0xfff00000; in mcpcia_startup_hose()
386 *(vuip)MCPCIA_T2_BASE(mid) = 0; in mcpcia_startup_hose()
388 *(vuip)MCPCIA_W3_BASE(mid) = 0x0; in mcpcia_startup_hose()
392 *(vuip)MCPCIA_HBASE(mid) = 0x0; in mcpcia_startup_hose()
395 *(vuip)MCPCIA_HAE_MEM(mid) = 0U; in mcpcia_startup_hose()
397 *(vuip)MCPCIA_HAE_MEM(mid); /* read it back. */ in mcpcia_startup_hose()
398 *(vuip)MCPCIA_HAE_IO(mid) = 0; in mcpcia_startup_hose()
400 *(vuip)MCPCIA_HAE_IO(mid); /* read it back. */ in mcpcia_startup_hose()