Lines Matching refs:pchip

178 	tsunami_pchip *pchip = hose->index ? TSUNAMI_pchip1 : TSUNAMI_pchip0;  in tsunami_pci_tbi()  local
184 csr = &pchip->tlbia.csr; in tsunami_pci_tbi()
186 csr = &pchip->tlbiv.csr; in tsunami_pci_tbi()
245 tsunami_init_one_pchip(tsunami_pchip *pchip, int index) in tsunami_init_one_pchip() argument
249 if (tsunami_probe_read(&pchip->pctl.csr) == 0) in tsunami_init_one_pchip()
292 saved_config[index].wsba[0] = pchip->wsba[0].csr; in tsunami_init_one_pchip()
293 saved_config[index].wsm[0] = pchip->wsm[0].csr; in tsunami_init_one_pchip()
294 saved_config[index].tba[0] = pchip->tba[0].csr; in tsunami_init_one_pchip()
296 saved_config[index].wsba[1] = pchip->wsba[1].csr; in tsunami_init_one_pchip()
297 saved_config[index].wsm[1] = pchip->wsm[1].csr; in tsunami_init_one_pchip()
298 saved_config[index].tba[1] = pchip->tba[1].csr; in tsunami_init_one_pchip()
300 saved_config[index].wsba[2] = pchip->wsba[2].csr; in tsunami_init_one_pchip()
301 saved_config[index].wsm[2] = pchip->wsm[2].csr; in tsunami_init_one_pchip()
302 saved_config[index].tba[2] = pchip->tba[2].csr; in tsunami_init_one_pchip()
304 saved_config[index].wsba[3] = pchip->wsba[3].csr; in tsunami_init_one_pchip()
305 saved_config[index].wsm[3] = pchip->wsm[3].csr; in tsunami_init_one_pchip()
306 saved_config[index].tba[3] = pchip->tba[3].csr; in tsunami_init_one_pchip()
331 pchip->wsba[0].csr = hose->sg_isa->dma_base | 3; in tsunami_init_one_pchip()
332 pchip->wsm[0].csr = (hose->sg_isa->size - 1) & 0xfff00000; in tsunami_init_one_pchip()
333 pchip->tba[0].csr = virt_to_phys(hose->sg_isa->ptes); in tsunami_init_one_pchip()
335 pchip->wsba[1].csr = hose->sg_pci->dma_base | 3; in tsunami_init_one_pchip()
336 pchip->wsm[1].csr = (hose->sg_pci->size - 1) & 0xfff00000; in tsunami_init_one_pchip()
337 pchip->tba[1].csr = virt_to_phys(hose->sg_pci->ptes); in tsunami_init_one_pchip()
339 pchip->wsba[2].csr = 0x80000000 | 1; in tsunami_init_one_pchip()
340 pchip->wsm[2].csr = (0x80000000 - 1) & 0xfff00000; in tsunami_init_one_pchip()
341 pchip->tba[2].csr = 0; in tsunami_init_one_pchip()
343 pchip->wsba[3].csr = 0; in tsunami_init_one_pchip()
346 pchip->pctl.csr |= pctl_m_mwin; in tsunami_init_one_pchip()
421 tsunami_kill_one_pchip(tsunami_pchip *pchip, int index) in tsunami_kill_one_pchip() argument
423 pchip->wsba[0].csr = saved_config[index].wsba[0]; in tsunami_kill_one_pchip()
424 pchip->wsm[0].csr = saved_config[index].wsm[0]; in tsunami_kill_one_pchip()
425 pchip->tba[0].csr = saved_config[index].tba[0]; in tsunami_kill_one_pchip()
427 pchip->wsba[1].csr = saved_config[index].wsba[1]; in tsunami_kill_one_pchip()
428 pchip->wsm[1].csr = saved_config[index].wsm[1]; in tsunami_kill_one_pchip()
429 pchip->tba[1].csr = saved_config[index].tba[1]; in tsunami_kill_one_pchip()
431 pchip->wsba[2].csr = saved_config[index].wsba[2]; in tsunami_kill_one_pchip()
432 pchip->wsm[2].csr = saved_config[index].wsm[2]; in tsunami_kill_one_pchip()
433 pchip->tba[2].csr = saved_config[index].tba[2]; in tsunami_kill_one_pchip()
435 pchip->wsba[3].csr = saved_config[index].wsba[3]; in tsunami_kill_one_pchip()
436 pchip->wsm[3].csr = saved_config[index].wsm[3]; in tsunami_kill_one_pchip()
437 pchip->tba[3].csr = saved_config[index].tba[3]; in tsunami_kill_one_pchip()
449 tsunami_pci_clr_err_1(tsunami_pchip *pchip) in tsunami_pci_clr_err_1() argument
451 pchip->perror.csr; in tsunami_pci_clr_err_1()
452 pchip->perror.csr = 0x040; in tsunami_pci_clr_err_1()
454 pchip->perror.csr; in tsunami_pci_clr_err_1()