Lines Matching refs:pcibus_info
107 struct pcibus_info *pcibus_info; in sn_pci_slot_valid() local
110 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(pci_bus); in sn_pci_slot_valid()
113 if (!(pcibus_info->pbi_valid_devices & (1 << device))) in sn_pci_slot_valid()
117 busnum = pcibus_info->pbi_buscommon.bs_persist_busnum; in sn_pci_slot_valid()
131 struct pcibus_info *pcibus_info; in sn_pci_bus_valid() local
136 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(pci_bus); in sn_pci_bus_valid()
137 asic_type = pcibus_info->pbi_buscommon.bs_asic_type; in sn_pci_bus_valid()
163 struct pcibus_info *pcibus_info; in sn_hp_slot_private_alloc() local
166 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(pci_bus); in sn_hp_slot_private_alloc()
177 ((u16)pcibus_info->pbi_buscommon.bs_persist_busnum), in sn_hp_slot_private_alloc()
231 struct pcibus_info *pcibus_info; in sn_slot_enable() local
235 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(slot->pci_bus); in sn_slot_enable()
241 rc = sal_pcibr_slot_enable(pcibus_info, device_num, &resp, ssdt); in sn_slot_enable()
261 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(slot->pci_bus); in sn_slot_enable()
262 pcibus_info->pbi_enabled_devices |= (1 << device_num); in sn_slot_enable()
271 struct pcibus_info *pcibus_info; in sn_slot_disable() local
275 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(slot->pci_bus); in sn_slot_disable()
277 rc = sal_pcibr_slot_disable(pcibus_info, device_num, action, &resp); in sn_slot_disable()
306 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(slot->pci_bus); in sn_slot_disable()
307 pcibus_info->pbi_enabled_devices &= ~(1 << device_num); in sn_slot_disable()
575 struct pcibus_info *pcibus_info; in get_power_status() local
578 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(slot->pci_bus); in get_power_status()
580 power = pcibus_info->pbi_enabled_devices & (1 << slot->device_num); in get_power_status()