Lines Matching refs:hose
69 struct pci_controller *hose = filp->private_data; in pnv_eeh_ei_write() local
91 pe = eeh_pe_get(hose, pe_no); in pnv_eeh_ei_write()
107 struct pci_controller *hose = data; in pnv_eeh_dbgfs_set() local
108 struct pnv_phb *phb = hose->private_data; in pnv_eeh_dbgfs_set()
116 struct pci_controller *hose = data; in pnv_eeh_dbgfs_get() local
117 struct pnv_phb *phb = hose->private_data; in pnv_eeh_dbgfs_get()
147 struct pci_controller *hose; in pnv_eeh_enable_phbs() local
150 list_for_each_entry(hose, &hose_list, list_node) { in pnv_eeh_enable_phbs()
151 phb = hose->private_data; in pnv_eeh_enable_phbs()
174 struct pci_controller *hose; in pnv_eeh_post_init() local
202 list_for_each_entry(hose, &hose_list, list_node) { in pnv_eeh_post_init()
203 phb = hose->private_data; in pnv_eeh_post_init()
212 phb->dbgfs, hose, in pnv_eeh_post_init()
216 phb->dbgfs, hose, in pnv_eeh_post_init()
219 phb->dbgfs, hose, in pnv_eeh_post_init()
222 phb->dbgfs, hose, in pnv_eeh_post_init()
295 struct pci_controller *hose = pdev->bus->sysdata; in pnv_eeh_get_upstream_pe() local
296 struct pnv_phb *phb = hose->private_data; in pnv_eeh_get_upstream_pe()
309 return eeh_pe_get(phb->hose, ioda_pe->pe_number); in pnv_eeh_get_upstream_pe()
324 struct pci_controller *hose = pdn->phb; in pnv_eeh_probe() local
325 struct pnv_phb *phb = hose->private_data; in pnv_eeh_probe()
344 __func__, hose->global_number, config_addr >> 8, in pnv_eeh_probe()
420 edev->pe->bus = pci_find_bus(hose->global_number, in pnv_eeh_probe()
455 struct pci_controller *hose = pe->phb; in pnv_eeh_set_option() local
456 struct pnv_phb *phb = hose->private_data; in pnv_eeh_set_option()
491 __func__, rc, phb->hose->global_number, in pnv_eeh_set_option()
506 __func__, rc, option, phb->hose->global_number, in pnv_eeh_set_option()
541 __func__, rc, phb->hose->global_number); in pnv_eeh_get_phb_state()
601 __func__, rc, phb->hose->global_number, in pnv_eeh_get_pe_state()
638 __func__, phb->hose->global_number, in pnv_eeh_get_pe_state()
719 int pnv_eeh_phb_reset(struct pci_controller *hose, int option) in pnv_eeh_phb_reset() argument
721 struct pnv_phb *phb = hose->private_data; in pnv_eeh_phb_reset()
725 __func__, hose->global_number, option); in pnv_eeh_phb_reset()
761 static int pnv_eeh_root_reset(struct pci_controller *hose, int option) in pnv_eeh_root_reset() argument
763 struct pnv_phb *phb = hose->private_data; in pnv_eeh_root_reset()
767 __func__, hose->global_number, option); in pnv_eeh_root_reset()
854 struct pci_controller *hose = pci_bus_to_host(pdev->bus); in pnv_eeh_bridge_reset() local
855 struct pnv_phb *phb = hose->private_data; in pnv_eeh_bridge_reset()
895 struct pci_controller *hose; in pnv_pci_reset_secondary_bus() local
898 hose = pci_bus_to_host(dev->bus); in pnv_pci_reset_secondary_bus()
899 pnv_eeh_root_reset(hose, EEH_RESET_HOT); in pnv_pci_reset_secondary_bus()
900 pnv_eeh_root_reset(hose, EEH_RESET_DEACTIVATE); in pnv_pci_reset_secondary_bus()
1035 struct pci_controller *hose = pe->phb; in pnv_eeh_reset() local
1055 return pnv_eeh_phb_reset(hose, option); in pnv_eeh_reset()
1064 phb = hose->private_data; in pnv_eeh_reset()
1089 return pnv_eeh_root_reset(hose, option); in pnv_eeh_reset()
1118 return pnv_eeh_root_reset(hose, option); in pnv_eeh_reset()
1168 struct pci_controller *hose = pe->phb; in pnv_eeh_err_inject() local
1169 struct pnv_phb *phb = hose->private_data; in pnv_eeh_err_inject()
1200 hose->global_number, pe->addr); in pnv_eeh_err_inject()
1281 static void pnv_eeh_get_and_dump_hub_diag(struct pci_controller *hose) in pnv_eeh_get_and_dump_hub_diag() argument
1283 struct pnv_phb *phb = hose->private_data; in pnv_eeh_get_and_dump_hub_diag()
1339 static int pnv_eeh_get_pe(struct pci_controller *hose, in pnv_eeh_get_pe() argument
1342 struct pnv_phb *phb = hose->private_data; in pnv_eeh_get_pe()
1360 dev_pe = eeh_pe_get(hose, pe_no); in pnv_eeh_get_pe()
1407 struct pci_controller *hose; in pnv_eeh_next_error() local
1421 list_for_each_entry(hose, &hose_list, list_node) { in pnv_eeh_next_error()
1427 phb = hose->private_data; in pnv_eeh_next_error()
1428 phb_pe = eeh_phb_pe_get(hose); in pnv_eeh_next_error()
1437 __func__, hose->global_number, rc); in pnv_eeh_next_error()
1445 __func__, hose->global_number); in pnv_eeh_next_error()
1457 hose->global_number); in pnv_eeh_next_error()
1466 pnv_eeh_get_and_dump_hub_diag(hose); in pnv_eeh_next_error()
1476 hose->global_number, in pnv_eeh_next_error()
1484 hose->global_number, in pnv_eeh_next_error()
1490 hose->global_number, in pnv_eeh_next_error()
1493 pnv_pci_dump_phb_diag_data(hose, phb_pe->data); in pnv_eeh_next_error()
1503 if (pnv_eeh_get_pe(hose, in pnv_eeh_next_error()
1506 hose->global_number, be64_to_cpu(frozen_pe_no)); in pnv_eeh_next_error()
1514 pnv_pci_dump_phb_diag_data(hose, in pnv_eeh_next_error()
1651 struct pci_controller *hose; in eeh_powernv_init() local
1668 list_for_each_entry(hose, &hose_list, list_node) { in eeh_powernv_init()
1669 phb = hose->private_data; in eeh_powernv_init()