Home
last modified time | relevance | path

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

/drivers/pci/hotplug/
Dpnv_php.c386 slot->info->power_status = power_state; in pnv_php_get_power_state()
427 uint8_t power_status = OPAL_PCI_SLOT_POWER_ON; in pnv_php_enable() local
468 ret = pnv_php_get_power_state(slot, &power_status); in pnv_php_enable()
472 if (power_status != OPAL_PCI_SLOT_POWER_ON) in pnv_php_enable()
477 ret = pnv_php_get_power_state(slot, &power_status); in pnv_php_enable()
481 if (power_status == OPAL_PCI_SLOT_POWER_ON) in pnv_php_enable()
Dshpchp_core.c158 get_power_status(hotplug_slot, &info->power_status); in init_slots()
237 *value = hotplug_slot->info->power_status; in get_power_status()
Drpaphp_pci.c89 info->power_status = level; in rpaphp_enable_slot()
Ds390_pci_hpc.c184 get_power_status(hotplug_slot, &info->power_status); in zpci_init_slot()
Dpcihp_skeleton.c295 get_power_status(hotplug_slot, &info->power_status); in init_slots()
Dacpiphp_core.c308 slot->hotplug_slot->info->power_status = acpiphp_get_power_status(slot->acpi_slot); in acpiphp_register_hotplug_slot()
Dpci_hotplug_core.c81 GET_STATUS(power_status, u8) in GET_STATUS() argument
Dcpci_hotplug_core.c277 info->power_status = cpci_get_power_status(slot); in cpci_hp_register_bus()
Dshpchp_ctrl.c472 slot->hpc_ops->get_power_status(slot, &(info->power_status)); in update_slot_info()
Dibmphp_core.c611 info->power_status = SLOT_PWRGD(slot_cur->status); in ibmphp_update_slot_info()
Dcpqphp_core.c701 hotplug_slot_info->power_status = get_slot_enabled(ctrl, slot); in ctrl_slot_setup()
Dibmphp_ebda.c692 hotplug_slot->info->power_status = SLOT_POWER(slot->status); in fillslotinfo()
Dcpqphp_ctrl.c1792 info->power_status = get_slot_enabled(ctrl, slot); in update_slot_info()
/drivers/tty/serial/
Difx6x60.c154 if (!ifx_dev->power_status) in ifx_spi_power_state_set()
156 ifx_dev->power_status |= val; in ifx_spi_power_state_set()
175 if (ifx_dev->power_status) { in ifx_spi_power_state_clear()
176 ifx_dev->power_status &= ~val; in ifx_spi_power_state_clear()
177 if (!ifx_dev->power_status) in ifx_spi_power_state_clear()
1031 ifx_dev->power_status = 0; in ifx_spi_spi_probe()
1342 if (!ifx_dev->power_status) in ifx_spi_pm_runtime_idle()
Difx6x60.h97 unsigned char power_status; member
/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,
/drivers/hwmon/
Ddell-smm-hwmon.c107 static bool power_status; variable
108 module_param(power_status, bool, 0600);
109 MODULE_PARM_DESC(power_status, "Report power status in /proc/i8k (default: 0)");
537 if (power_status) in i8k_proc_show()
/drivers/crypto/ux500/cryp/
Dcryp.h243 int power_status; member
/drivers/scsi/
Dses.c333 ecomp->power_status = (desc[3] & 0x10) ? 0 : 1; in ses_get_power_status()
361 ecomp->power_status = val; in ses_set_power_status()