Lines Matching refs:pcibus_info
110 struct pcibus_info *pcibus_info; in sn_pci_slot_valid() local
113 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(pci_bus); in sn_pci_slot_valid()
116 if (!(pcibus_info->pbi_valid_devices & (1 << device))) in sn_pci_slot_valid()
120 busnum = pcibus_info->pbi_buscommon.bs_persist_busnum; in sn_pci_slot_valid()
134 struct pcibus_info *pcibus_info; in sn_pci_bus_valid() local
139 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(pci_bus); in sn_pci_bus_valid()
140 asic_type = pcibus_info->pbi_buscommon.bs_asic_type; in sn_pci_bus_valid()
166 struct pcibus_info *pcibus_info; in sn_hp_slot_private_alloc() local
169 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(pci_bus); in sn_hp_slot_private_alloc()
180 ((u16)pcibus_info->pbi_buscommon.bs_persist_busnum), in sn_hp_slot_private_alloc()
234 struct pcibus_info *pcibus_info; in sn_slot_enable() local
238 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(slot->pci_bus); in sn_slot_enable()
244 rc = sal_pcibr_slot_enable(pcibus_info, device_num, &resp, ssdt); in sn_slot_enable()
266 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(slot->pci_bus); in sn_slot_enable()
267 pcibus_info->pbi_enabled_devices |= (1 << device_num); in sn_slot_enable()
276 struct pcibus_info *pcibus_info; in sn_slot_disable() local
280 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(slot->pci_bus); in sn_slot_disable()
282 rc = sal_pcibr_slot_disable(pcibus_info, device_num, action, &resp); in sn_slot_disable()
314 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(slot->pci_bus); in sn_slot_disable()
315 pcibus_info->pbi_enabled_devices &= ~(1 << device_num); in sn_slot_disable()
591 struct pcibus_info *pcibus_info; in get_power_status() local
594 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(slot->pci_bus); in get_power_status()
596 power = pcibus_info->pbi_enabled_devices & (1 << slot->device_num); in get_power_status()