Home
last modified time | relevance | path

Searched refs:d_max (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/acpi/
H A Ddevice_pm.c673 int d_min, d_max; in acpi_dev_pm_get_state() local
685 d_max = ACPI_STATE_D3_COLD; in acpi_dev_pm_get_state()
756 d_max = d_min; in acpi_dev_pm_get_state()
762 d_max = ret > d_min ? ret : d_min; in acpi_dev_pm_get_state()
772 *d_max_p = d_max; in acpi_dev_pm_get_state()
791 int ret, d_min, d_max; in acpi_pm_device_sleep_state() local
811 &d_min, &d_max); in acpi_pm_device_sleep_state()
818 if (d_max > d_max_in) { in acpi_pm_device_sleep_state()
819 for (d_max = d_max_in; d_max > d_min; d_max--) { in acpi_pm_device_sleep_state()
820 if (adev->power.states[d_max].flags.valid) in acpi_pm_device_sleep_state()
[all …]
/linux/drivers/clk/
H A Dclk-axi-clkgen.c137 unsigned long d, d_min, d_max, _d_min, _d_max; in axi_clkgen_calc_params() local
152 d_max = min(fin / limits->fpfd_min, 80); in axi_clkgen_calc_params()
159 m_max = min(fvco_max_fract * d_max / fin, 64 << fract_shift); in axi_clkgen_calc_params()
163 _d_max = min(d_max, fin * m / fvco_min_fract); in axi_clkgen_calc_params()
/linux/drivers/pci/
H A Dpci-acpi.c919 int acpi_state, d_max; in acpi_pci_choose_state() local
922 d_max = ACPI_STATE_D3_HOT; in acpi_pci_choose_state()
924 d_max = ACPI_STATE_D3_COLD; in acpi_pci_choose_state()
925 acpi_state = acpi_pm_device_sleep_state(&pdev->dev, NULL, d_max); in acpi_pci_choose_state()