Lines Matching refs:presence
397 uint8_t presence = OPAL_PCI_SLOT_EMPTY;
401 * Retrieve presence status from firmware. If we can't
404 ret = pnv_pci_get_presence_state(php_slot->id, &presence);
406 *state = presence;
409 SLOT_WARN(php_slot, "Error %d getting presence\n", ret);
448 uint8_t presence = OPAL_PCI_SLOT_EMPTY;
456 /* Retrieve slot presence status */
457 ret = pnv_php_get_adapter_state(slot, &presence);
467 if (presence == OPAL_PCI_SLOT_EMPTY) {
479 * adapter presence state. That means we have to turn the
480 * slot on before going to probe slot's presence state.
512 if (presence == OPAL_PCI_SLOT_PRESENT) {
770 u8 presence;
789 ret = pnv_pci_get_presence_state(php_slot->id, &presence);
792 "PCI slot [%s] error %d getting presence (0x%04x), to retry the operation.\n",
797 added = !!(presence == OPAL_PCI_SLOT_PRESENT);