Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Devents.c269 u8 power_status; in mlx5_pcie_event() local
280 power_status = MLX5_GET(mpein_reg, out, pwr_status); in mlx5_pcie_event()
283 switch (power_status) { in mlx5_pcie_event()
/Linux-v5.4/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-v5.4/drivers/misc/
Denclosure.c138 edev->component[i].power_status = -1; in enclosure_register()
592 if (ecomp->power_status == -1) in get_component_power_status()
595 return snprintf(buf, 40, "%s\n", ecomp->power_status ? "on" : "off"); in get_component_power_status()
651 static DEVICE_ATTR(power_status, S_IRUGO | S_IWUSR, get_component_power_status,
/Linux-v5.4/drivers/pci/hotplug/
Dpnv_php.c445 uint8_t power_status = OPAL_PCI_SLOT_POWER_ON; in pnv_php_enable() local
486 ret = pnv_php_get_power_state(slot, &power_status); in pnv_php_enable()
490 if (power_status != OPAL_PCI_SLOT_POWER_ON) in pnv_php_enable()
495 ret = pnv_php_get_power_state(slot, &power_status); in pnv_php_enable()
499 if (power_status == OPAL_PCI_SLOT_POWER_ON) in pnv_php_enable()
Dpci_hotplug_core.c62 GET_STATUS(power_status, u8) in GET_STATUS() argument
/Linux-v5.4/include/linux/
Denclosure.h95 int power_status; member
/Linux-v5.4/drivers/hwmon/
Ddell-smm-hwmon.c105 static bool power_status; variable
106 module_param(power_status, bool, 0600);
107 MODULE_PARM_DESC(power_status, "Report power status in /proc/i8k (default: 0)");
547 if (power_status) in i8k_proc_show()
/Linux-v5.4/drivers/crypto/ux500/cryp/
Dcryp.h243 int power_status; member
/Linux-v5.4/drivers/scsi/
Dses.c345 ecomp->power_status = 0; in ses_get_power_status()
351 ecomp->power_status = (desc[3] & 0x10) ? 0 : 1; in ses_get_power_status()
382 ecomp->power_status = val; in ses_set_power_status()
/Linux-v5.4/drivers/mfd/
Drave-sp.c141 u8 power_status; member
/Linux-v5.4/Documentation/admin-guide/
Dkernel-parameters.txt1488 i8k.power_status