Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Difx6x60.c140 if (!ifx_dev->power_status) in ifx_spi_power_state_set()
142 ifx_dev->power_status |= val; in ifx_spi_power_state_set()
161 if (ifx_dev->power_status) { in ifx_spi_power_state_clear()
162 ifx_dev->power_status &= ~val; in ifx_spi_power_state_clear()
163 if (!ifx_dev->power_status) in ifx_spi_power_state_clear()
1018 ifx_dev->power_status = 0; in ifx_spi_spi_probe()
1275 if (!ifx_dev->power_status) in ifx_spi_pm_runtime_idle()
H A Difx6x60.h83 unsigned char power_status; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
/OK3568_Linux_fs/kernel/drivers/misc/
H A Denclosure.c140 edev->component[i].power_status = -1; in enclosure_register()
593 if (ecomp->power_status == -1) in get_component_power_status()
596 return snprintf(buf, 40, "%s\n", ecomp->power_status ? "on" : "off"); in get_component_power_status()
652 static DEVICE_ATTR(power_status, S_IRUGO | S_IWUSR, get_component_power_status,
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_dpp_cm.c136 uint32_t power_status; in dpp3_power_on_gamcor_lut() local
143 REG_GET(CM_MEM_PWR_STATUS, GAMCOR_MEM_PWR_STATE, &power_status); in dpp3_power_on_gamcor_lut()
144 if (power_status != 0) in dpp3_power_on_gamcor_lut()
/OK3568_Linux_fs/kernel/drivers/pci/hotplug/
H A Dpnv_php.c448 uint8_t power_status = OPAL_PCI_SLOT_POWER_ON; in pnv_php_enable() local
489 ret = pnv_php_get_power_state(slot, &power_status); in pnv_php_enable()
493 if (power_status != OPAL_PCI_SLOT_POWER_ON) in pnv_php_enable()
498 ret = pnv_php_get_power_state(slot, &power_status); in pnv_php_enable()
502 if (power_status == OPAL_PCI_SLOT_POWER_ON) in pnv_php_enable()
H A Dpci_hotplug_core.c62 GET_STATUS(power_status, u8) in GET_STATUS() argument
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A 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)");
567 if (power_status) in i8k_proc_show()
/OK3568_Linux_fs/kernel/include/linux/
H A Denclosure.h95 int power_status; member
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dses.c359 ecomp->power_status = 0; in ses_get_power_status()
365 ecomp->power_status = (desc[3] & 0x10) ? 0 : 1; in ses_get_power_status()
396 ecomp->power_status = val; in ses_set_power_status()
/OK3568_Linux_fs/kernel/drivers/crypto/ux500/cryp/
H A Dcryp.h243 int power_status; member
/OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/
H A Dtcpci_maxim.c449 u8 power_status; in max_tcpci_probe() local
465 ret = max_tcpci_read8(chip, TCPC_POWER_STATUS, &power_status); in max_tcpci_probe()
/OK3568_Linux_fs/kernel/Documentation/hwmon/
H A Ddell-smm-hwmon.rst108 * power_status:bool
157 ``power_status=1`` parameter to insmod. If AC status is not
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Drave-sp.c141 u8 power_status; member
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Dkernel-parameters.txt1671 i8k.power_status