Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/acpi/
Ddevice_pm.c592 int d_min, d_max; in acpi_dev_pm_get_state() local
604 d_max = ACPI_STATE_D3_COLD; in acpi_dev_pm_get_state()
660 d_max = d_min; in acpi_dev_pm_get_state()
666 d_max = ret > d_min ? ret : d_min; in acpi_dev_pm_get_state()
676 *d_max_p = d_max; in acpi_dev_pm_get_state()
695 int ret, d_min, d_max; in acpi_pm_device_sleep_state() local
715 &d_min, &d_max); in acpi_pm_device_sleep_state()
722 if (d_max > d_max_in) { in acpi_pm_device_sleep_state()
723 for (d_max = d_max_in; d_max > d_min; d_max--) { in acpi_pm_device_sleep_state()
724 if (adev->power.states[d_max].flags.valid) in acpi_pm_device_sleep_state()
[all …]
/kernel/linux/linux-5.10/drivers/clk/
Dclk-axi-clkgen.c111 unsigned long d, d_min, d_max, _d_min, _d_max; in axi_clkgen_calc_params() local
126 d_max = min_t(unsigned long, fin / fpfd_min, 80); in axi_clkgen_calc_params()
133 m_max = min_t(unsigned long, fvco_max_fract * d_max / fin, 64 << fract_shift); in axi_clkgen_calc_params()
137 _d_max = min(d_max, fin * m / fvco_min_fract); in axi_clkgen_calc_params()
/kernel/linux/linux-5.10/drivers/pci/
Dpci-acpi.c910 int acpi_state, d_max; in acpi_pci_choose_state() local
913 d_max = ACPI_STATE_D3_HOT; in acpi_pci_choose_state()
915 d_max = ACPI_STATE_D3_COLD; in acpi_pci_choose_state()
916 acpi_state = acpi_pm_device_sleep_state(&pdev->dev, NULL, d_max); in acpi_pci_choose_state()
/kernel/linux/linux-5.10/drivers/hwmon/
Dabituguru3.c915 SENSOR_ATTR_2(in%d_max, 0444, show_value, NULL, 2, 0),
931 SENSOR_ATTR_2(temp%d_max, 0444, show_value, NULL, 1, 0),
Dabituguru.c1196 SENSOR_ATTR_2(in%d_max, 0644, show_bank1_setting,
1212 SENSOR_ATTR_2(temp%d_max, 0644, show_bank1_setting,