Home
last modified time | relevance | path

Searched refs:power_status (Results 1 – 15 of 15) sorted by relevance

/linux-4.19.296/drivers/pci/hotplug/
Dpnv_php.c381 slot->info->power_status = power_state; in pnv_php_get_power_state()
421 uint8_t power_status = OPAL_PCI_SLOT_POWER_ON; in pnv_php_enable() local
462 ret = pnv_php_get_power_state(slot, &power_status); in pnv_php_enable()
466 if (power_status != OPAL_PCI_SLOT_POWER_ON) in pnv_php_enable()
471 ret = pnv_php_get_power_state(slot, &power_status); in pnv_php_enable()
475 if (power_status == OPAL_PCI_SLOT_POWER_ON) in pnv_php_enable()
Drpaphp_pci.c75 info->power_status = level; in rpaphp_enable_slot()
Dshpchp_core.c127 get_power_status(hotplug_slot, &info->power_status); in init_slots()
209 *value = hotplug_slot->info->power_status; in get_power_status()
Ds390_pci_hpc.c170 get_power_status(hotplug_slot, &info->power_status); in zpci_init_slot()
Dacpiphp_core.c279 slot->hotplug_slot->info->power_status = acpiphp_get_power_status(slot->acpi_slot); in acpiphp_register_hotplug_slot()
Dpci_hotplug_core.c64 GET_STATUS(power_status, u8) in GET_STATUS() argument
Dcpci_hotplug_core.c261 info->power_status = cpci_get_power_status(slot); in cpci_hp_register_bus()
Dshpchp_ctrl.c458 slot->hpc_ops->get_power_status(slot, &(info->power_status)); in update_slot_info()
Dibmphp_core.c595 info->power_status = SLOT_PWRGD(slot_cur->status); in ibmphp_update_slot_info()
Dcpqphp_core.c676 hotplug_slot_info->power_status = get_slot_enabled(ctrl, slot); in ctrl_slot_setup()
Dibmphp_ebda.c678 hotplug_slot->info->power_status = SLOT_POWER(slot->status); in fillslotinfo()
Dcpqphp_ctrl.c1779 info->power_status = get_slot_enabled(ctrl, slot); in update_slot_info()
/linux-4.19.296/drivers/misc/
Denclosure.c151 edev->component[i].power_status = -1; in enclosure_register()
604 if (ecomp->power_status == -1) in get_component_power_status()
607 return snprintf(buf, 40, "%s\n", ecomp->power_status ? "on" : "off"); in get_component_power_status()
663 static DEVICE_ATTR(power_status, S_IRUGO | S_IWUSR, get_component_power_status,
/linux-4.19.296/include/linux/
Denclosure.h106 int power_status; member
Dpci_hotplug.h72 u8 power_status; member