Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/tipd/
H A Dtrace.h167 #define show_power_status_source_sink(power_status) \ argument
168 __print_symbolic(TPS_POWER_STATUS_SOURCESINK(power_status), \
172 #define show_power_status_typec_status(power_status) \ argument
173 __print_symbolic(TPS_POWER_STATUS_PWROPMODE(power_status), \
179 #define show_power_status_bc12_status(power_status) \ argument
180 __print_symbolic(TPS_POWER_STATUS_BC12_STATUS(power_status), \
185 #define show_tps25750_power_status_charger_detect_status(power_status) \ argument
186 __print_symbolic(TPS25750_POWER_STATUS_CHARGER_DETECT_STATUS(power_status), \
333 TP_PROTO(u16 power_status),
334 TP_ARGS(power_status),
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Devents.c276 u8 power_status; in mlx5_pcie_event() local
287 power_status = MLX5_GET(mpein_reg, out, pwr_status); in mlx5_pcie_event()
290 switch (power_status) { in mlx5_pcie_event()
/linux/drivers/misc/
H A Denclosure.c140 edev->component[i].power_status = -1; in enclosure_register()
592 if (ecomp->power_status == -1) in get_component_power_status()
595 return sysfs_emit(buf, "%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/drivers/pci/hotplug/
H A Dpnv_php.c449 uint8_t power_status = OPAL_PCI_SLOT_POWER_ON; in pnv_php_enable() local
490 ret = pnv_php_get_power_state(slot, &power_status); in pnv_php_enable()
494 if (power_status != OPAL_PCI_SLOT_POWER_ON) in pnv_php_enable()
499 ret = pnv_php_get_power_state(slot, &power_status); in pnv_php_enable()
503 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
/linux/include/linux/
H A Denclosure.h95 int power_status; member
/linux/drivers/scsi/
H A Dses.c391 ecomp->power_status = 0; in ses_get_power_status()
397 ecomp->power_status = (desc[3] & 0x10) ? 0 : 1; in ses_get_power_status()
428 ecomp->power_status = val; in ses_set_power_status()
/linux/drivers/usb/typec/tcpm/
H A Dtcpci_maxim_core.c479 u8 power_status; in max_tcpci_probe() local
495 ret = max_tcpci_read8(chip, TCPC_POWER_STATUS, &power_status); in max_tcpci_probe()
/linux/Documentation/hwmon/
H A Ddell-smm-hwmon.rst121 * power_status:bool
170 ``power_status=1`` parameter to insmod. If AC status is not
/linux/drivers/mfd/
H A Drave-sp.c141 u8 power_status; member
/linux/sound/usb/
H A Dmixer_scarlett2.c1269 u8 power_status; member
7766 private->power_status = SCARLETT2_POWER_STATUS_FAIL; in scarlett2_update_power_status()
7768 private->power_status = SCARLETT2_POWER_STATUS_EXT; in scarlett2_update_power_status()
7770 private->power_status = SCARLETT2_POWER_STATUS_BUS; in scarlett2_update_power_status()
7790 ucontrol->value.integer.value[0] = private->power_status; in scarlett2_power_status_ctl_get()