Lines Matching refs:presence
395 uint8_t presence = OPAL_PCI_SLOT_EMPTY;
399 * Retrieve presence status from firmware. If we can't
402 ret = pnv_pci_get_presence_state(php_slot->id, &presence);
404 *state = presence;
407 SLOT_WARN(php_slot, "Error %d getting presence\n", ret);
446 uint8_t presence = OPAL_PCI_SLOT_EMPTY;
454 /* Retrieve slot presence status */
455 ret = pnv_php_get_adapter_state(slot, &presence);
465 if (presence == OPAL_PCI_SLOT_EMPTY) {
477 * adapter presence state. That means we have to turn the
478 * slot on before going to probe slot's presence state.
510 if (presence == OPAL_PCI_SLOT_PRESENT) {
768 u8 presence;
787 ret = pnv_pci_get_presence_state(php_slot->id, &presence);
790 "PCI slot [%s] error %d getting presence (0x%04x), to retry the operation.\n",
795 added = !!(presence == OPAL_PCI_SLOT_PRESENT);