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