Home
last modified time | relevance | path

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

/openbmc/linux/drivers/acpi/
H A Dacpi_lpss.c787 u32 ltr_mode = 0; in lpss_ltr_mode_show() local
791 ret = lpss_reg_read(dev, LPSS_GENERAL, &ltr_mode); in lpss_ltr_mode_show()
795 outstr = (ltr_mode & LPSS_GENERAL_LTR_MODE_SW) ? "sw" : "auto"; in lpss_ltr_mode_show()
801 static DEVICE_ATTR(ltr_mode, S_IRUSR, lpss_ltr_mode_show, NULL);
818 u32 ltr_mode, ltr_val; in acpi_lpss_set_ltr() local
820 ltr_mode = __lpss_reg_read(pdata, LPSS_GENERAL); in acpi_lpss_set_ltr()
822 if (ltr_mode & LPSS_GENERAL_LTR_MODE_SW) { in acpi_lpss_set_ltr()
823 ltr_mode &= ~LPSS_GENERAL_LTR_MODE_SW; in acpi_lpss_set_ltr()
824 __lpss_reg_write(ltr_mode, pdata, LPSS_GENERAL); in acpi_lpss_set_ltr()
840 if (!(ltr_mode & LPSS_GENERAL_LTR_MODE_SW)) { in acpi_lpss_set_ltr()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-devices-lpss_ltr10 What: /sys/devices/.../lpss_ltr/ltr_mode
14 The /sys/devices/.../lpss_ltr/ltr_mode attribute contains an
/openbmc/linux/drivers/media/platform/qcom/venus/
H A 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()
H A 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()
H A Dhfi_helper.h855 u32 ltr_mode; member