Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/tipd/
H A Dtrace.h167 #define show_power_status_source_sink(power_status) \ argument
172 #define show_power_status_typec_status(power_status) \ argument
179 #define show_power_status_bc12_status(power_status) \ argument
333 TP_PROTO(u16 power_status),
334 TP_ARGS(power_status),
337 __field(u16, power_status)
341 __entry->power_status = power_status;
353 TP_PROTO(u16 power_status),
354 TP_ARGS(power_status),
357 __field(u16, power_status)
[all …]
/linux/drivers/media/cec/usb/extron-da-hd-4k-plus/
H A Dcec-splitter.c111 p->power_status = p->splitter->is_standby ? in cec_splitter_unconfigured_output()
129 p->power_status = p->splitter->is_standby ? in cec_splitter_configured_output()
290 if (p->power_status != splitter_pwr) in cec_out_report_power_status()
452 p->power_status = splitter->is_standby ? in cec_splitter_nb_transmit_canceled_output()
502 p->power_status = pwr; in cec_splitter_received_output()
631 p->power_status = pwr; in cec_splitter_poll()
H A Dcec-splitter.h26 u8 power_status; member
H A Dextron-da-hd-4k-plus.c1125 pwr_state[port->port.power_status & 3]); in extron_adap_status_port()
/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/usb/typec/tcpm/
H A Dtcpci_maxim_core.c487 u8 power_status; in max_tcpci_probe() local
502 ret = max_tcpci_read8(chip, TCPC_POWER_STATUS, &power_status); in max_tcpci_probe()
/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/hwmon/
H A Ddell-smm-hwmon.c130 static bool power_status; variable
131 module_param(power_status, bool, 0600);
132 MODULE_PARM_DESC(power_status, "Report power status in /proc/i8k (default: 0)");
677 if (power_status) in i8k_proc_show()
/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
7768 private->power_status = SCARLETT2_POWER_STATUS_FAIL; in scarlett2_update_power_status()
7770 private->power_status = SCARLETT2_POWER_STATUS_EXT; in scarlett2_update_power_status()
7772 private->power_status = SCARLETT2_POWER_STATUS_BUS; in scarlett2_update_power_status()
7792 ucontrol->value.integer.value[0] = private->power_status; in scarlett2_power_status_ctl_get()
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt1101 dell_smm_hwmon.power_status=