Home
last modified time | relevance | path

Searched refs:ltr_mode (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/acpi/
Dacpi_lpss.c759 u32 ltr_mode = 0; in lpss_ltr_mode_show() local
763 ret = lpss_reg_read(dev, LPSS_GENERAL, &ltr_mode); in lpss_ltr_mode_show()
767 outstr = (ltr_mode & LPSS_GENERAL_LTR_MODE_SW) ? "sw" : "auto"; in lpss_ltr_mode_show()
773 static DEVICE_ATTR(ltr_mode, S_IRUSR, lpss_ltr_mode_show, NULL);
790 u32 ltr_mode, ltr_val; in acpi_lpss_set_ltr() local
792 ltr_mode = __lpss_reg_read(pdata, LPSS_GENERAL); in acpi_lpss_set_ltr()
794 if (ltr_mode & LPSS_GENERAL_LTR_MODE_SW) { in acpi_lpss_set_ltr()
795 ltr_mode &= ~LPSS_GENERAL_LTR_MODE_SW; in acpi_lpss_set_ltr()
796 __lpss_reg_write(ltr_mode, pdata, LPSS_GENERAL); in acpi_lpss_set_ltr()
812 if (!(ltr_mode & LPSS_GENERAL_LTR_MODE_SW)) { in acpi_lpss_set_ltr()
[all …]
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-devices-lpss_ltr10 What: /sys/devices/.../lpss_ltr/ltr_mode
14 The /sys/devices/.../lpss_ltr/ltr_mode attribute contains an
/Linux-v5.15/drivers/media/platform/qcom/venus/
Dvenc.c551 struct hfi_ltr_mode ltr_mode; in venc_set_properties() local
771 ltr_mode.ltr_count = ctr->ltr_count; in venc_set_properties()
772 ltr_mode.ltr_mode = HFI_LTR_MODE_MANUAL; in venc_set_properties()
773 ltr_mode.trust_mode = 1; in venc_set_properties()
774 ret = hfi_session_set_property(inst, ptype, &ltr_mode); in venc_set_properties()
Dhfi_cmds.c929 switch (in->ltr_mode) { in pkt_session_set_property_1x()
939 ltr->ltr_mode = in->ltr_mode; in pkt_session_set_property_1x()
Dhfi_helper.h813 u32 ltr_mode; member