Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/tty/serial/
Difx6x60.c141 if (!ifx_dev->power_status) in ifx_spi_power_state_set()
143 ifx_dev->power_status |= val; in ifx_spi_power_state_set()
162 if (ifx_dev->power_status) { in ifx_spi_power_state_clear()
163 ifx_dev->power_status &= ~val; in ifx_spi_power_state_clear()
164 if (!ifx_dev->power_status) in ifx_spi_power_state_clear()
1018 ifx_dev->power_status = 0; in ifx_spi_spi_probe()
1328 if (!ifx_dev->power_status) in ifx_spi_pm_runtime_idle()
Difx6x60.h81 unsigned char power_status; member
/Linux-v4.19/drivers/misc/
Denclosure.c151 edev->component[i].power_status = -1; in enclosure_register()
605 if (ecomp->power_status == -1) in get_component_power_status()
608 return snprintf(buf, 40, "%s\n", ecomp->power_status ? "on" : "off"); in get_component_power_status()
664 static DEVICE_ATTR(power_status, S_IRUGO | S_IWUSR, get_component_power_status,
/Linux-v4.19/include/linux/
Denclosure.h106 int power_status; member
Dpci_hotplug.h72 u8 power_status; member
/Linux-v4.19/drivers/hwmon/
Ddell-smm-hwmon.c108 static bool power_status; variable
109 module_param(power_status, bool, 0600);
110 MODULE_PARM_DESC(power_status, "Report power status in /proc/i8k (default: 0)");
550 if (power_status) in i8k_proc_show()
/Linux-v4.19/drivers/crypto/ux500/cryp/
Dcryp.h243 int power_status; member
/Linux-v4.19/drivers/scsi/
Dses.c361 ecomp->power_status = 0; in ses_get_power_status()
367 ecomp->power_status = (desc[3] & 0x10) ? 0 : 1; in ses_get_power_status()
398 ecomp->power_status = val; in ses_set_power_status()
/Linux-v4.19/drivers/mfd/
Drave-sp.c141 u8 power_status; member
/Linux-v4.19/Documentation/admin-guide/
Dkernel-parameters.txt1436 i8k.power_status