Searched refs:d_max (Results 1 – 5 of 5) sorted by relevance
/drivers/acpi/ |
D | device_pm.c | 523 int d_min, d_max; in acpi_dev_pm_get_state() local 534 d_max = ACPI_STATE_D3_COLD; in acpi_dev_pm_get_state() 583 d_max = d_min; in acpi_dev_pm_get_state() 589 d_max = ret > d_min ? ret : d_min; in acpi_dev_pm_get_state() 599 *d_max_p = d_max; in acpi_dev_pm_get_state() 618 int ret, d_min, d_max; in acpi_pm_device_sleep_state() local 638 &d_min, &d_max); in acpi_pm_device_sleep_state() 645 if (d_max > d_max_in) { in acpi_pm_device_sleep_state() 646 for (d_max = d_max_in; d_max > d_min; d_max--) { in acpi_pm_device_sleep_state() 647 if (adev->power.states[d_max].flags.valid) in acpi_pm_device_sleep_state() [all …]
|
/drivers/clk/ |
D | clk-axi-clkgen.c | 109 unsigned long d, d_min, d_max, _d_min, _d_max; in axi_clkgen_calc_params() local 122 d_max = min_t(unsigned long, fin / fpfd_min, 80); in axi_clkgen_calc_params() 125 m_max = min_t(unsigned long, fvco_max * d_max / fin, 64); in axi_clkgen_calc_params() 129 _d_max = min(d_max, fin * m / fvco_min); in axi_clkgen_calc_params()
|
/drivers/pci/ |
D | pci-acpi.c | 387 int acpi_state, d_max; in acpi_pci_choose_state() local 390 d_max = ACPI_STATE_D3_HOT; in acpi_pci_choose_state() 392 d_max = ACPI_STATE_D3_COLD; in acpi_pci_choose_state() 393 acpi_state = acpi_pm_device_sleep_state(&pdev->dev, NULL, d_max); in acpi_pci_choose_state()
|
/drivers/hwmon/ |
D | abituguru3.c | 928 SENSOR_ATTR_2(in%d_max, 0444, show_value, NULL, 2, 0), 944 SENSOR_ATTR_2(temp%d_max, 0444, show_value, NULL, 1, 0),
|
D | abituguru.c | 1209 SENSOR_ATTR_2(in%d_max, 0644, show_bank1_setting, 1225 SENSOR_ATTR_2(temp%d_max, 0644, show_bank1_setting,
|