Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/acpi/
Dacpi_lpss.c785 u32 ltr_mode = 0; in lpss_ltr_mode_show() local
789 ret = lpss_reg_read(dev, LPSS_GENERAL, &ltr_mode); in lpss_ltr_mode_show()
793 outstr = (ltr_mode & LPSS_GENERAL_LTR_MODE_SW) ? "sw" : "auto"; in lpss_ltr_mode_show()
799 static DEVICE_ATTR(ltr_mode, S_IRUSR, lpss_ltr_mode_show, NULL);
816 u32 ltr_mode, ltr_val; in acpi_lpss_set_ltr() local
818 ltr_mode = __lpss_reg_read(pdata, LPSS_GENERAL); in acpi_lpss_set_ltr()
820 if (ltr_mode & LPSS_GENERAL_LTR_MODE_SW) { in acpi_lpss_set_ltr()
821 ltr_mode &= ~LPSS_GENERAL_LTR_MODE_SW; in acpi_lpss_set_ltr()
822 __lpss_reg_write(ltr_mode, pdata, LPSS_GENERAL); in acpi_lpss_set_ltr()
838 if (!(ltr_mode & LPSS_GENERAL_LTR_MODE_SW)) { in acpi_lpss_set_ltr()
[all …]
/Linux-v6.6/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-v6.6/drivers/media/platform/qcom/venus/
Dvenc.c673 struct hfi_ltr_mode ltr_mode; in venc_set_properties() local
918 ltr_mode.ltr_count = ctr->ltr_count; in venc_set_properties()
919 ltr_mode.ltr_mode = HFI_LTR_MODE_MANUAL; in venc_set_properties()
920 ltr_mode.trust_mode = 1; in venc_set_properties()
921 ret = hfi_session_set_property(inst, ptype, &ltr_mode); in venc_set_properties()
Dhfi_cmds.c939 switch (in->ltr_mode) { in pkt_session_set_property_1x()
949 ltr->ltr_mode = in->ltr_mode; in pkt_session_set_property_1x()
Dhfi_helper.h855 u32 ltr_mode; member