Home
last modified time | relevance | path

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

/drivers/usb/typec/tipd/
Dtrace.h137 #define show_power_status_source_sink(power_status) \ argument
138 __print_symbolic(TPS_POWER_STATUS_SOURCESINK(power_status), \
142 #define show_power_status_typec_status(power_status) \ argument
143 __print_symbolic(TPS_POWER_STATUS_PWROPMODE(power_status), \
149 #define show_power_status_bc12_status(power_status) \ argument
150 __print_symbolic(TPS_POWER_STATUS_BC12_STATUS(power_status), \
238 TP_PROTO(u16 power_status),
239 TP_ARGS(power_status),
242 __field(u16, power_status)
246 __entry->power_status = power_status;
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Devents.c273 u8 power_status; in mlx5_pcie_event() local
284 power_status = MLX5_GET(mpein_reg, out, pwr_status); in mlx5_pcie_event()
287 switch (power_status) { in mlx5_pcie_event()
/drivers/misc/
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,
/drivers/pci/hotplug/
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()
Dpci_hotplug_core.c62 GET_STATUS(power_status, u8) in GET_STATUS() argument
/drivers/hwmon/
Ddell-smm-hwmon.c100 static bool power_status; variable
101 module_param(power_status, bool, 0600);
102 MODULE_PARM_DESC(power_status, "Report power status in /proc/i8k (default: 0)");
578 if (power_status) in i8k_proc_show()
/drivers/scsi/
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()
/drivers/crypto/ux500/cryp/
Dcryp.h243 int power_status; member
/drivers/usb/typec/tcpm/
Dtcpci_maxim.c445 u8 power_status; in max_tcpci_probe() local
461 ret = max_tcpci_read8(chip, TCPC_POWER_STATUS, &power_status); in max_tcpci_probe()
/drivers/mfd/
Drave-sp.c141 u8 power_status; member