Lines Matching +full:entry +full:- +full:method
1 // SPDX-License-Identifier: GPL-2.0-only
28 if (unlikely(!pr || !pr->flags.has_lpi)) in acpi_cpu_init_idle()
29 return -EINVAL; in acpi_cpu_init_idle()
32 return -ENODEV; in acpi_cpu_init_idle()
34 if (pr->power.count <= 1) in acpi_cpu_init_idle()
35 return -ENODEV; in acpi_cpu_init_idle()
37 for (i = 1; i < pr->power.count; i++) { in acpi_cpu_init_idle()
40 lpi = &pr->power.lpi_states[i]; in acpi_cpu_init_idle()
43 * Validate Entry Method as per FFH spec. in acpi_cpu_init_idle()
48 if (((lpi->address & RISCV_FFH_LPI_TYPE_MASK) != RISCV_FFH_LPI_TYPE_SBI) || in acpi_cpu_init_idle()
49 (lpi->address & RISCV_FFH_LPI_RSVD_MASK)) { in acpi_cpu_init_idle()
50 pr_warn("Invalid LPI entry method %#llx\n", lpi->address); in acpi_cpu_init_idle()
51 return -EINVAL; in acpi_cpu_init_idle()
54 state = lpi->address; in acpi_cpu_init_idle()
57 return -EINVAL; in acpi_cpu_init_idle()
71 u32 state = lpi->address; in acpi_processor_ffh_lpi_enter()
75 lpi->index, in acpi_processor_ffh_lpi_enter()
79 lpi->index, in acpi_processor_ffh_lpi_enter()