• Home
  • Raw
  • Download

Lines Matching refs:edev

145 	struct eeh_dev *edev;  in pseries_eeh_set_option()  local
149 edev = of_node_to_eeh_dev(dn); in pseries_eeh_set_option()
166 config_addr = edev->config_addr; in pseries_eeh_set_option()
167 if (edev->pe_config_addr) in pseries_eeh_set_option()
168 config_addr = edev->pe_config_addr; in pseries_eeh_set_option()
178 config_addr, BUID_HI(edev->phb->buid), in pseries_eeh_set_option()
179 BUID_LO(edev->phb->buid), option); in pseries_eeh_set_option()
199 struct eeh_dev *edev; in pseries_eeh_get_pe_addr() local
203 edev = of_node_to_eeh_dev(dn); in pseries_eeh_get_pe_addr()
212 edev->config_addr, BUID_HI(edev->phb->buid), in pseries_eeh_get_pe_addr()
213 BUID_LO(edev->phb->buid), 1); in pseries_eeh_get_pe_addr()
219 edev->config_addr, BUID_HI(edev->phb->buid), in pseries_eeh_get_pe_addr()
220 BUID_LO(edev->phb->buid), 0); in pseries_eeh_get_pe_addr()
232 edev->config_addr, BUID_HI(edev->phb->buid), in pseries_eeh_get_pe_addr()
233 BUID_LO(edev->phb->buid), 0); in pseries_eeh_get_pe_addr()
261 struct eeh_dev *edev; in pseries_eeh_get_state() local
268 edev = of_node_to_eeh_dev(dn); in pseries_eeh_get_state()
269 config_addr = edev->config_addr; in pseries_eeh_get_state()
270 if (edev->pe_config_addr) in pseries_eeh_get_state()
271 config_addr = edev->pe_config_addr; in pseries_eeh_get_state()
275 config_addr, BUID_HI(edev->phb->buid), in pseries_eeh_get_state()
276 BUID_LO(edev->phb->buid)); in pseries_eeh_get_state()
281 config_addr, BUID_HI(edev->phb->buid), in pseries_eeh_get_state()
282 BUID_LO(edev->phb->buid)); in pseries_eeh_get_state()
341 struct eeh_dev *edev; in pseries_eeh_reset() local
346 edev = of_node_to_eeh_dev(dn); in pseries_eeh_reset()
347 config_addr = edev->config_addr; in pseries_eeh_reset()
348 if (edev->pe_config_addr) in pseries_eeh_reset()
349 config_addr = edev->pe_config_addr; in pseries_eeh_reset()
353 config_addr, BUID_HI(edev->phb->buid), in pseries_eeh_reset()
354 BUID_LO(edev->phb->buid), option); in pseries_eeh_reset()
360 config_addr, BUID_HI(edev->phb->buid), in pseries_eeh_reset()
361 BUID_LO(edev->phb->buid), EEH_RESET_HOT); in pseries_eeh_reset()
438 struct eeh_dev *edev; in pseries_eeh_get_log() local
443 edev = of_node_to_eeh_dev(dn); in pseries_eeh_get_log()
448 config_addr = edev->config_addr; in pseries_eeh_get_log()
449 if (edev->pe_config_addr) in pseries_eeh_get_log()
450 config_addr = edev->pe_config_addr; in pseries_eeh_get_log()
453 BUID_HI(edev->phb->buid), BUID_LO(edev->phb->buid), in pseries_eeh_get_log()
474 struct eeh_dev *edev; in pseries_eeh_configure_bridge() local
479 edev = of_node_to_eeh_dev(dn); in pseries_eeh_configure_bridge()
480 config_addr = edev->config_addr; in pseries_eeh_configure_bridge()
481 if (edev->pe_config_addr) in pseries_eeh_configure_bridge()
482 config_addr = edev->pe_config_addr; in pseries_eeh_configure_bridge()
487 config_addr, BUID_HI(edev->phb->buid), in pseries_eeh_configure_bridge()
488 BUID_LO(edev->phb->buid)); in pseries_eeh_configure_bridge()
491 config_addr, BUID_HI(edev->phb->buid), in pseries_eeh_configure_bridge()
492 BUID_LO(edev->phb->buid)); in pseries_eeh_configure_bridge()