pm 1163 arch/arm/common/sa1111.c .pm = &sa1111_pm_ops, pm 799 arch/arm/mach-omap1/board-ams-delta.c .pm = modem_pm, pm 169 arch/arm/mach-s3c24xx/mach-osiris-dvs.c .pm = &osiris_dvs_pm, pm 691 arch/arm/mach-sa1100/assabet.c .pm = assabet_uart_pm, pm 314 arch/arm/mach-sa1100/badge4.c .pm = badge4_uart_pm, pm 118 arch/arm/mach-sa1100/h3xxx.c .pm = h3xxx_uart_pm, pm 68 arch/arm/mach-sa1100/hackkit.c .pm = hackkit_uart_pm, pm 431 arch/arm/mach-sa1100/neponset.c .pm = PM_OPS, pm 154 arch/arm/mach-sa1100/simpad.c .pm = simpad_uart_pm, pm 157 arch/arm/plat-omap/debug-leds.c .driver.pm = &fpga_dev_pm_ops, pm 497 arch/arm/plat-samsung/adc.c .pm = &adc_pm_ops, pm 744 arch/arm/plat-samsung/gpio-samsung.c if (chip->pm != NULL) { pm 745 arch/arm/plat-samsung/gpio-samsung.c if (!chip->pm->save || !chip->pm->resume) pm 771 arch/arm/plat-samsung/gpio-samsung.c if (!chip->pm) pm 772 arch/arm/plat-samsung/gpio-samsung.c chip->pm = __gpio_pm(&samsung_gpio_pm_2bit); pm 797 arch/arm/plat-samsung/gpio-samsung.c if (!chip->pm) pm 798 arch/arm/plat-samsung/gpio-samsung.c chip->pm = __gpio_pm(&samsung_gpio_pm_2bit); pm 833 arch/arm/plat-samsung/gpio-samsung.c if (!chip->pm) pm 834 arch/arm/plat-samsung/gpio-samsung.c chip->pm = __gpio_pm(&samsung_gpio_pm_4bit); pm 853 arch/arm/plat-samsung/gpio-samsung.c if (!chip->pm) pm 854 arch/arm/plat-samsung/gpio-samsung.c chip->pm = __gpio_pm(&samsung_gpio_pm_4bit); pm 70 arch/arm/plat-samsung/include/plat/gpio-core.h struct samsung_gpio_pm *pm; pm 309 arch/arm/plat-samsung/pm-gpio.c struct samsung_gpio_pm *pm = ourchip->pm; pm 311 arch/arm/plat-samsung/pm-gpio.c if (pm == NULL || pm->save == NULL) pm 314 arch/arm/plat-samsung/pm-gpio.c pm->save(ourchip); pm 355 arch/arm/plat-samsung/pm-gpio.c struct samsung_gpio_pm *pm = ourchip->pm; pm 357 arch/arm/plat-samsung/pm-gpio.c if (pm == NULL || pm->resume == NULL) pm 360 arch/arm/plat-samsung/pm-gpio.c pm->resume(ourchip); pm 434 arch/ia64/include/asm/pal.h pm : 1, /* Precise min-state save area */ pm 203 arch/m68k/atari/time.c int pm = 0; pm 221 arch/m68k/atari/time.c pm = 0x80; pm 274 arch/m68k/atari/time.c RTC_WRITE( RTC_HOURS, hour + pm); pm 288 arch/m68k/atari/time.c pm = 1; pm 302 arch/m68k/atari/time.c if (!pm && hour == 12) pm 304 arch/m68k/atari/time.c else if (pm && hour != 12) pm 60 arch/mips/alchemy/common/platform.c .pm = alchemy_8250_pm, \ pm 342 arch/mips/include/asm/octeon/cvmx-sriox-defs.h uint64_t pm:2; pm 366 arch/mips/include/asm/octeon/cvmx-sriox-defs.h uint64_t pm:2; pm 43 arch/mips/pci/pci-alchemy.c unsigned long pm[12]; pm 313 arch/mips/pci/pci-alchemy.c ctx->pm[0] = __raw_readl(ctx->regs + PCI_REG_CMEM); pm 314 arch/mips/pci/pci-alchemy.c ctx->pm[1] = __raw_readl(ctx->regs + PCI_REG_CONFIG) & 0x0009ffff; pm 315 arch/mips/pci/pci-alchemy.c ctx->pm[2] = __raw_readl(ctx->regs + PCI_REG_B2BMASK_CCH); pm 316 arch/mips/pci/pci-alchemy.c ctx->pm[3] = __raw_readl(ctx->regs + PCI_REG_B2BBASE0_VID); pm 317 arch/mips/pci/pci-alchemy.c ctx->pm[4] = __raw_readl(ctx->regs + PCI_REG_B2BBASE1_SID); pm 318 arch/mips/pci/pci-alchemy.c ctx->pm[5] = __raw_readl(ctx->regs + PCI_REG_MWMASK_DEV); pm 319 arch/mips/pci/pci-alchemy.c ctx->pm[6] = __raw_readl(ctx->regs + PCI_REG_MWBASE_REV_CCL); pm 320 arch/mips/pci/pci-alchemy.c ctx->pm[7] = __raw_readl(ctx->regs + PCI_REG_ID); pm 321 arch/mips/pci/pci-alchemy.c ctx->pm[8] = __raw_readl(ctx->regs + PCI_REG_CLASSREV); pm 322 arch/mips/pci/pci-alchemy.c ctx->pm[9] = __raw_readl(ctx->regs + PCI_REG_PARAM); pm 323 arch/mips/pci/pci-alchemy.c ctx->pm[10] = __raw_readl(ctx->regs + PCI_REG_MBAR); pm 324 arch/mips/pci/pci-alchemy.c ctx->pm[11] = __raw_readl(ctx->regs + PCI_REG_TIMEOUT); pm 335 arch/mips/pci/pci-alchemy.c __raw_writel(ctx->pm[0], ctx->regs + PCI_REG_CMEM); pm 336 arch/mips/pci/pci-alchemy.c __raw_writel(ctx->pm[2], ctx->regs + PCI_REG_B2BMASK_CCH); pm 337 arch/mips/pci/pci-alchemy.c __raw_writel(ctx->pm[3], ctx->regs + PCI_REG_B2BBASE0_VID); pm 338 arch/mips/pci/pci-alchemy.c __raw_writel(ctx->pm[4], ctx->regs + PCI_REG_B2BBASE1_SID); pm 339 arch/mips/pci/pci-alchemy.c __raw_writel(ctx->pm[5], ctx->regs + PCI_REG_MWMASK_DEV); pm 340 arch/mips/pci/pci-alchemy.c __raw_writel(ctx->pm[6], ctx->regs + PCI_REG_MWBASE_REV_CCL); pm 341 arch/mips/pci/pci-alchemy.c __raw_writel(ctx->pm[7], ctx->regs + PCI_REG_ID); pm 342 arch/mips/pci/pci-alchemy.c __raw_writel(ctx->pm[8], ctx->regs + PCI_REG_CLASSREV); pm 343 arch/mips/pci/pci-alchemy.c __raw_writel(ctx->pm[9], ctx->regs + PCI_REG_PARAM); pm 344 arch/mips/pci/pci-alchemy.c __raw_writel(ctx->pm[10], ctx->regs + PCI_REG_MBAR); pm 345 arch/mips/pci/pci-alchemy.c __raw_writel(ctx->pm[11], ctx->regs + PCI_REG_TIMEOUT); pm 347 arch/mips/pci/pci-alchemy.c __raw_writel(ctx->pm[1], ctx->regs + PCI_REG_CONFIG); pm 121 arch/powerpc/include/asm/vio.h const struct dev_pm_ops *pm; pm 123 arch/powerpc/mm/hugetlbpage.c pmd_t *pm; pm 154 arch/powerpc/mm/hugetlbpage.c pm = pmd_alloc(mm, pu, addr); pm 155 arch/powerpc/mm/hugetlbpage.c if (!pm) pm 159 arch/powerpc/mm/hugetlbpage.c return (pte_t *)pm; pm 161 arch/powerpc/mm/hugetlbpage.c ptl = pmd_lockptr(mm, pm); pm 162 arch/powerpc/mm/hugetlbpage.c hpdp = (hugepd_t *)pm; pm 180 arch/powerpc/mm/hugetlbpage.c pm = pmd_alloc(mm, pu, addr); pm 181 arch/powerpc/mm/hugetlbpage.c if (!pm) pm 183 arch/powerpc/mm/hugetlbpage.c ptl = pmd_lockptr(mm, pm); pm 184 arch/powerpc/mm/hugetlbpage.c hpdp = (hugepd_t *)pm; pm 1290 arch/powerpc/platforms/pseries/vio.c viodrv->driver.pm = viodrv->pm; pm 492 arch/s390/appldata/appldata_base.c .pm = &appldata_pm_ops, pm 73 arch/s390/boot/pgm_check_info.c *p++ = hex_asc_lo(psw->pm); pm 59 arch/s390/include/asm/nmi.h u64 pm : 1; /* 22 psw program mask and cc validity */ pm 45 arch/s390/include/asm/ptrace.h unsigned long pm : 4; /* Program Mask */ pm 158 arch/s390/kernel/dumpstack.c psw->key, psw->mcheck, psw->wait, psw->pstate, psw->as, psw->cc, psw->pm); pm 292 arch/s390/kernel/nmi.c if (!mci.ms || !mci.pm || !mci.ia) pm 731 arch/x86/kernel/apic/apic.c unsigned long pm = acpi_pm_read_early(); pm 740 arch/x86/kernel/apic/apic.c lapic_cal_pm1 = pm; pm 747 arch/x86/kernel/apic/apic.c if (pm < lapic_cal_pm1) pm 748 arch/x86/kernel/apic/apic.c pm += ACPI_PM_OVRRUN; pm 749 arch/x86/kernel/apic/apic.c lapic_cal_pm2 = pm; pm 224 arch/x86/platform/olpc/olpc-xo15-sci.c .drv.pm = &xo15_sci_pm, pm 402 block/blk-core.c const bool pm = flags & BLK_MQ_REQ_PREEMPT; pm 414 block/blk-core.c if (pm || !blk_queue_pm_only(q)) { pm 439 block/blk-core.c (pm || (blk_pm_request_resume(q), pm 88 drivers/acpi/ac.c .drv.pm = &acpi_ac_pm, pm 1515 drivers/acpi/battery.c .drv.pm = &acpi_battery_pm, pm 128 drivers/acpi/button.c .drv.pm = &acpi_button_pm, pm 1026 drivers/acpi/device_pm.c if (dev->driver && dev->driver->pm && dev->driver->pm->prepare) { pm 1027 drivers/acpi/device_pm.c int ret = dev->driver->pm->prepare(dev); pm 2050 drivers/acpi/ec.c .drv.pm = &acpi_ec_pm, pm 76 drivers/acpi/fan.c .pm = FAN_PM_OPS_PTR, pm 715 drivers/acpi/sbs.c .drv.pm = &acpi_sbs_pm, pm 106 drivers/acpi/thermal.c .drv.pm = &acpi_thermal_pm, pm 221 drivers/amba/bus.c .pm = &amba_pm, pm 281 drivers/amba/tegra-ahb.c .pm = &tegra_ahb_pm, pm 600 drivers/ata/ahci.c .pm = &ahci_pci_pm_ops, pm 532 drivers/ata/ahci_brcm.c .pm = &ahci_brcm_pm_ops, pm 341 drivers/ata/ahci_ceva.c .pm = &ahci_ceva_pm_ops, pm 254 drivers/ata/ahci_da850.c .pm = &ahci_da850_pm_ops, pm 189 drivers/ata/ahci_dm816.c .pm = &ahci_dm816_pm_ops, pm 1234 drivers/ata/ahci_imx.c .pm = &ahci_imx_pm_ops, pm 182 drivers/ata/ahci_mtk.c .pm = &ahci_pm_ops, pm 110 drivers/ata/ahci_platform.c .pm = &ahci_pm_ops, pm 357 drivers/ata/ahci_qoriq.c .pm = &ahci_qoriq_pm_ops, pm 194 drivers/ata/ahci_seattle.c .pm = &ahci_pm_ops, pm 242 drivers/ata/ahci_st.c .pm = &st_ahci_pm_ops, pm 299 drivers/ata/ahci_sunxi.c .pm = &ahci_sunxi_pm_ops, pm 5889 drivers/ata/libata-core.c .pm = &ata_port_pm_ops, pm 959 drivers/ata/pata_arasan_cf.c .pm = &arasan_cf_pm_ops, pm 276 drivers/ata/pata_imx.c .pm = &pata_imx_pm_ops, pm 652 drivers/ata/pata_samsung_cf.c .pm = &pata_s3c_pm_ops, pm 625 drivers/ata/sata_highbank.c .pm = &ahci_highbank_pm_ops, pm 1048 drivers/ata/sata_rcar.c .pm = &sata_rcar_pm_ops, pm 363 drivers/auxdisplay/arm-charlcd.c .pm = &charlcd_pm_ops, pm 1133 drivers/base/platform.c if (drv->pm) { pm 1134 drivers/base/platform.c if (drv->pm->suspend) pm 1135 drivers/base/platform.c ret = drv->pm->suspend(dev); pm 1151 drivers/base/platform.c if (drv->pm) { pm 1152 drivers/base/platform.c if (drv->pm->resume) pm 1153 drivers/base/platform.c ret = drv->pm->resume(dev); pm 1173 drivers/base/platform.c if (drv->pm) { pm 1174 drivers/base/platform.c if (drv->pm->freeze) pm 1175 drivers/base/platform.c ret = drv->pm->freeze(dev); pm 1191 drivers/base/platform.c if (drv->pm) { pm 1192 drivers/base/platform.c if (drv->pm->thaw) pm 1193 drivers/base/platform.c ret = drv->pm->thaw(dev); pm 1209 drivers/base/platform.c if (drv->pm) { pm 1210 drivers/base/platform.c if (drv->pm->poweroff) pm 1211 drivers/base/platform.c ret = drv->pm->poweroff(dev); pm 1227 drivers/base/platform.c if (drv->pm) { pm 1228 drivers/base/platform.c if (drv->pm->restore) pm 1229 drivers/base/platform.c ret = drv->pm->restore(dev); pm 1266 drivers/base/platform.c .pm = &platform_dev_pm_ops, pm 700 drivers/base/power/domain.c if (dev->type && dev->type->pm) pm 701 drivers/base/power/domain.c cb = dev->type->pm->runtime_suspend; pm 702 drivers/base/power/domain.c else if (dev->class && dev->class->pm) pm 703 drivers/base/power/domain.c cb = dev->class->pm->runtime_suspend; pm 704 drivers/base/power/domain.c else if (dev->bus && dev->bus->pm) pm 705 drivers/base/power/domain.c cb = dev->bus->pm->runtime_suspend; pm 709 drivers/base/power/domain.c if (!cb && dev->driver && dev->driver->pm) pm 710 drivers/base/power/domain.c cb = dev->driver->pm->runtime_suspend; pm 723 drivers/base/power/domain.c if (dev->type && dev->type->pm) pm 724 drivers/base/power/domain.c cb = dev->type->pm->runtime_resume; pm 725 drivers/base/power/domain.c else if (dev->class && dev->class->pm) pm 726 drivers/base/power/domain.c cb = dev->class->pm->runtime_resume; pm 727 drivers/base/power/domain.c else if (dev->bus && dev->bus->pm) pm 728 drivers/base/power/domain.c cb = dev->bus->pm->runtime_resume; pm 732 drivers/base/power/domain.c if (!cb && dev->driver && dev->driver->pm) pm 733 drivers/base/power/domain.c cb = dev->driver->pm->runtime_resume; pm 22 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 25 drivers/base/power/generic_ops.c ret = pm && pm->runtime_suspend ? pm->runtime_suspend(dev) : 0; pm 41 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 44 drivers/base/power/generic_ops.c ret = pm && pm->runtime_resume ? pm->runtime_resume(dev) : 0; pm 63 drivers/base/power/generic_ops.c if (drv && drv->pm && drv->pm->prepare) pm 64 drivers/base/power/generic_ops.c ret = drv->pm->prepare(dev); pm 75 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 77 drivers/base/power/generic_ops.c return pm && pm->suspend_noirq ? pm->suspend_noirq(dev) : 0; pm 87 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 89 drivers/base/power/generic_ops.c return pm && pm->suspend_late ? pm->suspend_late(dev) : 0; pm 99 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 101 drivers/base/power/generic_ops.c return pm && pm->suspend ? pm->suspend(dev) : 0; pm 111 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 113 drivers/base/power/generic_ops.c return pm && pm->freeze_noirq ? pm->freeze_noirq(dev) : 0; pm 123 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 125 drivers/base/power/generic_ops.c return pm && pm->freeze_late ? pm->freeze_late(dev) : 0; pm 135 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 137 drivers/base/power/generic_ops.c return pm && pm->freeze ? pm->freeze(dev) : 0; pm 147 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 149 drivers/base/power/generic_ops.c return pm && pm->poweroff_noirq ? pm->poweroff_noirq(dev) : 0; pm 159 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 161 drivers/base/power/generic_ops.c return pm && pm->poweroff_late ? pm->poweroff_late(dev) : 0; pm 171 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 173 drivers/base/power/generic_ops.c return pm && pm->poweroff ? pm->poweroff(dev) : 0; pm 183 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 185 drivers/base/power/generic_ops.c return pm && pm->thaw_noirq ? pm->thaw_noirq(dev) : 0; pm 195 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 197 drivers/base/power/generic_ops.c return pm && pm->thaw_early ? pm->thaw_early(dev) : 0; pm 207 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 209 drivers/base/power/generic_ops.c return pm && pm->thaw ? pm->thaw(dev) : 0; pm 219 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 221 drivers/base/power/generic_ops.c return pm && pm->resume_noirq ? pm->resume_noirq(dev) : 0; pm 231 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 233 drivers/base/power/generic_ops.c return pm && pm->resume_early ? pm->resume_early(dev) : 0; pm 243 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 245 drivers/base/power/generic_ops.c return pm && pm->resume ? pm->resume(dev) : 0; pm 255 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 257 drivers/base/power/generic_ops.c return pm && pm->restore_noirq ? pm->restore_noirq(dev) : 0; pm 267 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 269 drivers/base/power/generic_ops.c return pm && pm->restore_early ? pm->restore_early(dev) : 0; pm 279 drivers/base/power/generic_ops.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 281 drivers/base/power/generic_ops.c return pm && pm->restore ? pm->restore(dev) : 0; pm 295 drivers/base/power/generic_ops.c if (drv && drv->pm && drv->pm->complete) pm 296 drivers/base/power/generic_ops.c drv->pm->complete(dev); pm 600 drivers/base/power/main.c } else if (dev->type && dev->type->pm) { pm 602 drivers/base/power/main.c callback = pm_noirq_op(dev->type->pm, state); pm 603 drivers/base/power/main.c } else if (dev->class && dev->class->pm) { pm 605 drivers/base/power/main.c callback = pm_noirq_op(dev->class->pm, state); pm 606 drivers/base/power/main.c } else if (dev->bus && dev->bus->pm) { pm 608 drivers/base/power/main.c callback = pm_noirq_op(dev->bus->pm, state); pm 686 drivers/base/power/main.c if (dev->driver && dev->driver->pm) { pm 688 drivers/base/power/main.c callback = pm_noirq_op(dev->driver->pm, state); pm 819 drivers/base/power/main.c } else if (dev->type && dev->type->pm) { pm 821 drivers/base/power/main.c callback = pm_late_early_op(dev->type->pm, state); pm 822 drivers/base/power/main.c } else if (dev->class && dev->class->pm) { pm 824 drivers/base/power/main.c callback = pm_late_early_op(dev->class->pm, state); pm 825 drivers/base/power/main.c } else if (dev->bus && dev->bus->pm) { pm 827 drivers/base/power/main.c callback = pm_late_early_op(dev->bus->pm, state); pm 866 drivers/base/power/main.c if (!callback && dev->driver && dev->driver->pm) { pm 868 drivers/base/power/main.c callback = pm_late_early_op(dev->driver->pm, state); pm 998 drivers/base/power/main.c if (dev->type && dev->type->pm) { pm 1000 drivers/base/power/main.c callback = pm_op(dev->type->pm, state); pm 1004 drivers/base/power/main.c if (dev->class && dev->class->pm) { pm 1006 drivers/base/power/main.c callback = pm_op(dev->class->pm, state); pm 1011 drivers/base/power/main.c if (dev->bus->pm) { pm 1013 drivers/base/power/main.c callback = pm_op(dev->bus->pm, state); pm 1022 drivers/base/power/main.c if (!callback && dev->driver && dev->driver->pm) { pm 1024 drivers/base/power/main.c callback = pm_op(dev->driver->pm, state); pm 1125 drivers/base/power/main.c } else if (dev->type && dev->type->pm) { pm 1127 drivers/base/power/main.c callback = dev->type->pm->complete; pm 1128 drivers/base/power/main.c } else if (dev->class && dev->class->pm) { pm 1130 drivers/base/power/main.c callback = dev->class->pm->complete; pm 1131 drivers/base/power/main.c } else if (dev->bus && dev->bus->pm) { pm 1133 drivers/base/power/main.c callback = dev->bus->pm->complete; pm 1136 drivers/base/power/main.c if (!callback && dev->driver && dev->driver->pm) { pm 1138 drivers/base/power/main.c callback = dev->driver->pm->complete; pm 1254 drivers/base/power/main.c } else if (dev->type && dev->type->pm) { pm 1256 drivers/base/power/main.c callback = pm_noirq_op(dev->type->pm, state); pm 1257 drivers/base/power/main.c } else if (dev->class && dev->class->pm) { pm 1259 drivers/base/power/main.c callback = pm_noirq_op(dev->class->pm, state); pm 1260 drivers/base/power/main.c } else if (dev->bus && dev->bus->pm) { pm 1262 drivers/base/power/main.c callback = pm_noirq_op(dev->bus->pm, state); pm 1335 drivers/base/power/main.c if (dev->driver && dev->driver->pm) { pm 1337 drivers/base/power/main.c callback = pm_noirq_op(dev->driver->pm, state); pm 1483 drivers/base/power/main.c } else if (dev->type && dev->type->pm) { pm 1485 drivers/base/power/main.c callback = pm_late_early_op(dev->type->pm, state); pm 1486 drivers/base/power/main.c } else if (dev->class && dev->class->pm) { pm 1488 drivers/base/power/main.c callback = pm_late_early_op(dev->class->pm, state); pm 1489 drivers/base/power/main.c } else if (dev->bus && dev->bus->pm) { pm 1491 drivers/base/power/main.c callback = pm_late_early_op(dev->bus->pm, state); pm 1542 drivers/base/power/main.c if (dev->driver && dev->driver->pm) { pm 1544 drivers/base/power/main.c callback = pm_late_early_op(dev->driver->pm, state); pm 1777 drivers/base/power/main.c if (dev->type && dev->type->pm) { pm 1779 drivers/base/power/main.c callback = pm_op(dev->type->pm, state); pm 1783 drivers/base/power/main.c if (dev->class && dev->class->pm) { pm 1785 drivers/base/power/main.c callback = pm_op(dev->class->pm, state); pm 1790 drivers/base/power/main.c if (dev->bus->pm) { pm 1792 drivers/base/power/main.c callback = pm_op(dev->bus->pm, state); pm 1802 drivers/base/power/main.c if (!callback && dev->driver && dev->driver->pm) { pm 1804 drivers/base/power/main.c callback = pm_op(dev->driver->pm, state); pm 1942 drivers/base/power/main.c else if (dev->type && dev->type->pm) pm 1943 drivers/base/power/main.c callback = dev->type->pm->prepare; pm 1944 drivers/base/power/main.c else if (dev->class && dev->class->pm) pm 1945 drivers/base/power/main.c callback = dev->class->pm->prepare; pm 1946 drivers/base/power/main.c else if (dev->bus && dev->bus->pm) pm 1947 drivers/base/power/main.c callback = dev->bus->pm->prepare; pm 1949 drivers/base/power/main.c if (!callback && dev->driver && dev->driver->pm) pm 1950 drivers/base/power/main.c callback = dev->driver->pm->prepare; pm 2122 drivers/base/power/main.c (!dev->bus || (pm_ops_is_empty(dev->bus->pm) && pm 2124 drivers/base/power/main.c (!dev->class || pm_ops_is_empty(dev->class->pm)) && pm 2125 drivers/base/power/main.c (!dev->type || pm_ops_is_empty(dev->type->pm)) && pm 2127 drivers/base/power/main.c (!dev->driver || (pm_ops_is_empty(dev->driver->pm) && pm 28 drivers/base/power/runtime.c else if (dev->type && dev->type->pm) pm 29 drivers/base/power/runtime.c ops = dev->type->pm; pm 30 drivers/base/power/runtime.c else if (dev->class && dev->class->pm) pm 31 drivers/base/power/runtime.c ops = dev->class->pm; pm 32 drivers/base/power/runtime.c else if (dev->bus && dev->bus->pm) pm 33 drivers/base/power/runtime.c ops = dev->bus->pm; pm 42 drivers/base/power/runtime.c if (!cb && dev->driver && dev->driver->pm) pm 43 drivers/base/power/runtime.c cb = *(pm_callback_t *)((void *)dev->driver->pm + cb_offset); pm 771 drivers/base/property.c const char *pm; pm 774 drivers/base/property.c err = fwnode_property_read_string(fwnode, "phy-mode", &pm); pm 777 drivers/base/property.c "phy-connection-type", &pm); pm 782 drivers/base/property.c if (!strcasecmp(pm, phy_modes(i))) pm 317 drivers/bcma/host_pci.c .driver.pm = BCMA_PM_OPS, pm 4508 drivers/block/floppy.c .pm = &floppy_pm_ops, pm 1796 drivers/bluetooth/btmrvl_sdio.c .pm = &btmrvl_sdio_pm_ops, pm 1087 drivers/bluetooth/btmtksdio.c .pm = BTMTKSDIO_PM_OPS, pm 1368 drivers/bluetooth/hci_bcm.c .pm = &bcm_pm_ops, pm 1437 drivers/bluetooth/hci_bcm.c .pm = &bcm_pm_ops, pm 1009 drivers/bluetooth/hci_h5.c .pm = &h5_serdev_pm_ops, pm 1227 drivers/bluetooth/hci_intel.c .pm = &intel_pm_ops, pm 797 drivers/bluetooth/hci_nokia.c .pm = &nokia_bluetooth_pm_ops, pm 443 drivers/bus/brcmstb_gisb.c .pm = &brcmstb_gisb_arb_pm_ops, pm 794 drivers/bus/fsl-mc/dprc-driver.c .pm = NULL, pm 648 drivers/bus/fsl-mc/fsl-mc-allocator.c .pm = NULL, pm 927 drivers/bus/fsl-mc/fsl-mc-bus.c .pm = NULL, pm 362 drivers/bus/omap_l3_noc.c .pm = L3_DEV_PM_OPS, pm 113 drivers/bus/tegra-aconnect.c .pm = &tegra_aconnect_pm_ops, pm 2587 drivers/bus/ti-sysc.c .pm = &sysc_pm_ops, pm 276 drivers/bus/uniphier-system-bus.c .pm = &uniphier_system_bus_pm_ops, pm 156 drivers/char/hw_random/atmel-rng.c .pm = &atmel_trng_pm_ops, pm 225 drivers/char/hw_random/exynos-trng.c .pm = &exynos_trng_pm_ops, pm 309 drivers/char/hw_random/imx-rngc.c .pm = &imx_rngc_pm_ops, pm 193 drivers/char/hw_random/mtk-rng.c .pm = MTK_RNG_PM_OPS, pm 579 drivers/char/hw_random/omap-rng.c .pm = &omap_rng_pm, pm 208 drivers/char/hw_random/stm32-rng.c .pm = &stm32_rng_pm_ops, pm 1471 drivers/char/sonypi.c .pm = SONYPI_PM, pm 303 drivers/char/tpm/st33zp24/i2c.c .pm = &st33zp24_i2c_ops, pm 420 drivers/char/tpm/st33zp24/spi.c .pm = &st33zp24_spi_ops, pm 154 drivers/char/tpm/tpm_atmel.c .pm = &tpm_atml_pm, pm 687 drivers/char/tpm/tpm_crb.c .pm = &crb_pm, pm 212 drivers/char/tpm/tpm_i2c_atmel.c .pm = &i2c_atmel_pm_ops, pm 726 drivers/char/tpm/tpm_i2c_infineon.c .pm = &tpm_tis_i2c_ops, pm 658 drivers/char/tpm/tpm_i2c_nuvoton.c .pm = &i2c_nuvoton_pm_ops, pm 707 drivers/char/tpm/tpm_ibmvtpm.c .pm = &tpm_ibmvtpm_pm_ops, pm 616 drivers/char/tpm/tpm_infineon.c .pm = &tpm_inf_pm, pm 272 drivers/char/tpm/tpm_nsc.c .pm = &tpm_nsc_pm, pm 266 drivers/char/tpm/tpm_tis.c .pm = &tpm_tis_pm, pm 324 drivers/char/tpm/tpm_tis.c .pm = &tpm_tis_pm, pm 256 drivers/char/tpm/tpm_tis_spi.c .pm = &tpm_tis_pm, pm 555 drivers/clk/clk-cs2000-cp.c .pm = &cs2000_pm_ops, pm 377 drivers/clk/clk-max9485.c .pm = &max9485_pm_ops, pm 984 drivers/clk/clk-versaclock5.c .pm = &vc5_pm_ops, pm 115 drivers/clk/ingenic/cgu.c unsigned *pm, unsigned *pn, unsigned *pod) pm 135 drivers/clk/ingenic/cgu.c if (pm) pm 136 drivers/clk/ingenic/cgu.c *pm = m; pm 794 drivers/clk/mvebu/armada-37xx-periph.c .pm = &armada_3700_periph_clock_pm_ops, pm 163 drivers/clk/qcom/turingcc-qcs404.c .pm = &turingcc_pm_ops, pm 176 drivers/clk/renesas/rcar-usb2-clock-sel.c .pm = &rcar_usb2_clock_sel_pm_ops, pm 1005 drivers/clk/renesas/renesas-cpg-mssr.c .pm = DEV_PM_OPS, pm 297 drivers/clk/samsung/clk-exynos-audss.c .pm = &exynos_audss_clk_pm_ops, pm 165 drivers/clk/samsung/clk-exynos4412-isp.c .pm = &exynos4x12_isp_pm_ops, pm 129 drivers/clk/samsung/clk-exynos5-subcmu.c .pm = &exynos5_subcmu_pm_ops, pm 5712 drivers/clk/samsung/clk-exynos5433.c .pm = &exynos5433_cmu_pm_ops, pm 428 drivers/clk/samsung/clk-s3c2410-dclk.c .pm = &s3c24xx_dclk_pm_ops, pm 642 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c .pm = &tegra124_dfll_pm_ops, pm 351 drivers/clocksource/ingenic-timer.c .pm = &ingenic_tcu_pm_ops, pm 746 drivers/counter/stm32-lptimer-cnt.c .pm = &stm32_lptim_cnt_pm_ops, pm 2258 drivers/crypto/ccp/ccp-ops.c if (!ecc->u.pm.point_1.x || pm 2259 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.point_1.x_len > CCP_ECC_MODULUS_BYTES) || pm 2260 drivers/crypto/ccp/ccp-ops.c !ecc->u.pm.point_1.y || pm 2261 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.point_1.y_len > CCP_ECC_MODULUS_BYTES)) pm 2265 drivers/crypto/ccp/ccp-ops.c if (!ecc->u.pm.point_2.x || pm 2266 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.point_2.x_len > CCP_ECC_MODULUS_BYTES) || pm 2267 drivers/crypto/ccp/ccp-ops.c !ecc->u.pm.point_2.y || pm 2268 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.point_2.y_len > CCP_ECC_MODULUS_BYTES)) pm 2271 drivers/crypto/ccp/ccp-ops.c if (!ecc->u.pm.domain_a || pm 2272 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.domain_a_len > CCP_ECC_MODULUS_BYTES)) pm 2276 drivers/crypto/ccp/ccp-ops.c if (!ecc->u.pm.scalar || pm 2277 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.scalar_len > CCP_ECC_MODULUS_BYTES)) pm 2281 drivers/crypto/ccp/ccp-ops.c if (!ecc->u.pm.result.x || pm 2282 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.result.x_len < CCP_ECC_MODULUS_BYTES) || pm 2283 drivers/crypto/ccp/ccp-ops.c !ecc->u.pm.result.y || pm 2284 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.result.y_len < CCP_ECC_MODULUS_BYTES)) pm 2313 drivers/crypto/ccp/ccp-ops.c ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.pm.point_1.x, 0, pm 2314 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.point_1.x_len); pm 2318 drivers/crypto/ccp/ccp-ops.c ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.pm.point_1.y, 0, pm 2319 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.point_1.y_len); pm 2330 drivers/crypto/ccp/ccp-ops.c ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.pm.point_2.x, 0, pm 2331 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.point_2.x_len); pm 2335 drivers/crypto/ccp/ccp-ops.c ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.pm.point_2.y, 0, pm 2336 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.point_2.y_len); pm 2346 drivers/crypto/ccp/ccp-ops.c ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.pm.domain_a, 0, pm 2347 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.domain_a_len); pm 2355 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.scalar, 0, pm 2356 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.scalar_len); pm 2401 drivers/crypto/ccp/ccp-ops.c ccp_reverse_get_dm_area(&dst, 0, ecc->u.pm.result.x, 0, pm 2404 drivers/crypto/ccp/ccp-ops.c ccp_reverse_get_dm_area(&dst, 0, ecc->u.pm.result.y, 0, pm 647 drivers/crypto/ccree/cc_driver.c .pm = &ccree_pm, pm 390 drivers/crypto/exynos-rng.c .pm = &exynos_rng_pm_ops, pm 1110 drivers/crypto/img-hash.c .pm = &img_hash_pm_ops, pm 1332 drivers/crypto/omap-aes.c .pm = &omap_aes_pm_ops, pm 1161 drivers/crypto/omap-des.c .pm = &omap_des_pm_ops, pm 2254 drivers/crypto/omap-sham.c .pm = &omap_sham_pm_ops, pm 1810 drivers/crypto/picoxcell_crypto.c .pm = &spacc_pm_ops, pm 376 drivers/crypto/stm32/stm32-crc32.c .pm = &stm32_crc_pm_ops, pm 2115 drivers/crypto/stm32/stm32-cryp.c .pm = &stm32_cryp_pm_ops, pm 1616 drivers/crypto/stm32/stm32-hash.c .pm = &stm32_hash_pm_ops, pm 1653 drivers/crypto/ux500/cryp/cryp_core.c .pm = &ux500_cryp_pm, pm 1933 drivers/crypto/ux500/hash/hash_core.c .pm = &ux500_hash_pm, pm 487 drivers/devfreq/exynos-bus.c .pm = &exynos_bus_pm, pm 495 drivers/devfreq/rk3399_dmc.c .pm = &rk3399_dmcfreq_pm, pm 2153 drivers/dma/at_hdmac.c .pm = &at_dma_dev_pm_ops, pm 2157 drivers/dma/at_xdmac.c .pm = &atmel_xdmac_dev_pm_ops, pm 1285 drivers/dma/coh901318.c struct powersave pm; pm 1342 drivers/dma/coh901318.c u64 started_channels = debugfs_dma_base->pm.started_channels; pm 1423 drivers/dma/coh901318.c struct powersave *pm = &cohc->base->pm; pm 1425 drivers/dma/coh901318.c spin_lock_irqsave(&pm->lock, flags); pm 1427 drivers/dma/coh901318.c pm->started_channels &= ~(1ULL << cohc->id); pm 1429 drivers/dma/coh901318.c spin_unlock_irqrestore(&pm->lock, flags); pm 1434 drivers/dma/coh901318.c struct powersave *pm = &cohc->base->pm; pm 1436 drivers/dma/coh901318.c spin_lock_irqsave(&pm->lock, flags); pm 1438 drivers/dma/coh901318.c pm->started_channels |= (1ULL << cohc->id); pm 1440 drivers/dma/coh901318.c spin_unlock_irqrestore(&pm->lock, flags); pm 2660 drivers/dma/coh901318.c spin_lock_init(&base->pm.lock); pm 2661 drivers/dma/coh901318.c base->pm.started_channels = 0; pm 1000 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c .pm = &dw_axi_dma_pm_ops, pm 139 drivers/dma/dw/pci.c .pm = &dw_pci_dev_pm_ops, pm 199 drivers/dma/dw/platform.c .pm = &dw_dev_pm_ops, pm 477 drivers/dma/fsl-edma.c .pm = &fsl_edma_pm_ops, pm 1398 drivers/dma/fsldma.c .pm = &fsldma_pm_ops, pm 699 drivers/dma/idma64.c .pm = &idma64_dev_pm_ops, pm 1080 drivers/dma/img-mdc-dma.c .pm = &img_mdc_pm_ops, pm 1039 drivers/dma/k3dma.c .pm = &k3_dma_pmops, pm 655 drivers/dma/mediatek/mtk-uart-apdma.c .pm = &mtk_uart_apdma_pm_ops, pm 1514 drivers/dma/nbpfaxi.c .pm = &nbpf_pm_ops, pm 3263 drivers/dma/pl330.c .pm = &pl330_pm, pm 1481 drivers/dma/qcom/bam_dma.c .pm = &bam_dma_pm_ops, pm 1086 drivers/dma/sa11x0-dma.c .pm = &sa11x0_dma_pm_ops, pm 1959 drivers/dma/sh/rcar-dmac.c .pm = &rcar_dmac_pm, pm 910 drivers/dma/sh/shdmac.c .pm = &sh_dmae_pm, pm 899 drivers/dma/sh/usb-dmac.c .pm = &usb_dmac_pm, pm 1149 drivers/dma/sirf-dma.c .pm = &sirfsoc_dma_pm_ops, pm 1266 drivers/dma/sprd-dma.c .pm = &sprd_dma_pm_ops, pm 3715 drivers/dma/ste_dma40.c .pm = &dma40_pm_ops, pm 1439 drivers/dma/stm32-dma.c .pm = &stm32_dma_pm_ops, pm 336 drivers/dma/stm32-dmamux.c .pm = &stm32_dmamux_pm_ops, pm 1710 drivers/dma/stm32-mdma.c .pm = &stm32_mdma_pm_ops, pm 1662 drivers/dma/tegra20-apb-dma.c .pm = &tegra_dma_dev_pm_ops, pm 960 drivers/dma/tegra210-adma.c .pm = &tegra_adma_dev_pm_ops, pm 1250 drivers/dma/ti/cppi41.c .pm = &cppi41_pm_ops, pm 2571 drivers/dma/ti/edma.c .pm = &edma_pm_ops, pm 1278 drivers/dma/txx9dmac.c .pm = &txx9dmac_dev_pm_ops, pm 1148 drivers/dma/xilinx/zynqmp_dma.c .pm = &zynqmp_dma_dev_pm_ops, pm 938 drivers/dma/zx_dma.c .pm = &zx_dma_pmops, pm 495 drivers/edac/altera_edac.c .pm = &altr_sdram_pm_ops, pm 203 drivers/extcon/extcon-adc-jack.c .pm = &adc_jack_pm_ops, pm 471 drivers/extcon/extcon-axp288.c .pm = &axp288_extcon_pm_ops, pm 374 drivers/extcon/extcon-fsa9480.c .pm = &fsa9480_pm_ops, pm 164 drivers/extcon/extcon-gpio.c .pm = &gpio_extcon_pm_ops, pm 431 drivers/extcon/extcon-palmas.c .pm = &palmas_pm_ops, pm 155 drivers/extcon/extcon-qcom-spmi-misc.c .pm = &qcom_usb_extcon_pm_ops, pm 699 drivers/extcon/extcon-rt8973a.c .pm = &rt8973a_muic_pm_ops, pm 695 drivers/extcon/extcon-sm5502.c .pm = &sm5502_muic_pm_ops, pm 303 drivers/extcon/extcon-usb-gpio.c .pm = &usb_extcon_pm_ops, pm 532 drivers/extcon/extcon-usbc-cros-ec.c .pm = DEV_PM_OPS, pm 1073 drivers/firmware/arm_sdei.c .pm = &sdei_pm_ops, pm 862 drivers/firmware/google/gsmi.c .pm = &gsmi_pm_ops, pm 871 drivers/firmware/tegra/bpmp.c .pm = &tegra_bpmp_pm_ops, pm 143 drivers/gnss/mtk.c .pm = &gnss_serial_pm_ops, pm 568 drivers/gnss/sirf.c .pm = &sirf_pm_ops, pm 145 drivers/gnss/ubx.c .pm = &gnss_serial_pm_ops, pm 73 drivers/gpio/gpio-amd8111.c void __iomem *pm; pm 83 drivers/gpio/gpio-amd8111.c agp->orig[offset] = ioread8(agp->pm + AMD_REG_GPIO(offset)) & pm 97 drivers/gpio/gpio-amd8111.c iowrite8(agp->orig[offset], agp->pm + AMD_REG_GPIO(offset)); pm 107 drivers/gpio/gpio-amd8111.c temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); pm 109 drivers/gpio/gpio-amd8111.c iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); pm 120 drivers/gpio/gpio-amd8111.c temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); pm 134 drivers/gpio/gpio-amd8111.c temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); pm 136 drivers/gpio/gpio-amd8111.c iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); pm 151 drivers/gpio/gpio-amd8111.c temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); pm 153 drivers/gpio/gpio-amd8111.c iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); pm 215 drivers/gpio/gpio-amd8111.c gp.pm = ioport_map(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE); pm 216 drivers/gpio/gpio-amd8111.c if (!gp.pm) { pm 231 drivers/gpio/gpio-amd8111.c ioport_unmap(gp.pm); pm 241 drivers/gpio/gpio-amd8111.c ioport_unmap(gp.pm); pm 774 drivers/gpio/gpio-brcmstb.c .pm = &brcmstb_gpio_pm_ops, pm 840 drivers/gpio/gpio-dwapb.c .pm = &dwapb_gpio_pm_ops, pm 410 drivers/gpio/gpio-intel-mid.c .pm = &intel_gpio_pm_ops, pm 450 drivers/gpio/gpio-lynxpoint.c .pm = &lp_gpio_pm_ops, pm 31 drivers/gpio/gpio-ml-ioh.c u32 pm; pm 120 drivers/gpio/gpio-ml-ioh.c u32 pm; pm 125 drivers/gpio/gpio-ml-ioh.c pm = ioread32(&chip->reg->regs[chip->ch].pm) & pm 127 drivers/gpio/gpio-ml-ioh.c pm |= (1 << nr); pm 128 drivers/gpio/gpio-ml-ioh.c iowrite32(pm, &chip->reg->regs[chip->ch].pm); pm 145 drivers/gpio/gpio-ml-ioh.c u32 pm; pm 149 drivers/gpio/gpio-ml-ioh.c pm = ioread32(&chip->reg->regs[chip->ch].pm) & pm 151 drivers/gpio/gpio-ml-ioh.c pm &= ~(1 << nr); pm 152 drivers/gpio/gpio-ml-ioh.c iowrite32(pm, &chip->reg->regs[chip->ch].pm); pm 170 drivers/gpio/gpio-ml-ioh.c ioread32(&chip->reg->regs[chip->ch].pm); pm 196 drivers/gpio/gpio-ml-ioh.c &chip->reg->regs[chip->ch].pm); pm 749 drivers/gpio/gpio-omap.c .pm = &omap_mpuio_dev_pm_ops, pm 1516 drivers/gpio/gpio-omap.c .pm = &gpio_pm_ops, pm 1190 drivers/gpio/gpio-pca953x.c .pm = &pca953x_pm_ops, pm 31 drivers/gpio/gpio-pch.c u32 pm; pm 125 drivers/gpio/gpio-pch.c u32 pm; pm 138 drivers/gpio/gpio-pch.c pm = ioread32(&chip->reg->pm) & ((1 << gpio_pins[chip->ioh]) - 1); pm 139 drivers/gpio/gpio-pch.c pm |= (1 << nr); pm 140 drivers/gpio/gpio-pch.c iowrite32(pm, &chip->reg->pm); pm 150 drivers/gpio/gpio-pch.c u32 pm; pm 154 drivers/gpio/gpio-pch.c pm = ioread32(&chip->reg->pm) & ((1 << gpio_pins[chip->ioh]) - 1); pm 155 drivers/gpio/gpio-pch.c pm &= ~(1 << nr); pm 156 drivers/gpio/gpio-pch.c iowrite32(pm, &chip->reg->pm); pm 170 drivers/gpio/gpio-pch.c chip->pch_gpio_reg.pm_reg = ioread32(&chip->reg->pm); pm 188 drivers/gpio/gpio-pch.c iowrite32(chip->pch_gpio_reg.pm_reg, &chip->reg->pm); pm 452 drivers/gpio/gpio-pch.c .pm = &pch_gpio_pm_ops, pm 418 drivers/gpio/gpio-pl061.c .pm = &pl061_dev_pm_ops, pm 601 drivers/gpio/gpio-rcar.c .pm = &gpio_rcar_pm_ops, pm 708 drivers/gpio/gpio-tegra.c .pm = &tegra_gpio_pm_ops, pm 332 drivers/gpio/gpio-tqmx86.c .pm = &tqmx86_gpio_dev_pm_ops, pm 492 drivers/gpio/gpio-uniphier.c .pm = &uniphier_gpio_pm_ops, pm 226 drivers/gpio/gpio-xgene.c .pm = &xgene_gpio_pm, pm 953 drivers/gpio/gpio-zynq.c .pm = &zynq_gpio_dev_pm_ops, pm 921 drivers/gpu/drm/amd/amdgpu/amdgpu.h struct amdgpu_pm pm; pm 702 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c adev->pm.current_sclk = adev->clock.default_sclk; pm 703 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c adev->pm.current_mclk = adev->clock.default_mclk; pm 1361 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c u32 count = adev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; pm 1365 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (adev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[entry_id].v == pm 1377 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c cpu_to_le32(adev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[entry_id].clk); pm 365 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c adev->pm.current_sclk = adev->clock.default_sclk; pm 366 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c adev->pm.current_mclk = adev->clock.default_mclk; pm 250 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c if (!adev->pm.fw) { pm 438 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c err = request_firmware(&adev->pm.fw, fw_name, adev->dev); pm 444 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c err = amdgpu_ucode_validate(adev->pm.fw); pm 447 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c release_firmware(adev->pm.fw); pm 448 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c adev->pm.fw = NULL; pm 455 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c ucode->fw = adev->pm.fw; pm 462 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c hdr = (const struct smc_firmware_header_v1_0 *) adev->pm.fw->data; pm 464 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); pm 467 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c src = (const uint8_t *)(adev->pm.fw->data + pm 470 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c info->version = adev->pm.fw_version; pm 160 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c mutex_lock(&adev->pm.mutex); pm 194 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c mutex_unlock(&adev->pm.mutex); pm 568 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c if (!adev->pm.dpm_enabled) pm 841 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c err = request_firmware(&adev->pm.fw, "amdgpu/fiji_smc.bin", adev->dev); pm 846 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c fw_ver = *((uint32_t *)adev->pm.fw->data + 69); pm 967 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.smu_prv_buffer_size = amdgpu_smu_memory_pool_size << 28; pm 974 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.smu_prv_buffer_size = 0; pm 1624 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pp_feature = amdgpu_pp_feature_mask; pm 1626 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pp_feature &= ~PP_GFXOFF_MASK; pm 2626 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c mutex_init(&adev->pm.mutex); pm 2667 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.ac_power = power_supply_is_system_supplied() > 0 ? true : false; pm 3971 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_gen_mask = amdgpu_pcie_gen_cap; pm 3974 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_mlw_mask = amdgpu_pcie_lane_cap; pm 3978 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->pm.pcie_gen_mask == 0) pm 3979 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_gen_mask = AMDGPU_DEFAULT_PCIE_GEN_MASK; pm 3980 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->pm.pcie_mlw_mask == 0) pm 3981 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_mlw_mask = AMDGPU_DEFAULT_PCIE_MLW_MASK; pm 3985 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->pm.pcie_gen_mask && adev->pm.pcie_mlw_mask) pm 3991 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->pm.pcie_gen_mask == 0) { pm 3996 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_gen_mask |= (CAIL_ASIC_PCIE_LINK_SPEED_SUPPORT_GEN1 | pm 4001 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_gen_mask |= (CAIL_ASIC_PCIE_LINK_SPEED_SUPPORT_GEN1 | pm 4006 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_gen_mask |= (CAIL_ASIC_PCIE_LINK_SPEED_SUPPORT_GEN1 | pm 4010 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_gen_mask |= (CAIL_ASIC_PCIE_LINK_SPEED_SUPPORT_GEN1 | pm 4013 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_gen_mask |= CAIL_ASIC_PCIE_LINK_SPEED_SUPPORT_GEN1; pm 4017 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_gen_mask |= (CAIL_PCIE_LINK_SPEED_SUPPORT_GEN1 | pm 4021 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_gen_mask |= (CAIL_PCIE_LINK_SPEED_SUPPORT_GEN1 | pm 4026 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_gen_mask |= (CAIL_PCIE_LINK_SPEED_SUPPORT_GEN1 | pm 4030 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_gen_mask |= (CAIL_PCIE_LINK_SPEED_SUPPORT_GEN1 | pm 4033 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_gen_mask |= CAIL_PCIE_LINK_SPEED_SUPPORT_GEN1; pm 4037 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->pm.pcie_mlw_mask == 0) { pm 4039 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_mlw_mask |= AMDGPU_DEFAULT_PCIE_MLW_MASK; pm 4043 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_mlw_mask = (CAIL_PCIE_LINK_WIDTH_SUPPORT_X32 | pm 4052 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_mlw_mask = (CAIL_PCIE_LINK_WIDTH_SUPPORT_X16 | pm 4060 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_mlw_mask = (CAIL_PCIE_LINK_WIDTH_SUPPORT_X12 | pm 4067 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_mlw_mask = (CAIL_PCIE_LINK_WIDTH_SUPPORT_X8 | pm 4073 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_mlw_mask = (CAIL_PCIE_LINK_WIDTH_SUPPORT_X4 | pm 4078 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_mlw_mask = (CAIL_PCIE_LINK_WIDTH_SUPPORT_X2 | pm 4082 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->pm.pcie_mlw_mask = CAIL_PCIE_LINK_WIDTH_SUPPORT_X1; pm 109 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (rps == adev->pm.dpm.current_ps) pm 111 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (rps == adev->pm.dpm.requested_ps) pm 113 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (rps == adev->pm.dpm.boot_ps) pm 124 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.new_active_crtcs = 0; pm 125 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.new_active_crtc_count = 0; pm 131 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.new_active_crtcs |= (1 << amdgpu_crtc->crtc_id); pm 132 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.new_active_crtc_count++; pm 264 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); pm 265 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); pm 266 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); pm 303 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.t_hyst = fan_info->fan.ucTHyst; pm 304 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); pm 305 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); pm 306 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh); pm 307 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_info->fan.usPWMMin); pm 308 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.pwm_med = le16_to_cpu(fan_info->fan.usPWMMed); pm 309 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.pwm_high = le16_to_cpu(fan_info->fan.usPWMHigh); pm 311 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.t_max = le16_to_cpu(fan_info->fan2.usTMax); pm 313 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.t_max = 10900; pm 314 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.cycle_delay = 100000; pm 316 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.control_mode = fan_info->fan3.ucFanControlMode; pm 317 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.default_max_fan_pwm = pm 319 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.default_fan_output_sensitivity = 4836; pm 320 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.fan_output_sensitivity = pm 323 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.fan.ucode_fan_control = true; pm 334 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c ret = amdgpu_parse_clk_voltage_dep_table(&adev->pm.dpm.dyn_state.vddc_dependency_on_sclk, pm 345 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c ret = amdgpu_parse_clk_voltage_dep_table(&adev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 356 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c ret = amdgpu_parse_clk_voltage_dep_table(&adev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 367 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c ret = amdgpu_parse_clk_voltage_dep_table(&adev->pm.dpm.dyn_state.mvdd_dependency_on_mclk, pm 380 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.max_clock_voltage_on_dc.sclk = pm 383 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.max_clock_voltage_on_dc.mclk = pm 386 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc = pm 388 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddci = pm 399 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.phase_shedding_limits_table.entries = pm 403 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (!adev->pm.dpm.dyn_state.phase_shedding_limits_table.entries) { pm 410 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].sclk = pm 412 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].mclk = pm 414 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].voltage = pm 419 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.phase_shedding_limits_table.count = pm 427 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.tdp_limit = le32_to_cpu(power_info->pplib5.ulTDPLimit); pm 428 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); pm 429 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.near_tdp_limit_adjusted = adev->pm.dpm.near_tdp_limit; pm 430 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.tdp_od_limit = le16_to_cpu(power_info->pplib5.usTDPODLimit); pm 431 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (adev->pm.dpm.tdp_od_limit) pm 432 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.power_control = true; pm 434 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.power_control = false; pm 435 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.tdp_adjustment = 0; pm 436 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.sq_ramping_threshold = le32_to_cpu(power_info->pplib5.ulSQRampingThreshold); pm 437 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.cac_leakage = le32_to_cpu(power_info->pplib5.ulCACLeakage); pm 438 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.load_line_slope = le16_to_cpu(power_info->pplib5.usLoadLineSlope); pm 446 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_leakage_table.entries = kzalloc(size, GFP_KERNEL); pm 447 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (!adev->pm.dpm.dyn_state.cac_leakage_table.entries) { pm 453 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (adev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_EVV) { pm 454 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc1 = pm 456 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc2 = pm 458 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc3 = pm 461 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc = pm 463 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_leakage_table.entries[i].leakage = pm 469 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries; pm 500 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries = pm 502 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (!adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries) { pm 506 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.count = pm 514 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].evclk = pm 516 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].ecclk = pm 518 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].v = pm 523 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.num_of_vce_states = pm 526 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c for (i = 0; i < adev->pm.dpm.num_of_vce_states; i++) { pm 530 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.vce_states[i].evclk = pm 532 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.vce_states[i].ecclk = pm 534 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.vce_states[i].clk_idx = pm 536 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.vce_states[i].pstate = pm 555 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries = pm 557 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (!adev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries) { pm 561 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count = pm 568 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].vclk = pm 570 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].dclk = pm 572 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].v = pm 587 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries = pm 589 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (!adev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries) { pm 593 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.count = pm 597 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[i].clk = pm 599 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[i].v = pm 610 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.ppm_table = pm 612 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (!adev->pm.dpm.dyn_state.ppm_table) { pm 616 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.ppm_table->ppm_design = ppm->ucPpmDesign; pm 617 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.ppm_table->cpu_core_number = pm 619 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.ppm_table->platform_tdp = pm 621 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.ppm_table->small_ac_platform_tdp = pm 623 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.ppm_table->platform_tdc = pm 625 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.ppm_table->small_ac_platform_tdc = pm 627 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.ppm_table->apu_tdp = pm 629 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.ppm_table->dgpu_tdp = pm 631 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.ppm_table->dgpu_ulv_power = pm 633 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.ppm_table->tj_max = pm 645 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries = pm 647 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (!adev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries) { pm 651 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.count = pm 655 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[i].clk = pm 657 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[i].v = pm 668 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_tdp_table = pm 670 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (!adev->pm.dpm.dyn_state.cac_tdp_table) { pm 678 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_tdp_table->maximum_power_delivery_limit = pm 685 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_tdp_table->maximum_power_delivery_limit = 255; pm 688 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_tdp_table->tdp = le16_to_cpu(pt->usTDP); pm 689 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_tdp_table->configurable_tdp = pm 691 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); pm 692 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_tdp_table->battery_power_limit = pm 694 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_tdp_table->small_power_limit = pm 696 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_tdp_table->low_cac_leakage = pm 698 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.cac_tdp_table->high_cac_leakage = pm 707 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c &adev->pm.dpm.dyn_state.vddgfx_dependency_on_sclk, pm 710 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c kfree(adev->pm.dpm.dyn_state.vddgfx_dependency_on_sclk.entries); pm 721 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c struct amdgpu_dpm_dynamic_state *dyn_state = &adev->pm.dpm.dyn_state; pm 781 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.no_fan = true; pm 782 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.fan_pulses_per_revolution = pm 784 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (adev->pm.fan_pulses_per_revolution) { pm 785 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.fan_min_rpm = controller->ucFanMinRPM; pm 786 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.fan_max_rpm = controller->ucFanMaxRPM; pm 792 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_RV6XX; pm 797 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_RV770; pm 802 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_EVERGREEN; pm 807 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_SUMO; pm 812 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_NI; pm 817 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_SI; pm 822 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_CI; pm 827 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_KV; pm 832 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_EXTERNAL_GPIO; pm 838 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_ADT7473_WITH_INTERNAL; pm 844 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_EMC2103_WITH_INTERNAL; pm 851 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_EXTERNAL; pm 853 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.i2c_bus = amdgpu_i2c_lookup(adev, &i2c_bus); pm 854 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (adev->pm.i2c_bus) { pm 859 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c i2c_new_device(&adev->pm.i2c_bus->adapter, &info); pm 901 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (idx < adev->pm.dpm.num_of_vce_states) pm 902 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c return &adev->pm.dpm.vce_states[idx]; pm 1470 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c .driver.pm = &amdgpu_pm_ops, pm 547 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c if (!(adev->pm.pp_feature & PP_GFXOFF_MASK)) pm 181 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c mc->gart_size += adev->pm.smu_prv_buffer_size; pm 264 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->pm.fw_version; pm 682 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (adev->pm.dpm_enabled) { pm 829 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (!adev->pm.dpm_enabled) pm 87 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->pm.dpm_enabled) { pm 88 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_lock(&adev->pm.mutex); pm 90 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.ac_power = true; pm 92 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.ac_power = false; pm 95 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c amdgpu_dpm_enable_bapm(adev, adev->pm.ac_power); pm 96 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_unlock(&adev->pm.mutex); pm 161 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c enum amd_pm_state_type pm; pm 165 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c pm = amdgpu_smu_get_current_power_state(adev); pm 167 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c pm = adev->pm.dpm.user_state; pm 169 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c pm = amdgpu_dpm_get_current_power_state(adev); pm 171 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c pm = adev->pm.dpm.user_state; pm 175 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (pm == POWER_STATE_TYPE_BATTERY) ? "battery" : pm 176 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (pm == POWER_STATE_TYPE_BALANCED) ? "balanced" : "performance"); pm 200 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_lock(&adev->pm.mutex); pm 201 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.user_state = state; pm 202 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_unlock(&adev->pm.mutex); pm 206 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_lock(&adev->pm.mutex); pm 207 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.user_state = state; pm 208 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_unlock(&adev->pm.mutex); pm 299 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c level = adev->pm.dpm.forced_level; pm 356 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_lock(&adev->pm.mutex); pm 358 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_unlock(&adev->pm.mutex); pm 388 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_lock(&adev->pm.mutex); pm 389 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->pm.dpm.thermal_active) { pm 391 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_unlock(&adev->pm.mutex); pm 398 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.forced_level = level; pm 399 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_unlock(&adev->pm.mutex); pm 441 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c enum amd_pm_state_type pm = 0; pm 445 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c pm = smu_get_current_power_state(smu); pm 451 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c pm = amdgpu_dpm_get_current_power_state(adev); pm 456 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (pm == data.states[i]) pm 1165 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.current_ps = adev->pm.dpm.boot_ps; pm 1216 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.current_ps = adev->pm.dpm.boot_ps; pm 1519 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.min_temp; pm 1521 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.max_temp; pm 1535 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.min_hotspot_temp; pm 1537 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.max_hotspot_crit_temp; pm 1551 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.min_mem_temp; pm 1553 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.max_mem_crit_temp; pm 1583 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.max_hotspot_emergency_temp; pm 1586 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.max_edge_emergency_temp; pm 1589 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.max_mem_emergency_temp; pm 2299 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->pm.no_fan && (attr == &sensor_dev_attr_pwm1.dev_attr.attr || pm 2324 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (!adev->pm.dpm_enabled && pm 2430 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c pm.dpm.thermal.work); pm 2435 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (!adev->pm.dpm_enabled) pm 2440 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (temp < adev->pm.dpm.thermal.min_temp) pm 2442 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c dpm_state = adev->pm.dpm.user_state; pm 2444 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->pm.dpm.thermal.high_to_low) pm 2446 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c dpm_state = adev->pm.dpm.user_state; pm 2448 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_lock(&adev->pm.mutex); pm 2450 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.thermal_active = true; pm 2452 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.thermal_active = false; pm 2453 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.state = dpm_state; pm 2454 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_unlock(&adev->pm.mutex); pm 2465 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c bool single_display = (adev->pm.dpm.new_active_crtc_count < 2) ? pm 2485 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c for (i = 0; i < adev->pm.dpm.num_ps; i++) { pm 2486 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c ps = &adev->pm.dpm.ps[i]; pm 2519 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->pm.dpm.uvd_ps) pm 2520 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c return adev->pm.dpm.uvd_ps; pm 2540 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c return adev->pm.dpm.boot_ps; pm 2569 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->pm.dpm.uvd_ps) { pm 2570 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c return adev->pm.dpm.uvd_ps; pm 2601 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (!adev->pm.dpm_enabled) pm 2604 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->pm.dpm.user_state != adev->pm.dpm.state) { pm 2606 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if ((!adev->pm.dpm.thermal_active) && pm 2607 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (!adev->pm.dpm.uvd_active)) pm 2608 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.state = adev->pm.dpm.user_state; pm 2610 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c dpm_state = adev->pm.dpm.state; pm 2614 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.requested_ps = ps; pm 2620 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c amdgpu_dpm_print_power_state(adev, adev->pm.dpm.current_ps); pm 2622 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c amdgpu_dpm_print_power_state(adev, adev->pm.dpm.requested_ps); pm 2626 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c ps->vce_active = adev->pm.dpm.vce_active; pm 2635 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (0 != amdgpu_dpm_check_state_equal(adev, adev->pm.dpm.current_ps, adev->pm.dpm.requested_ps, &equal)) pm 2645 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.current_active_crtcs = adev->pm.dpm.new_active_crtcs; pm 2646 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.current_active_crtc_count = adev->pm.dpm.new_active_crtc_count; pm 2649 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->pm.dpm.thermal_active) { pm 2650 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c enum amd_dpm_forced_level level = adev->pm.dpm.forced_level; pm 2654 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.forced_level = level; pm 2657 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c amdgpu_dpm_force_performance_level(adev, adev->pm.dpm.forced_level); pm 2672 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_lock(&adev->pm.mutex); pm 2674 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_unlock(&adev->pm.mutex); pm 2699 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_lock(&adev->pm.mutex); pm 2701 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_unlock(&adev->pm.mutex); pm 2712 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c for (i = 0; i < adev->pm.dpm.num_ps; i++) pm 2713 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c amdgpu_dpm_print_power_state(adev, &adev->pm.dpm.ps[i]); pm 2765 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c *smu_version = adev->pm.fw_version; pm 2775 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->pm.sysfs_initialized) pm 2778 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->pm.dpm_enabled == 0) pm 2781 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.int_hwmon_dev = hwmon_device_register_with_groups(adev->dev, pm 2784 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (IS_ERR(adev->pm.int_hwmon_dev)) { pm 2785 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c ret = PTR_ERR(adev->pm.int_hwmon_dev); pm 2938 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.sysfs_initialized = true; pm 2947 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->pm.dpm_enabled == 0) pm 2950 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->pm.int_hwmon_dev) pm 2951 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c hwmon_device_unregister(adev->pm.int_hwmon_dev); pm 2996 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (!adev->pm.dpm_enabled) pm 3016 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_lock(&adev->pm.mutex); pm 3018 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.pm_display_cfg.num_display = adev->pm.dpm.new_active_crtc_count; pm 3019 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.pm_display_cfg.vrefresh = amdgpu_dpm_get_vrefresh(adev); pm 3020 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.pm_display_cfg.min_vblank_time = amdgpu_dpm_get_vblank_time(adev); pm 3022 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->pm.pm_display_cfg.vrefresh > 120) pm 3023 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.pm_display_cfg.min_vblank_time = 0; pm 3027 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c &adev->pm.pm_display_cfg); pm 3028 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_unlock(&adev->pm.mutex); pm 3032 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_lock(&adev->pm.mutex); pm 3035 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_unlock(&adev->pm.mutex); pm 3156 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (!adev->pm.dpm_enabled) { pm 3164 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_lock(&adev->pm.mutex); pm 3169 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c mutex_unlock(&adev->pm.mutex); pm 989 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c hdr = (struct common_firmware_header *)adev->pm.fw->data; pm 409 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c FW_VERSION_ATTR(smc_fw_version, 0444, pm.fw_version); pm 1194 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c if (adev->pm.dpm_enabled) { pm 1219 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c if (adev->pm.dpm_enabled) { pm 335 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c if (adev->pm.dpm_enabled) { pm 367 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c if (adev->pm.dpm_enabled) { pm 324 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c if (adev->asic_type < CHIP_ARCTURUS && adev->pm.dpm_enabled) pm 341 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c if (adev->asic_type < CHIP_ARCTURUS && adev->pm.dpm_enabled) pm 1401 drivers/gpu/drm/amd/amdgpu/cik.c if (!(adev->pm.pcie_gen_mask & (CAIL_PCIE_LINK_SPEED_SUPPORT_GEN2 | pm 1408 drivers/gpu/drm/amd/amdgpu/cik.c if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN3) { pm 1414 drivers/gpu/drm/amd/amdgpu/cik.c } else if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN2) { pm 1430 drivers/gpu/drm/amd/amdgpu/cik.c if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN3) { pm 1525 drivers/gpu/drm/amd/amdgpu/cik.c if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN3) pm 1527 drivers/gpu/drm/amd/amdgpu/cik.c else if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN2) pm 1039 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (adev->pm.dpm_enabled) { pm 1045 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c wm_high.yclk = adev->pm.current_mclk * 10; pm 1046 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c wm_high.sclk = adev->pm.current_sclk * 10; pm 1078 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (adev->pm.dpm_enabled) { pm 1084 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c wm_low.yclk = adev->pm.current_mclk * 10; pm 1085 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c wm_low.sclk = adev->pm.current_sclk * 10; pm 1065 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (adev->pm.dpm_enabled) { pm 1071 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c wm_high.yclk = adev->pm.current_mclk * 10; pm 1072 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c wm_high.sclk = adev->pm.current_sclk * 10; pm 1104 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (adev->pm.dpm_enabled) { pm 1110 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c wm_low.yclk = adev->pm.current_mclk * 10; pm 1111 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c wm_low.sclk = adev->pm.current_sclk * 10; pm 847 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (adev->pm.dpm_enabled) { pm 853 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c wm_high.yclk = adev->pm.current_mclk * 10; pm 854 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c wm_high.sclk = adev->pm.current_sclk * 10; pm 873 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (adev->pm.dpm_enabled) { pm 880 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c wm_low.yclk = adev->pm.current_mclk * 10; pm 881 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c wm_low.sclk = adev->pm.current_sclk * 10; pm 974 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (adev->pm.dpm_enabled) { pm 980 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c wm_high.yclk = adev->pm.current_mclk * 10; pm 981 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c wm_high.sclk = adev->pm.current_sclk * 10; pm 1013 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (adev->pm.dpm_enabled) { pm 1019 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c wm_low.yclk = adev->pm.current_mclk * 10; pm 1020 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c wm_low.sclk = adev->pm.current_sclk * 10; pm 618 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->pm.pp_feature &= ~PP_GFXOFF_MASK; pm 1045 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c (adev->pm.fw_version < 0x41e2b || /* not raven1 fresh */ pm 1047 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->pm.pp_feature &= ~PP_GFXOFF_MASK; pm 1049 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->pm.pp_feature & PP_GFXOFF_MASK) pm 1055 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->pm.pp_feature & PP_GFXOFF_MASK) pm 76 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 98 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 379 drivers/gpu/drm/amd/amdgpu/kv_dpm.c struct kv_power_info *pi = adev->pm.dpm.priv; pm 803 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 905 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table; pm 978 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; pm 1039 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table; pm 1105 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table; pm 1164 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 1231 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.current_ps = &pi->current_rps; pm 1243 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.requested_ps = &pi->requested_rps; pm 1355 drivers/gpu/drm/amd/amdgpu/kv_dpm.c amdgpu_is_internal_thermal_sensor(adev->pm.int_thermal_type)) { pm 1361 drivers/gpu/drm/amd/amdgpu/kv_dpm.c amdgpu_irq_get(adev, &adev->pm.dpm.thermal.irq, pm 1363 drivers/gpu/drm/amd/amdgpu/kv_dpm.c amdgpu_irq_get(adev, &adev->pm.dpm.thermal.irq, pm 1374 drivers/gpu/drm/amd/amdgpu/kv_dpm.c amdgpu_irq_put(adev, &adev->pm.dpm.thermal.irq, pm 1376 drivers/gpu/drm/amd/amdgpu/kv_dpm.c amdgpu_irq_put(adev, &adev->pm.dpm.thermal.irq, pm 1399 drivers/gpu/drm/amd/amdgpu/kv_dpm.c kv_update_current_ps(adev, adev->pm.dpm.boot_ps); pm 1497 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table; pm 1533 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; pm 1549 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; pm 1583 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table; pm 1614 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table; pm 1647 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table; pm 1778 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 1899 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.forced_level = level; pm 1908 drivers/gpu/drm/amd/amdgpu/kv_dpm.c struct amdgpu_ps requested_ps = *adev->pm.dpm.requested_ps; pm 1929 drivers/gpu/drm/amd/amdgpu/kv_dpm.c ret = amdgpu_kv_smc_bapm_enable(adev, adev->pm.ac_power); pm 2055 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table; pm 2057 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; pm 2059 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table; pm 2061 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table; pm 2174 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 2215 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 2218 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 2221 drivers/gpu/drm/amd/amdgpu/kv_dpm.c new_rps->evclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].evclk; pm 2222 drivers/gpu/drm/amd/amdgpu/kv_dpm.c new_rps->ecclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].ecclk; pm 2248 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (sclk < adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].sclk) pm 2249 drivers/gpu/drm/amd/amdgpu/kv_dpm.c sclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].sclk; pm 2310 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->video_start || (adev->pm.dpm.new_active_crtc_count >= 3) || pm 2352 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 2369 drivers/gpu/drm/amd/amdgpu/kv_dpm.c (adev->pm.dpm.new_active_crtc_count >= 3) || pi->video_start); pm 2419 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 2543 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.thermal.min_temp = low_temp; pm 2544 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.thermal.max_temp = high_temp; pm 2617 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac); pm 2672 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.boot_ps = rps; pm 2676 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.uvd_ps = rps; pm 2735 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, pm 2738 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (!adev->pm.dpm.ps) pm 2749 drivers/gpu/drm/amd/amdgpu/kv_dpm.c kfree(adev->pm.dpm.ps); pm 2752 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.ps[i].ps_priv = ps; pm 2765 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.ps[i], k, pm 2769 drivers/gpu/drm/amd/amdgpu/kv_dpm.c kv_parse_pplib_non_clock_info(adev, &adev->pm.dpm.ps[i], pm 2774 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.num_ps = state_array->ucNumEntries; pm 2777 drivers/gpu/drm/amd/amdgpu/kv_dpm.c for (i = 0; i < adev->pm.dpm.num_of_vce_states; i++) { pm 2779 drivers/gpu/drm/amd/amdgpu/kv_dpm.c clock_array_index = adev->pm.dpm.vce_states[i].clk_idx; pm 2784 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.vce_states[i].sclk = sclk; pm 2785 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.vce_states[i].mclk = 0; pm 2799 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.priv = pi; pm 2826 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->pm.pp_feature & PP_SCLK_DEEP_SLEEP_MASK) pm 2915 drivers/gpu/drm/amd/amdgpu/kv_dpm.c for (i = 0; i < adev->pm.dpm.num_ps; i++) { pm 2916 drivers/gpu/drm/amd/amdgpu/kv_dpm.c kfree(adev->pm.dpm.ps[i].ps_priv); pm 2918 drivers/gpu/drm/amd/amdgpu/kv_dpm.c kfree(adev->pm.dpm.ps); pm 2919 drivers/gpu/drm/amd/amdgpu/kv_dpm.c kfree(adev->pm.dpm.priv); pm 2983 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (!adev->pm.dpm_enabled) pm 2998 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.thermal.irq); pm 3003 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &adev->pm.dpm.thermal.irq); pm 3008 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.state = POWER_STATE_TYPE_BALANCED; pm 3009 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.user_state = POWER_STATE_TYPE_BALANCED; pm 3010 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.forced_level = AMD_DPM_FORCED_LEVEL_AUTO; pm 3011 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.default_sclk = adev->clock.default_sclk; pm 3012 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.default_mclk = adev->clock.default_mclk; pm 3013 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.current_sclk = adev->clock.default_sclk; pm 3014 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.current_mclk = adev->clock.default_mclk; pm 3015 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_NONE; pm 3020 drivers/gpu/drm/amd/amdgpu/kv_dpm.c INIT_WORK(&adev->pm.dpm.thermal.work, amdgpu_dpm_thermal_work_handler); pm 3021 drivers/gpu/drm/amd/amdgpu/kv_dpm.c mutex_lock(&adev->pm.mutex); pm 3025 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.current_ps = adev->pm.dpm.requested_ps = adev->pm.dpm.boot_ps; pm 3028 drivers/gpu/drm/amd/amdgpu/kv_dpm.c mutex_unlock(&adev->pm.mutex); pm 3035 drivers/gpu/drm/amd/amdgpu/kv_dpm.c mutex_unlock(&adev->pm.mutex); pm 3044 drivers/gpu/drm/amd/amdgpu/kv_dpm.c flush_work(&adev->pm.dpm.thermal.work); pm 3046 drivers/gpu/drm/amd/amdgpu/kv_dpm.c mutex_lock(&adev->pm.mutex); pm 3048 drivers/gpu/drm/amd/amdgpu/kv_dpm.c mutex_unlock(&adev->pm.mutex); pm 3061 drivers/gpu/drm/amd/amdgpu/kv_dpm.c mutex_lock(&adev->pm.mutex); pm 3065 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm_enabled = false; pm 3067 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm_enabled = true; pm 3068 drivers/gpu/drm/amd/amdgpu/kv_dpm.c mutex_unlock(&adev->pm.mutex); pm 3077 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->pm.dpm_enabled) { pm 3078 drivers/gpu/drm/amd/amdgpu/kv_dpm.c mutex_lock(&adev->pm.mutex); pm 3080 drivers/gpu/drm/amd/amdgpu/kv_dpm.c mutex_unlock(&adev->pm.mutex); pm 3090 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->pm.dpm_enabled) { pm 3091 drivers/gpu/drm/amd/amdgpu/kv_dpm.c mutex_lock(&adev->pm.mutex); pm 3095 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.current_ps = adev->pm.dpm.requested_ps = adev->pm.dpm.boot_ps; pm 3096 drivers/gpu/drm/amd/amdgpu/kv_dpm.c mutex_unlock(&adev->pm.mutex); pm 3106 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->pm.dpm_enabled) { pm 3108 drivers/gpu/drm/amd/amdgpu/kv_dpm.c mutex_lock(&adev->pm.mutex); pm 3112 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm_enabled = false; pm 3114 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm_enabled = true; pm 3115 drivers/gpu/drm/amd/amdgpu/kv_dpm.c mutex_unlock(&adev->pm.mutex); pm 3116 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->pm.dpm_enabled) pm 3198 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.thermal.high_to_low = false; pm 3203 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.thermal.high_to_low = true; pm 3211 drivers/gpu/drm/amd/amdgpu/kv_dpm.c schedule_work(&adev->pm.dpm.thermal.work); pm 3380 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.thermal.irq.num_types = AMDGPU_THERMAL_IRQ_LAST; pm 3381 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.thermal.irq.funcs = &kv_dpm_irq_funcs; pm 352 drivers/gpu/drm/amd/amdgpu/nv.c if (!(adev->pm.pcie_gen_mask & (CAIL_PCIE_LINK_SPEED_SUPPORT_GEN2 | pm 1650 drivers/gpu/drm/amd/amdgpu/si.c if (!(adev->pm.pcie_gen_mask & (CAIL_PCIE_LINK_SPEED_SUPPORT_GEN2 | pm 1657 drivers/gpu/drm/amd/amdgpu/si.c if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN3) { pm 1663 drivers/gpu/drm/amd/amdgpu/si.c } else if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN2) { pm 1679 drivers/gpu/drm/amd/amdgpu/si.c if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN3) { pm 1762 drivers/gpu/drm/amd/amdgpu/si.c if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN3) pm 1764 drivers/gpu/drm/amd/amdgpu/si.c else if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN2) pm 1859 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct si_power_info *pi = adev->pm.dpm.priv; pm 1932 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 p_limit1 = adev->pm.dpm.tdp_limit; pm 1933 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 p_limit2 = adev->pm.dpm.near_tdp_limit; pm 1961 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct rv7xx_power_info *pi = adev->pm.dpm.priv; pm 1968 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct ni_power_info *pi = adev->pm.dpm.priv; pm 2222 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (tdp_adjustment > (u32)adev->pm.dpm.tdp_od_limit) pm 2225 drivers/gpu/drm/amd/amdgpu/si_dpm.c max_tdp_limit = ((100 + 100) * adev->pm.dpm.tdp_limit) / 100; pm 2228 drivers/gpu/drm/amd/amdgpu/si_dpm.c *tdp_limit = ((100 + tdp_adjustment) * adev->pm.dpm.tdp_limit) / 100; pm 2229 drivers/gpu/drm/amd/amdgpu/si_dpm.c *near_tdp_limit = adev->pm.dpm.near_tdp_limit_adjusted + (*tdp_limit - adev->pm.dpm.tdp_limit); pm 2231 drivers/gpu/drm/amd/amdgpu/si_dpm.c *tdp_limit = ((100 - tdp_adjustment) * adev->pm.dpm.tdp_limit) / 100; pm 2232 drivers/gpu/drm/amd/amdgpu/si_dpm.c adjustment_delta = adev->pm.dpm.tdp_limit - *tdp_limit; pm 2233 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adjustment_delta < adev->pm.dpm.near_tdp_limit_adjusted) pm 2234 drivers/gpu/drm/amd/amdgpu/si_dpm.c *near_tdp_limit = adev->pm.dpm.near_tdp_limit_adjusted - adjustment_delta; pm 2256 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct amdgpu_ppm_table *ppm = adev->pm.dpm.dyn_state.ppm_table; pm 2269 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.tdp_adjustment, pm 2326 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_scale_power_for_smc(adev->pm.dpm.near_tdp_limit_adjusted, scaling_factor) * 1000); pm 2328 drivers/gpu/drm/amd/amdgpu/si_dpm.c cpu_to_be32(si_scale_power_for_smc((adev->pm.dpm.near_tdp_limit_adjusted * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, scaling_factor) * 1000); pm 2380 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct evergreen_power_info *pi = adev->pm.dpm.priv; pm 2494 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.sq_ramping_threshold == 0) pm 2516 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((state->performance_levels[i].sclk >= adev->pm.dpm.sq_ramping_threshold) && pm 2637 drivers/gpu/drm/amd/amdgpu/si_dpm.c &adev->pm.dpm.dyn_state.cac_leakage_table; pm 2773 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->dyn_powertune_data.cac_leakage = adev->pm.dpm.cac_leakage; pm 2800 drivers/gpu/drm/amd/amdgpu/si_dpm.c load_line_slope = ((u32)adev->pm.dpm.load_line_slope << SMC_SISLANDS_SCALE_R) / 100; pm 3041 drivers/gpu/drm/amd/amdgpu/si_dpm.c &adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; pm 3156 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.current_ps = &eg_pi->current_rps; pm 3169 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.requested_ps = &eg_pi->requested_rps; pm 3239 drivers/gpu/drm/amd/amdgpu/si_dpm.c return btc_find_valid_clock(&adev->pm.dpm.dyn_state.valid_mclk_values, pm 3246 drivers/gpu/drm/amd/amdgpu/si_dpm.c return btc_find_valid_clock(&adev->pm.dpm.dyn_state.valid_sclk_values, pm 3299 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (((pl->mclk + (pl->sclk - 1)) / pl->sclk) > adev->pm.dpm.dyn_state.mclk_sclk_ratio) pm 3303 drivers/gpu/drm/amd/amdgpu/si_dpm.c (adev->pm.dpm.dyn_state.mclk_sclk_ratio - 1)) / pm 3304 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.mclk_sclk_ratio); pm 3306 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((pl->sclk - pl->mclk) > adev->pm.dpm.dyn_state.sclk_mclk_delta) pm 3310 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.sclk_mclk_delta); pm 3325 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((*vddc - *vddci) > adev->pm.dpm.dyn_state.vddc_vddci_delta) { pm 3327 drivers/gpu/drm/amd/amdgpu/si_dpm.c (*vddc - adev->pm.dpm.dyn_state.vddc_vddci_delta)); pm 3331 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((*vddci - *vddc) > adev->pm.dpm.dyn_state.vddc_vddci_delta) { pm 3333 drivers/gpu/drm/amd/amdgpu/si_dpm.c (*vddci - adev->pm.dpm.dyn_state.vddc_vddci_delta)); pm 3467 drivers/gpu/drm/amd/amdgpu/si_dpm.c rps->evclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].evclk; pm 3468 drivers/gpu/drm/amd/amdgpu/si_dpm.c rps->ecclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].ecclk; pm 3476 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((adev->pm.dpm.new_active_crtc_count > 1) || pm 3485 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.ac_power) pm 3486 drivers/gpu/drm/amd/amdgpu/si_dpm.c max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 3488 drivers/gpu/drm/amd/amdgpu/si_dpm.c max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc; pm 3494 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.ac_power == false) { pm 3508 drivers/gpu/drm/amd/amdgpu/si_dpm.c btc_get_max_clock_from_voltage_dependency_table(&adev->pm.dpm.dyn_state.vddc_dependency_on_sclk, pm 3510 drivers/gpu/drm/amd/amdgpu/si_dpm.c btc_get_max_clock_from_voltage_dependency_table(&adev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 3512 drivers/gpu/drm/amd/amdgpu/si_dpm.c btc_get_max_clock_from_voltage_dependency_table(&adev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 3557 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (sclk < adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].sclk) pm 3558 drivers/gpu/drm/amd/amdgpu/si_dpm.c sclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].sclk; pm 3559 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (mclk < adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].mclk) pm 3560 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].mclk; pm 3614 drivers/gpu/drm/amd/amdgpu/si_dpm.c btc_apply_voltage_dependency_rules(&adev->pm.dpm.dyn_state.vddc_dependency_on_sclk, pm 3617 drivers/gpu/drm/amd/amdgpu/si_dpm.c btc_apply_voltage_dependency_rules(&adev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 3620 drivers/gpu/drm/amd/amdgpu/si_dpm.c btc_apply_voltage_dependency_rules(&adev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 3623 drivers/gpu/drm/amd/amdgpu/si_dpm.c btc_apply_voltage_dependency_rules(&adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk, pm 3637 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (ps->performance_levels[i].vddc > adev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc) pm 3864 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct amdgpu_ps *rps = adev->pm.dpm.current_ps; pm 3888 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.forced_level = level; pm 4109 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage_response_time = (u32)adev->pm.dpm.voltage_response_time; pm 4153 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.new_active_crtc_count > 0) pm 4158 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.new_active_crtc_count > 1) pm 4168 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((adev->pm.dpm.new_active_crtc_count > 0) && pm 4169 drivers/gpu/drm/amd/amdgpu/si_dpm.c (!(adev->pm.dpm.new_active_crtcs & (1 << pipe)))) { pm 4172 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.new_active_crtcs & (1 << i)) pm 4189 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_notify_smc_display_change(adev, adev->pm.dpm.new_active_crtc_count > 0); pm 4439 drivers/gpu/drm/amd/amdgpu/si_dpm.c &adev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 4460 drivers/gpu/drm/amd/amdgpu/si_dpm.c &adev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 4556 drivers/gpu/drm/amd/amdgpu/si_dpm.c &adev->pm.dpm.dyn_state.phase_shedding_limits_table)) { pm 4618 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.dyn_state.cac_leakage_table.entries) { pm 4619 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_NEW_CAC_VOLTAGE) { pm 4620 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries == NULL) pm 4623 drivers/gpu/drm/amd/amdgpu/si_dpm.c for (v_index = 0; (u32)v_index < adev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; v_index++) { pm 4625 drivers/gpu/drm/amd/amdgpu/si_dpm.c (u16)adev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[v_index].v) { pm 4627 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((u32)v_index < adev->pm.dpm.dyn_state.cac_leakage_table.count) pm 4629 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.cac_leakage_table.entries[v_index].vddc; pm 4632 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.cac_leakage_table.entries[adev->pm.dpm.dyn_state.cac_leakage_table.count-1].vddc; pm 4638 drivers/gpu/drm/amd/amdgpu/si_dpm.c for (v_index = 0; (u32)v_index < adev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; v_index++) { pm 4640 drivers/gpu/drm/amd/amdgpu/si_dpm.c (u16)adev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[v_index].v) { pm 4642 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((u32)v_index < adev->pm.dpm.dyn_state.cac_leakage_table.count) pm 4644 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.cac_leakage_table.entries[v_index].vddc; pm 4647 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.cac_leakage_table.entries[adev->pm.dpm.dyn_state.cac_leakage_table.count-1].vddc; pm 4653 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((u32)voltage->index < adev->pm.dpm.dyn_state.cac_leakage_table.count) pm 4654 drivers/gpu/drm/amd/amdgpu/si_dpm.c *std_voltage = adev->pm.dpm.dyn_state.cac_leakage_table.entries[voltage->index].vddc; pm 4908 drivers/gpu/drm/amd/amdgpu/si_dpm.c &adev->pm.dpm.dyn_state.phase_shedding_limits_table, pm 4992 drivers/gpu/drm/amd/amdgpu/si_dpm.c &adev->pm.dpm.dyn_state.phase_shedding_limits_table, pm 5020 drivers/gpu/drm/amd/amdgpu/si_dpm.c &adev->pm.dpm.dyn_state.phase_shedding_limits_table, pm 5160 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct amdgpu_ps *amdgpu_boot_state = adev->pm.dpm.boot_ps; pm 5169 drivers/gpu/drm/amd/amdgpu/si_dpm.c switch (adev->pm.int_thermal_type) { pm 5182 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_HARDWAREDC) pm 5185 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_REGULATOR_HOT) { pm 5190 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_STEPVDDC) pm 5196 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_REVERT_GPIO5_POLARITY) pm 5199 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_VRHOT_GPIO_CONFIGURABLE) { pm 5201 drivers/gpu/drm/amd/amdgpu/si_dpm.c vr_hot_gpio = adev->pm.dpm.backbias_response_time; pm 5467 drivers/gpu/drm/amd/amdgpu/si_dpm.c (adev->pm.dpm.new_active_crtc_count <= 2)) { pm 5532 drivers/gpu/drm/amd/amdgpu/si_dpm.c &adev->pm.dpm.dyn_state.phase_shedding_limits_table, pm 5622 drivers/gpu/drm/amd/amdgpu/si_dpm.c for (i = 0; i < adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count; i++) { pm 5624 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[i].clk) { pm 5626 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[i].v) pm 5782 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.new_active_crtc_count == 0) pm 5786 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.new_active_crtcs & (1 << i)) { pm 6358 drivers/gpu/drm/amd/amdgpu/si_dpm.c &adev->pm.dpm.dyn_state.vddc_dependency_on_sclk); pm 6362 drivers/gpu/drm/amd/amdgpu/si_dpm.c &adev->pm.dpm.dyn_state.vddc_dependency_on_mclk); pm 6366 drivers/gpu/drm/amd/amdgpu/si_dpm.c &adev->pm.dpm.dyn_state.vddci_dependency_on_mclk); pm 6437 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.thermal.min_temp = low_temp; pm 6438 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.thermal.max_temp = high_temp; pm 6477 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.fan.ucode_fan_control = false; pm 6484 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.fan.ucode_fan_control = false; pm 6488 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp64 = (u64)adev->pm.dpm.fan.pwm_min * duty100; pm 6492 drivers/gpu/drm/amd/amdgpu/si_dpm.c t_diff1 = adev->pm.dpm.fan.t_med - adev->pm.dpm.fan.t_min; pm 6493 drivers/gpu/drm/amd/amdgpu/si_dpm.c t_diff2 = adev->pm.dpm.fan.t_high - adev->pm.dpm.fan.t_med; pm 6495 drivers/gpu/drm/amd/amdgpu/si_dpm.c pwm_diff1 = adev->pm.dpm.fan.pwm_med - adev->pm.dpm.fan.pwm_min; pm 6496 drivers/gpu/drm/amd/amdgpu/si_dpm.c pwm_diff2 = adev->pm.dpm.fan.pwm_high - adev->pm.dpm.fan.pwm_med; pm 6501 drivers/gpu/drm/amd/amdgpu/si_dpm.c fan_table.temp_min = cpu_to_be16((50 + adev->pm.dpm.fan.t_min) / 100); pm 6502 drivers/gpu/drm/amd/amdgpu/si_dpm.c fan_table.temp_med = cpu_to_be16((50 + adev->pm.dpm.fan.t_med) / 100); pm 6503 drivers/gpu/drm/amd/amdgpu/si_dpm.c fan_table.temp_max = cpu_to_be16((50 + adev->pm.dpm.fan.t_max) / 100); pm 6507 drivers/gpu/drm/amd/amdgpu/si_dpm.c fan_table.hys_down = cpu_to_be16(adev->pm.dpm.fan.t_hyst); pm 6513 drivers/gpu/drm/amd/amdgpu/si_dpm.c fan_table.refresh_period = cpu_to_be32((adev->pm.dpm.fan.cycle_delay * pm 6528 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.fan.ucode_fan_control = false; pm 6570 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.no_fan) pm 6598 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.no_fan) pm 6629 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.fan.ucode_fan_control) pm 6634 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.fan.ucode_fan_control) pm 6661 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.no_fan) pm 6664 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.fan_pulses_per_revolution == 0) pm 6682 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.no_fan) pm 6685 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.fan_pulses_per_revolution == 0) pm 6688 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((speed < adev->pm.fan_min_rpm) || pm 6689 drivers/gpu/drm/amd/amdgpu/si_dpm.c (speed > adev->pm.fan_max_rpm)) pm 6692 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.fan.ucode_fan_control) pm 6725 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.fan.ucode_fan_control) { pm 6735 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.fan_pulses_per_revolution) { pm 6737 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= EDGE_PER_REV(adev->pm.fan_pulses_per_revolution -1); pm 6757 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.fan.ucode_fan_control) { pm 6775 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (!adev->pm.no_fan) { pm 6786 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct amdgpu_ps *boot_ps = adev->pm.dpm.boot_ps; pm 6917 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct amdgpu_ps *boot_ps = adev->pm.dpm.boot_ps; pm 6942 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct amdgpu_ps requested_ps = *adev->pm.dpm.requested_ps; pm 6953 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct amdgpu_ps *new_ps = adev->pm.dpm.requested_ps; pm 7127 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.boot_ps = rps; pm 7129 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.uvd_ps = rps; pm 7201 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.max_clock_voltage_on_ac.sclk = pl->sclk; pm 7202 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.max_clock_voltage_on_ac.mclk = pl->mclk; pm 7203 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.max_clock_voltage_on_ac.vddc = pl->vddc; pm 7204 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.max_clock_voltage_on_ac.vddci = pl->vddci; pm 7247 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, pm 7250 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (!adev->pm.dpm.ps) pm 7261 drivers/gpu/drm/amd/amdgpu/si_dpm.c kfree(adev->pm.dpm.ps); pm 7264 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.ps[i].ps_priv = ps; pm 7265 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_parse_pplib_non_clock_info(adev, &adev->pm.dpm.ps[i], pm 7280 drivers/gpu/drm/amd/amdgpu/si_dpm.c &adev->pm.dpm.ps[i], k, pm 7286 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.num_ps = state_array->ucNumEntries; pm 7289 drivers/gpu/drm/amd/amdgpu/si_dpm.c for (i = 0; i < adev->pm.dpm.num_of_vce_states; i++) { pm 7291 drivers/gpu/drm/amd/amdgpu/si_dpm.c clock_array_index = adev->pm.dpm.vce_states[i].clk_idx; pm 7298 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.vce_states[i].sclk = sclk; pm 7299 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.vce_states[i].mclk = mclk; pm 7317 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.priv = si_pi; pm 7323 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_MASK; pm 7350 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries = pm 7354 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (!adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries) { pm 7358 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count = 4; pm 7359 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[0].clk = 0; pm 7360 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[0].v = 0; pm 7361 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[1].clk = 36000; pm 7362 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[1].v = 720; pm 7363 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[2].clk = 54000; pm 7364 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[2].v = 810; pm 7365 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[3].clk = 72000; pm 7366 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[3].v = 900; pm 7368 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.voltage_response_time == 0) pm 7369 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.voltage_response_time = R600_VOLTAGERESPONSETIME_DFLT; pm 7370 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.backbias_response_time == 0) pm 7371 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.backbias_response_time = R600_BACKBIASRESPONSETIME_DFLT; pm 7431 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.int_thermal_type != THERMAL_TYPE_NONE) pm 7448 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.mclk_sclk_ratio = 4; pm 7449 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.sclk_mclk_delta = 15000; pm 7450 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.vddc_vddci_delta = 200; pm 7451 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.valid_sclk_values.count = 0; pm 7452 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.valid_sclk_values.values = NULL; pm 7453 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.valid_mclk_values.count = 0; pm 7454 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.valid_mclk_values.values = NULL; pm 7459 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((adev->pm.dpm.dyn_state.max_clock_voltage_on_dc.sclk == 0) || pm 7460 drivers/gpu/drm/amd/amdgpu/si_dpm.c (adev->pm.dpm.dyn_state.max_clock_voltage_on_dc.mclk == 0)) pm 7461 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.max_clock_voltage_on_dc = pm 7462 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 7473 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm.ps) pm 7474 drivers/gpu/drm/amd/amdgpu/si_dpm.c for (i = 0; i < adev->pm.dpm.num_ps; i++) pm 7475 drivers/gpu/drm/amd/amdgpu/si_dpm.c kfree(adev->pm.dpm.ps[i].ps_priv); pm 7476 drivers/gpu/drm/amd/amdgpu/si_dpm.c kfree(adev->pm.dpm.ps); pm 7477 drivers/gpu/drm/amd/amdgpu/si_dpm.c kfree(adev->pm.dpm.priv); pm 7478 drivers/gpu/drm/amd/amdgpu/si_dpm.c kfree(adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries); pm 7564 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.thermal.high_to_low = false; pm 7569 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.thermal.high_to_low = true; pm 7577 drivers/gpu/drm/amd/amdgpu/si_dpm.c schedule_work(&adev->pm.dpm.thermal.work); pm 7587 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (!adev->pm.dpm_enabled) pm 7672 drivers/gpu/drm/amd/amdgpu/si_dpm.c err = request_firmware(&adev->pm.fw, fw_name, adev->dev); pm 7675 drivers/gpu/drm/amd/amdgpu/si_dpm.c err = amdgpu_ucode_validate(adev->pm.fw); pm 7681 drivers/gpu/drm/amd/amdgpu/si_dpm.c release_firmware(adev->pm.fw); pm 7682 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.fw = NULL; pm 7693 drivers/gpu/drm/amd/amdgpu/si_dpm.c ret = amdgpu_irq_add_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, 230, &adev->pm.dpm.thermal.irq); pm 7697 drivers/gpu/drm/amd/amdgpu/si_dpm.c ret = amdgpu_irq_add_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, 231, &adev->pm.dpm.thermal.irq); pm 7702 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.state = POWER_STATE_TYPE_BALANCED; pm 7703 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.user_state = POWER_STATE_TYPE_BALANCED; pm 7704 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.forced_level = AMD_DPM_FORCED_LEVEL_AUTO; pm 7705 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.default_sclk = adev->clock.default_sclk; pm 7706 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.default_mclk = adev->clock.default_mclk; pm 7707 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.current_sclk = adev->clock.default_sclk; pm 7708 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.current_mclk = adev->clock.default_mclk; pm 7709 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.int_thermal_type = THERMAL_TYPE_NONE; pm 7718 drivers/gpu/drm/amd/amdgpu/si_dpm.c INIT_WORK(&adev->pm.dpm.thermal.work, amdgpu_dpm_thermal_work_handler); pm 7719 drivers/gpu/drm/amd/amdgpu/si_dpm.c mutex_lock(&adev->pm.mutex); pm 7723 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.current_ps = adev->pm.dpm.requested_ps = adev->pm.dpm.boot_ps; pm 7726 drivers/gpu/drm/amd/amdgpu/si_dpm.c mutex_unlock(&adev->pm.mutex); pm 7733 drivers/gpu/drm/amd/amdgpu/si_dpm.c mutex_unlock(&adev->pm.mutex); pm 7742 drivers/gpu/drm/amd/amdgpu/si_dpm.c flush_work(&adev->pm.dpm.thermal.work); pm 7744 drivers/gpu/drm/amd/amdgpu/si_dpm.c mutex_lock(&adev->pm.mutex); pm 7746 drivers/gpu/drm/amd/amdgpu/si_dpm.c mutex_unlock(&adev->pm.mutex); pm 7760 drivers/gpu/drm/amd/amdgpu/si_dpm.c mutex_lock(&adev->pm.mutex); pm 7764 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm_enabled = false; pm 7766 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm_enabled = true; pm 7767 drivers/gpu/drm/amd/amdgpu/si_dpm.c mutex_unlock(&adev->pm.mutex); pm 7776 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm_enabled) { pm 7777 drivers/gpu/drm/amd/amdgpu/si_dpm.c mutex_lock(&adev->pm.mutex); pm 7779 drivers/gpu/drm/amd/amdgpu/si_dpm.c mutex_unlock(&adev->pm.mutex); pm 7789 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm_enabled) { pm 7790 drivers/gpu/drm/amd/amdgpu/si_dpm.c mutex_lock(&adev->pm.mutex); pm 7794 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.current_ps = adev->pm.dpm.requested_ps = adev->pm.dpm.boot_ps; pm 7795 drivers/gpu/drm/amd/amdgpu/si_dpm.c mutex_unlock(&adev->pm.mutex); pm 7805 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm_enabled) { pm 7807 drivers/gpu/drm/amd/amdgpu/si_dpm.c mutex_lock(&adev->pm.mutex); pm 7811 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm_enabled = false; pm 7813 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm_enabled = true; pm 7814 drivers/gpu/drm/amd/amdgpu/si_dpm.c mutex_unlock(&adev->pm.mutex); pm 7815 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->pm.dpm_enabled) pm 8078 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.thermal.irq.num_types = AMDGPU_THERMAL_IRQ_LAST; pm 8079 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.thermal.irq.funcs = &si_dpm_irq_funcs; pm 212 drivers/gpu/drm/amd/amdgpu/si_smc.c if (!adev->pm.fw) pm 215 drivers/gpu/drm/amd/amdgpu/si_smc.c hdr = (const struct smc_firmware_header_v1_0 *)adev->pm.fw->data; pm 219 drivers/gpu/drm/amd/amdgpu/si_smc.c adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); pm 223 drivers/gpu/drm/amd/amdgpu/si_smc.c (adev->pm.fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes)); pm 636 drivers/gpu/drm/amd/amdgpu/soc15.c if (!(adev->pm.pcie_gen_mask & (CAIL_PCIE_LINK_SPEED_SUPPORT_GEN2 | pm 699 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c if (adev->pg_flags & AMD_PG_SUPPORT_UVD && !adev->pm.dpm_enabled) { pm 710 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c if (adev->pg_flags & AMD_PG_SUPPORT_UVD && !adev->pm.dpm_enabled) { pm 814 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c mutex_lock(&adev->pm.mutex); pm 828 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c mutex_unlock(&adev->pm.mutex); pm 1473 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c mutex_lock(&adev->pm.mutex); pm 1491 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c mutex_unlock(&adev->pm.mutex); pm 811 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c mutex_lock(&adev->pm.mutex); pm 831 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c mutex_unlock(&adev->pm.mutex); pm 1061 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c if (adev->pm.dpm_enabled) pm 1325 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c if (adev->pm.dpm_enabled) pm 861 drivers/gpu/drm/amd/amdgpu/vi.c if (!(adev->pm.pcie_gen_mask & (CAIL_PCIE_LINK_SPEED_SUPPORT_GEN2 | pm 71 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c static int pm_map_process_v10(struct packet_manager *pm, pm 113 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c static int pm_runlist_v10(struct packet_manager *pm, uint32_t *buffer, pm 119 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c struct kfd_dev *kfd = pm->dqm->dev; pm 130 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c concurrent_proc_cnt = min(pm->dqm->processes_count, pm 151 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c static int pm_map_queues_v10(struct packet_manager *pm, uint32_t *buffer, pm 209 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c static int pm_unmap_queues_v10(struct packet_manager *pm, uint32_t *buffer, pm 275 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c static int pm_query_status_v10(struct packet_manager *pm, uint32_t *buffer, pm 70 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c static int pm_map_process_v9(struct packet_manager *pm, pm 109 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c static int pm_runlist_v9(struct packet_manager *pm, uint32_t *buffer, pm 115 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c struct kfd_dev *kfd = pm->dqm->dev; pm 126 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c concurrent_proc_cnt = min(pm->dqm->processes_count, pm 147 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c static int pm_set_resources_v9(struct packet_manager *pm, uint32_t *buffer, pm 175 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c static int pm_map_queues_v9(struct packet_manager *pm, uint32_t *buffer, pm 242 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c static int pm_unmap_queues_v9(struct packet_manager *pm, uint32_t *buffer, pm 318 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c static int pm_query_status_v9(struct packet_manager *pm, uint32_t *buffer, pm 82 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c static int pm_map_process_vi(struct packet_manager *pm, uint32_t *buffer, pm 115 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c static int pm_runlist_vi(struct packet_manager *pm, uint32_t *buffer, pm 120 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c struct kfd_dev *kfd = pm->dqm->dev; pm 134 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c concurrent_proc_cnt = min(pm->dqm->processes_count, pm 154 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c int pm_set_resources_vi(struct packet_manager *pm, uint32_t *buffer, pm 182 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c static int pm_map_queues_vi(struct packet_manager *pm, uint32_t *buffer, pm 240 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c static int pm_unmap_queues_vi(struct packet_manager *pm, uint32_t *buffer, pm 306 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c static int pm_query_status_vi(struct packet_manager *pm, uint32_t *buffer, pm 40 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c static void pm_calc_rlib_size(struct packet_manager *pm, pm 47 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c struct kfd_dev *dev = pm->dqm->dev; pm 49 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c process_count = pm->dqm->processes_count; pm 50 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c queue_count = pm->dqm->queue_count; pm 51 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c compute_queue_count = queue_count - pm->dqm->sdma_queue_count - pm 52 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->dqm->xgmi_sdma_queue_count; pm 65 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c compute_queue_count > get_queues_num(pm->dqm)) { pm 70 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c map_queue_size = pm->pmf->map_queues_size; pm 72 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c *rlib_size = process_count * pm->pmf->map_process_size + pm 80 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c *rlib_size += pm->pmf->runlist_size; pm 85 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c static int pm_allocate_runlist_ib(struct packet_manager *pm, pm 93 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (WARN_ON(pm->allocated)) pm 96 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm_calc_rlib_size(pm, rl_buffer_size, is_over_subscription); pm 98 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_lock(&pm->lock); pm 100 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = kfd_gtt_sa_allocate(pm->dqm->dev, *rl_buffer_size, pm 101 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c &pm->ib_buffer_obj); pm 108 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c *(void **)rl_buffer = pm->ib_buffer_obj->cpu_ptr; pm 109 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c *rl_gpu_buffer = pm->ib_buffer_obj->gpu_addr; pm 112 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->allocated = true; pm 115 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_unlock(&pm->lock); pm 119 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c static int pm_create_runlist_ib(struct packet_manager *pm, pm 135 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm_allocate_runlist_ib(pm, &rl_buffer, rl_gpu_addr, pm 141 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->ib_size_bytes = alloc_size_bytes; pm 144 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->dqm->processes_count, pm->dqm->queue_count); pm 150 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (proccesses_mapped >= pm->dqm->processes_count) { pm 152 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm_release_ib(pm); pm 156 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->map_process(pm, &rl_buffer[rl_wptr], qpd); pm 161 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c inc_wptr(&rl_wptr, pm->pmf->map_process_size, pm 171 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->map_queues(pm, pm 179 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->pmf->map_queues_size, pm 190 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->map_queues(pm, pm 199 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->pmf->map_queues_size, pm 207 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (!pm->is_over_subscription) pm 209 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->runlist(pm, &rl_buffer[rl_wptr], pm 214 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->is_over_subscription = is_over_subscription; pm 223 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c int pm_init(struct packet_manager *pm, struct device_queue_manager *dqm) pm 236 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->pmf = &kfd_vi_pm_funcs; pm 243 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->pmf = &kfd_v9_pm_funcs; pm 246 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->pmf = &kfd_v10_pm_funcs; pm 254 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->dqm = dqm; pm 255 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_init(&pm->lock); pm 256 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue = kernel_queue_init(dqm->dev, KFD_QUEUE_TYPE_HIQ); pm 257 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (!pm->priv_queue) { pm 258 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_destroy(&pm->lock); pm 261 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->allocated = false; pm 266 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c void pm_uninit(struct packet_manager *pm) pm 268 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_destroy(&pm->lock); pm 269 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c kernel_queue_uninit(pm->priv_queue); pm 272 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c int pm_send_set_resources(struct packet_manager *pm, pm 278 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c size = pm->pmf->set_resources_size; pm 279 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_lock(&pm->lock); pm 280 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue->ops.acquire_packet_buffer(pm->priv_queue, pm 289 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->set_resources(pm, buffer, res); pm 291 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue->ops.submit_packet(pm->priv_queue); pm 293 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue->ops.rollback_packet(pm->priv_queue); pm 296 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_unlock(&pm->lock); pm 301 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c int pm_send_runlist(struct packet_manager *pm, struct list_head *dqm_queues) pm 308 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm_create_runlist_ib(pm, dqm_queues, &rl_gpu_ib_addr, pm 315 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c packet_size_dwords = pm->pmf->runlist_size / sizeof(uint32_t); pm 316 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_lock(&pm->lock); pm 318 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->priv_queue->ops.acquire_packet_buffer(pm->priv_queue, pm 323 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->runlist(pm, rl_buffer, rl_gpu_ib_addr, pm 328 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue->ops.submit_packet(pm->priv_queue); pm 330 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_unlock(&pm->lock); pm 335 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue->ops.rollback_packet(pm->priv_queue); pm 337 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_unlock(&pm->lock); pm 339 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm_release_ib(pm); pm 343 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c int pm_send_query_status(struct packet_manager *pm, uint64_t fence_address, pm 352 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c size = pm->pmf->query_status_size; pm 353 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_lock(&pm->lock); pm 354 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue->ops.acquire_packet_buffer(pm->priv_queue, pm 362 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->query_status(pm, buffer, fence_address, fence_value); pm 364 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue->ops.submit_packet(pm->priv_queue); pm 366 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue->ops.rollback_packet(pm->priv_queue); pm 369 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_unlock(&pm->lock); pm 373 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c int pm_send_unmap_queue(struct packet_manager *pm, enum kfd_queue_type type, pm 381 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c size = pm->pmf->unmap_queues_size; pm 382 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_lock(&pm->lock); pm 383 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue->ops.acquire_packet_buffer(pm->priv_queue, pm 391 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->unmap_queues(pm, buffer, type, filter, filter_param, pm 394 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue->ops.submit_packet(pm->priv_queue); pm 396 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue->ops.rollback_packet(pm->priv_queue); pm 399 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_unlock(&pm->lock); pm 403 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c void pm_release_ib(struct packet_manager *pm) pm 405 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_lock(&pm->lock); pm 406 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (pm->allocated) { pm 407 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c kfd_gtt_sa_free(pm->dqm->dev, pm->ib_buffer_obj); pm 408 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->allocated = false; pm 410 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_unlock(&pm->lock); pm 417 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c struct packet_manager *pm = data; pm 419 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_lock(&pm->lock); pm 421 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (!pm->allocated) { pm 427 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->ib_buffer_obj->cpu_ptr, pm->ib_size_bytes, false); pm 430 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_unlock(&pm->lock); pm 434 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c int pm_debugfs_hang_hws(struct packet_manager *pm) pm 439 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c size = pm->pmf->query_status_size; pm 440 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_lock(&pm->lock); pm 441 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue->ops.acquire_packet_buffer(pm->priv_queue, pm 449 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c pm->priv_queue->ops.submit_packet(pm->priv_queue); pm 455 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c mutex_unlock(&pm->lock); pm 945 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int (*map_process)(struct packet_manager *pm, uint32_t *buffer, pm 947 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int (*runlist)(struct packet_manager *pm, uint32_t *buffer, pm 949 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int (*set_resources)(struct packet_manager *pm, uint32_t *buffer, pm 951 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int (*map_queues)(struct packet_manager *pm, uint32_t *buffer, pm 953 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int (*unmap_queues)(struct packet_manager *pm, uint32_t *buffer, pm 958 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int (*query_status)(struct packet_manager *pm, uint32_t *buffer, pm 976 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int pm_init(struct packet_manager *pm, struct device_queue_manager *dqm); pm 977 drivers/gpu/drm/amd/amdkfd/kfd_priv.h void pm_uninit(struct packet_manager *pm); pm 978 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int pm_send_set_resources(struct packet_manager *pm, pm 980 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int pm_send_runlist(struct packet_manager *pm, struct list_head *dqm_queues); pm 981 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int pm_send_query_status(struct packet_manager *pm, uint64_t fence_address, pm 984 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int pm_send_unmap_queue(struct packet_manager *pm, enum kfd_queue_type type, pm 989 drivers/gpu/drm/amd/amdkfd/kfd_priv.h void pm_release_ib(struct packet_manager *pm); pm 993 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int pm_set_resources_vi(struct packet_manager *pm, uint32_t *buffer, pm 1056 drivers/gpu/drm/amd/amdkfd/kfd_priv.h int pm_debugfs_hang_hws(struct packet_manager *pm); pm 46 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c if (adev->pm.dpm_enabled) { pm 48 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c memset(&adev->pm.pm_display_cfg, 0, pm 49 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c sizeof(adev->pm.pm_display_cfg)); pm 51 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.cpu_cc6_disable = pm 54 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.cpu_pstate_disable = pm 57 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.cpu_pstate_separation_time = pm 60 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.nb_pstate_switch_disable = pm 63 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.num_display = pm 65 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.num_path_including_non_display = pm 68 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.min_core_set_clock = pm 70 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.min_core_set_clock_in_sr = pm 72 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.min_mem_set_clock = pm 75 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.min_dcef_deep_sleep_set_clk = pm 77 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.min_dcef_set_clk = pm 80 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.multi_monitor_in_sync = pm 82 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.min_vblank_time = pm 85 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.display_clk = pm 88 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.dce_tolerable_mclk_in_active_latency = pm 91 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.crtc_index = pp_display_cfg->crtc_index; pm 92 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.line_time_in_us = pm 95 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.vrefresh = pp_display_cfg->disp_configs[0].v_refresh; pm 96 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.crossfire_display_index = -1; pm 97 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.min_bus_bandwidth = 0; pm 102 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c adev->pm.pm_display_cfg.displays[i].controller_id = dc_cfg->pipe_idx + 1; pm 108 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c &adev->pm.pm_display_cfg); pm 111 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c &adev->pm.pm_display_cfg); pm 56 drivers/gpu/drm/amd/powerplay/amd_powerplay.c hwmgr->feature_mask = adev->pm.pp_feature; pm 57 drivers/gpu/drm/amd/powerplay/amd_powerplay.c hwmgr->display_config = &adev->pm.pm_display_cfg; pm 112 drivers/gpu/drm/amd/powerplay/amd_powerplay.c release_firmware(adev->pm.fw); pm 113 drivers/gpu/drm/amd/powerplay/amd_powerplay.c adev->pm.fw = NULL; pm 149 drivers/gpu/drm/amd/powerplay/amd_powerplay.c if (amdgpu_bo_create_kernel(adev, adev->pm.smu_prv_buffer_size, pm 151 drivers/gpu/drm/amd/powerplay/amd_powerplay.c &adev->pm.smu_prv_buffer, pm 164 drivers/gpu/drm/amd/powerplay/amd_powerplay.c adev->pm.smu_prv_buffer_size); pm 167 drivers/gpu/drm/amd/powerplay/amd_powerplay.c amdgpu_bo_free_kernel(&adev->pm.smu_prv_buffer, NULL, NULL); pm 168 drivers/gpu/drm/amd/powerplay/amd_powerplay.c adev->pm.smu_prv_buffer = NULL; pm 184 drivers/gpu/drm/amd/powerplay/amd_powerplay.c if (adev->pm.smu_prv_buffer_size != 0) pm 194 drivers/gpu/drm/amd/powerplay/amd_powerplay.c if (adev->pm.smu_prv_buffer) pm 195 drivers/gpu/drm/amd/powerplay/amd_powerplay.c amdgpu_bo_free_kernel(&adev->pm.smu_prv_buffer, NULL, NULL); pm 716 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (adev->pm.pp_feature & PP_OVERDRIVE_MASK) pm 721 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (adev->pm.pp_feature & PP_OVERDRIVE_MASK) pm 835 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c smu->pool_size = adev->pm.smu_prv_buffer_size; pm 869 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c smu->display_config = &adev->pm.pm_display_cfg; pm 987 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN4) pm 989 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c else if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN3) pm 991 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c else if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN2) pm 993 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c else if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN1) pm 1000 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (adev->pm.pcie_mlw_mask & CAIL_PCIE_LINK_WIDTH_SUPPORT_X16) pm 1002 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c else if (adev->pm.pcie_mlw_mask & CAIL_PCIE_LINK_WIDTH_SUPPORT_X12) pm 1004 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c else if (adev->pm.pcie_mlw_mask & CAIL_PCIE_LINK_WIDTH_SUPPORT_X8) pm 1006 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c else if (adev->pm.pcie_mlw_mask & CAIL_PCIE_LINK_WIDTH_SUPPORT_X4) pm 1008 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c else if (adev->pm.pcie_mlw_mask & CAIL_PCIE_LINK_WIDTH_SUPPORT_X2) pm 1010 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c else if (adev->pm.pcie_mlw_mask & CAIL_PCIE_LINK_WIDTH_SUPPORT_X1) pm 1283 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c adev->pm.dpm_enabled = false; pm 1285 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c adev->pm.dpm_enabled = true; /* TODO: will set dpm_enabled flag while VCN and DAL DPM is workable */ pm 249 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c adev->pm.dpm.thermal.min_temp = range.min; pm 250 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c adev->pm.dpm.thermal.max_temp = range.max; pm 251 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c adev->pm.dpm.thermal.max_edge_emergency_temp = range.edge_emergency_max; pm 252 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c adev->pm.dpm.thermal.min_hotspot_temp = range.hotspot_min; pm 253 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c adev->pm.dpm.thermal.max_hotspot_crit_temp = range.hotspot_crit_max; pm 254 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c adev->pm.dpm.thermal.max_hotspot_emergency_temp = range.hotspot_emergency_max; pm 255 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c adev->pm.dpm.thermal.min_mem_temp = range.mem_min; pm 256 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c adev->pm.dpm.thermal.max_mem_crit_temp = range.mem_crit_max; pm 257 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c adev->pm.dpm.thermal.max_mem_emergency_temp = range.mem_emergency_max; pm 230 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c ((struct amdgpu_device *)hwmgr->adev)->pm.no_fan = pm 258 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c ((struct amdgpu_device *)hwmgr->adev)->pm.dpm_enabled = true; pm 326 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c if (adev->pm.pp_feature & PP_GFXOFF_MASK) { pm 346 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c if (adev->pm.pp_feature & PP_GFXOFF_MASK) pm 2581 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_gen_cap = adev->pm.pcie_gen_mask; pm 2584 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_lane_cap = adev->pm.pcie_mlw_mask; pm 2910 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c max_limits = adev->pm.ac_power ? pm 2915 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (!adev->pm.ac_power) { pm 3160 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c max_limits = adev->pm.ac_power ? pm 3165 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (!adev->pm.ac_power) { pm 839 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN4) pm 841 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c else if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN3) pm 843 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c else if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN2) pm 845 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c else if (adev->pm.pcie_gen_mask & CAIL_PCIE_LINK_SPEED_SUPPORT_GEN1) pm 848 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (adev->pm.pcie_mlw_mask & CAIL_PCIE_LINK_WIDTH_SUPPORT_X16) pm 850 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c else if (adev->pm.pcie_mlw_mask & CAIL_PCIE_LINK_WIDTH_SUPPORT_X12) pm 852 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c else if (adev->pm.pcie_mlw_mask & CAIL_PCIE_LINK_WIDTH_SUPPORT_X8) pm 854 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c else if (adev->pm.pcie_mlw_mask & CAIL_PCIE_LINK_WIDTH_SUPPORT_X4) pm 856 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c else if (adev->pm.pcie_mlw_mask & CAIL_PCIE_LINK_WIDTH_SUPPORT_X2) pm 858 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c else if (adev->pm.pcie_mlw_mask & CAIL_PCIE_LINK_WIDTH_SUPPORT_X1) pm 354 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (adev->pm.pp_feature & PP_MCLK_DPM_MASK) pm 359 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (adev->pm.pp_feature & PP_GFXOFF_MASK) { pm 485 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (adev->pm.pp_feature & PP_GFXOFF_MASK) { pm 179 drivers/gpu/drm/amd/powerplay/smu_v11_0.c err = request_firmware(&adev->pm.fw, fw_name, adev->dev); pm 182 drivers/gpu/drm/amd/powerplay/smu_v11_0.c err = amdgpu_ucode_validate(adev->pm.fw); pm 186 drivers/gpu/drm/amd/powerplay/smu_v11_0.c hdr = (const struct smc_firmware_header_v1_0 *) adev->pm.fw->data; pm 188 drivers/gpu/drm/amd/powerplay/smu_v11_0.c adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); pm 193 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ucode->fw = adev->pm.fw; pm 203 drivers/gpu/drm/amd/powerplay/smu_v11_0.c release_firmware(adev->pm.fw); pm 204 drivers/gpu/drm/amd/powerplay/smu_v11_0.c adev->pm.fw = NULL; pm 218 drivers/gpu/drm/amd/powerplay/smu_v11_0.c hdr = (const struct smc_firmware_header_v1_0 *) adev->pm.fw->data; pm 219 drivers/gpu/drm/amd/powerplay/smu_v11_0.c src = (const uint32_t *)(adev->pm.fw->data + pm 321 drivers/gpu/drm/amd/powerplay/smu_v11_0.c v2 = (const struct smc_firmware_header_v2_0 *) adev->pm.fw->data; pm 339 drivers/gpu/drm/amd/powerplay/smu_v11_0.c v2_1 = (const struct smc_firmware_header_v2_1 *) adev->pm.fw->data; pm 368 drivers/gpu/drm/amd/powerplay/smu_v11_0.c hdr = (const struct smc_firmware_header_v1_0 *) adev->pm.fw->data; pm 1206 drivers/gpu/drm/amd/powerplay/smu_v11_0.c adev->pm.dpm.thermal.min_temp = range.min; pm 1207 drivers/gpu/drm/amd/powerplay/smu_v11_0.c adev->pm.dpm.thermal.max_temp = range.max; pm 1208 drivers/gpu/drm/amd/powerplay/smu_v11_0.c adev->pm.dpm.thermal.max_edge_emergency_temp = range.edge_emergency_max; pm 1209 drivers/gpu/drm/amd/powerplay/smu_v11_0.c adev->pm.dpm.thermal.min_hotspot_temp = range.hotspot_min; pm 1210 drivers/gpu/drm/amd/powerplay/smu_v11_0.c adev->pm.dpm.thermal.max_hotspot_crit_temp = range.hotspot_crit_max; pm 1211 drivers/gpu/drm/amd/powerplay/smu_v11_0.c adev->pm.dpm.thermal.max_hotspot_emergency_temp = range.hotspot_emergency_max; pm 1212 drivers/gpu/drm/amd/powerplay/smu_v11_0.c adev->pm.dpm.thermal.min_mem_temp = range.mem_min; pm 1213 drivers/gpu/drm/amd/powerplay/smu_v11_0.c adev->pm.dpm.thermal.max_mem_crit_temp = range.mem_crit_max; pm 1214 drivers/gpu/drm/amd/powerplay/smu_v11_0.c adev->pm.dpm.thermal.max_mem_emergency_temp = range.mem_emergency_max; pm 1366 drivers/gpu/drm/amd/powerplay/smu_v11_0.c if (!(adev->pm.pp_feature & PP_GFXOFF_MASK)) pm 2864 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t max_vddc = adev->pm.ac_power ? hwmgr->dyn_state.max_clock_voltage_on_ac.vddc : pm 2900 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t max_vddc = adev->pm.ac_power ? hwmgr->dyn_state.max_clock_voltage_on_ac.vddc : pm 219 drivers/gpu/drm/amd/powerplay/smumgr/smu10_smumgr.c adev->pm.fw_version = hwmgr->smu_version >> 8; pm 222 drivers/gpu/drm/amd/powerplay/smumgr/smu10_smumgr.c adev->pm.fw_version < 0x1e45) pm 223 drivers/gpu/drm/amd/powerplay/smumgr/smu10_smumgr.c adev->pm.pp_feature &= ~PP_GFXOFF_MASK; pm 742 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c adev->pm.fw_version = hwmgr->smu_version >> 8; pm 145 drivers/gpu/drm/arm/display/komeda/komeda_drv.c .pm = NULL, pm 424 drivers/gpu/drm/arm/hdlcd_drv.c .pm = &hdlcd_pm_ops, pm 1029 drivers/gpu/drm/arm/malidp_drv.c .pm = &malidp_pm_ops, pm 201 drivers/gpu/drm/ast/ast_drv.c .driver.pm = &ast_pm_ops, pm 952 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c .pm = &atmel_hlcdc_dc_drm_pm_ops, pm 183 drivers/gpu/drm/bochs/bochs_drv.c .driver.pm = &bochs_pm_ops, pm 1294 drivers/gpu/drm/bridge/cdns-dsi.c .pm = &cdns_dsi_pm_ops, pm 627 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c .pm = PM_OPS, pm 816 drivers/gpu/drm/bridge/ti-sn65dsi86.c .pm = &ti_sn_bridge_pm_ops, pm 93 drivers/gpu/drm/drm_mipi_dsi.c .pm = &mipi_dsi_device_pm_ops, pm 1847 drivers/gpu/drm/etnaviv/etnaviv_gpu.c .pm = &etnaviv_gpu_pm_ops, pm 882 drivers/gpu/drm/exynos/exynos5433_drm_decon.c .pm = &exynos5433_decon_pm_ops, pm 843 drivers/gpu/drm/exynos/exynos7_drm_decon.c .pm = &exynos7_decon_pm_ops, pm 302 drivers/gpu/drm/exynos/exynos_dp.c .pm = &exynos_dp_pm_ops, pm 405 drivers/gpu/drm/exynos/exynos_drm_drv.c .pm = &exynos_drm_pm_ops, pm 1906 drivers/gpu/drm/exynos/exynos_drm_dsi.c .pm = &exynos_dsi_pm_ops, pm 1423 drivers/gpu/drm/exynos/exynos_drm_fimc.c .pm = &fimc_pm_ops, pm 1289 drivers/gpu/drm/exynos/exynos_drm_fimd.c .pm = &exynos_fimd_pm_ops, pm 1621 drivers/gpu/drm/exynos/exynos_drm_g2d.c .pm = &g2d_pm_ops, pm 1430 drivers/gpu/drm/exynos/exynos_drm_gsc.c .pm = &gsc_pm_ops, pm 468 drivers/gpu/drm/exynos/exynos_drm_mic.c .pm = &exynos_mic_pm_ops, pm 465 drivers/gpu/drm/exynos/exynos_drm_rotator.c .pm = &rotator_pm_ops, pm 735 drivers/gpu/drm/exynos/exynos_drm_scaler.c .pm = &scaler_pm_ops, pm 2121 drivers/gpu/drm/exynos/exynos_hdmi.c .pm = &exynos_hdmi_pm_ops, pm 1330 drivers/gpu/drm/exynos/exynos_mixer.c .pm = &exynos_mixer_pm_ops, pm 362 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c .pm = &fsl_dcu_drm_pm_ops, pm 501 drivers/gpu/drm/gma500/psb_drv.c .driver.pm = &psb_pm_ops, pm 392 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c .driver.pm = &hibmc_pm_ops, pm 505 drivers/gpu/drm/i2c/ch7006_drv.c .pm = &ch7006_pm_ops, pm 248 drivers/gpu/drm/i915/display/dvo_ch7xxx.c u8 cdet, orig_pm, pm; pm 252 drivers/gpu/drm/i915/display/dvo_ch7xxx.c pm = orig_pm; pm 253 drivers/gpu/drm/i915/display/dvo_ch7xxx.c pm &= ~CH7xxx_PM_FPD; pm 254 drivers/gpu/drm/i915/display/dvo_ch7xxx.c pm |= CH7xxx_PM_DVIL | CH7xxx_PM_DVIP; pm 256 drivers/gpu/drm/i915/display/dvo_ch7xxx.c ch7xxx_writeb(dvo, CH7xxx_PM, pm); pm 984 drivers/gpu/drm/i915/i915_pci.c .driver.pm = &i915_pm_ops, pm 342 drivers/gpu/drm/imx/imx-drm-core.c .pm = &imx_drm_pm_ops, pm 661 drivers/gpu/drm/mediatek/mtk_drm_drv.c .pm = &mtk_drm_pm_ops, pm 1775 drivers/gpu/drm/mediatek/mtk_hdmi.c .pm = &mtk_hdmi_pm_ops, pm 451 drivers/gpu/drm/msm/adreno/adreno_device.c .pm = &adreno_pm_ops, pm 1124 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c .pm = &dpu_pm_ops, pm 1155 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c .pm = &mdp5_pm_ops, pm 172 drivers/gpu/drm/msm/dsi/dsi.c .pm = &dsi_pm_ops, pm 75 drivers/gpu/drm/msm/edp/edp.h u32 pixel_rate, u32 *pm, u32 *pn); pm 1316 drivers/gpu/drm/msm/edp/edp_ctrl.c u32 pixel_rate, u32 *pm, u32 *pn) pm 1335 drivers/gpu/drm/msm/edp/edp_ctrl.c if (pm) pm 1336 drivers/gpu/drm/msm/edp/edp_ctrl.c *pm = divs[i].m; pm 1338 drivers/gpu/drm/msm/msm_drv.c .pm = &msm_pm_ops, pm 432 drivers/gpu/drm/mxsfb/mxsfb_drv.c .pm = &mxsfb_pm_ops, pm 174 drivers/gpu/drm/nouveau/include/nvkm/core/device.h struct nvkm_pm *pm; pm 247 drivers/gpu/drm/nouveau/include/nvkm/core/device.h int (*pm )(struct nvkm_device *, int idx, struct nvkm_pm **); pm 1274 drivers/gpu/drm/nouveau/nouveau_drm.c .driver.pm = &nouveau_pm_ops, pm 494 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 520 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 546 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 572 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 598 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 624 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 650 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 676 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 702 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 728 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 754 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 780 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 806 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 835 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv50_pm_new, pm 861 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 887 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 913 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = nv40_pm_new, pm 944 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = g84_pm_new, pm 976 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = g84_pm_new, pm 1008 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = g84_pm_new, pm 1040 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = g84_pm_new, pm 1072 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = g84_pm_new, pm 1104 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = g84_pm_new, pm 1136 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gt200_pm_new, pm 1171 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gt215_pm_new, pm 1204 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gt215_pm_new, pm 1237 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gt215_pm_new, pm 1268 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = g84_pm_new, pm 1300 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = g84_pm_new, pm 1334 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gt215_pm_new, pm 1371 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gf100_pm_new, pm 1407 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gf108_pm_new, pm 1443 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gf100_pm_new, pm 1480 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gf100_pm_new, pm 1517 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gf100_pm_new, pm 1554 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gf100_pm_new, pm 1590 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gf100_pm_new, pm 1625 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gf117_pm_new, pm 1661 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gf117_pm_new, pm 1700 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gk104_pm_new, pm 1739 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gk104_pm_new, pm 1778 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gk104_pm_new, pm 1803 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pm = gk104_pm_new, pm 2712 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c _(PM , device->pm , &device->pm->engine); pm 3200 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c _(NVKM_ENGINE_PM , pm); pm 36 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_pm_count_perfdom(struct nvkm_pm *pm) pm 41 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c list_for_each_entry(dom, &pm->domains, head) pm 62 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfdom_find(struct nvkm_pm *pm, int di) pm 67 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c list_for_each_entry(dom, &pm->domains, head) { pm 75 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfsig_find(struct nvkm_pm *pm, u8 di, u8 si, struct nvkm_perfdom **pdom) pm 80 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom = nvkm_perfdom_find(pm, di); pm 104 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfsrc_find(struct nvkm_pm *pm, struct nvkm_perfsig *sig, int si) pm 119 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c list_for_each_entry(src, &pm->sources, head) { pm 129 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfsrc_enable(struct nvkm_pm *pm, struct nvkm_perfctr *ctr) pm 131 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_subdev *subdev = &pm->engine.subdev; pm 141 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c sig = nvkm_perfsig_find(pm, ctr->domain, pm 146 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c src = nvkm_perfsrc_find(pm, sig, ctr->source[i][j]); pm 168 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfsrc_disable(struct nvkm_pm *pm, struct nvkm_perfctr *ctr) pm 170 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_subdev *subdev = &pm->engine.subdev; pm 180 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c sig = nvkm_perfsig_find(pm, ctr->domain, pm 185 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c src = nvkm_perfsrc_find(pm, sig, ctr->source[i][j]); pm 214 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_pm *pm = dom->perfmon->pm; pm 225 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom->func->init(pm, dom, dom->ctr[i]); pm 228 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfsrc_enable(pm, dom->ctr[i]); pm 233 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom->func->next(pm, dom); pm 244 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_pm *pm = dom->perfmon->pm; pm 252 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c pm->sequence++; pm 255 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c list_for_each_entry(dom, &pm->domains, head) pm 256 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom->func->next(pm, dom); pm 268 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_pm *pm = dom->perfmon->pm; pm 279 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom->func->read(pm, dom, dom->ctr[i]); pm 313 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_pm *pm = dom->perfmon->pm; pm 319 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfsrc_disable(pm, ctr); pm 373 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_pm *pm = perfmon->pm; pm 393 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c sig[s] = nvkm_perfsig_find(pm, args->v0.domain, pm 401 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (src[s][m] && !nvkm_perfsrc_find(pm, sig[s], pm 441 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_pm *pm = perfmon->pm; pm 454 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c domain_nr = nvkm_pm_count_perfdom(pm); pm 459 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom = nvkm_perfdom_find(pm, di); pm 489 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_pm *pm = perfmon->pm; pm 490 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_device *device = pm->engine.subdev.device; pm 506 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom = nvkm_perfdom_find(pm, args->v0.domain); pm 543 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_pm *pm = perfmon->pm; pm 560 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c sig = nvkm_perfsig_find(pm, args->v0.domain, args->v0.signal, &dom); pm 569 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c src = nvkm_perfsrc_find(pm, sig, sig->source[si]); pm 630 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_pm *pm = perfmon->pm; pm 631 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c mutex_lock(&pm->engine.subdev.mutex); pm 632 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (pm->perfmon == &perfmon->object) pm 633 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c pm->perfmon = NULL; pm 634 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c mutex_unlock(&pm->engine.subdev.mutex); pm 646 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfmon_new(struct nvkm_pm *pm, const struct nvkm_oclass *oclass, pm 654 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c perfmon->pm = pm; pm 667 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_pm *pm = nvkm_pm(oclass->engine); pm 670 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c ret = nvkm_perfmon_new(pm, oclass, data, size, pobject); pm 674 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c mutex_lock(&pm->engine.subdev.mutex); pm 675 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (pm->perfmon == NULL) pm 676 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c pm->perfmon = *pobject; pm 677 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c ret = (pm->perfmon == *pobject) ? 0 : -EBUSY; pm 678 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c mutex_unlock(&pm->engine.subdev.mutex); pm 703 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfsrc_new(struct nvkm_pm *pm, struct nvkm_perfsig *sig, pm 724 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c list_for_each_entry(src, &pm->sources, head) { pm 753 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c list_add_tail(&src->head, &pm->sources); pm 766 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfdom_new(struct nvkm_pm *pm, const char *name, u32 mask, pm 796 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c list_add_tail(&dom->head, &pm->domains); pm 807 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c ret = nvkm_perfsrc_new(pm, sig, ssig->source); pm 825 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_pm *pm = nvkm_pm(engine); pm 826 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (pm->func->fini) pm 827 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c pm->func->fini(pm); pm 834 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c struct nvkm_pm *pm = nvkm_pm(engine); pm 838 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c list_for_each_entry_safe(dom, next_dom, &pm->domains, head) { pm 843 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c list_for_each_entry_safe(src, next_src, &pm->sources, head) { pm 849 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c return pm; pm 861 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c int index, struct nvkm_pm *pm) pm 863 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c pm->func = func; pm 864 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c INIT_LIST_HEAD(&pm->domains); pm 865 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c INIT_LIST_HEAD(&pm->sources); pm 866 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c return nvkm_engine_ctor(&nvkm_pm, device, index, true, &pm->engine); pm 128 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c gf100_perfctr_init(struct nvkm_pm *pm, struct nvkm_perfdom *dom, pm 131 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c struct nvkm_device *device = pm->engine.subdev.device; pm 146 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c gf100_perfctr_read(struct nvkm_pm *pm, struct nvkm_perfdom *dom, pm 149 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c struct nvkm_device *device = pm->engine.subdev.device; pm 161 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c gf100_perfctr_next(struct nvkm_pm *pm, struct nvkm_perfdom *dom) pm 163 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c struct nvkm_device *device = pm->engine.subdev.device; pm 176 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c gf100_pm_fini(struct nvkm_pm *pm) pm 178 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c struct nvkm_device *device = pm->engine.subdev.device; pm 192 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c struct nvkm_pm *pm; pm 196 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c if (!(pm = *ppm = kzalloc(sizeof(*pm), GFP_KERNEL))) pm 199 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c ret = nvkm_pm_ctor(&gf100_pm_, device, index, pm); pm 204 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c ret = nvkm_perfdom_new(pm, "hub", 0, 0x1b0000, 0, 0x200, pm 214 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c ret = nvkm_perfdom_new(pm, "gpc", mask, 0x180000, pm 224 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c ret = nvkm_perfdom_new(pm, "part", mask, 0x1a0000, pm 27 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c nv40_perfctr_init(struct nvkm_pm *pm, struct nvkm_perfdom *dom, pm 30 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c struct nvkm_device *device = pm->engine.subdev.device; pm 44 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c nv40_perfctr_read(struct nvkm_pm *pm, struct nvkm_perfdom *dom, pm 47 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c struct nvkm_device *device = pm->engine.subdev.device; pm 59 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c nv40_perfctr_next(struct nvkm_pm *pm, struct nvkm_perfdom *dom) pm 61 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c struct nvkm_device *device = pm->engine.subdev.device; pm 62 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c struct nv40_pm *nv40pm = container_of(pm, struct nv40_pm, base); pm 64 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c if (nv40pm->sequence != pm->sequence) { pm 66 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c nv40pm->sequence = pm->sequence; pm 85 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c struct nv40_pm *pm; pm 88 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c if (!(pm = kzalloc(sizeof(*pm), GFP_KERNEL))) pm 90 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c *ppm = &pm->base; pm 92 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c ret = nvkm_pm_ctor(&nv40_pm_, device, index, &pm->base); pm 96 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c return nvkm_perfdom_new(&pm->base, "pc", 0, 0, 0, 4, doms); pm 103 drivers/gpu/drm/nouveau/nvkm/engine/pm/priv.h struct nvkm_pm *pm; pm 1217 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c int pm = size >> shift; pm 1248 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c for (pn = 0; pi + pn < pm; pn++) { pm 4935 drivers/gpu/drm/omapdrm/dss/dispc.c .pm = &dispc_pm_ops, pm 5478 drivers/gpu/drm/omapdrm/dss/dsi.c .pm = &dsi_pm_ops, pm 1596 drivers/gpu/drm/omapdrm/dss/dss.c .pm = &dss_pm_ops, pm 941 drivers/gpu/drm/omapdrm/dss/venc.c .pm = &venc_pm_ops, pm 1231 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c .pm = &omap_dmm_pm_ops, pm 733 drivers/gpu/drm/omapdrm/omap_drv.c .pm = &omapdrm_pm_ops, pm 246 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c .pm = &nl8048_pm_ops, pm 507 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c .pm = &td043mtea1_pm_ops, pm 325 drivers/gpu/drm/panel/panel-tpo-tpg110.c const struct tpg110_panel_mode *pm; pm 327 drivers/gpu/drm/panel/panel-tpo-tpg110.c pm = &tpg110_modes[i]; pm 328 drivers/gpu/drm/panel/panel-tpo-tpg110.c if (pm->magic == val) { pm 329 drivers/gpu/drm/panel/panel-tpo-tpg110.c tpg->panel_mode = pm; pm 686 drivers/gpu/drm/panfrost/panfrost_drv.c .pm = &panfrost_pm_ops, pm 266 drivers/gpu/drm/qxl/qxl_drv.c .driver.pm = &qxl_pm_ops, pm 1232 drivers/gpu/drm/radeon/btc_dpm.c return btc_find_valid_clock(&rdev->pm.dpm.dyn_state.valid_mclk_values, pm 1239 drivers/gpu/drm/radeon/btc_dpm.c return btc_find_valid_clock(&rdev->pm.dpm.dyn_state.valid_sclk_values, pm 1282 drivers/gpu/drm/radeon/btc_dpm.c if (((pl->mclk + (pl->sclk - 1)) / pl->sclk) > rdev->pm.dpm.dyn_state.mclk_sclk_ratio) pm 1286 drivers/gpu/drm/radeon/btc_dpm.c (rdev->pm.dpm.dyn_state.mclk_sclk_ratio - 1)) / pm 1287 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.mclk_sclk_ratio); pm 1289 drivers/gpu/drm/radeon/btc_dpm.c if ((pl->sclk - pl->mclk) > rdev->pm.dpm.dyn_state.sclk_mclk_delta) pm 1293 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.sclk_mclk_delta); pm 1320 drivers/gpu/drm/radeon/btc_dpm.c if ((*vddc - *vddci) > rdev->pm.dpm.dyn_state.vddc_vddci_delta) { pm 1322 drivers/gpu/drm/radeon/btc_dpm.c (*vddc - rdev->pm.dpm.dyn_state.vddc_vddci_delta)); pm 1326 drivers/gpu/drm/radeon/btc_dpm.c if ((*vddci - *vddc) > rdev->pm.dpm.dyn_state.vddc_vddci_delta) { pm 1328 drivers/gpu/drm/radeon/btc_dpm.c (*vddci - rdev->pm.dpm.dyn_state.vddc_vddci_delta)); pm 1640 drivers/gpu/drm/radeon/btc_dpm.c switch (rdev->pm.int_thermal_type) { pm 1653 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_HARDWAREDC) pm 1656 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_REGULATOR_HOT) pm 1659 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_STEPVDDC) pm 2105 drivers/gpu/drm/radeon/btc_dpm.c if ((rdev->pm.dpm.new_active_crtc_count > 1) || pm 2111 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->pm.dpm.ac_power) pm 2112 drivers/gpu/drm/radeon/btc_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 2114 drivers/gpu/drm/radeon/btc_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; pm 2116 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->pm.dpm.ac_power == false) { pm 2210 drivers/gpu/drm/radeon/btc_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk, pm 2212 drivers/gpu/drm/radeon/btc_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 2214 drivers/gpu/drm/radeon/btc_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 2216 drivers/gpu/drm/radeon/btc_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk, pm 2219 drivers/gpu/drm/radeon/btc_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk, pm 2221 drivers/gpu/drm/radeon/btc_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 2223 drivers/gpu/drm/radeon/btc_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 2225 drivers/gpu/drm/radeon/btc_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk, pm 2228 drivers/gpu/drm/radeon/btc_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk, pm 2230 drivers/gpu/drm/radeon/btc_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 2232 drivers/gpu/drm/radeon/btc_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 2234 drivers/gpu/drm/radeon/btc_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk, pm 2244 drivers/gpu/drm/radeon/btc_dpm.c if ((ps->high.vddc <= rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc) && pm 2245 drivers/gpu/drm/radeon/btc_dpm.c (ps->medium.vddc <= rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc) && pm 2246 drivers/gpu/drm/radeon/btc_dpm.c (ps->low.vddc <= rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc)) pm 2251 drivers/gpu/drm/radeon/btc_dpm.c if (ps->low.vddc < rdev->pm.dpm.dyn_state.min_vddc_for_pcie_gen2) pm 2253 drivers/gpu/drm/radeon/btc_dpm.c if (ps->medium.vddc < rdev->pm.dpm.dyn_state.min_vddc_for_pcie_gen2) pm 2255 drivers/gpu/drm/radeon/btc_dpm.c if (ps->high.vddc < rdev->pm.dpm.dyn_state.min_vddc_for_pcie_gen2) pm 2294 drivers/gpu/drm/radeon/btc_dpm.c struct radeon_ps requested_ps = *rdev->pm.dpm.requested_ps; pm 2381 drivers/gpu/drm/radeon/btc_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 2419 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_BACKBIAS) pm 2489 drivers/gpu/drm/radeon/btc_dpm.c btc_update_current_ps(rdev, rdev->pm.dpm.boot_ps); pm 2511 drivers/gpu/drm/radeon/btc_dpm.c r600_is_internal_thermal_sensor(rdev->pm.int_thermal_type)) { pm 2530 drivers/gpu/drm/radeon/btc_dpm.c btc_update_current_ps(rdev, rdev->pm.dpm.boot_ps); pm 2563 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.priv = eg_pi; pm 2585 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries = pm 2589 drivers/gpu/drm/radeon/btc_dpm.c if (!rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries) { pm 2593 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count = 4; pm 2594 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[0].clk = 0; pm 2595 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[0].v = 0; pm 2596 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[1].clk = 36000; pm 2597 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[1].v = 800; pm 2598 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[2].clk = 54000; pm 2599 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[2].v = 800; pm 2600 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[3].clk = 72000; pm 2601 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[3].v = 800; pm 2603 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->pm.dpm.voltage_response_time == 0) pm 2604 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.voltage_response_time = R600_VOLTAGERESPONSETIME_DFLT; pm 2605 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->pm.dpm.backbias_response_time == 0) pm 2606 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.backbias_response_time = R600_BACKBIASRESPONSETIME_DFLT; pm 2662 drivers/gpu/drm/radeon/btc_dpm.c if (rdev->pm.int_thermal_type != THERMAL_TYPE_NONE) pm 2701 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.mclk_sclk_ratio = 4; pm 2702 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.vddc_vddci_delta = 200; pm 2703 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.min_vddc_for_pcie_gen2 = 900; pm 2704 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.valid_sclk_values.count = ARRAY_SIZE(btc_valid_sclk); pm 2705 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.valid_sclk_values.values = btc_valid_sclk; pm 2706 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.valid_mclk_values.count = 0; pm 2707 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.valid_mclk_values.values = NULL; pm 2710 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.sclk_mclk_delta = 15000; pm 2712 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.sclk_mclk_delta = 10000; pm 2715 drivers/gpu/drm/radeon/btc_dpm.c if ((rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.sclk == 0) || pm 2716 drivers/gpu/drm/radeon/btc_dpm.c (rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.mclk == 0)) pm 2717 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc = pm 2718 drivers/gpu/drm/radeon/btc_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 2727 drivers/gpu/drm/radeon/btc_dpm.c for (i = 0; i < rdev->pm.dpm.num_ps; i++) { pm 2728 drivers/gpu/drm/radeon/btc_dpm.c kfree(rdev->pm.dpm.ps[i].ps_priv); pm 2730 drivers/gpu/drm/radeon/btc_dpm.c kfree(rdev->pm.dpm.ps); pm 2731 drivers/gpu/drm/radeon/btc_dpm.c kfree(rdev->pm.dpm.priv); pm 2732 drivers/gpu/drm/radeon/btc_dpm.c kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries); pm 198 drivers/gpu/drm/radeon/ci_dpm.c struct ci_power_info *pi = rdev->pm.dpm.priv; pm 283 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.cac_leakage_table.entries == NULL) pm 285 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.cac_leakage_table.count > 8) pm 287 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.cac_leakage_table.count != pm 288 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count) pm 291 drivers/gpu/drm/radeon/ci_dpm.c for (i = 0; i < rdev->pm.dpm.dyn_state.cac_leakage_table.count; i++) { pm 292 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_EVV) { pm 293 drivers/gpu/drm/radeon/ci_dpm.c lo_vid[i] = ci_convert_to_vid(rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc1); pm 294 drivers/gpu/drm/radeon/ci_dpm.c hi_vid[i] = ci_convert_to_vid(rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc2); pm 295 drivers/gpu/drm/radeon/ci_dpm.c hi2_vid[i] = ci_convert_to_vid(rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc3); pm 297 drivers/gpu/drm/radeon/ci_dpm.c lo_vid[i] = ci_convert_to_vid(rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc); pm 298 drivers/gpu/drm/radeon/ci_dpm.c hi_vid[i] = ci_convert_to_vid((u16)rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].leakage); pm 338 drivers/gpu/drm/radeon/ci_dpm.c tdc_limit = rdev->pm.dpm.dyn_state.cac_tdp_table->tdc * 256; pm 371 drivers/gpu/drm/radeon/ci_dpm.c if ((rdev->pm.dpm.fan.fan_output_sensitivity & (1 << 15)) || pm 372 drivers/gpu/drm/radeon/ci_dpm.c (rdev->pm.dpm.fan.fan_output_sensitivity == 0)) pm 373 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.fan.fan_output_sensitivity = pm 374 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.fan.default_fan_output_sensitivity; pm 377 drivers/gpu/drm/radeon/ci_dpm.c cpu_to_be16(rdev->pm.dpm.fan.fan_output_sensitivity); pm 420 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table; pm 437 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table; pm 438 drivers/gpu/drm/radeon/ci_dpm.c struct radeon_ppm_table *ppm = rdev->pm.dpm.dyn_state.ppm_table; pm 672 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table; pm 746 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table; pm 754 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.tdp_adjustment : (-1 * rdev->pm.dpm.tdp_adjustment); pm 806 drivers/gpu/drm/radeon/ci_dpm.c rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; pm 807 drivers/gpu/drm/radeon/ci_dpm.c rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; pm 813 drivers/gpu/drm/radeon/ci_dpm.c if ((rdev->pm.dpm.new_active_crtc_count > 1) || pm 824 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.ac_power) pm 825 drivers/gpu/drm/radeon/ci_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 827 drivers/gpu/drm/radeon/ci_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; pm 829 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.ac_power == false) { pm 849 drivers/gpu/drm/radeon/ci_dpm.c if (sclk < rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].sclk) pm 850 drivers/gpu/drm/radeon/ci_dpm.c sclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].sclk; pm 851 drivers/gpu/drm/radeon/ci_dpm.c if (mclk < rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].mclk) pm 852 drivers/gpu/drm/radeon/ci_dpm.c mclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].mclk; pm 900 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.thermal.min_temp = low_temp; pm 901 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.thermal.max_temp = high_temp; pm 969 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.fan.ucode_fan_control = false; pm 976 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.fan.ucode_fan_control = false; pm 980 drivers/gpu/drm/radeon/ci_dpm.c tmp64 = (u64)rdev->pm.dpm.fan.pwm_min * duty100; pm 984 drivers/gpu/drm/radeon/ci_dpm.c t_diff1 = rdev->pm.dpm.fan.t_med - rdev->pm.dpm.fan.t_min; pm 985 drivers/gpu/drm/radeon/ci_dpm.c t_diff2 = rdev->pm.dpm.fan.t_high - rdev->pm.dpm.fan.t_med; pm 987 drivers/gpu/drm/radeon/ci_dpm.c pwm_diff1 = rdev->pm.dpm.fan.pwm_med - rdev->pm.dpm.fan.pwm_min; pm 988 drivers/gpu/drm/radeon/ci_dpm.c pwm_diff2 = rdev->pm.dpm.fan.pwm_high - rdev->pm.dpm.fan.pwm_med; pm 993 drivers/gpu/drm/radeon/ci_dpm.c fan_table.TempMin = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100); pm 994 drivers/gpu/drm/radeon/ci_dpm.c fan_table.TempMed = cpu_to_be16((50 + rdev->pm.dpm.fan.t_med) / 100); pm 995 drivers/gpu/drm/radeon/ci_dpm.c fan_table.TempMax = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100); pm 1002 drivers/gpu/drm/radeon/ci_dpm.c fan_table.HystDown = cpu_to_be16(rdev->pm.dpm.fan.t_hyst); pm 1012 drivers/gpu/drm/radeon/ci_dpm.c fan_table.RefreshPeriod = cpu_to_be32((rdev->pm.dpm.fan.cycle_delay * pm 1028 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.fan.ucode_fan_control = false; pm 1047 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.fan.default_max_fan_pwm); pm 1081 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.no_fan) pm 1108 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.no_fan) pm 1137 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.fan.ucode_fan_control) pm 1142 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.fan.ucode_fan_control) pm 1168 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.no_fan) pm 1171 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.fan_pulses_per_revolution == 0) pm 1189 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.no_fan) pm 1192 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.fan_pulses_per_revolution == 0) pm 1195 drivers/gpu/drm/radeon/ci_dpm.c if ((speed < rdev->pm.fan_min_rpm) || pm 1196 drivers/gpu/drm/radeon/ci_dpm.c (speed > rdev->pm.fan_max_rpm)) pm 1199 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.fan.ucode_fan_control) pm 1232 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.fan.ucode_fan_control) { pm 1242 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.fan_pulses_per_revolution) { pm 1244 drivers/gpu/drm/radeon/ci_dpm.c tmp |= EDGE_PER_REV(rdev->pm.fan_pulses_per_revolution -1); pm 1264 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.fan.ucode_fan_control) { pm 1276 drivers/gpu/drm/radeon/ci_dpm.c if (!rdev->pm.no_fan) pm 1348 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_EVV) { pm 1450 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_REGULATOR_HOT) pm 1636 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table; pm 1995 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.new_active_crtc_count > 0) pm 2015 drivers/gpu/drm/radeon/ci_dpm.c ci_notify_smc_display_change(rdev, (rdev->pm.dpm.new_active_crtc_count == 1)); pm 2147 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 2165 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 2183 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.mvdd_dependency_on_mclk, pm 2314 drivers/gpu/drm/radeon/ci_dpm.c for (i = 0; i < rdev->pm.dpm.dyn_state.mvdd_dependency_on_mclk.count; i++) { pm 2315 drivers/gpu/drm/radeon/ci_dpm.c if (mclk <= rdev->pm.dpm.dyn_state.mvdd_dependency_on_mclk.entries[i].clk) { pm 2321 drivers/gpu/drm/radeon/ci_dpm.c if (i >= rdev->pm.dpm.dyn_state.mvdd_dependency_on_mclk.count) pm 2337 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries == NULL) pm 2340 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.cac_leakage_table.entries) { pm 2341 drivers/gpu/drm/radeon/ci_dpm.c for (v_index = 0; (u32)v_index < rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; v_index++) { pm 2343 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[v_index].v) { pm 2345 drivers/gpu/drm/radeon/ci_dpm.c if ((u32)v_index < rdev->pm.dpm.dyn_state.cac_leakage_table.count) pm 2348 drivers/gpu/drm/radeon/ci_dpm.c idx = rdev->pm.dpm.dyn_state.cac_leakage_table.count - 1; pm 2350 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries[idx].vddc * VOLTAGE_SCALE; pm 2352 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries[idx].leakage * VOLTAGE_SCALE; pm 2358 drivers/gpu/drm/radeon/ci_dpm.c for (v_index = 0; (u32)v_index < rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; v_index++) { pm 2360 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[v_index].v) { pm 2362 drivers/gpu/drm/radeon/ci_dpm.c if ((u32)v_index < rdev->pm.dpm.dyn_state.cac_leakage_table.count) pm 2365 drivers/gpu/drm/radeon/ci_dpm.c idx = rdev->pm.dpm.dyn_state.cac_leakage_table.count - 1; pm 2367 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries[idx].vddc * VOLTAGE_SCALE; pm 2369 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries[idx].leakage * VOLTAGE_SCALE; pm 2593 drivers/gpu/drm/radeon/ci_dpm.c for (level = 0; level < rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; level++) { pm 2594 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[level].clk >= pm 2601 drivers/gpu/drm/radeon/ci_dpm.c for (level = 0; level < rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk.count; level++) { pm 2602 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk.entries[level].clk >= pm 2656 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count; pm 2660 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[count].vclk; pm 2662 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[count].dclk; pm 2664 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[count].v * VOLTAGE_SCALE; pm 2699 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.count; pm 2703 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[count].evclk; pm 2705 drivers/gpu/drm/radeon/ci_dpm.c (u16)rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[count].v * VOLTAGE_SCALE; pm 2732 drivers/gpu/drm/radeon/ci_dpm.c (rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.count); pm 2736 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[count].clk; pm 2738 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[count].v; pm 2764 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.count; pm 2768 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[count].clk; pm 2770 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[count].v * VOLTAGE_SCALE; pm 2883 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk.entries) { pm 2885 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 2891 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk.entries) { pm 2893 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 2899 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.mvdd_dependency_on_mclk.entries) { pm 2901 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.mvdd_dependency_on_mclk, pm 2911 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.phase_shedding_limits_table, pm 2933 drivers/gpu/drm/radeon/ci_dpm.c (rdev->pm.dpm.new_active_crtc_count <= 2)) pm 3126 drivers/gpu/drm/radeon/ci_dpm.c u16 ulv_voltage = rdev->pm.dpm.backbias_response_time; pm 3137 drivers/gpu/drm/radeon/ci_dpm.c if (ulv_voltage > rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[0].v) pm 3141 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[0].v - ulv_voltage; pm 3143 drivers/gpu/drm/radeon/ci_dpm.c if (ulv_voltage > rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[0].v) pm 3147 drivers/gpu/drm/radeon/ci_dpm.c ((rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[0].v - ulv_voltage) * pm 3228 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk, pm 3240 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.phase_shedding_limits_table, pm 3445 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 3447 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk; pm 3449 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.cac_leakage_table; pm 3514 drivers/gpu/drm/radeon/ci_dpm.c allowed_mclk_table = &rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk; pm 3524 drivers/gpu/drm/radeon/ci_dpm.c allowed_mclk_table = &rdev->pm.dpm.dyn_state.mvdd_dependency_on_mclk; pm 3559 drivers/gpu/drm/radeon/ci_dpm.c struct radeon_ps *radeon_boot_state = rdev->pm.dpm.boot_ps; pm 3572 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_HARDWAREDC) pm 3575 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_STEPVDDC) pm 3786 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk; pm 3788 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 3892 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.current_active_crtc_count != pm 3893 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.new_active_crtc_count) pm 3937 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.ac_power) pm 3938 drivers/gpu/drm/radeon/ci_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 3940 drivers/gpu/drm/radeon/ci_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; pm 3945 drivers/gpu/drm/radeon/ci_dpm.c for (i = rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count - 1; i >= 0; i--) { pm 3946 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) { pm 3986 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.ac_power) pm 3987 drivers/gpu/drm/radeon/ci_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 3989 drivers/gpu/drm/radeon/ci_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; pm 3993 drivers/gpu/drm/radeon/ci_dpm.c for (i = rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.count - 1; i >= 0; i--) { pm 3994 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) { pm 4019 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.ac_power) pm 4020 drivers/gpu/drm/radeon/ci_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 4022 drivers/gpu/drm/radeon/ci_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; pm 4026 drivers/gpu/drm/radeon/ci_dpm.c for (i = rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.count - 1; i >= 0; i--) { pm 4027 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) { pm 4050 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.ac_power) pm 4051 drivers/gpu/drm/radeon/ci_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 4053 drivers/gpu/drm/radeon/ci_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; pm 4057 drivers/gpu/drm/radeon/ci_dpm.c for (i = rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.count - 1; i >= 0; i--) { pm 4058 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) { pm 4084 drivers/gpu/drm/radeon/ci_dpm.c (rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count <= 0)) pm 4088 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count - 1; pm 4104 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; pm 4331 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.forced_level = level; pm 4921 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 4923 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk; pm 4925 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk; pm 4948 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.sclk = pm 4950 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.mclk = pm 4952 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.vddc = pm 4954 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.vddci = pm 5067 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk); pm 5069 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk); pm 5071 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk); pm 5073 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk); pm 5075 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table); pm 5077 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table); pm 5079 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table); pm 5081 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table); pm 5083 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.phase_shedding_limits_table); pm 5085 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac); pm 5087 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc); pm 5089 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.dyn_state.cac_leakage_table); pm 5133 drivers/gpu/drm/radeon/ci_dpm.c struct radeon_ps requested_ps = *rdev->pm.dpm.requested_ps; pm 5168 drivers/gpu/drm/radeon/ci_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 5323 drivers/gpu/drm/radeon/ci_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 5469 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.boot_ps = rps; pm 5471 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.uvd_ps = rps; pm 5575 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, pm 5578 drivers/gpu/drm/radeon/ci_dpm.c if (!rdev->pm.dpm.ps) pm 5587 drivers/gpu/drm/radeon/ci_dpm.c if (!rdev->pm.power_state[i].clock_info) pm 5591 drivers/gpu/drm/radeon/ci_dpm.c kfree(rdev->pm.dpm.ps); pm 5594 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.ps[i].ps_priv = ps; pm 5595 drivers/gpu/drm/radeon/ci_dpm.c ci_parse_pplib_non_clock_info(rdev, &rdev->pm.dpm.ps[i], pm 5610 drivers/gpu/drm/radeon/ci_dpm.c &rdev->pm.dpm.ps[i], k, pm 5616 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.num_ps = state_array->ucNumEntries; pm 5621 drivers/gpu/drm/radeon/ci_dpm.c clock_array_index = rdev->pm.dpm.vce_states[i].clk_idx; pm 5628 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.vce_states[i].sclk = sclk; pm 5629 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.vce_states[i].mclk = mclk; pm 5666 drivers/gpu/drm/radeon/ci_dpm.c for (i = 0; i < rdev->pm.dpm.num_ps; i++) { pm 5667 drivers/gpu/drm/radeon/ci_dpm.c kfree(rdev->pm.dpm.ps[i].ps_priv); pm 5669 drivers/gpu/drm/radeon/ci_dpm.c kfree(rdev->pm.dpm.ps); pm 5670 drivers/gpu/drm/radeon/ci_dpm.c kfree(rdev->pm.dpm.priv); pm 5671 drivers/gpu/drm/radeon/ci_dpm.c kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries); pm 5690 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.priv = pi; pm 5788 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries = pm 5792 drivers/gpu/drm/radeon/ci_dpm.c if (!rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries) { pm 5796 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count = 4; pm 5797 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[0].clk = 0; pm 5798 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[0].v = 0; pm 5799 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[1].clk = 36000; pm 5800 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[1].v = 720; pm 5801 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[2].clk = 54000; pm 5802 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[2].v = 810; pm 5803 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[3].clk = 72000; pm 5804 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[3].v = 900; pm 5806 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.mclk_sclk_ratio = 4; pm 5807 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.sclk_mclk_delta = 15000; pm 5808 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.vddc_vddci_delta = 200; pm 5810 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.valid_sclk_values.count = 0; pm 5811 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.valid_sclk_values.values = NULL; pm 5812 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.valid_mclk_values.count = 0; pm 5813 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.valid_mclk_values.values = NULL; pm 5832 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.platform_caps |= ATOM_PP_PLATFORM_CAP_REGULATOR_HOT; pm 5835 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.platform_caps &= ~ATOM_PP_PLATFORM_CAP_REGULATOR_HOT; pm 5841 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.platform_caps |= ATOM_PP_PLATFORM_CAP_HARDWAREDC; pm 5844 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.platform_caps &= ~ATOM_PP_PLATFORM_CAP_HARDWAREDC; pm 5884 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_VDDCI_CONTROL) { pm 5890 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.platform_caps &= ~ATOM_PP_PLATFORM_CAP_VDDCI_CONTROL; pm 5893 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_MVDDCONTROL) { pm 5899 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.platform_caps &= ~ATOM_PP_PLATFORM_CAP_MVDDCONTROL; pm 5922 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.int_thermal_type != THERMAL_TYPE_NONE) pm 5932 drivers/gpu/drm/radeon/ci_dpm.c if ((rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.sclk == 0) || pm 5933 drivers/gpu/drm/radeon/ci_dpm.c (rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.mclk == 0)) pm 5934 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc = pm 5935 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 7604 drivers/gpu/drm/radeon/cik.c rdev->pm.vblank_sync = true; pm 7634 drivers/gpu/drm/radeon/cik.c rdev->pm.vblank_sync = true; pm 7664 drivers/gpu/drm/radeon/cik.c rdev->pm.vblank_sync = true; pm 7694 drivers/gpu/drm/radeon/cik.c rdev->pm.vblank_sync = true; pm 7724 drivers/gpu/drm/radeon/cik.c rdev->pm.vblank_sync = true; pm 7754 drivers/gpu/drm/radeon/cik.c rdev->pm.vblank_sync = true; pm 8044 drivers/gpu/drm/radeon/cik.c rdev->pm.dpm.thermal.high_to_low = false; pm 8049 drivers/gpu/drm/radeon/cik.c rdev->pm.dpm.thermal.high_to_low = true; pm 8113 drivers/gpu/drm/radeon/cik.c schedule_work(&rdev->pm.dpm.thermal.work); pm 8313 drivers/gpu/drm/radeon/cik.c if (!(rdev->flags & RADEON_IS_IGP) && !rdev->pm.dpm_enabled) { pm 8507 drivers/gpu/drm/radeon/cik.c if (rdev->pm.pm_method == PM_METHOD_DPM) pm 9269 drivers/gpu/drm/radeon/cik.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && pm 9270 drivers/gpu/drm/radeon/cik.c rdev->pm.dpm_enabled) { pm 9276 drivers/gpu/drm/radeon/cik.c wm_high.yclk = rdev->pm.current_mclk * 10; pm 9277 drivers/gpu/drm/radeon/cik.c wm_high.sclk = rdev->pm.current_sclk * 10; pm 9309 drivers/gpu/drm/radeon/cik.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && pm 9310 drivers/gpu/drm/radeon/cik.c rdev->pm.dpm_enabled) { pm 9316 drivers/gpu/drm/radeon/cik.c wm_low.yclk = rdev->pm.current_mclk * 10; pm 9317 drivers/gpu/drm/radeon/cik.c wm_low.sclk = rdev->pm.current_sclk * 10; pm 1623 drivers/gpu/drm/radeon/cypress_dpm.c switch (rdev->pm.int_thermal_type) { pm 1636 drivers/gpu/drm/radeon/cypress_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_HARDWAREDC) pm 1639 drivers/gpu/drm/radeon/cypress_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_REGULATOR_HOT) pm 1642 drivers/gpu/drm/radeon/cypress_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_STEPVDDC) pm 1749 drivers/gpu/drm/radeon/cypress_dpm.c if (rdev->pm.dpm.new_active_crtc_count > 0) pm 1754 drivers/gpu/drm/radeon/cypress_dpm.c if (rdev->pm.dpm.new_active_crtc_count > 1) pm 1764 drivers/gpu/drm/radeon/cypress_dpm.c if ((rdev->pm.dpm.new_active_crtc_count > 0) && pm 1765 drivers/gpu/drm/radeon/cypress_dpm.c (!(rdev->pm.dpm.new_active_crtcs & (1 << pipe)))) { pm 1768 drivers/gpu/drm/radeon/cypress_dpm.c if (rdev->pm.dpm.new_active_crtcs & (1 << i)) pm 1781 drivers/gpu/drm/radeon/cypress_dpm.c cypress_notify_smc_display_change(rdev, rdev->pm.dpm.new_active_crtc_count > 0); pm 1808 drivers/gpu/drm/radeon/cypress_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 1843 drivers/gpu/drm/radeon/cypress_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_BACKBIAS) pm 1919 drivers/gpu/drm/radeon/cypress_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 1933 drivers/gpu/drm/radeon/cypress_dpm.c r600_is_internal_thermal_sensor(rdev->pm.int_thermal_type)) { pm 1958 drivers/gpu/drm/radeon/cypress_dpm.c struct radeon_ps *new_ps = rdev->pm.dpm.requested_ps; pm 1959 drivers/gpu/drm/radeon/cypress_dpm.c struct radeon_ps *old_ps = rdev->pm.dpm.current_ps; pm 2032 drivers/gpu/drm/radeon/cypress_dpm.c rdev->pm.dpm.priv = eg_pi; pm 2051 drivers/gpu/drm/radeon/cypress_dpm.c if (rdev->pm.dpm.voltage_response_time == 0) pm 2052 drivers/gpu/drm/radeon/cypress_dpm.c rdev->pm.dpm.voltage_response_time = R600_VOLTAGERESPONSETIME_DFLT; pm 2053 drivers/gpu/drm/radeon/cypress_dpm.c if (rdev->pm.dpm.backbias_response_time == 0) pm 2054 drivers/gpu/drm/radeon/cypress_dpm.c rdev->pm.dpm.backbias_response_time = R600_BACKBIASRESPONSETIME_DFLT; pm 2102 drivers/gpu/drm/radeon/cypress_dpm.c if (rdev->pm.int_thermal_type != THERMAL_TYPE_NONE) pm 2147 drivers/gpu/drm/radeon/cypress_dpm.c for (i = 0; i < rdev->pm.dpm.num_ps; i++) { pm 2148 drivers/gpu/drm/radeon/cypress_dpm.c kfree(rdev->pm.dpm.ps[i].ps_priv); pm 2150 drivers/gpu/drm/radeon/cypress_dpm.c kfree(rdev->pm.dpm.ps); pm 2151 drivers/gpu/drm/radeon/cypress_dpm.c kfree(rdev->pm.dpm.priv); pm 1512 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 1513 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 1514 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_cm_idx = 0; pm 1515 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_cm_idx = 0; pm 1523 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_ps_idx = idx; pm 1524 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_ps_idx = idx; pm 1525 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_cm_idx = 0; pm 1526 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_cm_idx = 0; pm 1528 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_ps_idx = idx; pm 1529 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_ps_idx = idx; pm 1530 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_cm_idx = 0; pm 1531 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_cm_idx = 0; pm 1533 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_ps_idx = idx; pm 1534 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_ps_idx = idx; pm 1535 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_cm_idx = 0; pm 1536 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_cm_idx = 0; pm 1538 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_ps_idx = idx; pm 1539 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_ps_idx = idx; pm 1540 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_cm_idx = 0; pm 1541 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_cm_idx = 0; pm 1545 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_ps_idx = idx; pm 1546 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_ps_idx = idx; pm 1547 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_cm_idx = 0; pm 1548 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = pm 1549 drivers/gpu/drm/radeon/evergreen.c rdev->pm.power_state[idx].num_clock_modes - 1; pm 1551 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_ps_idx = idx; pm 1552 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_ps_idx = idx; pm 1553 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_cm_idx = 0; pm 1554 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = pm 1555 drivers/gpu/drm/radeon/evergreen.c rdev->pm.power_state[idx].num_clock_modes - 1; pm 1572 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 1573 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 1574 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_cm_idx = 0; pm 1575 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_cm_idx = 2; pm 1585 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_ps_idx = idx; pm 1586 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_ps_idx = idx; pm 1587 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_cm_idx = 0; pm 1588 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_cm_idx = 0; pm 1590 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_ps_idx = idx; pm 1591 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_ps_idx = idx; pm 1592 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_cm_idx = 0; pm 1593 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_cm_idx = 1; pm 1595 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_ps_idx = idx; pm 1596 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_ps_idx = idx; pm 1597 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_cm_idx = 0; pm 1598 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = 2; pm 1600 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_ps_idx = idx; pm 1601 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_ps_idx = idx; pm 1602 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_cm_idx = 0; pm 1603 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_cm_idx = 0; pm 1605 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_ps_idx = idx; pm 1606 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_ps_idx = idx; pm 1607 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_cm_idx = 0; pm 1608 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_cm_idx = 1; pm 1610 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_ps_idx = idx; pm 1611 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_ps_idx = idx; pm 1612 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_cm_idx = 0; pm 1613 drivers/gpu/drm/radeon/evergreen.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = 2; pm 1626 drivers/gpu/drm/radeon/evergreen.c int req_ps_idx = rdev->pm.requested_power_state_index; pm 1627 drivers/gpu/drm/radeon/evergreen.c int req_cm_idx = rdev->pm.requested_clock_mode_index; pm 1628 drivers/gpu/drm/radeon/evergreen.c struct radeon_power_state *ps = &rdev->pm.power_state[req_ps_idx]; pm 1635 drivers/gpu/drm/radeon/evergreen.c if (voltage->voltage && (voltage->voltage != rdev->pm.current_vddc)) { pm 1637 drivers/gpu/drm/radeon/evergreen.c rdev->pm.current_vddc = voltage->voltage; pm 1645 drivers/gpu/drm/radeon/evergreen.c if ((rdev->pm.pm_method == PM_METHOD_PROFILE) && pm 1647 drivers/gpu/drm/radeon/evergreen.c rdev->pm.active_crtc_count && pm 1648 drivers/gpu/drm/radeon/evergreen.c ((rdev->pm.profile_index == PM_PROFILE_MID_MH_IDX) || pm 1649 drivers/gpu/drm/radeon/evergreen.c (rdev->pm.profile_index == PM_PROFILE_LOW_MH_IDX))) pm 1650 drivers/gpu/drm/radeon/evergreen.c voltage = &rdev->pm.power_state[req_ps_idx]. pm 1651 drivers/gpu/drm/radeon/evergreen.c clock_info[rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx].voltage; pm 1656 drivers/gpu/drm/radeon/evergreen.c if (voltage->vddci && (voltage->vddci != rdev->pm.current_vddci)) { pm 1658 drivers/gpu/drm/radeon/evergreen.c rdev->pm.current_vddci = voltage->vddci; pm 2180 drivers/gpu/drm/radeon/evergreen.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { pm 2186 drivers/gpu/drm/radeon/evergreen.c wm_high.yclk = rdev->pm.current_mclk * 10; pm 2187 drivers/gpu/drm/radeon/evergreen.c wm_high.sclk = rdev->pm.current_sclk * 10; pm 2207 drivers/gpu/drm/radeon/evergreen.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { pm 2213 drivers/gpu/drm/radeon/evergreen.c wm_low.yclk = rdev->pm.current_mclk * 10; pm 2214 drivers/gpu/drm/radeon/evergreen.c wm_low.sclk = rdev->pm.current_sclk * 10; pm 4758 drivers/gpu/drm/radeon/evergreen.c rdev->pm.vblank_sync = true; pm 4886 drivers/gpu/drm/radeon/evergreen.c rdev->pm.dpm.thermal.high_to_low = false; pm 4891 drivers/gpu/drm/radeon/evergreen.c rdev->pm.dpm.thermal.high_to_low = true; pm 4919 drivers/gpu/drm/radeon/evergreen.c if (queue_thermal && rdev->pm.dpm_enabled) pm 4920 drivers/gpu/drm/radeon/evergreen.c schedule_work(&rdev->pm.dpm.thermal.work); pm 5016 drivers/gpu/drm/radeon/evergreen.c if (ASIC_IS_DCE5(rdev) && !rdev->pm.dpm_enabled) { pm 5138 drivers/gpu/drm/radeon/evergreen.c if (rdev->pm.pm_method == PM_METHOD_DPM) pm 253 drivers/gpu/drm/radeon/kv_dpm.c struct kv_power_info *pi = rdev->pm.dpm.priv; pm 558 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 580 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 721 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 823 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table; pm 896 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; pm 957 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table; pm 1023 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table; pm 1082 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 1282 drivers/gpu/drm/radeon/kv_dpm.c kv_update_current_ps(rdev, rdev->pm.dpm.boot_ps); pm 1292 drivers/gpu/drm/radeon/kv_dpm.c r600_is_internal_thermal_sensor(rdev->pm.int_thermal_type)) { pm 1331 drivers/gpu/drm/radeon/kv_dpm.c kv_update_current_ps(rdev, rdev->pm.dpm.boot_ps); pm 1429 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table; pm 1465 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; pm 1481 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; pm 1522 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table; pm 1553 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table; pm 1586 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table; pm 1714 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 1834 drivers/gpu/drm/radeon/kv_dpm.c rdev->pm.dpm.forced_level = level; pm 1842 drivers/gpu/drm/radeon/kv_dpm.c struct radeon_ps requested_ps = *rdev->pm.dpm.requested_ps; pm 1862 drivers/gpu/drm/radeon/kv_dpm.c ret = kv_smc_bapm_enable(rdev, rdev->pm.dpm.ac_power); pm 1989 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table; pm 1991 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; pm 1993 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table; pm 1995 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table; pm 2109 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 2150 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 2153 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 2156 drivers/gpu/drm/radeon/kv_dpm.c new_rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; pm 2157 drivers/gpu/drm/radeon/kv_dpm.c new_rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; pm 2183 drivers/gpu/drm/radeon/kv_dpm.c if (sclk < rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].sclk) pm 2184 drivers/gpu/drm/radeon/kv_dpm.c sclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].sclk; pm 2245 drivers/gpu/drm/radeon/kv_dpm.c pi->video_start || (rdev->pm.dpm.new_active_crtc_count >= 3) || pm 2287 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 2304 drivers/gpu/drm/radeon/kv_dpm.c (rdev->pm.dpm.new_active_crtc_count >= 3) || pi->video_start); pm 2354 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk; pm 2475 drivers/gpu/drm/radeon/kv_dpm.c rdev->pm.dpm.thermal.min_temp = low_temp; pm 2476 drivers/gpu/drm/radeon/kv_dpm.c rdev->pm.dpm.thermal.max_temp = high_temp; pm 2549 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac); pm 2604 drivers/gpu/drm/radeon/kv_dpm.c rdev->pm.dpm.boot_ps = rps; pm 2608 drivers/gpu/drm/radeon/kv_dpm.c rdev->pm.dpm.uvd_ps = rps; pm 2665 drivers/gpu/drm/radeon/kv_dpm.c rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, pm 2668 drivers/gpu/drm/radeon/kv_dpm.c if (!rdev->pm.dpm.ps) pm 2677 drivers/gpu/drm/radeon/kv_dpm.c if (!rdev->pm.power_state[i].clock_info) pm 2681 drivers/gpu/drm/radeon/kv_dpm.c kfree(rdev->pm.dpm.ps); pm 2684 drivers/gpu/drm/radeon/kv_dpm.c rdev->pm.dpm.ps[i].ps_priv = ps; pm 2697 drivers/gpu/drm/radeon/kv_dpm.c &rdev->pm.dpm.ps[i], k, pm 2701 drivers/gpu/drm/radeon/kv_dpm.c kv_parse_pplib_non_clock_info(rdev, &rdev->pm.dpm.ps[i], pm 2706 drivers/gpu/drm/radeon/kv_dpm.c rdev->pm.dpm.num_ps = state_array->ucNumEntries; pm 2711 drivers/gpu/drm/radeon/kv_dpm.c clock_array_index = rdev->pm.dpm.vce_states[i].clk_idx; pm 2716 drivers/gpu/drm/radeon/kv_dpm.c rdev->pm.dpm.vce_states[i].sclk = sclk; pm 2717 drivers/gpu/drm/radeon/kv_dpm.c rdev->pm.dpm.vce_states[i].mclk = 0; pm 2731 drivers/gpu/drm/radeon/kv_dpm.c rdev->pm.dpm.priv = pi; pm 2871 drivers/gpu/drm/radeon/kv_dpm.c for (i = 0; i < rdev->pm.dpm.num_ps; i++) { pm 2872 drivers/gpu/drm/radeon/kv_dpm.c kfree(rdev->pm.dpm.ps[i].ps_priv); pm 2874 drivers/gpu/drm/radeon/kv_dpm.c kfree(rdev->pm.dpm.ps); pm 2875 drivers/gpu/drm/radeon/kv_dpm.c kfree(rdev->pm.dpm.priv); pm 2175 drivers/gpu/drm/radeon/ni.c if (!(rdev->flags & RADEON_IS_IGP) && !rdev->pm.dpm_enabled) { pm 2318 drivers/gpu/drm/radeon/ni.c if (rdev->pm.pm_method == PM_METHOD_DPM) pm 730 drivers/gpu/drm/radeon/ni_dpm.c struct ni_power_info *pi = rdev->pm.dpm.priv; pm 797 drivers/gpu/drm/radeon/ni_dpm.c if ((rdev->pm.dpm.new_active_crtc_count > 1) || pm 803 drivers/gpu/drm/radeon/ni_dpm.c if (rdev->pm.dpm.ac_power) pm 804 drivers/gpu/drm/radeon/ni_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 806 drivers/gpu/drm/radeon/ni_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; pm 808 drivers/gpu/drm/radeon/ni_dpm.c if (rdev->pm.dpm.ac_power == false) { pm 875 drivers/gpu/drm/radeon/ni_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk, pm 878 drivers/gpu/drm/radeon/ni_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 881 drivers/gpu/drm/radeon/ni_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 884 drivers/gpu/drm/radeon/ni_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk, pm 898 drivers/gpu/drm/radeon/ni_dpm.c if (ps->performance_levels[i].vddc > rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc) pm 901 drivers/gpu/drm/radeon/ni_dpm.c if (ps->performance_levels[i].vddc < rdev->pm.dpm.dyn_state.min_vddc_for_pcie_gen2) pm 1014 drivers/gpu/drm/radeon/ni_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk); pm 1017 drivers/gpu/drm/radeon/ni_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk); pm 1077 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.forced_level = level; pm 1230 drivers/gpu/drm/radeon/ni_dpm.c voltage_response_time = (u32)rdev->pm.dpm.voltage_response_time; pm 1231 drivers/gpu/drm/radeon/ni_dpm.c backbias_response_time = (u32)rdev->pm.dpm.backbias_response_time; pm 1348 drivers/gpu/drm/radeon/ni_dpm.c if (rdev->pm.dpm.dyn_state.cac_leakage_table.entries && pm 1349 drivers/gpu/drm/radeon/ni_dpm.c ((u32)voltage->index < rdev->pm.dpm.dyn_state.cac_leakage_table.count)) pm 1350 drivers/gpu/drm/radeon/ni_dpm.c *std_voltage = rdev->pm.dpm.dyn_state.cac_leakage_table.entries[voltage->index].vddc; pm 1440 drivers/gpu/drm/radeon/ni_dpm.c if (tdp_adjustment > (u32)rdev->pm.dpm.tdp_od_limit) pm 1444 drivers/gpu/drm/radeon/ni_dpm.c *tdp_limit = ((100 + tdp_adjustment) * rdev->pm.dpm.tdp_limit) / 100; pm 1445 drivers/gpu/drm/radeon/ni_dpm.c *near_tdp_limit = rdev->pm.dpm.near_tdp_limit + (*tdp_limit - rdev->pm.dpm.tdp_limit); pm 1447 drivers/gpu/drm/radeon/ni_dpm.c *tdp_limit = ((100 - tdp_adjustment) * rdev->pm.dpm.tdp_limit) / 100; pm 1448 drivers/gpu/drm/radeon/ni_dpm.c *near_tdp_limit = rdev->pm.dpm.near_tdp_limit - (rdev->pm.dpm.tdp_limit - *tdp_limit); pm 1475 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.tdp_adjustment, pm 1945 drivers/gpu/drm/radeon/ni_dpm.c struct radeon_ps *radeon_boot_state = rdev->pm.dpm.boot_ps; pm 1952 drivers/gpu/drm/radeon/ni_dpm.c switch (rdev->pm.int_thermal_type) { pm 1965 drivers/gpu/drm/radeon/ni_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_HARDWAREDC) pm 1968 drivers/gpu/drm/radeon/ni_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_REGULATOR_HOT) pm 1971 drivers/gpu/drm/radeon/ni_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_STEPVDDC) pm 2478 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.tdp_adjustment, pm 2553 drivers/gpu/drm/radeon/ni_dpm.c if (rdev->pm.dpm.sq_ramping_threshold == 0) pm 2575 drivers/gpu/drm/radeon/ni_dpm.c if ((state->performance_levels[i].sclk >= rdev->pm.dpm.sq_ramping_threshold) && pm 3098 drivers/gpu/drm/radeon/ni_dpm.c &rdev->pm.dpm.dyn_state.cac_leakage_table; pm 3165 drivers/gpu/drm/radeon/ni_dpm.c ni_pi->cac_data.i_leakage = rdev->pm.dpm.cac_leakage; pm 3589 drivers/gpu/drm/radeon/ni_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 3707 drivers/gpu/drm/radeon/ni_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 3722 drivers/gpu/drm/radeon/ni_dpm.c r600_is_internal_thermal_sensor(rdev->pm.int_thermal_type)) { pm 3743 drivers/gpu/drm/radeon/ni_dpm.c struct radeon_ps *new_ps = rdev->pm.dpm.requested_ps; pm 3768 drivers/gpu/drm/radeon/ni_dpm.c struct radeon_ps requested_ps = *rdev->pm.dpm.requested_ps; pm 3915 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.boot_ps = rps; pm 3917 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.uvd_ps = rps; pm 3978 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.sclk = pl->sclk; pm 3979 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.mclk = pl->mclk; pm 3980 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.vddc = pl->vddc; pm 3981 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.vddci = pl->vddci; pm 4003 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, pm 4006 drivers/gpu/drm/radeon/ni_dpm.c if (!rdev->pm.dpm.ps) pm 4023 drivers/gpu/drm/radeon/ni_dpm.c kfree(rdev->pm.dpm.ps); pm 4026 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.ps[i].ps_priv = ps; pm 4027 drivers/gpu/drm/radeon/ni_dpm.c ni_parse_pplib_non_clock_info(rdev, &rdev->pm.dpm.ps[i], pm 4037 drivers/gpu/drm/radeon/ni_dpm.c &rdev->pm.dpm.ps[i], j, pm 4042 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.num_ps = power_info->pplib.ucNumStates; pm 4057 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.priv = ni_pi; pm 4080 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries = pm 4084 drivers/gpu/drm/radeon/ni_dpm.c if (!rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries) { pm 4088 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count = 4; pm 4089 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[0].clk = 0; pm 4090 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[0].v = 0; pm 4091 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[1].clk = 36000; pm 4092 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[1].v = 720; pm 4093 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[2].clk = 54000; pm 4094 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[2].v = 810; pm 4095 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[3].clk = 72000; pm 4096 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[3].v = 900; pm 4100 drivers/gpu/drm/radeon/ni_dpm.c if (rdev->pm.dpm.voltage_response_time == 0) pm 4101 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.voltage_response_time = R600_VOLTAGERESPONSETIME_DFLT; pm 4102 drivers/gpu/drm/radeon/ni_dpm.c if (rdev->pm.dpm.backbias_response_time == 0) pm 4103 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.backbias_response_time = R600_BACKBIASRESPONSETIME_DFLT; pm 4166 drivers/gpu/drm/radeon/ni_dpm.c if (rdev->pm.int_thermal_type != THERMAL_TYPE_NONE) pm 4197 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.mclk_sclk_ratio = 3; pm 4198 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.vddc_vddci_delta = 200; pm 4199 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.min_vddc_for_pcie_gen2 = 900; pm 4200 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.valid_sclk_values.count = ARRAY_SIZE(btc_valid_sclk); pm 4201 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.valid_sclk_values.values = btc_valid_sclk; pm 4202 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.valid_mclk_values.count = 0; pm 4203 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.valid_mclk_values.values = NULL; pm 4204 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.sclk_mclk_delta = 12500; pm 4261 drivers/gpu/drm/radeon/ni_dpm.c if ((rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.sclk == 0) || pm 4262 drivers/gpu/drm/radeon/ni_dpm.c (rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.mclk == 0)) pm 4263 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc = pm 4264 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 4273 drivers/gpu/drm/radeon/ni_dpm.c for (i = 0; i < rdev->pm.dpm.num_ps; i++) { pm 4274 drivers/gpu/drm/radeon/ni_dpm.c kfree(rdev->pm.dpm.ps[i].ps_priv); pm 4276 drivers/gpu/drm/radeon/ni_dpm.c kfree(rdev->pm.dpm.ps); pm 4277 drivers/gpu/drm/radeon/ni_dpm.c kfree(rdev->pm.dpm.priv); pm 4278 drivers/gpu/drm/radeon/ni_dpm.c kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries); pm 216 drivers/gpu/drm/radeon/r100.c rdev->pm.dynpm_can_upclock = true; pm 217 drivers/gpu/drm/radeon/r100.c rdev->pm.dynpm_can_downclock = true; pm 219 drivers/gpu/drm/radeon/r100.c switch (rdev->pm.dynpm_planned_action) { pm 221 drivers/gpu/drm/radeon/r100.c rdev->pm.requested_power_state_index = 0; pm 222 drivers/gpu/drm/radeon/r100.c rdev->pm.dynpm_can_downclock = false; pm 225 drivers/gpu/drm/radeon/r100.c if (rdev->pm.current_power_state_index == 0) { pm 226 drivers/gpu/drm/radeon/r100.c rdev->pm.requested_power_state_index = rdev->pm.current_power_state_index; pm 227 drivers/gpu/drm/radeon/r100.c rdev->pm.dynpm_can_downclock = false; pm 229 drivers/gpu/drm/radeon/r100.c if (rdev->pm.active_crtc_count > 1) { pm 230 drivers/gpu/drm/radeon/r100.c for (i = 0; i < rdev->pm.num_power_states; i++) { pm 231 drivers/gpu/drm/radeon/r100.c if (rdev->pm.power_state[i].flags & RADEON_PM_STATE_SINGLE_DISPLAY_ONLY) pm 233 drivers/gpu/drm/radeon/r100.c else if (i >= rdev->pm.current_power_state_index) { pm 234 drivers/gpu/drm/radeon/r100.c rdev->pm.requested_power_state_index = rdev->pm.current_power_state_index; pm 237 drivers/gpu/drm/radeon/r100.c rdev->pm.requested_power_state_index = i; pm 242 drivers/gpu/drm/radeon/r100.c rdev->pm.requested_power_state_index = pm 243 drivers/gpu/drm/radeon/r100.c rdev->pm.current_power_state_index - 1; pm 246 drivers/gpu/drm/radeon/r100.c if ((rdev->pm.active_crtc_count > 0) && pm 247 drivers/gpu/drm/radeon/r100.c (rdev->pm.power_state[rdev->pm.requested_power_state_index].clock_info[0].flags & pm 249 drivers/gpu/drm/radeon/r100.c rdev->pm.requested_power_state_index++; pm 253 drivers/gpu/drm/radeon/r100.c if (rdev->pm.current_power_state_index == (rdev->pm.num_power_states - 1)) { pm 254 drivers/gpu/drm/radeon/r100.c rdev->pm.requested_power_state_index = rdev->pm.current_power_state_index; pm 255 drivers/gpu/drm/radeon/r100.c rdev->pm.dynpm_can_upclock = false; pm 257 drivers/gpu/drm/radeon/r100.c if (rdev->pm.active_crtc_count > 1) { pm 258 drivers/gpu/drm/radeon/r100.c for (i = (rdev->pm.num_power_states - 1); i >= 0; i--) { pm 259 drivers/gpu/drm/radeon/r100.c if (rdev->pm.power_state[i].flags & RADEON_PM_STATE_SINGLE_DISPLAY_ONLY) pm 261 drivers/gpu/drm/radeon/r100.c else if (i <= rdev->pm.current_power_state_index) { pm 262 drivers/gpu/drm/radeon/r100.c rdev->pm.requested_power_state_index = rdev->pm.current_power_state_index; pm 265 drivers/gpu/drm/radeon/r100.c rdev->pm.requested_power_state_index = i; pm 270 drivers/gpu/drm/radeon/r100.c rdev->pm.requested_power_state_index = pm 271 drivers/gpu/drm/radeon/r100.c rdev->pm.current_power_state_index + 1; pm 275 drivers/gpu/drm/radeon/r100.c rdev->pm.requested_power_state_index = rdev->pm.default_power_state_index; pm 276 drivers/gpu/drm/radeon/r100.c rdev->pm.dynpm_can_upclock = false; pm 284 drivers/gpu/drm/radeon/r100.c rdev->pm.requested_clock_mode_index = 0; pm 287 drivers/gpu/drm/radeon/r100.c rdev->pm.power_state[rdev->pm.requested_power_state_index]. pm 288 drivers/gpu/drm/radeon/r100.c clock_info[rdev->pm.requested_clock_mode_index].sclk, pm 289 drivers/gpu/drm/radeon/r100.c rdev->pm.power_state[rdev->pm.requested_power_state_index]. pm 290 drivers/gpu/drm/radeon/r100.c clock_info[rdev->pm.requested_clock_mode_index].mclk, pm 291 drivers/gpu/drm/radeon/r100.c rdev->pm.power_state[rdev->pm.requested_power_state_index]. pm 307 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 308 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 309 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_cm_idx = 0; pm 310 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_cm_idx = 0; pm 312 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_ps_idx = 0; pm 313 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_ps_idx = 0; pm 314 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_cm_idx = 0; pm 315 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_cm_idx = 0; pm 317 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_ps_idx = 0; pm 318 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_ps_idx = 0; pm 319 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_cm_idx = 0; pm 320 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_cm_idx = 0; pm 322 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_ps_idx = 0; pm 323 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 324 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_cm_idx = 0; pm 325 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = 0; pm 327 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_ps_idx = 0; pm 328 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 329 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_cm_idx = 0; pm 330 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_cm_idx = 0; pm 332 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_ps_idx = 0; pm 333 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 334 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_cm_idx = 0; pm 335 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_cm_idx = 0; pm 337 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_ps_idx = 0; pm 338 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 339 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_cm_idx = 0; pm 340 drivers/gpu/drm/radeon/r100.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = 0; pm 353 drivers/gpu/drm/radeon/r100.c int requested_index = rdev->pm.requested_power_state_index; pm 354 drivers/gpu/drm/radeon/r100.c struct radeon_power_state *ps = &rdev->pm.power_state[requested_index]; pm 433 drivers/gpu/drm/radeon/r100.c rdev->asic->pm.set_pcie_lanes && pm 435 drivers/gpu/drm/radeon/r100.c rdev->pm.power_state[rdev->pm.current_power_state_index].pcie_lanes)) { pm 791 drivers/gpu/drm/radeon/r100.c rdev->pm.vblank_sync = true; pm 800 drivers/gpu/drm/radeon/r100.c rdev->pm.vblank_sync = true; pm 3261 drivers/gpu/drm/radeon/r100.c sclk_ff = rdev->pm.sclk; pm 3262 drivers/gpu/drm/radeon/r100.c mclk_ff = rdev->pm.mclk; pm 48 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 49 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 50 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_cm_idx = 0; pm 51 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_cm_idx = 0; pm 53 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_ps_idx = 0; pm 54 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_ps_idx = 0; pm 55 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_cm_idx = 0; pm 56 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_cm_idx = 0; pm 58 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_ps_idx = 0; pm 59 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_ps_idx = 1; pm 60 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_cm_idx = 0; pm 61 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_cm_idx = 0; pm 63 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_ps_idx = 0; pm 64 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 65 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_cm_idx = 0; pm 66 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = 0; pm 68 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_ps_idx = 0; pm 69 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 70 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_cm_idx = 0; pm 71 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_cm_idx = 0; pm 73 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_ps_idx = 0; pm 74 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 75 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_cm_idx = 0; pm 76 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_cm_idx = 0; pm 78 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_ps_idx = 0; pm 79 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 80 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_cm_idx = 0; pm 81 drivers/gpu/drm/radeon/r420.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = 0; pm 366 drivers/gpu/drm/radeon/r600.c rdev->pm.dynpm_can_upclock = true; pm 367 drivers/gpu/drm/radeon/r600.c rdev->pm.dynpm_can_downclock = true; pm 373 drivers/gpu/drm/radeon/r600.c if (rdev->pm.num_power_states > 2) pm 376 drivers/gpu/drm/radeon/r600.c switch (rdev->pm.dynpm_planned_action) { pm 378 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = min_power_state_index; pm 379 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_clock_mode_index = 0; pm 380 drivers/gpu/drm/radeon/r600.c rdev->pm.dynpm_can_downclock = false; pm 383 drivers/gpu/drm/radeon/r600.c if (rdev->pm.current_power_state_index == min_power_state_index) { pm 384 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = rdev->pm.current_power_state_index; pm 385 drivers/gpu/drm/radeon/r600.c rdev->pm.dynpm_can_downclock = false; pm 387 drivers/gpu/drm/radeon/r600.c if (rdev->pm.active_crtc_count > 1) { pm 388 drivers/gpu/drm/radeon/r600.c for (i = 0; i < rdev->pm.num_power_states; i++) { pm 389 drivers/gpu/drm/radeon/r600.c if (rdev->pm.power_state[i].flags & RADEON_PM_STATE_SINGLE_DISPLAY_ONLY) pm 391 drivers/gpu/drm/radeon/r600.c else if (i >= rdev->pm.current_power_state_index) { pm 392 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = pm 393 drivers/gpu/drm/radeon/r600.c rdev->pm.current_power_state_index; pm 396 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = i; pm 401 drivers/gpu/drm/radeon/r600.c if (rdev->pm.current_power_state_index == 0) pm 402 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = pm 403 drivers/gpu/drm/radeon/r600.c rdev->pm.num_power_states - 1; pm 405 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = pm 406 drivers/gpu/drm/radeon/r600.c rdev->pm.current_power_state_index - 1; pm 409 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_clock_mode_index = 0; pm 411 drivers/gpu/drm/radeon/r600.c if ((rdev->pm.active_crtc_count > 0) && pm 412 drivers/gpu/drm/radeon/r600.c (rdev->pm.power_state[rdev->pm.requested_power_state_index]. pm 413 drivers/gpu/drm/radeon/r600.c clock_info[rdev->pm.requested_clock_mode_index].flags & pm 415 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index++; pm 419 drivers/gpu/drm/radeon/r600.c if (rdev->pm.current_power_state_index == (rdev->pm.num_power_states - 1)) { pm 420 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = rdev->pm.current_power_state_index; pm 421 drivers/gpu/drm/radeon/r600.c rdev->pm.dynpm_can_upclock = false; pm 423 drivers/gpu/drm/radeon/r600.c if (rdev->pm.active_crtc_count > 1) { pm 424 drivers/gpu/drm/radeon/r600.c for (i = (rdev->pm.num_power_states - 1); i >= 0; i--) { pm 425 drivers/gpu/drm/radeon/r600.c if (rdev->pm.power_state[i].flags & RADEON_PM_STATE_SINGLE_DISPLAY_ONLY) pm 427 drivers/gpu/drm/radeon/r600.c else if (i <= rdev->pm.current_power_state_index) { pm 428 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = pm 429 drivers/gpu/drm/radeon/r600.c rdev->pm.current_power_state_index; pm 432 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = i; pm 437 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = pm 438 drivers/gpu/drm/radeon/r600.c rdev->pm.current_power_state_index + 1; pm 440 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_clock_mode_index = 0; pm 443 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = rdev->pm.default_power_state_index; pm 444 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_clock_mode_index = 0; pm 445 drivers/gpu/drm/radeon/r600.c rdev->pm.dynpm_can_upclock = false; pm 456 drivers/gpu/drm/radeon/r600.c if (rdev->pm.active_crtc_count > 1) { pm 457 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = -1; pm 459 drivers/gpu/drm/radeon/r600.c for (i = 1; i < rdev->pm.num_power_states; i++) { pm 460 drivers/gpu/drm/radeon/r600.c if (rdev->pm.power_state[i].flags & RADEON_PM_STATE_SINGLE_DISPLAY_ONLY) pm 462 drivers/gpu/drm/radeon/r600.c else if ((rdev->pm.power_state[i].type == POWER_STATE_TYPE_PERFORMANCE) || pm 463 drivers/gpu/drm/radeon/r600.c (rdev->pm.power_state[i].type == POWER_STATE_TYPE_BATTERY)) { pm 464 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = i; pm 469 drivers/gpu/drm/radeon/r600.c if (rdev->pm.requested_power_state_index == -1) pm 470 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = 0; pm 472 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = 1; pm 474 drivers/gpu/drm/radeon/r600.c switch (rdev->pm.dynpm_planned_action) { pm 476 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_clock_mode_index = 0; pm 477 drivers/gpu/drm/radeon/r600.c rdev->pm.dynpm_can_downclock = false; pm 480 drivers/gpu/drm/radeon/r600.c if (rdev->pm.requested_power_state_index == rdev->pm.current_power_state_index) { pm 481 drivers/gpu/drm/radeon/r600.c if (rdev->pm.current_clock_mode_index == 0) { pm 482 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_clock_mode_index = 0; pm 483 drivers/gpu/drm/radeon/r600.c rdev->pm.dynpm_can_downclock = false; pm 485 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_clock_mode_index = pm 486 drivers/gpu/drm/radeon/r600.c rdev->pm.current_clock_mode_index - 1; pm 488 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_clock_mode_index = 0; pm 489 drivers/gpu/drm/radeon/r600.c rdev->pm.dynpm_can_downclock = false; pm 492 drivers/gpu/drm/radeon/r600.c if ((rdev->pm.active_crtc_count > 0) && pm 493 drivers/gpu/drm/radeon/r600.c (rdev->pm.power_state[rdev->pm.requested_power_state_index]. pm 494 drivers/gpu/drm/radeon/r600.c clock_info[rdev->pm.requested_clock_mode_index].flags & pm 496 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_clock_mode_index++; pm 500 drivers/gpu/drm/radeon/r600.c if (rdev->pm.requested_power_state_index == rdev->pm.current_power_state_index) { pm 501 drivers/gpu/drm/radeon/r600.c if (rdev->pm.current_clock_mode_index == pm 502 drivers/gpu/drm/radeon/r600.c (rdev->pm.power_state[rdev->pm.requested_power_state_index].num_clock_modes - 1)) { pm 503 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_clock_mode_index = rdev->pm.current_clock_mode_index; pm 504 drivers/gpu/drm/radeon/r600.c rdev->pm.dynpm_can_upclock = false; pm 506 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_clock_mode_index = pm 507 drivers/gpu/drm/radeon/r600.c rdev->pm.current_clock_mode_index + 1; pm 509 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_clock_mode_index = pm 510 drivers/gpu/drm/radeon/r600.c rdev->pm.power_state[rdev->pm.requested_power_state_index].num_clock_modes - 1; pm 511 drivers/gpu/drm/radeon/r600.c rdev->pm.dynpm_can_upclock = false; pm 515 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_power_state_index = rdev->pm.default_power_state_index; pm 516 drivers/gpu/drm/radeon/r600.c rdev->pm.requested_clock_mode_index = 0; pm 517 drivers/gpu/drm/radeon/r600.c rdev->pm.dynpm_can_upclock = false; pm 527 drivers/gpu/drm/radeon/r600.c rdev->pm.power_state[rdev->pm.requested_power_state_index]. pm 528 drivers/gpu/drm/radeon/r600.c clock_info[rdev->pm.requested_clock_mode_index].sclk, pm 529 drivers/gpu/drm/radeon/r600.c rdev->pm.power_state[rdev->pm.requested_power_state_index]. pm 530 drivers/gpu/drm/radeon/r600.c clock_info[rdev->pm.requested_clock_mode_index].mclk, pm 531 drivers/gpu/drm/radeon/r600.c rdev->pm.power_state[rdev->pm.requested_power_state_index]. pm 537 drivers/gpu/drm/radeon/r600.c if (rdev->pm.num_power_states == 2) { pm 539 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 540 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 541 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_cm_idx = 0; pm 542 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_cm_idx = 0; pm 544 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_ps_idx = 0; pm 545 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_ps_idx = 0; pm 546 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_cm_idx = 0; pm 547 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_cm_idx = 0; pm 549 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_ps_idx = 0; pm 550 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_ps_idx = 0; pm 551 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_cm_idx = 0; pm 552 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_cm_idx = 0; pm 554 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_ps_idx = 0; pm 555 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_ps_idx = 1; pm 556 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_cm_idx = 0; pm 557 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = 0; pm 559 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_ps_idx = 0; pm 560 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_ps_idx = 0; pm 561 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_cm_idx = 0; pm 562 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_cm_idx = 0; pm 564 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_ps_idx = 0; pm 565 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_ps_idx = 0; pm 566 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_cm_idx = 0; pm 567 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_cm_idx = 0; pm 569 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_ps_idx = 0; pm 570 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_ps_idx = 1; pm 571 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_cm_idx = 0; pm 572 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = 0; pm 573 drivers/gpu/drm/radeon/r600.c } else if (rdev->pm.num_power_states == 3) { pm 575 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 576 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 577 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_cm_idx = 0; pm 578 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_cm_idx = 0; pm 580 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_ps_idx = 1; pm 581 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_ps_idx = 1; pm 582 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_cm_idx = 0; pm 583 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_cm_idx = 0; pm 585 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_ps_idx = 1; pm 586 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_ps_idx = 1; pm 587 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_cm_idx = 0; pm 588 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_cm_idx = 0; pm 590 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_ps_idx = 1; pm 591 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_ps_idx = 2; pm 592 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_cm_idx = 0; pm 593 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = 0; pm 595 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_ps_idx = 1; pm 596 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_ps_idx = 1; pm 597 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_cm_idx = 0; pm 598 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_cm_idx = 0; pm 600 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_ps_idx = 1; pm 601 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_ps_idx = 1; pm 602 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_cm_idx = 0; pm 603 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_cm_idx = 0; pm 605 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_ps_idx = 1; pm 606 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_ps_idx = 2; pm 607 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_cm_idx = 0; pm 608 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = 0; pm 611 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 612 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 613 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_cm_idx = 0; pm 614 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_cm_idx = 0; pm 616 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_ps_idx = 2; pm 617 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_ps_idx = 2; pm 618 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_cm_idx = 0; pm 619 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_cm_idx = 0; pm 621 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_ps_idx = 2; pm 622 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_ps_idx = 2; pm 623 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_cm_idx = 0; pm 624 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_cm_idx = 0; pm 626 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_ps_idx = 2; pm 627 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_ps_idx = 3; pm 628 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_cm_idx = 0; pm 629 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = 0; pm 631 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_ps_idx = 2; pm 632 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_ps_idx = 0; pm 633 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_cm_idx = 0; pm 634 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_cm_idx = 0; pm 636 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_ps_idx = 2; pm 637 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_ps_idx = 0; pm 638 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_cm_idx = 0; pm 639 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_cm_idx = 0; pm 641 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_ps_idx = 2; pm 642 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_ps_idx = 3; pm 643 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_cm_idx = 0; pm 644 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = 0; pm 655 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 656 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 657 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_cm_idx = 0; pm 658 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_cm_idx = 0; pm 660 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 661 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 662 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_cm_idx = 0; pm 663 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_cm_idx = 0; pm 665 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 666 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 667 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_cm_idx = 0; pm 668 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_cm_idx = 0; pm 670 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 671 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 672 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_cm_idx = 0; pm 673 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = 0; pm 675 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 676 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 677 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_cm_idx = 0; pm 678 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_cm_idx = 0; pm 680 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 681 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 682 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_cm_idx = 0; pm 683 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_cm_idx = 0; pm 685 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 686 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 687 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_cm_idx = 0; pm 688 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = 0; pm 690 drivers/gpu/drm/radeon/r600.c if (rdev->pm.num_power_states < 4) { pm 692 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 693 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 694 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_cm_idx = 0; pm 695 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_cm_idx = 2; pm 697 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_ps_idx = 1; pm 698 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_ps_idx = 1; pm 699 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_cm_idx = 0; pm 700 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_cm_idx = 0; pm 702 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_ps_idx = 1; pm 703 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_ps_idx = 1; pm 704 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_cm_idx = 0; pm 705 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_cm_idx = 1; pm 707 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_ps_idx = 1; pm 708 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_ps_idx = 1; pm 709 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_cm_idx = 0; pm 710 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = 2; pm 712 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_ps_idx = 2; pm 713 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_ps_idx = 2; pm 714 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_cm_idx = 0; pm 715 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_cm_idx = 0; pm 717 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_ps_idx = 2; pm 718 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_ps_idx = 2; pm 719 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_cm_idx = 0; pm 720 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_cm_idx = 1; pm 722 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_ps_idx = 2; pm 723 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_ps_idx = 2; pm 724 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_cm_idx = 0; pm 725 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = 2; pm 728 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index; pm 729 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index; pm 730 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_cm_idx = 0; pm 731 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_cm_idx = 2; pm 737 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_ps_idx = idx; pm 738 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_ps_idx = idx; pm 739 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_cm_idx = 0; pm 740 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_cm_idx = 0; pm 742 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_ps_idx = idx; pm 743 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_ps_idx = idx; pm 744 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_off_cm_idx = 0; pm 745 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_SH_IDX].dpms_on_cm_idx = 1; pm 748 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_ps_idx = idx; pm 749 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_ps_idx = idx; pm 750 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_cm_idx = 0; pm 751 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = 2; pm 757 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_ps_idx = idx; pm 758 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_ps_idx = idx; pm 759 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_off_cm_idx = 0; pm 760 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_LOW_MH_IDX].dpms_on_cm_idx = 0; pm 762 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_ps_idx = idx; pm 763 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_ps_idx = idx; pm 764 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_off_cm_idx = 0; pm 765 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_MID_MH_IDX].dpms_on_cm_idx = 1; pm 768 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_ps_idx = idx; pm 769 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_ps_idx = idx; pm 770 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_cm_idx = 0; pm 771 drivers/gpu/drm/radeon/r600.c rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = 2; pm 778 drivers/gpu/drm/radeon/r600.c int req_ps_idx = rdev->pm.requested_power_state_index; pm 779 drivers/gpu/drm/radeon/r600.c int req_cm_idx = rdev->pm.requested_clock_mode_index; pm 780 drivers/gpu/drm/radeon/r600.c struct radeon_power_state *ps = &rdev->pm.power_state[req_ps_idx]; pm 787 drivers/gpu/drm/radeon/r600.c if (voltage->voltage != rdev->pm.current_vddc) { pm 789 drivers/gpu/drm/radeon/r600.c rdev->pm.current_vddc = voltage->voltage; pm 3214 drivers/gpu/drm/radeon/r600.c if (rdev->pm.pm_method == PM_METHOD_DPM) pm 4143 drivers/gpu/drm/radeon/r600.c rdev->pm.vblank_sync = true; pm 4173 drivers/gpu/drm/radeon/r600.c rdev->pm.vblank_sync = true; pm 4306 drivers/gpu/drm/radeon/r600.c rdev->pm.dpm.thermal.high_to_low = false; pm 4311 drivers/gpu/drm/radeon/r600.c rdev->pm.dpm.thermal.high_to_low = true; pm 4331 drivers/gpu/drm/radeon/r600.c if (queue_thermal && rdev->pm.dpm_enabled) pm 4332 drivers/gpu/drm/radeon/r600.c schedule_work(&rdev->pm.dpm.thermal.work); pm 147 drivers/gpu/drm/radeon/r600_dpm.c if (rps == rdev->pm.dpm.current_ps) pm 149 drivers/gpu/drm/radeon/r600_dpm.c if (rps == rdev->pm.dpm.requested_ps) pm 151 drivers/gpu/drm/radeon/r600_dpm.c if (rps == rdev->pm.dpm.boot_ps) pm 758 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.thermal.min_temp = low_temp; pm 759 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.thermal.max_temp = high_temp; pm 792 drivers/gpu/drm/radeon/r600_dpm.c r600_is_internal_thermal_sensor(rdev->pm.int_thermal_type)) { pm 858 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); pm 859 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); pm 860 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); pm 895 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.t_hyst = fan_info->fan.ucTHyst; pm 896 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); pm 897 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); pm 898 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh); pm 899 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_info->fan.usPWMMin); pm 900 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.pwm_med = le16_to_cpu(fan_info->fan.usPWMMed); pm 901 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.pwm_high = le16_to_cpu(fan_info->fan.usPWMHigh); pm 903 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.t_max = le16_to_cpu(fan_info->fan2.usTMax); pm 905 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.t_max = 10900; pm 906 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.cycle_delay = 100000; pm 908 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.control_mode = fan_info->fan3.ucFanControlMode; pm 909 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.default_max_fan_pwm = pm 911 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.default_fan_output_sensitivity = 4836; pm 912 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.fan_output_sensitivity = pm 915 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.fan.ucode_fan_control = true; pm 926 drivers/gpu/drm/radeon/r600_dpm.c ret = r600_parse_clk_voltage_dep_table(&rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk, pm 935 drivers/gpu/drm/radeon/r600_dpm.c ret = r600_parse_clk_voltage_dep_table(&rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 938 drivers/gpu/drm/radeon/r600_dpm.c kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries); pm 946 drivers/gpu/drm/radeon/r600_dpm.c ret = r600_parse_clk_voltage_dep_table(&rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 949 drivers/gpu/drm/radeon/r600_dpm.c kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries); pm 950 drivers/gpu/drm/radeon/r600_dpm.c kfree(rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk.entries); pm 958 drivers/gpu/drm/radeon/r600_dpm.c ret = r600_parse_clk_voltage_dep_table(&rdev->pm.dpm.dyn_state.mvdd_dependency_on_mclk, pm 961 drivers/gpu/drm/radeon/r600_dpm.c kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries); pm 962 drivers/gpu/drm/radeon/r600_dpm.c kfree(rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk.entries); pm 963 drivers/gpu/drm/radeon/r600_dpm.c kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk.entries); pm 973 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.sclk = pm 976 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.mclk = pm 979 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc = pm 981 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddci = pm 992 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries = pm 996 drivers/gpu/drm/radeon/r600_dpm.c if (!rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries) { pm 1003 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].sclk = pm 1005 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].mclk = pm 1007 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].voltage = pm 1012 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.phase_shedding_limits_table.count = pm 1020 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.tdp_limit = le32_to_cpu(power_info->pplib5.ulTDPLimit); pm 1021 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); pm 1022 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.near_tdp_limit_adjusted = rdev->pm.dpm.near_tdp_limit; pm 1023 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.tdp_od_limit = le16_to_cpu(power_info->pplib5.usTDPODLimit); pm 1024 drivers/gpu/drm/radeon/r600_dpm.c if (rdev->pm.dpm.tdp_od_limit) pm 1025 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.power_control = true; pm 1027 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.power_control = false; pm 1028 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.tdp_adjustment = 0; pm 1029 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.sq_ramping_threshold = le32_to_cpu(power_info->pplib5.ulSQRampingThreshold); pm 1030 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.cac_leakage = le32_to_cpu(power_info->pplib5.ulCACLeakage); pm 1031 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.load_line_slope = le16_to_cpu(power_info->pplib5.usLoadLineSlope); pm 1039 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries = kzalloc(size, GFP_KERNEL); pm 1040 drivers/gpu/drm/radeon/r600_dpm.c if (!rdev->pm.dpm.dyn_state.cac_leakage_table.entries) { pm 1046 drivers/gpu/drm/radeon/r600_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_EVV) { pm 1047 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc1 = pm 1049 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc2 = pm 1051 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc3 = pm 1054 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc = pm 1056 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].leakage = pm 1062 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries; pm 1093 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries = pm 1095 drivers/gpu/drm/radeon/r600_dpm.c if (!rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries) { pm 1099 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.count = pm 1107 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].evclk = pm 1109 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].ecclk = pm 1111 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].v = pm 1122 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.vce_states[i].evclk = pm 1124 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.vce_states[i].ecclk = pm 1126 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.vce_states[i].clk_idx = pm 1128 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.vce_states[i].pstate = pm 1147 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries = pm 1149 drivers/gpu/drm/radeon/r600_dpm.c if (!rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries) { pm 1153 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count = pm 1160 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].vclk = pm 1162 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].dclk = pm 1164 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].v = pm 1179 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries = pm 1181 drivers/gpu/drm/radeon/r600_dpm.c if (!rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries) { pm 1185 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.count = pm 1189 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[i].clk = pm 1191 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[i].v = pm 1202 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.ppm_table = pm 1204 drivers/gpu/drm/radeon/r600_dpm.c if (!rdev->pm.dpm.dyn_state.ppm_table) { pm 1208 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.ppm_table->ppm_design = ppm->ucPpmDesign; pm 1209 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.ppm_table->cpu_core_number = pm 1211 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.ppm_table->platform_tdp = pm 1213 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.ppm_table->small_ac_platform_tdp = pm 1215 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.ppm_table->platform_tdc = pm 1217 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.ppm_table->small_ac_platform_tdc = pm 1219 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.ppm_table->apu_tdp = pm 1221 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.ppm_table->dgpu_tdp = pm 1223 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.ppm_table->dgpu_ulv_power = pm 1225 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.ppm_table->tj_max = pm 1237 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries = pm 1239 drivers/gpu/drm/radeon/r600_dpm.c if (!rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries) { pm 1243 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.count = pm 1247 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[i].clk = pm 1249 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[i].v = pm 1260 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table = pm 1262 drivers/gpu/drm/radeon/r600_dpm.c if (!rdev->pm.dpm.dyn_state.cac_tdp_table) { pm 1270 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table->maximum_power_delivery_limit = pm 1277 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table->maximum_power_delivery_limit = 255; pm 1280 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table->tdp = le16_to_cpu(pt->usTDP); pm 1281 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table->configurable_tdp = pm 1283 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); pm 1284 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table->battery_power_limit = pm 1286 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table->small_power_limit = pm 1288 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table->low_cac_leakage = pm 1290 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.cac_tdp_table->high_cac_leakage = pm 1300 drivers/gpu/drm/radeon/r600_dpm.c struct radeon_dpm_dynamic_state *dyn_state = &rdev->pm.dpm.dyn_state; pm 1963 drivers/gpu/drm/radeon/radeon.h } pm; pm 2382 drivers/gpu/drm/radeon/radeon.h struct radeon_pm pm; pm 2740 drivers/gpu/drm/radeon/radeon.h #define radeon_get_engine_clock(rdev) (rdev)->asic->pm.get_engine_clock((rdev)) pm 2741 drivers/gpu/drm/radeon/radeon.h #define radeon_set_engine_clock(rdev, e) (rdev)->asic->pm.set_engine_clock((rdev), (e)) pm 2742 drivers/gpu/drm/radeon/radeon.h #define radeon_get_memory_clock(rdev) (rdev)->asic->pm.get_memory_clock((rdev)) pm 2743 drivers/gpu/drm/radeon/radeon.h #define radeon_set_memory_clock(rdev, e) (rdev)->asic->pm.set_memory_clock((rdev), (e)) pm 2744 drivers/gpu/drm/radeon/radeon.h #define radeon_get_pcie_lanes(rdev) (rdev)->asic->pm.get_pcie_lanes((rdev)) pm 2745 drivers/gpu/drm/radeon/radeon.h #define radeon_set_pcie_lanes(rdev, l) (rdev)->asic->pm.set_pcie_lanes((rdev), (l)) pm 2746 drivers/gpu/drm/radeon/radeon.h #define radeon_set_clock_gating(rdev, e) (rdev)->asic->pm.set_clock_gating((rdev), (e)) pm 2747 drivers/gpu/drm/radeon/radeon.h #define radeon_set_uvd_clocks(rdev, v, d) (rdev)->asic->pm.set_uvd_clocks((rdev), (v), (d)) pm 2748 drivers/gpu/drm/radeon/radeon.h #define radeon_set_vce_clocks(rdev, ev, ec) (rdev)->asic->pm.set_vce_clocks((rdev), (ev), (ec)) pm 2749 drivers/gpu/drm/radeon/radeon.h #define radeon_get_temperature(rdev) (rdev)->asic->pm.get_temperature((rdev)) pm 2758 drivers/gpu/drm/radeon/radeon.h #define radeon_pm_misc(rdev) (rdev)->asic->pm.misc((rdev)) pm 2759 drivers/gpu/drm/radeon/radeon.h #define radeon_pm_prepare(rdev) (rdev)->asic->pm.prepare((rdev)) pm 2760 drivers/gpu/drm/radeon/radeon.h #define radeon_pm_finish(rdev) (rdev)->asic->pm.finish((rdev)) pm 2761 drivers/gpu/drm/radeon/radeon.h #define radeon_pm_init_profile(rdev) (rdev)->asic->pm.init_profile((rdev)) pm 2762 drivers/gpu/drm/radeon/radeon.h #define radeon_pm_get_dynpm_state(rdev) (rdev)->asic->pm.get_dynpm_state((rdev)) pm 246 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 314 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 410 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 478 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 546 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 614 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 682 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 750 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 818 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 886 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 983 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 1069 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 1162 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 1268 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 1388 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 1482 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 1575 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 1723 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 1843 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 1981 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 2151 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 2264 drivers/gpu/drm/radeon/radeon_asic.c .pm = { pm 2360 drivers/gpu/drm/radeon/radeon_asic.c rdev->asic->pm.get_engine_clock = &radeon_legacy_get_engine_clock; pm 2361 drivers/gpu/drm/radeon/radeon_asic.c rdev->asic->pm.set_engine_clock = &radeon_legacy_set_engine_clock; pm 2362 drivers/gpu/drm/radeon/radeon_asic.c rdev->asic->pm.get_memory_clock = &radeon_legacy_get_memory_clock; pm 2363 drivers/gpu/drm/radeon/radeon_asic.c rdev->asic->pm.set_memory_clock = NULL; pm 2697 drivers/gpu/drm/radeon/radeon_asic.c rdev->asic->pm.get_memory_clock = NULL; pm 2698 drivers/gpu/drm/radeon/radeon_asic.c rdev->asic->pm.set_memory_clock = NULL; pm 2057 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].misc = misc; pm 2058 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].misc2 = misc2; pm 2061 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].type = pm 2064 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].type = pm 2067 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].type = pm 2070 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].type = pm 2073 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].type = pm 2075 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].flags &= pm 2079 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].type = pm 2082 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].type = pm 2084 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.default_power_state_index = state_index; pm 2085 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].default_clock_mode = pm 2086 drivers/gpu/drm/radeon/radeon_atombios.c &rdev->pm.power_state[state_index].clock_info[0]; pm 2088 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].flags |= pm 2117 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); pm 2118 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.i2c_bus) { pm 2124 drivers/gpu/drm/radeon/radeon_atombios.c i2c_new_device(&rdev->pm.i2c_bus->adapter, &info); pm 2132 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state = kcalloc(num_modes, pm 2135 drivers/gpu/drm/radeon/radeon_atombios.c if (!rdev->pm.power_state) pm 2139 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info = pm 2142 drivers/gpu/drm/radeon/radeon_atombios.c if (!rdev->pm.power_state[state_index].clock_info) pm 2144 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].num_clock_modes = 1; pm 2145 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE; pm 2148 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].mclk = pm 2150 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].sclk = pm 2153 drivers/gpu/drm/radeon/radeon_atombios.c if ((rdev->pm.power_state[state_index].clock_info[0].mclk == 0) || pm 2154 drivers/gpu/drm/radeon/radeon_atombios.c (rdev->pm.power_state[state_index].clock_info[0].sclk == 0)) pm 2156 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].pcie_lanes = pm 2161 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = pm 2163 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio = pm 2167 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = pm 2170 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = pm 2173 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = pm 2175 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.vddc_id = pm 2178 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].flags = RADEON_PM_STATE_SINGLE_DISPLAY_ONLY; pm 2183 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].mclk = pm 2185 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].sclk = pm 2188 drivers/gpu/drm/radeon/radeon_atombios.c if ((rdev->pm.power_state[state_index].clock_info[0].mclk == 0) || pm 2189 drivers/gpu/drm/radeon/radeon_atombios.c (rdev->pm.power_state[state_index].clock_info[0].sclk == 0)) pm 2191 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].pcie_lanes = pm 2197 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = pm 2199 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio = pm 2203 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = pm 2206 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = pm 2209 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = pm 2211 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.vddc_id = pm 2214 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].flags = RADEON_PM_STATE_SINGLE_DISPLAY_ONLY; pm 2219 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].mclk = pm 2221 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].sclk = pm 2224 drivers/gpu/drm/radeon/radeon_atombios.c if ((rdev->pm.power_state[state_index].clock_info[0].mclk == 0) || pm 2225 drivers/gpu/drm/radeon/radeon_atombios.c (rdev->pm.power_state[state_index].clock_info[0].sclk == 0)) pm 2227 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].pcie_lanes = pm 2233 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = pm 2235 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio = pm 2239 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = pm 2242 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = pm 2245 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = pm 2247 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.vddc_id = pm 2250 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.vddci_enabled = pm 2252 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.vddci_id = pm 2256 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].flags = RADEON_PM_STATE_SINGLE_DISPLAY_ONLY; pm 2263 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.default_power_state_index == -1) { pm 2264 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index - 1].type = pm 2266 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.default_power_state_index = state_index - 1; pm 2267 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index - 1].default_clock_mode = pm 2268 drivers/gpu/drm/radeon/radeon_atombios.c &rdev->pm.power_state[state_index - 1].clock_info[0]; pm 2269 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].flags &= pm 2271 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].misc = 0; pm 2272 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].misc2 = 0; pm 2285 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.no_fan = true; pm 2286 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.fan_pulses_per_revolution = pm 2288 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.fan_pulses_per_revolution) { pm 2289 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.fan_min_rpm = controller->ucFanMinRPM; pm 2290 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.fan_max_rpm = controller->ucFanMaxRPM; pm 2296 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.int_thermal_type = THERMAL_TYPE_RV6XX; pm 2301 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.int_thermal_type = THERMAL_TYPE_RV770; pm 2306 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.int_thermal_type = THERMAL_TYPE_EVERGREEN; pm 2311 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.int_thermal_type = THERMAL_TYPE_SUMO; pm 2316 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.int_thermal_type = THERMAL_TYPE_NI; pm 2321 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.int_thermal_type = THERMAL_TYPE_SI; pm 2326 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.int_thermal_type = THERMAL_TYPE_CI; pm 2331 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.int_thermal_type = THERMAL_TYPE_KV; pm 2337 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.int_thermal_type = THERMAL_TYPE_EXTERNAL_GPIO; pm 2343 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.int_thermal_type = THERMAL_TYPE_ADT7473_WITH_INTERNAL; pm 2349 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.int_thermal_type = THERMAL_TYPE_EMC2103_WITH_INTERNAL; pm 2356 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.int_thermal_type = THERMAL_TYPE_EXTERNAL; pm 2358 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); pm 2359 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.i2c_bus) { pm 2364 drivers/gpu/drm/radeon/radeon_atombios.c i2c_new_device(&rdev->pm.i2c_bus->adapter, &info); pm 2413 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].misc = misc; pm 2414 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].misc2 = misc2; pm 2415 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].pcie_lanes = pm 2420 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].type = pm 2424 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].type = pm 2428 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].type = pm 2433 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].type = pm 2437 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].flags = 0; pm 2439 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].flags |= pm 2442 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].type = pm 2444 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.default_power_state_index = state_index; pm 2445 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].default_clock_mode = pm 2446 drivers/gpu/drm/radeon/radeon_atombios.c &rdev->pm.power_state[state_index].clock_info[mode_index - 1]; pm 2449 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.default_sclk = rdev->pm.power_state[state_index].clock_info[0].sclk; pm 2450 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.default_mclk = rdev->pm.power_state[state_index].clock_info[0].mclk; pm 2451 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.default_vddc = rdev->pm.power_state[state_index].clock_info[0].voltage.voltage; pm 2452 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.default_vddci = rdev->pm.power_state[state_index].clock_info[0].voltage.vddci; pm 2462 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[j].mclk = pm 2464 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[j].sclk = pm 2467 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[j].voltage.voltage = pm 2470 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[j].voltage.vddci = pm 2488 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].sclk = sclk; pm 2492 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].sclk = sclk; pm 2499 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].mclk = mclk; pm 2500 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].sclk = sclk; pm 2501 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.type = pm 2508 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].mclk = mclk; pm 2509 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].sclk = sclk; pm 2510 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.type = pm 2512 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.voltage = pm 2514 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.vddci = pm 2521 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].mclk = mclk; pm 2522 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].sclk = sclk; pm 2523 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.type = pm 2525 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.voltage = pm 2527 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.vddci = pm 2534 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].mclk = mclk; pm 2535 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].sclk = sclk; pm 2536 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.type = pm 2538 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.voltage = pm 2543 drivers/gpu/drm/radeon/radeon_atombios.c switch (rdev->pm.power_state[state_index].clock_info[mode_index].voltage.voltage) { pm 2553 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.voltage, pm 2555 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.voltage = vddc; pm 2563 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.power_state[state_index].clock_info[mode_index].sclk == 0) pm 2567 drivers/gpu/drm/radeon/radeon_atombios.c if ((rdev->pm.power_state[state_index].clock_info[mode_index].mclk == 0) || pm 2568 drivers/gpu/drm/radeon/radeon_atombios.c (rdev->pm.power_state[state_index].clock_info[mode_index].sclk == 0)) pm 2596 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state = kcalloc(power_info->pplib.ucNumStates, pm 2599 drivers/gpu/drm/radeon/radeon_atombios.c if (!rdev->pm.power_state) pm 2613 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[i].clock_info = pm 2618 drivers/gpu/drm/radeon/radeon_atombios.c if (!rdev->pm.power_state[i].clock_info) pm 2634 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].mclk = pm 2636 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].sclk = pm 2640 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].num_clock_modes = mode_index; pm 2649 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.power_state[i].num_clock_modes > 1) pm 2650 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[i].clock_info[0].flags |= pm 2654 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.default_power_state_index == -1) { pm 2655 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[0].type = pm 2657 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.default_power_state_index = 0; pm 2658 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[0].default_clock_mode = pm 2659 drivers/gpu/drm/radeon/radeon_atombios.c &rdev->pm.power_state[0].clock_info[0]; pm 2699 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state = kcalloc(state_array->ucNumEntries, pm 2702 drivers/gpu/drm/radeon/radeon_atombios.c if (!rdev->pm.power_state) pm 2711 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[i].clock_info = pm 2716 drivers/gpu/drm/radeon/radeon_atombios.c if (!rdev->pm.power_state[i].clock_info) pm 2730 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].mclk = pm 2732 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].sclk = pm 2736 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].num_clock_modes = mode_index; pm 2746 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.power_state[i].num_clock_modes > 1) pm 2747 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[i].clock_info[0].flags |= pm 2751 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.default_power_state_index == -1) { pm 2752 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[0].type = pm 2754 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.default_power_state_index = 0; pm 2755 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[0].default_clock_mode = pm 2756 drivers/gpu/drm/radeon/radeon_atombios.c &rdev->pm.power_state[0].clock_info[0]; pm 2769 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.default_power_state_index = -1; pm 2792 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state = kzalloc(sizeof(struct radeon_power_state), GFP_KERNEL); pm 2793 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.power_state) { pm 2794 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[0].clock_info = pm 2798 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.power_state[0].clock_info) { pm 2800 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].type = pm 2802 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].num_clock_modes = 1; pm 2803 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].mclk = rdev->clock.default_mclk; pm 2804 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].sclk = rdev->clock.default_sclk; pm 2805 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].default_clock_mode = pm 2806 drivers/gpu/drm/radeon/radeon_atombios.c &rdev->pm.power_state[state_index].clock_info[0]; pm 2807 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE; pm 2808 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].pcie_lanes = 16; pm 2809 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.default_power_state_index = state_index; pm 2810 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].flags = 0; pm 2816 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.num_power_states = state_index; pm 2818 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.current_power_state_index = rdev->pm.default_power_state_index; pm 2819 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.current_clock_mode_index = 0; pm 2820 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.default_power_state_index >= 0) pm 2821 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.current_vddc = pm 2822 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[rdev->pm.default_power_state_index].clock_info[0].voltage.voltage; pm 2824 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.current_vddc = 0; pm 3316 drivers/gpu/drm/radeon/radeon_atombios.c u32 count = rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; pm 3320 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[entry_id].v == pm 3332 drivers/gpu/drm/radeon/radeon_atombios.c cpu_to_le32(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[entry_id].clk); pm 341 drivers/gpu/drm/radeon/radeon_clocks.c if ((!rdev->clock.default_mclk) && rdev->asic->pm.get_memory_clock) pm 344 drivers/gpu/drm/radeon/radeon_clocks.c rdev->pm.current_sclk = rdev->clock.default_sclk; pm 345 drivers/gpu/drm/radeon/radeon_clocks.c rdev->pm.current_mclk = rdev->clock.default_mclk; pm 2645 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.default_power_state_index = -1; pm 2648 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state = kcalloc(2, sizeof(struct radeon_power_state), pm 2650 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->pm.power_state) { pm 2652 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[0].clock_info = pm 2655 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[1].clock_info = pm 2658 drivers/gpu/drm/radeon/radeon_combios.c if (!rdev->pm.power_state[0].clock_info || pm 2659 drivers/gpu/drm/radeon/radeon_combios.c !rdev->pm.power_state[1].clock_info) pm 2700 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); pm 2701 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->pm.i2c_bus) { pm 2706 drivers/gpu/drm/radeon/radeon_combios.c i2c_new_device(&rdev->pm.i2c_bus->adapter, &info); pm 2717 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.i2c_bus = radeon_i2c_lookup(rdev, &i2c_bus); pm 2718 drivers/gpu/drm/radeon/radeon_combios.c if (rdev->pm.i2c_bus) { pm 2723 drivers/gpu/drm/radeon/radeon_combios.c i2c_new_device(&rdev->pm.i2c_bus->adapter, &info); pm 2736 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].num_clock_modes = 1; pm 2737 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].mclk = RBIOS32(offset + 0x5 + 0x2); pm 2738 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].sclk = RBIOS32(offset + 0x5 + 0x6); pm 2739 drivers/gpu/drm/radeon/radeon_combios.c if ((rdev->pm.power_state[state_index].clock_info[0].mclk == 0) || pm 2740 drivers/gpu/drm/radeon/radeon_combios.c (rdev->pm.power_state[state_index].clock_info[0].sclk == 0)) pm 2742 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].type = pm 2747 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].misc = misc; pm 2748 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].misc2 = misc2; pm 2750 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_GPIO; pm 2752 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = pm 2755 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = pm 2757 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.valid = true; pm 2759 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.reg = pm 2762 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.mask = (1 << tmp); pm 2767 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.reg = pm 2770 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.mask = (1 << tmp); pm 2772 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.valid = false; pm 2777 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 0; pm 2780 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 33; pm 2783 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 66; pm 2786 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 99; pm 2789 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 132; pm 2793 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE; pm 2795 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].pcie_lanes = pm 2797 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].flags = RADEON_PM_STATE_SINGLE_DISPLAY_ONLY; pm 2808 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].type = pm 2810 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].num_clock_modes = 1; pm 2811 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].mclk = rdev->clock.default_mclk; pm 2812 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].sclk = rdev->clock.default_sclk; pm 2813 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].default_clock_mode = &rdev->pm.power_state[state_index].clock_info[0]; pm 2815 drivers/gpu/drm/radeon/radeon_combios.c (rdev->pm.power_state[0].clock_info[0].voltage.type == VOLTAGE_GPIO)) pm 2816 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage = pm 2817 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[0].clock_info[0].voltage; pm 2819 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE; pm 2820 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].pcie_lanes = 16; pm 2821 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].flags = 0; pm 2822 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.default_power_state_index = state_index; pm 2823 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.num_power_states = state_index + 1; pm 2825 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.current_power_state_index = rdev->pm.default_power_state_index; pm 2826 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.current_clock_mode_index = 0; pm 2830 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.default_power_state_index = state_index; pm 2831 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.num_power_states = 0; pm 2833 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.current_power_state_index = rdev->pm.default_power_state_index; pm 2834 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.current_clock_mode_index = 0; pm 726 drivers/gpu/drm/radeon/radeon_device.c u32 sclk = rdev->pm.current_sclk; pm 727 drivers/gpu/drm/radeon/radeon_device.c u32 mclk = rdev->pm.current_mclk; pm 731 drivers/gpu/drm/radeon/radeon_device.c rdev->pm.sclk.full = dfixed_const(sclk); pm 732 drivers/gpu/drm/radeon/radeon_device.c rdev->pm.sclk.full = dfixed_div(rdev->pm.sclk, a); pm 733 drivers/gpu/drm/radeon/radeon_device.c rdev->pm.mclk.full = dfixed_const(mclk); pm 734 drivers/gpu/drm/radeon/radeon_device.c rdev->pm.mclk.full = dfixed_div(rdev->pm.mclk, a); pm 739 drivers/gpu/drm/radeon/radeon_device.c rdev->pm.core_bandwidth.full = dfixed_div(rdev->pm.sclk, a); pm 1322 drivers/gpu/drm/radeon/radeon_device.c mutex_init(&rdev->pm.mutex); pm 1325 drivers/gpu/drm/radeon/radeon_device.c init_rwsem(&rdev->pm.mclk_lock); pm 1481 drivers/gpu/drm/radeon/radeon_device.c if (rdev->pm.dpm_enabled && pm 1482 drivers/gpu/drm/radeon/radeon_device.c (rdev->pm.pm_method == PM_METHOD_DPM) && pm 1485 drivers/gpu/drm/radeon/radeon_device.c mutex_lock(&rdev->pm.mutex); pm 1488 drivers/gpu/drm/radeon/radeon_device.c mutex_unlock(&rdev->pm.mutex); pm 1698 drivers/gpu/drm/radeon/radeon_device.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { pm 1702 drivers/gpu/drm/radeon/radeon_device.c rdev->pm.dpm_enabled = false; pm 1761 drivers/gpu/drm/radeon/radeon_device.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) pm 1833 drivers/gpu/drm/radeon/radeon_device.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { pm 1837 drivers/gpu/drm/radeon/radeon_device.c rdev->pm.dpm_enabled = false; pm 1870 drivers/gpu/drm/radeon/radeon_device.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) pm 670 drivers/gpu/drm/radeon/radeon_drv.c .driver.pm = &radeon_pm_ops, pm 241 drivers/gpu/drm/radeon/radeon_i2c.c u32 sclk = rdev->pm.current_sclk; pm 343 drivers/gpu/drm/radeon/radeon_i2c.c mutex_lock(&rdev->pm.mutex); pm 573 drivers/gpu/drm/radeon/radeon_i2c.c mutex_unlock(&rdev->pm.mutex); pm 596 drivers/gpu/drm/radeon/radeon_i2c.c mutex_lock(&rdev->pm.mutex); pm 809 drivers/gpu/drm/radeon/radeon_i2c.c mutex_unlock(&rdev->pm.mutex); pm 518 drivers/gpu/drm/radeon/radeon_kms.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && pm 519 drivers/gpu/drm/radeon/radeon_kms.c rdev->pm.dpm_enabled) pm 520 drivers/gpu/drm/radeon/radeon_kms.c *value = rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.sclk * 10; pm 522 drivers/gpu/drm/radeon/radeon_kms.c *value = rdev->pm.default_sclk * 10; pm 563 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->asic->pm.get_temperature) pm 570 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->pm.dpm_enabled) pm 573 drivers/gpu/drm/radeon/radeon_kms.c *value = rdev->pm.current_sclk / 100; pm 577 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->pm.dpm_enabled) pm 580 drivers/gpu/drm/radeon/radeon_kms.c *value = rdev->pm.current_mclk / 100; pm 261 drivers/gpu/drm/radeon/radeon_object.c down_read(&rdev->pm.mclk_lock); pm 265 drivers/gpu/drm/radeon/radeon_object.c up_read(&rdev->pm.mclk_lock); pm 63 drivers/gpu/drm/radeon/radeon_pm.c for (i = 0; i < rdev->pm.num_power_states; i++) { pm 64 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.power_state[i].type == ps_type) { pm 71 drivers/gpu/drm/radeon/radeon_pm.c return rdev->pm.default_power_state_index; pm 76 drivers/gpu/drm/radeon/radeon_pm.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { pm 77 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 79 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.ac_power = true; pm 81 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.ac_power = false; pm 84 drivers/gpu/drm/radeon/radeon_pm.c radeon_dpm_enable_bapm(rdev, rdev->pm.dpm.ac_power); pm 86 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 87 drivers/gpu/drm/radeon/radeon_pm.c } else if (rdev->pm.pm_method == PM_METHOD_PROFILE) { pm 88 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.profile == PM_PROFILE_AUTO) { pm 89 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 92 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 99 drivers/gpu/drm/radeon/radeon_pm.c switch (rdev->pm.profile) { pm 101 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile_index = PM_PROFILE_DEFAULT_IDX; pm 105 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.active_crtc_count > 1) pm 106 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile_index = PM_PROFILE_HIGH_MH_IDX; pm 108 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile_index = PM_PROFILE_HIGH_SH_IDX; pm 110 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.active_crtc_count > 1) pm 111 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile_index = PM_PROFILE_MID_MH_IDX; pm 113 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile_index = PM_PROFILE_MID_SH_IDX; pm 117 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.active_crtc_count > 1) pm 118 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile_index = PM_PROFILE_LOW_MH_IDX; pm 120 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile_index = PM_PROFILE_LOW_SH_IDX; pm 123 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.active_crtc_count > 1) pm 124 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile_index = PM_PROFILE_MID_MH_IDX; pm 126 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile_index = PM_PROFILE_MID_SH_IDX; pm 129 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.active_crtc_count > 1) pm 130 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile_index = PM_PROFILE_HIGH_MH_IDX; pm 132 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile_index = PM_PROFILE_HIGH_SH_IDX; pm 136 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.active_crtc_count == 0) { pm 137 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.requested_power_state_index = pm 138 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profiles[rdev->pm.profile_index].dpms_off_ps_idx; pm 139 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.requested_clock_mode_index = pm 140 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profiles[rdev->pm.profile_index].dpms_off_cm_idx; pm 142 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.requested_power_state_index = pm 143 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profiles[rdev->pm.profile_index].dpms_on_ps_idx; pm 144 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.requested_clock_mode_index = pm 145 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profiles[rdev->pm.profile_index].dpms_on_cm_idx; pm 164 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.active_crtcs) { pm 165 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.vblank_sync = false; pm 167 drivers/gpu/drm/radeon/radeon_pm.c rdev->irq.vblank_queue, rdev->pm.vblank_sync, pm 177 drivers/gpu/drm/radeon/radeon_pm.c if ((rdev->pm.requested_clock_mode_index == rdev->pm.current_clock_mode_index) && pm 178 drivers/gpu/drm/radeon/radeon_pm.c (rdev->pm.requested_power_state_index == rdev->pm.current_power_state_index)) pm 182 drivers/gpu/drm/radeon/radeon_pm.c sclk = rdev->pm.power_state[rdev->pm.requested_power_state_index]. pm 183 drivers/gpu/drm/radeon/radeon_pm.c clock_info[rdev->pm.requested_clock_mode_index].sclk; pm 184 drivers/gpu/drm/radeon/radeon_pm.c if (sclk > rdev->pm.default_sclk) pm 185 drivers/gpu/drm/radeon/radeon_pm.c sclk = rdev->pm.default_sclk; pm 191 drivers/gpu/drm/radeon/radeon_pm.c if ((rdev->pm.pm_method == PM_METHOD_PROFILE) && pm 193 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.active_crtc_count && pm 194 drivers/gpu/drm/radeon/radeon_pm.c ((rdev->pm.profile_index == PM_PROFILE_MID_MH_IDX) || pm 195 drivers/gpu/drm/radeon/radeon_pm.c (rdev->pm.profile_index == PM_PROFILE_LOW_MH_IDX))) pm 196 drivers/gpu/drm/radeon/radeon_pm.c mclk = rdev->pm.power_state[rdev->pm.requested_power_state_index]. pm 197 drivers/gpu/drm/radeon/radeon_pm.c clock_info[rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx].mclk; pm 199 drivers/gpu/drm/radeon/radeon_pm.c mclk = rdev->pm.power_state[rdev->pm.requested_power_state_index]. pm 200 drivers/gpu/drm/radeon/radeon_pm.c clock_info[rdev->pm.requested_clock_mode_index].mclk; pm 202 drivers/gpu/drm/radeon/radeon_pm.c if (mclk > rdev->pm.default_mclk) pm 203 drivers/gpu/drm/radeon/radeon_pm.c mclk = rdev->pm.default_mclk; pm 206 drivers/gpu/drm/radeon/radeon_pm.c if (sclk < rdev->pm.current_sclk) pm 211 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method == PM_METHOD_DYNPM) { pm 223 drivers/gpu/drm/radeon/radeon_pm.c if (sclk != rdev->pm.current_sclk) { pm 227 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_sclk = sclk; pm 232 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->asic->pm.set_memory_clock && (mclk != rdev->pm.current_mclk)) { pm 236 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_mclk = mclk; pm 246 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_power_state_index = rdev->pm.requested_power_state_index; pm 247 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_clock_mode_index = rdev->pm.requested_clock_mode_index; pm 258 drivers/gpu/drm/radeon/radeon_pm.c if ((rdev->pm.requested_clock_mode_index == rdev->pm.current_clock_mode_index) && pm 259 drivers/gpu/drm/radeon/radeon_pm.c (rdev->pm.requested_power_state_index == rdev->pm.current_power_state_index)) pm 262 drivers/gpu/drm/radeon/radeon_pm.c down_write(&rdev->pm.mclk_lock); pm 275 drivers/gpu/drm/radeon/radeon_pm.c up_write(&rdev->pm.mclk_lock); pm 285 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.active_crtcs & (1 << i)) { pm 288 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.req_vblank |= (1 << i); pm 302 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.req_vblank & (1 << i)) { pm 303 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.req_vblank &= ~(1 << i); pm 312 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.active_crtc_count) pm 315 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_planned_action = DYNPM_ACTION_NONE; pm 318 drivers/gpu/drm/radeon/radeon_pm.c up_write(&rdev->pm.mclk_lock); pm 327 drivers/gpu/drm/radeon/radeon_pm.c DRM_DEBUG_DRIVER("%d Power State(s)\n", rdev->pm.num_power_states); pm 328 drivers/gpu/drm/radeon/radeon_pm.c for (i = 0; i < rdev->pm.num_power_states; i++) { pm 329 drivers/gpu/drm/radeon/radeon_pm.c power_state = &rdev->pm.power_state[i]; pm 332 drivers/gpu/drm/radeon/radeon_pm.c if (i == rdev->pm.default_power_state_index) pm 361 drivers/gpu/drm/radeon/radeon_pm.c int cp = rdev->pm.profile; pm 383 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 384 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method == PM_METHOD_PROFILE) { pm 386 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_DEFAULT; pm 388 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_AUTO; pm 390 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_LOW; pm 392 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_MID; pm 394 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_HIGH; pm 405 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 416 drivers/gpu/drm/radeon/radeon_pm.c int pm = rdev->pm.pm_method; pm 419 drivers/gpu/drm/radeon/radeon_pm.c (pm == PM_METHOD_DYNPM) ? "dynpm" : pm 420 drivers/gpu/drm/radeon/radeon_pm.c (pm == PM_METHOD_PROFILE) ? "profile" : "dpm"); pm 439 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method == PM_METHOD_DPM) { pm 445 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 446 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.pm_method = PM_METHOD_DYNPM; pm 447 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_state = DYNPM_STATE_PAUSED; pm 448 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_planned_action = DYNPM_ACTION_DEFAULT; pm 449 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 451 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 453 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_state = DYNPM_STATE_DISABLED; pm 454 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_planned_action = DYNPM_ACTION_NONE; pm 455 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.pm_method = PM_METHOD_PROFILE; pm 456 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 457 drivers/gpu/drm/radeon/radeon_pm.c cancel_delayed_work_sync(&rdev->pm.dynpm_idle_work); pm 473 drivers/gpu/drm/radeon/radeon_pm.c enum radeon_pm_state_type pm = rdev->pm.dpm.user_state; pm 476 drivers/gpu/drm/radeon/radeon_pm.c (pm == POWER_STATE_TYPE_BATTERY) ? "battery" : pm 477 drivers/gpu/drm/radeon/radeon_pm.c (pm == POWER_STATE_TYPE_BALANCED) ? "balanced" : "performance"); pm 488 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 490 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.user_state = POWER_STATE_TYPE_BATTERY; pm 492 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.user_state = POWER_STATE_TYPE_BALANCED; pm 494 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.user_state = POWER_STATE_TYPE_PERFORMANCE; pm 496 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 500 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 517 drivers/gpu/drm/radeon/radeon_pm.c enum radeon_dpm_forced_level level = rdev->pm.dpm.forced_level; pm 543 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 555 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dpm.thermal_active) { pm 564 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 683 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->asic->pm.get_temperature) pm 700 drivers/gpu/drm/radeon/radeon_pm.c temp = rdev->pm.dpm.thermal.min_temp; pm 702 drivers/gpu/drm/radeon/radeon_pm.c temp = rdev->pm.dpm.thermal.max_temp; pm 735 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method != PM_METHOD_DPM && pm 745 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.no_fan && pm 789 drivers/gpu/drm/radeon/radeon_pm.c switch (rdev->pm.int_thermal_type) { pm 798 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->asic->pm.get_temperature == NULL) pm 800 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.int_hwmon_dev = hwmon_device_register_with_groups(rdev->dev, pm 803 drivers/gpu/drm/radeon/radeon_pm.c if (IS_ERR(rdev->pm.int_hwmon_dev)) { pm 804 drivers/gpu/drm/radeon/radeon_pm.c err = PTR_ERR(rdev->pm.int_hwmon_dev); pm 818 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.int_hwmon_dev) pm 819 drivers/gpu/drm/radeon/radeon_pm.c hwmon_device_unregister(rdev->pm.int_hwmon_dev); pm 826 drivers/gpu/drm/radeon/radeon_pm.c pm.dpm.thermal.work); pm 830 drivers/gpu/drm/radeon/radeon_pm.c if (!rdev->pm.dpm_enabled) pm 833 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->asic->pm.get_temperature) { pm 836 drivers/gpu/drm/radeon/radeon_pm.c if (temp < rdev->pm.dpm.thermal.min_temp) pm 838 drivers/gpu/drm/radeon/radeon_pm.c dpm_state = rdev->pm.dpm.user_state; pm 840 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dpm.thermal.high_to_low) pm 842 drivers/gpu/drm/radeon/radeon_pm.c dpm_state = rdev->pm.dpm.user_state; pm 844 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 846 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.thermal_active = true; pm 848 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.thermal_active = false; pm 849 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.state = dpm_state; pm 850 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 857 drivers/gpu/drm/radeon/radeon_pm.c bool single_display = (rdev->pm.dpm.new_active_crtc_count < 2) ? pm 894 drivers/gpu/drm/radeon/radeon_pm.c for (i = 0; i < rdev->pm.dpm.num_ps; i++) { pm 895 drivers/gpu/drm/radeon/radeon_pm.c ps = &rdev->pm.dpm.ps[i]; pm 928 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dpm.uvd_ps) pm 929 drivers/gpu/drm/radeon/radeon_pm.c return rdev->pm.dpm.uvd_ps; pm 949 drivers/gpu/drm/radeon/radeon_pm.c return rdev->pm.dpm.boot_ps; pm 978 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dpm.uvd_ps) { pm 979 drivers/gpu/drm/radeon/radeon_pm.c return rdev->pm.dpm.uvd_ps; pm 1011 drivers/gpu/drm/radeon/radeon_pm.c if (!rdev->pm.dpm_enabled) pm 1014 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dpm.user_state != rdev->pm.dpm.state) { pm 1016 drivers/gpu/drm/radeon/radeon_pm.c if ((!rdev->pm.dpm.thermal_active) && pm 1017 drivers/gpu/drm/radeon/radeon_pm.c (!rdev->pm.dpm.uvd_active)) pm 1018 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.state = rdev->pm.dpm.user_state; pm 1020 drivers/gpu/drm/radeon/radeon_pm.c dpm_state = rdev->pm.dpm.state; pm 1024 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.requested_ps = ps; pm 1029 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dpm.current_ps == rdev->pm.dpm.requested_ps) { pm 1031 drivers/gpu/drm/radeon/radeon_pm.c if (ps->vce_active != rdev->pm.dpm.vce_active) pm 1034 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dpm.single_display != single_display) pm 1040 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dpm.new_active_crtcs != rdev->pm.dpm.current_active_crtcs) { pm 1045 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.current_active_crtcs = rdev->pm.dpm.new_active_crtcs; pm 1046 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.current_active_crtc_count = rdev->pm.dpm.new_active_crtc_count; pm 1054 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dpm.new_active_crtcs == pm 1055 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.current_active_crtcs) { pm 1058 drivers/gpu/drm/radeon/radeon_pm.c if ((rdev->pm.dpm.current_active_crtc_count > 1) && pm 1059 drivers/gpu/drm/radeon/radeon_pm.c (rdev->pm.dpm.new_active_crtc_count > 1)) { pm 1064 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.current_active_crtcs = rdev->pm.dpm.new_active_crtcs; pm 1065 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.current_active_crtc_count = rdev->pm.dpm.new_active_crtc_count; pm 1075 drivers/gpu/drm/radeon/radeon_pm.c radeon_dpm_print_power_state(rdev, rdev->pm.dpm.current_ps); pm 1077 drivers/gpu/drm/radeon/radeon_pm.c radeon_dpm_print_power_state(rdev, rdev->pm.dpm.requested_ps); pm 1080 drivers/gpu/drm/radeon/radeon_pm.c down_write(&rdev->pm.mclk_lock); pm 1084 drivers/gpu/drm/radeon/radeon_pm.c ps->vce_active = rdev->pm.dpm.vce_active; pm 1106 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.current_ps = rdev->pm.dpm.requested_ps; pm 1110 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.current_active_crtcs = rdev->pm.dpm.new_active_crtcs; pm 1111 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.current_active_crtc_count = rdev->pm.dpm.new_active_crtc_count; pm 1112 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.single_display = single_display; pm 1115 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dpm.thermal_active) { pm 1116 drivers/gpu/drm/radeon/radeon_pm.c enum radeon_dpm_forced_level level = rdev->pm.dpm.forced_level; pm 1120 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.forced_level = level; pm 1123 drivers/gpu/drm/radeon/radeon_pm.c radeon_dpm_force_performance_level(rdev, rdev->pm.dpm.forced_level); pm 1129 drivers/gpu/drm/radeon/radeon_pm.c up_write(&rdev->pm.mclk_lock); pm 1137 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1140 drivers/gpu/drm/radeon/radeon_pm.c enable |= rdev->pm.dpm.sd > 0; pm 1141 drivers/gpu/drm/radeon/radeon_pm.c enable |= rdev->pm.dpm.hd > 0; pm 1144 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1147 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1148 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.uvd_active = true; pm 1151 drivers/gpu/drm/radeon/radeon_pm.c if ((rdev->pm.dpm.sd == 1) && (rdev->pm.dpm.hd == 0)) pm 1153 drivers/gpu/drm/radeon/radeon_pm.c else if ((rdev->pm.dpm.sd == 2) && (rdev->pm.dpm.hd == 0)) pm 1155 drivers/gpu/drm/radeon/radeon_pm.c else if ((rdev->pm.dpm.sd == 0) && (rdev->pm.dpm.hd == 1)) pm 1157 drivers/gpu/drm/radeon/radeon_pm.c else if ((rdev->pm.dpm.sd == 0) && (rdev->pm.dpm.hd == 2)) pm 1162 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.state = dpm_state; pm 1163 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1165 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1166 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.uvd_active = false; pm 1167 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1177 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1178 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.vce_active = true; pm 1180 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.vce_level = RADEON_VCE_LEVEL_AC_ALL; pm 1181 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1183 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1184 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.vce_active = false; pm 1185 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1193 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1194 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method == PM_METHOD_DYNPM) { pm 1195 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dynpm_state == DYNPM_STATE_ACTIVE) pm 1196 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_state = DYNPM_STATE_SUSPENDED; pm 1198 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1200 drivers/gpu/drm/radeon/radeon_pm.c cancel_delayed_work_sync(&rdev->pm.dynpm_idle_work); pm 1205 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1209 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.current_ps = rdev->pm.dpm.requested_ps = rdev->pm.dpm.boot_ps; pm 1210 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm_enabled = false; pm 1211 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1216 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method == PM_METHOD_DPM) pm 1228 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_vddc) pm 1229 drivers/gpu/drm/radeon/radeon_pm.c radeon_atom_set_voltage(rdev, rdev->pm.default_vddc, pm 1231 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_vddci) pm 1232 drivers/gpu/drm/radeon/radeon_pm.c radeon_atom_set_voltage(rdev, rdev->pm.default_vddci, pm 1234 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_sclk) pm 1235 drivers/gpu/drm/radeon/radeon_pm.c radeon_set_engine_clock(rdev, rdev->pm.default_sclk); pm 1236 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_mclk) pm 1237 drivers/gpu/drm/radeon/radeon_pm.c radeon_set_memory_clock(rdev, rdev->pm.default_mclk); pm 1240 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1241 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_power_state_index = rdev->pm.default_power_state_index; pm 1242 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_clock_mode_index = 0; pm 1243 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_sclk = rdev->pm.default_sclk; pm 1244 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_mclk = rdev->pm.default_mclk; pm 1245 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.power_state) { pm 1246 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_vddc = rdev->pm.power_state[rdev->pm.default_power_state_index].clock_info[0].voltage.voltage; pm 1247 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_vddci = rdev->pm.power_state[rdev->pm.default_power_state_index].clock_info[0].voltage.vddci; pm 1249 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method == PM_METHOD_DYNPM pm 1250 drivers/gpu/drm/radeon/radeon_pm.c && rdev->pm.dynpm_state == DYNPM_STATE_SUSPENDED) { pm 1251 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_state = DYNPM_STATE_ACTIVE; pm 1252 drivers/gpu/drm/radeon/radeon_pm.c schedule_delayed_work(&rdev->pm.dynpm_idle_work, pm 1255 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1264 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1265 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.current_ps = rdev->pm.dpm.requested_ps = rdev->pm.dpm.boot_ps; pm 1268 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1271 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm_enabled = true; pm 1279 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_vddc) pm 1280 drivers/gpu/drm/radeon/radeon_pm.c radeon_atom_set_voltage(rdev, rdev->pm.default_vddc, pm 1282 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_vddci) pm 1283 drivers/gpu/drm/radeon/radeon_pm.c radeon_atom_set_voltage(rdev, rdev->pm.default_vddci, pm 1285 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_sclk) pm 1286 drivers/gpu/drm/radeon/radeon_pm.c radeon_set_engine_clock(rdev, rdev->pm.default_sclk); pm 1287 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_mclk) pm 1288 drivers/gpu/drm/radeon/radeon_pm.c radeon_set_memory_clock(rdev, rdev->pm.default_mclk); pm 1294 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method == PM_METHOD_DPM) pm 1304 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_DEFAULT; pm 1305 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_state = DYNPM_STATE_DISABLED; pm 1306 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_planned_action = DYNPM_ACTION_NONE; pm 1307 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_can_upclock = true; pm 1308 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_can_downclock = true; pm 1309 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.default_sclk = rdev->clock.default_sclk; pm 1310 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.default_mclk = rdev->clock.default_mclk; pm 1311 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_sclk = rdev->clock.default_sclk; pm 1312 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_mclk = rdev->clock.default_mclk; pm 1313 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.int_thermal_type = THERMAL_TYPE_NONE; pm 1326 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_vddc) pm 1327 drivers/gpu/drm/radeon/radeon_pm.c radeon_atom_set_voltage(rdev, rdev->pm.default_vddc, pm 1329 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_vddci) pm 1330 drivers/gpu/drm/radeon/radeon_pm.c radeon_atom_set_voltage(rdev, rdev->pm.default_vddci, pm 1332 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_sclk) pm 1333 drivers/gpu/drm/radeon/radeon_pm.c radeon_set_engine_clock(rdev, rdev->pm.default_sclk); pm 1334 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_mclk) pm 1335 drivers/gpu/drm/radeon/radeon_pm.c radeon_set_memory_clock(rdev, rdev->pm.default_mclk); pm 1344 drivers/gpu/drm/radeon/radeon_pm.c INIT_DELAYED_WORK(&rdev->pm.dynpm_idle_work, radeon_dynpm_idle_work_handler); pm 1346 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.num_power_states > 1) { pm 1361 drivers/gpu/drm/radeon/radeon_pm.c for (i = 0; i < rdev->pm.dpm.num_ps; i++) { pm 1363 drivers/gpu/drm/radeon/radeon_pm.c radeon_dpm_print_power_state(rdev, &rdev->pm.dpm.ps[i]); pm 1372 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.state = POWER_STATE_TYPE_BALANCED; pm 1373 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.user_state = POWER_STATE_TYPE_BALANCED; pm 1374 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.forced_level = RADEON_DPM_FORCED_LEVEL_AUTO; pm 1375 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.default_sclk = rdev->clock.default_sclk; pm 1376 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.default_mclk = rdev->clock.default_mclk; pm 1377 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_sclk = rdev->clock.default_sclk; pm 1378 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_mclk = rdev->clock.default_mclk; pm 1379 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.int_thermal_type = THERMAL_TYPE_NONE; pm 1391 drivers/gpu/drm/radeon/radeon_pm.c INIT_WORK(&rdev->pm.dpm.thermal.work, radeon_dpm_thermal_work_handler); pm 1392 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1394 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.current_ps = rdev->pm.dpm.requested_ps = rdev->pm.dpm.boot_ps; pm 1399 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1402 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm_enabled = true; pm 1413 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm_enabled = false; pm 1417 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_vddc) pm 1418 drivers/gpu/drm/radeon/radeon_pm.c radeon_atom_set_voltage(rdev, rdev->pm.default_vddc, pm 1420 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_vddci) pm 1421 drivers/gpu/drm/radeon/radeon_pm.c radeon_atom_set_voltage(rdev, rdev->pm.default_vddci, pm 1423 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_sclk) pm 1424 drivers/gpu/drm/radeon/radeon_pm.c radeon_set_engine_clock(rdev, rdev->pm.default_sclk); pm 1425 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.default_mclk) pm 1426 drivers/gpu/drm/radeon/radeon_pm.c radeon_set_memory_clock(rdev, rdev->pm.default_mclk); pm 1477 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.pm_method = PM_METHOD_PROFILE; pm 1481 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.pm_method = PM_METHOD_PROFILE; pm 1483 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.pm_method = PM_METHOD_DPM; pm 1485 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.pm_method = PM_METHOD_PROFILE; pm 1515 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.pm_method = PM_METHOD_PROFILE; pm 1519 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.pm_method = PM_METHOD_PROFILE; pm 1521 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.pm_method = PM_METHOD_PROFILE; pm 1523 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.pm_method = PM_METHOD_PROFILE; pm 1525 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.pm_method = PM_METHOD_DPM; pm 1529 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.pm_method = PM_METHOD_PROFILE; pm 1533 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method == PM_METHOD_DPM) pm 1543 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method == PM_METHOD_DPM) { pm 1544 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dpm_enabled) { pm 1545 drivers/gpu/drm/radeon/radeon_pm.c if (!rdev->pm.sysfs_initialized) { pm 1559 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.sysfs_initialized = true; pm 1562 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1564 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1566 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm_enabled = false; pm 1576 drivers/gpu/drm/radeon/radeon_pm.c if ((rdev->pm.num_power_states > 1) && pm 1577 drivers/gpu/drm/radeon/radeon_pm.c (!rdev->pm.sysfs_initialized)) { pm 1586 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.sysfs_initialized = true; pm 1594 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.num_power_states > 1) { pm 1595 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1596 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method == PM_METHOD_PROFILE) { pm 1597 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.profile = PM_PROFILE_DEFAULT; pm 1600 drivers/gpu/drm/radeon/radeon_pm.c } else if (rdev->pm.pm_method == PM_METHOD_DYNPM) { pm 1602 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_state = DYNPM_STATE_DISABLED; pm 1603 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_planned_action = DYNPM_ACTION_DEFAULT; pm 1606 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1608 drivers/gpu/drm/radeon/radeon_pm.c cancel_delayed_work_sync(&rdev->pm.dynpm_idle_work); pm 1615 drivers/gpu/drm/radeon/radeon_pm.c kfree(rdev->pm.power_state); pm 1620 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.num_power_states > 1) { pm 1621 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1623 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1634 drivers/gpu/drm/radeon/radeon_pm.c kfree(rdev->pm.power_state); pm 1639 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method == PM_METHOD_DPM) pm 1651 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.num_power_states < 2) pm 1654 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1656 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.active_crtcs = 0; pm 1657 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.active_crtc_count = 0; pm 1663 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.active_crtcs |= (1 << radeon_crtc->crtc_id); pm 1664 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.active_crtc_count++; pm 1669 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method == PM_METHOD_PROFILE) { pm 1672 drivers/gpu/drm/radeon/radeon_pm.c } else if (rdev->pm.pm_method == PM_METHOD_DYNPM) { pm 1673 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dynpm_state != DYNPM_STATE_DISABLED) { pm 1674 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.active_crtc_count > 1) { pm 1675 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dynpm_state == DYNPM_STATE_ACTIVE) { pm 1676 drivers/gpu/drm/radeon/radeon_pm.c cancel_delayed_work(&rdev->pm.dynpm_idle_work); pm 1678 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_state = DYNPM_STATE_PAUSED; pm 1679 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_planned_action = DYNPM_ACTION_DEFAULT; pm 1685 drivers/gpu/drm/radeon/radeon_pm.c } else if (rdev->pm.active_crtc_count == 1) { pm 1688 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dynpm_state == DYNPM_STATE_MINIMUM) { pm 1689 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_state = DYNPM_STATE_ACTIVE; pm 1690 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_planned_action = DYNPM_ACTION_UPCLOCK; pm 1694 drivers/gpu/drm/radeon/radeon_pm.c schedule_delayed_work(&rdev->pm.dynpm_idle_work, pm 1696 drivers/gpu/drm/radeon/radeon_pm.c } else if (rdev->pm.dynpm_state == DYNPM_STATE_PAUSED) { pm 1697 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_state = DYNPM_STATE_ACTIVE; pm 1698 drivers/gpu/drm/radeon/radeon_pm.c schedule_delayed_work(&rdev->pm.dynpm_idle_work, pm 1703 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dynpm_state != DYNPM_STATE_MINIMUM) { pm 1704 drivers/gpu/drm/radeon/radeon_pm.c cancel_delayed_work(&rdev->pm.dynpm_idle_work); pm 1706 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_state = DYNPM_STATE_MINIMUM; pm 1707 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_planned_action = DYNPM_ACTION_MINIMUM; pm 1715 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1724 drivers/gpu/drm/radeon/radeon_pm.c if (!rdev->pm.dpm_enabled) pm 1727 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1730 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.new_active_crtcs = 0; pm 1731 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.new_active_crtc_count = 0; pm 1737 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.new_active_crtcs |= (1 << radeon_crtc->crtc_id); pm 1738 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.new_active_crtc_count++; pm 1745 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.ac_power = true; pm 1747 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.ac_power = false; pm 1751 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1757 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.pm_method == PM_METHOD_DPM) pm 1772 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.active_crtcs & (1 << crtc)) { pm 1803 drivers/gpu/drm/radeon/radeon_pm.c pm.dynpm_idle_work.work); pm 1806 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1807 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dynpm_state == DYNPM_STATE_ACTIVE) { pm 1822 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dynpm_planned_action == DYNPM_ACTION_DOWNCLOCK) { pm 1823 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_planned_action = DYNPM_ACTION_NONE; pm 1824 drivers/gpu/drm/radeon/radeon_pm.c } else if (rdev->pm.dynpm_planned_action == DYNPM_ACTION_NONE && pm 1825 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_can_upclock) { pm 1826 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_planned_action = pm 1828 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_action_timeout = jiffies + pm 1832 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dynpm_planned_action == DYNPM_ACTION_UPCLOCK) { pm 1833 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_planned_action = DYNPM_ACTION_NONE; pm 1834 drivers/gpu/drm/radeon/radeon_pm.c } else if (rdev->pm.dynpm_planned_action == DYNPM_ACTION_NONE && pm 1835 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_can_downclock) { pm 1836 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_planned_action = pm 1838 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dynpm_action_timeout = jiffies + pm 1846 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.dynpm_planned_action != DYNPM_ACTION_NONE && pm 1847 drivers/gpu/drm/radeon/radeon_pm.c jiffies > rdev->pm.dynpm_action_timeout) { pm 1852 drivers/gpu/drm/radeon/radeon_pm.c schedule_delayed_work(&rdev->pm.dynpm_idle_work, pm 1855 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1874 drivers/gpu/drm/radeon/radeon_pm.c } else if (rdev->pm.dpm_enabled) { pm 1875 drivers/gpu/drm/radeon/radeon_pm.c mutex_lock(&rdev->pm.mutex); pm 1880 drivers/gpu/drm/radeon/radeon_pm.c mutex_unlock(&rdev->pm.mutex); pm 1882 drivers/gpu/drm/radeon/radeon_pm.c seq_printf(m, "default engine clock: %u0 kHz\n", rdev->pm.default_sclk); pm 1885 drivers/gpu/drm/radeon/radeon_pm.c seq_printf(m, "current engine clock: %u0 kHz\n", rdev->pm.current_sclk); pm 1888 drivers/gpu/drm/radeon/radeon_pm.c seq_printf(m, "default memory clock: %u0 kHz\n", rdev->pm.default_mclk); pm 1889 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->asic->pm.get_memory_clock) pm 1891 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->pm.current_vddc) pm 1892 drivers/gpu/drm/radeon/radeon_pm.c seq_printf(m, "voltage: %u mV\n", rdev->pm.current_vddc); pm 1893 drivers/gpu/drm/radeon/radeon_pm.c if (rdev->asic->pm.get_pcie_lanes) pm 897 drivers/gpu/drm/radeon/radeon_ttm.c down_read(&rdev->pm.mclk_lock); pm 899 drivers/gpu/drm/radeon/radeon_ttm.c up_read(&rdev->pm.mclk_lock); pm 876 drivers/gpu/drm/radeon/radeon_uvd.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { pm 877 drivers/gpu/drm/radeon/radeon_uvd.c radeon_uvd_count_handles(rdev, &rdev->pm.dpm.sd, pm 878 drivers/gpu/drm/radeon/radeon_uvd.c &rdev->pm.dpm.hd); pm 896 drivers/gpu/drm/radeon/radeon_uvd.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { pm 899 drivers/gpu/drm/radeon/radeon_uvd.c if ((rdev->pm.dpm.sd != sd) || pm 900 drivers/gpu/drm/radeon/radeon_uvd.c (rdev->pm.dpm.hd != hd)) { pm 901 drivers/gpu/drm/radeon/radeon_uvd.c rdev->pm.dpm.sd = sd; pm 902 drivers/gpu/drm/radeon/radeon_uvd.c rdev->pm.dpm.hd = hd; pm 909 drivers/gpu/drm/radeon/radeon_uvd.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { pm 269 drivers/gpu/drm/radeon/radeon_vce.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { pm 294 drivers/gpu/drm/radeon/radeon_vce.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { pm 300 drivers/gpu/drm/radeon/radeon_vce.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { pm 224 drivers/gpu/drm/radeon/rs600.c int requested_index = rdev->pm.requested_power_state_index; pm 225 drivers/gpu/drm/radeon/rs600.c struct radeon_power_state *ps = &rdev->pm.power_state[requested_index]; pm 307 drivers/gpu/drm/radeon/rs600.c rdev->asic->pm.set_pcie_lanes && pm 309 drivers/gpu/drm/radeon/rs600.c rdev->pm.power_state[rdev->pm.current_power_state_index].pcie_lanes)) { pm 795 drivers/gpu/drm/radeon/rs600.c rdev->pm.vblank_sync = true; pm 804 drivers/gpu/drm/radeon/rs600.c rdev->pm.vblank_sync = true; pm 82 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_sideport_mclk.full = dfixed_const(le32_to_cpu(info->info.ulBootUpMemoryClock)); pm 83 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_sideport_mclk.full = dfixed_div(rdev->pm.igp_sideport_mclk, tmp); pm 85 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_system_mclk.full = dfixed_const(le16_to_cpu(info->info.usK8MemoryClock)); pm 87 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_system_mclk.full = dfixed_const(rdev->clock.default_mclk); pm 88 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_system_mclk.full = dfixed_div(rdev->pm.igp_system_mclk, tmp); pm 90 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_system_mclk.full = dfixed_const(400); pm 91 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_ht_link_clk.full = dfixed_const(le16_to_cpu(info->info.usFSBClock)); pm 92 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_ht_link_width.full = dfixed_const(info->info.ucHTLinkWidth); pm 96 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_sideport_mclk.full = dfixed_const(le32_to_cpu(info->info_v2.ulBootUpSidePortClock)); pm 97 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_sideport_mclk.full = dfixed_div(rdev->pm.igp_sideport_mclk, tmp); pm 99 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_system_mclk.full = dfixed_const(le32_to_cpu(info->info_v2.ulBootUpUMAClock)); pm 101 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_system_mclk.full = dfixed_const(rdev->clock.default_mclk); pm 103 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_system_mclk.full = dfixed_const(66700); pm 104 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_system_mclk.full = dfixed_div(rdev->pm.igp_system_mclk, tmp); pm 105 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_ht_link_clk.full = dfixed_const(le32_to_cpu(info->info_v2.ulHTLinkFreq)); pm 106 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_ht_link_clk.full = dfixed_div(rdev->pm.igp_ht_link_clk, tmp); pm 107 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_ht_link_width.full = dfixed_const(le16_to_cpu(info->info_v2.usMinHTLinkWidth)); pm 111 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_sideport_mclk.full = dfixed_const(200); pm 112 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_system_mclk.full = dfixed_const(200); pm 113 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_ht_link_clk.full = dfixed_const(1000); pm 114 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_ht_link_width.full = dfixed_const(8); pm 120 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_sideport_mclk.full = dfixed_const(200); pm 121 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_system_mclk.full = dfixed_const(200); pm 122 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_ht_link_clk.full = dfixed_const(1000); pm 123 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_ht_link_width.full = dfixed_const(8); pm 129 drivers/gpu/drm/radeon/rs690.c rdev->pm.k8_bandwidth.full = dfixed_mul(rdev->pm.igp_system_mclk, tmp); pm 134 drivers/gpu/drm/radeon/rs690.c rdev->pm.ht_bandwidth.full = dfixed_mul(rdev->pm.igp_ht_link_clk, pm 135 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_ht_link_width); pm 136 drivers/gpu/drm/radeon/rs690.c rdev->pm.ht_bandwidth.full = dfixed_div(rdev->pm.ht_bandwidth, tmp); pm 137 drivers/gpu/drm/radeon/rs690.c if (tmp.full < rdev->pm.max_bandwidth.full) { pm 139 drivers/gpu/drm/radeon/rs690.c rdev->pm.max_bandwidth.full = tmp.full; pm 145 drivers/gpu/drm/radeon/rs690.c rdev->pm.sideport_bandwidth.full = dfixed_mul(rdev->pm.igp_sideport_mclk, tmp); pm 147 drivers/gpu/drm/radeon/rs690.c rdev->pm.sideport_bandwidth.full = dfixed_div(rdev->pm.sideport_bandwidth, tmp); pm 291 drivers/gpu/drm/radeon/rs690.c (rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) pm 294 drivers/gpu/drm/radeon/rs690.c selected_sclk = rdev->pm.current_sclk; pm 303 drivers/gpu/drm/radeon/rs690.c core_bandwidth.full = dfixed_div(rdev->pm.sclk, a); pm 367 drivers/gpu/drm/radeon/rs690.c if (max_bandwidth.full > rdev->pm.sideport_bandwidth.full && pm 368 drivers/gpu/drm/radeon/rs690.c rdev->pm.sideport_bandwidth.full) pm 369 drivers/gpu/drm/radeon/rs690.c max_bandwidth = rdev->pm.sideport_bandwidth; pm 372 drivers/gpu/drm/radeon/rs690.c b.full = dfixed_div(rdev->pm.igp_sideport_mclk, a); pm 376 drivers/gpu/drm/radeon/rs690.c if (max_bandwidth.full > rdev->pm.k8_bandwidth.full && pm 377 drivers/gpu/drm/radeon/rs690.c rdev->pm.k8_bandwidth.full) pm 378 drivers/gpu/drm/radeon/rs690.c max_bandwidth = rdev->pm.k8_bandwidth; pm 379 drivers/gpu/drm/radeon/rs690.c if (max_bandwidth.full > rdev->pm.ht_bandwidth.full && pm 380 drivers/gpu/drm/radeon/rs690.c rdev->pm.ht_bandwidth.full) pm 381 drivers/gpu/drm/radeon/rs690.c max_bandwidth = rdev->pm.ht_bandwidth; pm 45 drivers/gpu/drm/radeon/rs780_dpm.c struct igp_power_info *pi = rdev->pm.dpm.priv; pm 382 drivers/gpu/drm/radeon/rs780_dpm.c struct igp_ps *current_state = rs780_get_ps(rdev->pm.dpm.current_ps); pm 409 drivers/gpu/drm/radeon/rs780_dpm.c struct igp_ps *current_state = rs780_get_ps(rdev->pm.dpm.current_ps); pm 602 drivers/gpu/drm/radeon/rs780_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 645 drivers/gpu/drm/radeon/rs780_dpm.c (rdev->pm.int_thermal_type == THERMAL_TYPE_RV6XX)) { pm 654 drivers/gpu/drm/radeon/rs780_dpm.c struct radeon_ps *new_ps = rdev->pm.dpm.requested_ps; pm 655 drivers/gpu/drm/radeon/rs780_dpm.c struct radeon_ps *old_ps = rdev->pm.dpm.current_ps; pm 744 drivers/gpu/drm/radeon/rs780_dpm.c rdev->pm.dpm.boot_ps = rps; pm 746 drivers/gpu/drm/radeon/rs780_dpm.c rdev->pm.dpm.uvd_ps = rps; pm 809 drivers/gpu/drm/radeon/rs780_dpm.c rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, pm 812 drivers/gpu/drm/radeon/rs780_dpm.c if (!rdev->pm.dpm.ps) pm 833 drivers/gpu/drm/radeon/rs780_dpm.c kfree(rdev->pm.dpm.ps); pm 836 drivers/gpu/drm/radeon/rs780_dpm.c rdev->pm.dpm.ps[i].ps_priv = ps; pm 837 drivers/gpu/drm/radeon/rs780_dpm.c rs780_parse_pplib_non_clock_info(rdev, &rdev->pm.dpm.ps[i], pm 841 drivers/gpu/drm/radeon/rs780_dpm.c &rdev->pm.dpm.ps[i], pm 845 drivers/gpu/drm/radeon/rs780_dpm.c rdev->pm.dpm.num_ps = power_info->pplib.ucNumStates; pm 861 drivers/gpu/drm/radeon/rs780_dpm.c rdev->pm.dpm.priv = pi; pm 959 drivers/gpu/drm/radeon/rs780_dpm.c for (i = 0; i < rdev->pm.dpm.num_ps; i++) { pm 960 drivers/gpu/drm/radeon/rs780_dpm.c kfree(rdev->pm.dpm.ps[i].ps_priv); pm 962 drivers/gpu/drm/radeon/rs780_dpm.c kfree(rdev->pm.dpm.ps); pm 963 drivers/gpu/drm/radeon/rs780_dpm.c kfree(rdev->pm.dpm.priv); pm 968 drivers/gpu/drm/radeon/rs780_dpm.c struct igp_ps *requested_state = rs780_get_ps(rdev->pm.dpm.requested_ps); pm 986 drivers/gpu/drm/radeon/rs780_dpm.c struct radeon_ps *rps = rdev->pm.dpm.current_ps; pm 1033 drivers/gpu/drm/radeon/rs780_dpm.c struct radeon_ps *rps = rdev->pm.dpm.current_ps; pm 1076 drivers/gpu/drm/radeon/rs780_dpm.c rdev->pm.dpm.forced_level = level; pm 975 drivers/gpu/drm/radeon/rv515.c (rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) pm 978 drivers/gpu/drm/radeon/rv515.c selected_sclk = rdev->pm.current_sclk; pm 45 drivers/gpu/drm/radeon/rv6xx_dpm.c struct rv6xx_power_info *pi = rdev->pm.dpm.priv; pm 921 drivers/gpu/drm/radeon/rv6xx_dpm.c rdev->pm.dpm.voltage_response_time, pm 925 drivers/gpu/drm/radeon/rv6xx_dpm.c rdev->pm.dpm.backbias_response_time, pm 1185 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.new_active_crtcs & 1) { pm 1188 drivers/gpu/drm/radeon/rv6xx_dpm.c } else if (rdev->pm.dpm.new_active_crtcs & 2) { pm 1298 drivers/gpu/drm/radeon/rv6xx_dpm.c msleep((rdev->pm.dpm.voltage_response_time + 999) / 1000); pm 1548 drivers/gpu/drm/radeon/rv6xx_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 1553 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_BACKBIAS) pm 1615 drivers/gpu/drm/radeon/rv6xx_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 1633 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_BACKBIAS) pm 1645 drivers/gpu/drm/radeon/rv6xx_dpm.c r600_is_internal_thermal_sensor(rdev->pm.int_thermal_type)) { pm 1659 drivers/gpu/drm/radeon/rv6xx_dpm.c struct radeon_ps *new_ps = rdev->pm.dpm.requested_ps; pm 1660 drivers/gpu/drm/radeon/rv6xx_dpm.c struct radeon_ps *old_ps = rdev->pm.dpm.current_ps; pm 1683 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_STEPVDDC) pm 1687 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_BACKBIAS) pm 1696 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_BACKBIAS) pm 1700 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_STEPVDDC) pm 1702 drivers/gpu/drm/radeon/rv6xx_dpm.c msleep((rdev->pm.dpm.voltage_response_time + 999) / 1000); pm 1720 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_STEPVDDC) { pm 1728 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_BACKBIAS) pm 1759 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_ASPM_L0s) pm 1761 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_ASPM_L1) pm 1763 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_TURNOFFPLL_ASPML1) pm 1811 drivers/gpu/drm/radeon/rv6xx_dpm.c rdev->pm.dpm.boot_ps = rps; pm 1813 drivers/gpu/drm/radeon/rv6xx_dpm.c rdev->pm.dpm.uvd_ps = rps; pm 1890 drivers/gpu/drm/radeon/rv6xx_dpm.c rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, pm 1893 drivers/gpu/drm/radeon/rv6xx_dpm.c if (!rdev->pm.dpm.ps) pm 1910 drivers/gpu/drm/radeon/rv6xx_dpm.c kfree(rdev->pm.dpm.ps); pm 1913 drivers/gpu/drm/radeon/rv6xx_dpm.c rdev->pm.dpm.ps[i].ps_priv = ps; pm 1914 drivers/gpu/drm/radeon/rv6xx_dpm.c rv6xx_parse_pplib_non_clock_info(rdev, &rdev->pm.dpm.ps[i], pm 1923 drivers/gpu/drm/radeon/rv6xx_dpm.c &rdev->pm.dpm.ps[i], j, pm 1928 drivers/gpu/drm/radeon/rv6xx_dpm.c rdev->pm.dpm.num_ps = power_info->pplib.ucNumStates; pm 1942 drivers/gpu/drm/radeon/rv6xx_dpm.c rdev->pm.dpm.priv = pi; pm 1952 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.voltage_response_time == 0) pm 1953 drivers/gpu/drm/radeon/rv6xx_dpm.c rdev->pm.dpm.voltage_response_time = R600_VOLTAGERESPONSETIME_DFLT; pm 1954 drivers/gpu/drm/radeon/rv6xx_dpm.c if (rdev->pm.dpm.backbias_response_time == 0) pm 1955 drivers/gpu/drm/radeon/rv6xx_dpm.c rdev->pm.dpm.backbias_response_time = R600_BACKBIASRESPONSETIME_DFLT; pm 1997 drivers/gpu/drm/radeon/rv6xx_dpm.c (rdev->pm.int_thermal_type != THERMAL_TYPE_NONE)) pm 2031 drivers/gpu/drm/radeon/rv6xx_dpm.c struct radeon_ps *rps = rdev->pm.dpm.current_ps; pm 2056 drivers/gpu/drm/radeon/rv6xx_dpm.c struct radeon_ps *rps = rdev->pm.dpm.current_ps; pm 2079 drivers/gpu/drm/radeon/rv6xx_dpm.c struct radeon_ps *rps = rdev->pm.dpm.current_ps; pm 2103 drivers/gpu/drm/radeon/rv6xx_dpm.c for (i = 0; i < rdev->pm.dpm.num_ps; i++) { pm 2104 drivers/gpu/drm/radeon/rv6xx_dpm.c kfree(rdev->pm.dpm.ps[i].ps_priv); pm 2106 drivers/gpu/drm/radeon/rv6xx_dpm.c kfree(rdev->pm.dpm.ps); pm 2107 drivers/gpu/drm/radeon/rv6xx_dpm.c kfree(rdev->pm.dpm.priv); pm 2112 drivers/gpu/drm/radeon/rv6xx_dpm.c struct rv6xx_ps *requested_state = rv6xx_get_ps(rdev->pm.dpm.requested_ps); pm 2122 drivers/gpu/drm/radeon/rv6xx_dpm.c struct rv6xx_ps *requested_state = rv6xx_get_ps(rdev->pm.dpm.requested_ps); pm 2156 drivers/gpu/drm/radeon/rv6xx_dpm.c rdev->pm.dpm.forced_level = level; pm 877 drivers/gpu/drm/radeon/rv770.c int req_ps_idx = rdev->pm.requested_power_state_index; pm 878 drivers/gpu/drm/radeon/rv770.c int req_cm_idx = rdev->pm.requested_clock_mode_index; pm 879 drivers/gpu/drm/radeon/rv770.c struct radeon_power_state *ps = &rdev->pm.power_state[req_ps_idx]; pm 886 drivers/gpu/drm/radeon/rv770.c if (voltage->voltage != rdev->pm.current_vddc) { pm 888 drivers/gpu/drm/radeon/rv770.c rdev->pm.current_vddc = voltage->voltage; pm 1870 drivers/gpu/drm/radeon/rv770.c if (rdev->pm.pm_method == PM_METHOD_DPM) pm 56 drivers/gpu/drm/radeon/rv770_dpm.c struct rv7xx_power_info *pi = rdev->pm.dpm.priv; pm 63 drivers/gpu/drm/radeon/rv770_dpm.c struct evergreen_power_info *pi = rdev->pm.dpm.priv; pm 1176 drivers/gpu/drm/radeon/rv770_dpm.c switch (rdev->pm.int_thermal_type) { pm 1190 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_HARDWAREDC) { pm 1193 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_DONT_WAIT_FOR_VBLANK_ON_ALERT) pm 1196 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_GOTO_BOOT_ON_ALERT) pm 1200 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_STEPVDDC) pm 1346 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->pm.dpm.new_active_crtcs & 1) { pm 1349 drivers/gpu/drm/radeon/rv770_dpm.c } else if (rdev->pm.dpm.new_active_crtcs & 2) { pm 1498 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.forced_level = level; pm 1707 drivers/gpu/drm/radeon/rv770_dpm.c voltage_response_time = (u32)rdev->pm.dpm.voltage_response_time; pm 1708 drivers/gpu/drm/radeon/rv770_dpm.c backbias_response_time = (u32)rdev->pm.dpm.backbias_response_time; pm 1887 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.thermal.min_temp = low_temp; pm 1888 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.thermal.max_temp = high_temp; pm 1896 drivers/gpu/drm/radeon/rv770_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 1925 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_BACKBIAS) pm 1981 drivers/gpu/drm/radeon/rv770_dpm.c r600_is_internal_thermal_sensor(rdev->pm.int_thermal_type)) { pm 2016 drivers/gpu/drm/radeon/rv770_dpm.c r600_is_internal_thermal_sensor(rdev->pm.int_thermal_type)) { pm 2039 drivers/gpu/drm/radeon/rv770_dpm.c struct radeon_ps *new_ps = rdev->pm.dpm.requested_ps; pm 2040 drivers/gpu/drm/radeon/rv770_dpm.c struct radeon_ps *old_ps = rdev->pm.dpm.current_ps; pm 2083 drivers/gpu/drm/radeon/rv770_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 2108 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_ASPM_L0s) pm 2110 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_ASPM_L1) pm 2112 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_TURNOFFPLL_ASPML1) pm 2168 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.boot_ps = rps; pm 2170 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.uvd_ps = rps; pm 2259 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.sclk = pl->sclk; pm 2260 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.mclk = pl->mclk; pm 2261 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.vddc = pl->vddc; pm 2262 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.vddci = pl->vddci; pm 2284 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, pm 2287 drivers/gpu/drm/radeon/rv770_dpm.c if (!rdev->pm.dpm.ps) pm 2304 drivers/gpu/drm/radeon/rv770_dpm.c kfree(rdev->pm.dpm.ps); pm 2307 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.ps[i].ps_priv = ps; pm 2308 drivers/gpu/drm/radeon/rv770_dpm.c rv7xx_parse_pplib_non_clock_info(rdev, &rdev->pm.dpm.ps[i], pm 2318 drivers/gpu/drm/radeon/rv770_dpm.c &rdev->pm.dpm.ps[i], j, pm 2323 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.num_ps = power_info->pplib.ucNumStates; pm 2352 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.priv = pi; pm 2368 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->pm.dpm.voltage_response_time == 0) pm 2369 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.voltage_response_time = R600_VOLTAGERESPONSETIME_DFLT; pm 2370 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->pm.dpm.backbias_response_time == 0) pm 2371 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.backbias_response_time = R600_BACKBIASRESPONSETIME_DFLT; pm 2409 drivers/gpu/drm/radeon/rv770_dpm.c if (rdev->pm.int_thermal_type != THERMAL_TYPE_NONE) pm 2468 drivers/gpu/drm/radeon/rv770_dpm.c struct radeon_ps *rps = rdev->pm.dpm.current_ps; pm 2497 drivers/gpu/drm/radeon/rv770_dpm.c struct radeon_ps *rps = rdev->pm.dpm.current_ps; pm 2519 drivers/gpu/drm/radeon/rv770_dpm.c struct radeon_ps *rps = rdev->pm.dpm.current_ps; pm 2543 drivers/gpu/drm/radeon/rv770_dpm.c for (i = 0; i < rdev->pm.dpm.num_ps; i++) { pm 2544 drivers/gpu/drm/radeon/rv770_dpm.c kfree(rdev->pm.dpm.ps[i].ps_priv); pm 2546 drivers/gpu/drm/radeon/rv770_dpm.c kfree(rdev->pm.dpm.ps); pm 2547 drivers/gpu/drm/radeon/rv770_dpm.c kfree(rdev->pm.dpm.priv); pm 2552 drivers/gpu/drm/radeon/rv770_dpm.c struct rv7xx_ps *requested_state = rv770_get_ps(rdev->pm.dpm.requested_ps); pm 2562 drivers/gpu/drm/radeon/rv770_dpm.c struct rv7xx_ps *requested_state = rv770_get_ps(rdev->pm.dpm.requested_ps); pm 2329 drivers/gpu/drm/radeon/si.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { pm 2335 drivers/gpu/drm/radeon/si.c wm_high.yclk = rdev->pm.current_mclk * 10; pm 2336 drivers/gpu/drm/radeon/si.c wm_high.sclk = rdev->pm.current_sclk * 10; pm 2356 drivers/gpu/drm/radeon/si.c if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { pm 2362 drivers/gpu/drm/radeon/si.c wm_low.yclk = rdev->pm.current_mclk * 10; pm 2363 drivers/gpu/drm/radeon/si.c wm_low.sclk = rdev->pm.current_sclk * 10; pm 6301 drivers/gpu/drm/radeon/si.c rdev->pm.vblank_sync = true; pm 6414 drivers/gpu/drm/radeon/si.c rdev->pm.dpm.thermal.high_to_low = false; pm 6419 drivers/gpu/drm/radeon/si.c rdev->pm.dpm.thermal.high_to_low = true; pm 6443 drivers/gpu/drm/radeon/si.c if (queue_thermal && rdev->pm.dpm_enabled) pm 6444 drivers/gpu/drm/radeon/si.c schedule_work(&rdev->pm.dpm.thermal.work); pm 6629 drivers/gpu/drm/radeon/si.c if (!rdev->pm.dpm_enabled) { pm 6785 drivers/gpu/drm/radeon/si.c if (rdev->pm.pm_method == PM_METHOD_DPM) pm 1767 drivers/gpu/drm/radeon/si_dpm.c struct si_power_info *pi = rdev->pm.dpm.priv; pm 1841 drivers/gpu/drm/radeon/si_dpm.c u32 p_limit1 = rdev->pm.dpm.tdp_limit; pm 1842 drivers/gpu/drm/radeon/si_dpm.c u32 p_limit2 = rdev->pm.dpm.near_tdp_limit; pm 2132 drivers/gpu/drm/radeon/si_dpm.c if (tdp_adjustment > (u32)rdev->pm.dpm.tdp_od_limit) pm 2135 drivers/gpu/drm/radeon/si_dpm.c max_tdp_limit = ((100 + 100) * rdev->pm.dpm.tdp_limit) / 100; pm 2138 drivers/gpu/drm/radeon/si_dpm.c *tdp_limit = ((100 + tdp_adjustment) * rdev->pm.dpm.tdp_limit) / 100; pm 2139 drivers/gpu/drm/radeon/si_dpm.c *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted + (*tdp_limit - rdev->pm.dpm.tdp_limit); pm 2141 drivers/gpu/drm/radeon/si_dpm.c *tdp_limit = ((100 - tdp_adjustment) * rdev->pm.dpm.tdp_limit) / 100; pm 2142 drivers/gpu/drm/radeon/si_dpm.c adjustment_delta = rdev->pm.dpm.tdp_limit - *tdp_limit; pm 2143 drivers/gpu/drm/radeon/si_dpm.c if (adjustment_delta < rdev->pm.dpm.near_tdp_limit_adjusted) pm 2144 drivers/gpu/drm/radeon/si_dpm.c *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted - adjustment_delta; pm 2166 drivers/gpu/drm/radeon/si_dpm.c struct radeon_ppm_table *ppm = rdev->pm.dpm.dyn_state.ppm_table; pm 2179 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.tdp_adjustment, pm 2236 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_scale_power_for_smc(rdev->pm.dpm.near_tdp_limit_adjusted, scaling_factor) * 1000); pm 2238 drivers/gpu/drm/radeon/si_dpm.c cpu_to_be32(si_scale_power_for_smc((rdev->pm.dpm.near_tdp_limit_adjusted * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, scaling_factor) * 1000); pm 2398 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.sq_ramping_threshold == 0) pm 2420 drivers/gpu/drm/radeon/si_dpm.c if ((state->performance_levels[i].sclk >= rdev->pm.dpm.sq_ramping_threshold) && pm 2539 drivers/gpu/drm/radeon/si_dpm.c &rdev->pm.dpm.dyn_state.cac_leakage_table; pm 2676 drivers/gpu/drm/radeon/si_dpm.c si_pi->dyn_powertune_data.cac_leakage = rdev->pm.dpm.cac_leakage; pm 2703 drivers/gpu/drm/radeon/si_dpm.c load_line_slope = ((u32)rdev->pm.dpm.load_line_slope << SMC_SISLANDS_SCALE_R) / 100; pm 2942 drivers/gpu/drm/radeon/si_dpm.c &rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; pm 3008 drivers/gpu/drm/radeon/si_dpm.c rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; pm 3009 drivers/gpu/drm/radeon/si_dpm.c rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; pm 3017 drivers/gpu/drm/radeon/si_dpm.c if ((rdev->pm.dpm.new_active_crtc_count > 1) || pm 3026 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.ac_power) pm 3027 drivers/gpu/drm/radeon/si_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 3029 drivers/gpu/drm/radeon/si_dpm.c max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; pm 3035 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.ac_power == false) { pm 3049 drivers/gpu/drm/radeon/si_dpm.c btc_get_max_clock_from_voltage_dependency_table(&rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk, pm 3051 drivers/gpu/drm/radeon/si_dpm.c btc_get_max_clock_from_voltage_dependency_table(&rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 3053 drivers/gpu/drm/radeon/si_dpm.c btc_get_max_clock_from_voltage_dependency_table(&rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 3098 drivers/gpu/drm/radeon/si_dpm.c if (sclk < rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].sclk) pm 3099 drivers/gpu/drm/radeon/si_dpm.c sclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].sclk; pm 3100 drivers/gpu/drm/radeon/si_dpm.c if (mclk < rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].mclk) pm 3101 drivers/gpu/drm/radeon/si_dpm.c mclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].mclk; pm 3155 drivers/gpu/drm/radeon/si_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk, pm 3158 drivers/gpu/drm/radeon/si_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 3161 drivers/gpu/drm/radeon/si_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 3164 drivers/gpu/drm/radeon/si_dpm.c btc_apply_voltage_dependency_rules(&rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk, pm 3178 drivers/gpu/drm/radeon/si_dpm.c if (ps->performance_levels[i].vddc > rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc) pm 3404 drivers/gpu/drm/radeon/si_dpm.c struct radeon_ps *rps = rdev->pm.dpm.current_ps; pm 3428 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.forced_level = level; pm 3649 drivers/gpu/drm/radeon/si_dpm.c voltage_response_time = (u32)rdev->pm.dpm.voltage_response_time; pm 3650 drivers/gpu/drm/radeon/si_dpm.c backbias_response_time = (u32)rdev->pm.dpm.backbias_response_time; pm 3688 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.new_active_crtc_count > 0) pm 3693 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.new_active_crtc_count > 1) pm 3703 drivers/gpu/drm/radeon/si_dpm.c if ((rdev->pm.dpm.new_active_crtc_count > 0) && pm 3704 drivers/gpu/drm/radeon/si_dpm.c (!(rdev->pm.dpm.new_active_crtcs & (1 << pipe)))) { pm 3707 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.new_active_crtcs & (1 << i)) pm 3724 drivers/gpu/drm/radeon/si_dpm.c si_notify_smc_display_change(rdev, rdev->pm.dpm.new_active_crtc_count > 0); pm 3977 drivers/gpu/drm/radeon/si_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk, pm 3998 drivers/gpu/drm/radeon/si_dpm.c &rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk, pm 4094 drivers/gpu/drm/radeon/si_dpm.c &rdev->pm.dpm.dyn_state.phase_shedding_limits_table)) { pm 4156 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.dyn_state.cac_leakage_table.entries) { pm 4157 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_NEW_CAC_VOLTAGE) { pm 4158 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries == NULL) pm 4161 drivers/gpu/drm/radeon/si_dpm.c for (v_index = 0; (u32)v_index < rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; v_index++) { pm 4163 drivers/gpu/drm/radeon/si_dpm.c (u16)rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[v_index].v) { pm 4165 drivers/gpu/drm/radeon/si_dpm.c if ((u32)v_index < rdev->pm.dpm.dyn_state.cac_leakage_table.count) pm 4167 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries[v_index].vddc; pm 4170 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries[rdev->pm.dpm.dyn_state.cac_leakage_table.count-1].vddc; pm 4176 drivers/gpu/drm/radeon/si_dpm.c for (v_index = 0; (u32)v_index < rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; v_index++) { pm 4178 drivers/gpu/drm/radeon/si_dpm.c (u16)rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[v_index].v) { pm 4180 drivers/gpu/drm/radeon/si_dpm.c if ((u32)v_index < rdev->pm.dpm.dyn_state.cac_leakage_table.count) pm 4182 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries[v_index].vddc; pm 4185 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.cac_leakage_table.entries[rdev->pm.dpm.dyn_state.cac_leakage_table.count-1].vddc; pm 4191 drivers/gpu/drm/radeon/si_dpm.c if ((u32)voltage->index < rdev->pm.dpm.dyn_state.cac_leakage_table.count) pm 4192 drivers/gpu/drm/radeon/si_dpm.c *std_voltage = rdev->pm.dpm.dyn_state.cac_leakage_table.entries[voltage->index].vddc; pm 4444 drivers/gpu/drm/radeon/si_dpm.c &rdev->pm.dpm.dyn_state.phase_shedding_limits_table, pm 4530 drivers/gpu/drm/radeon/si_dpm.c &rdev->pm.dpm.dyn_state.phase_shedding_limits_table, pm 4557 drivers/gpu/drm/radeon/si_dpm.c &rdev->pm.dpm.dyn_state.phase_shedding_limits_table, pm 4698 drivers/gpu/drm/radeon/si_dpm.c struct radeon_ps *radeon_boot_state = rdev->pm.dpm.boot_ps; pm 4707 drivers/gpu/drm/radeon/si_dpm.c switch (rdev->pm.int_thermal_type) { pm 4720 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_HARDWAREDC) pm 4723 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_REGULATOR_HOT) { pm 4728 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_STEPVDDC) pm 4734 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_REVERT_GPIO5_POLARITY) pm 4737 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_VRHOT_GPIO_CONFIGURABLE) { pm 4739 drivers/gpu/drm/radeon/si_dpm.c vr_hot_gpio = rdev->pm.dpm.backbias_response_time; pm 5005 drivers/gpu/drm/radeon/si_dpm.c (rdev->pm.dpm.new_active_crtc_count <= 2)) { pm 5070 drivers/gpu/drm/radeon/si_dpm.c &rdev->pm.dpm.dyn_state.phase_shedding_limits_table, pm 5160 drivers/gpu/drm/radeon/si_dpm.c for (i = 0; i < rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count; i++) { pm 5162 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[i].clk) { pm 5164 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[i].v) pm 5322 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.new_active_crtc_count == 0) pm 5326 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.new_active_crtcs & (1 << i)) { pm 5906 drivers/gpu/drm/radeon/si_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk); pm 5908 drivers/gpu/drm/radeon/si_dpm.c &rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk); pm 5910 drivers/gpu/drm/radeon/si_dpm.c &rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk); pm 6002 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.thermal.min_temp = low_temp; pm 6003 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.thermal.max_temp = high_temp; pm 6042 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.fan.ucode_fan_control = false; pm 6049 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.fan.ucode_fan_control = false; pm 6053 drivers/gpu/drm/radeon/si_dpm.c tmp64 = (u64)rdev->pm.dpm.fan.pwm_min * duty100; pm 6057 drivers/gpu/drm/radeon/si_dpm.c t_diff1 = rdev->pm.dpm.fan.t_med - rdev->pm.dpm.fan.t_min; pm 6058 drivers/gpu/drm/radeon/si_dpm.c t_diff2 = rdev->pm.dpm.fan.t_high - rdev->pm.dpm.fan.t_med; pm 6060 drivers/gpu/drm/radeon/si_dpm.c pwm_diff1 = rdev->pm.dpm.fan.pwm_med - rdev->pm.dpm.fan.pwm_min; pm 6061 drivers/gpu/drm/radeon/si_dpm.c pwm_diff2 = rdev->pm.dpm.fan.pwm_high - rdev->pm.dpm.fan.pwm_med; pm 6066 drivers/gpu/drm/radeon/si_dpm.c fan_table.temp_min = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100); pm 6067 drivers/gpu/drm/radeon/si_dpm.c fan_table.temp_med = cpu_to_be16((50 + rdev->pm.dpm.fan.t_med) / 100); pm 6068 drivers/gpu/drm/radeon/si_dpm.c fan_table.temp_max = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100); pm 6075 drivers/gpu/drm/radeon/si_dpm.c fan_table.hys_down = cpu_to_be16(rdev->pm.dpm.fan.t_hyst); pm 6085 drivers/gpu/drm/radeon/si_dpm.c fan_table.refresh_period = cpu_to_be32((rdev->pm.dpm.fan.cycle_delay * pm 6101 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.fan.ucode_fan_control = false; pm 6142 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.no_fan) pm 6169 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.no_fan) pm 6198 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.fan.ucode_fan_control) pm 6203 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.fan.ucode_fan_control) pm 6229 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.no_fan) pm 6232 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.fan_pulses_per_revolution == 0) pm 6250 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.no_fan) pm 6253 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.fan_pulses_per_revolution == 0) pm 6256 drivers/gpu/drm/radeon/si_dpm.c if ((speed < rdev->pm.fan_min_rpm) || pm 6257 drivers/gpu/drm/radeon/si_dpm.c (speed > rdev->pm.fan_max_rpm)) pm 6260 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.fan.ucode_fan_control) pm 6293 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.fan.ucode_fan_control) { pm 6303 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.fan_pulses_per_revolution) { pm 6305 drivers/gpu/drm/radeon/si_dpm.c tmp |= EDGE_PER_REV(rdev->pm.fan_pulses_per_revolution -1); pm 6325 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.fan.ucode_fan_control) { pm 6343 drivers/gpu/drm/radeon/si_dpm.c if (!rdev->pm.no_fan) { pm 6354 drivers/gpu/drm/radeon/si_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 6499 drivers/gpu/drm/radeon/si_dpm.c struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; pm 6523 drivers/gpu/drm/radeon/si_dpm.c struct radeon_ps requested_ps = *rdev->pm.dpm.requested_ps; pm 6535 drivers/gpu/drm/radeon/si_dpm.c struct radeon_ps *new_ps = rdev->pm.dpm.requested_ps; pm 6727 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.boot_ps = rps; pm 6729 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.uvd_ps = rps; pm 6801 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.sclk = pl->sclk; pm 6802 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.mclk = pl->mclk; pm 6803 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.vddc = pl->vddc; pm 6804 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.vddci = pl->vddci; pm 6840 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, pm 6843 drivers/gpu/drm/radeon/si_dpm.c if (!rdev->pm.dpm.ps) pm 6852 drivers/gpu/drm/radeon/si_dpm.c if (!rdev->pm.power_state[i].clock_info) pm 6856 drivers/gpu/drm/radeon/si_dpm.c kfree(rdev->pm.dpm.ps); pm 6859 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.ps[i].ps_priv = ps; pm 6860 drivers/gpu/drm/radeon/si_dpm.c si_parse_pplib_non_clock_info(rdev, &rdev->pm.dpm.ps[i], pm 6875 drivers/gpu/drm/radeon/si_dpm.c &rdev->pm.dpm.ps[i], k, pm 6881 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.num_ps = state_array->ucNumEntries; pm 6886 drivers/gpu/drm/radeon/si_dpm.c clock_array_index = rdev->pm.dpm.vce_states[i].clk_idx; pm 6893 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.vce_states[i].sclk = sclk; pm 6894 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.vce_states[i].mclk = mclk; pm 6914 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.priv = si_pi; pm 6960 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries = pm 6964 drivers/gpu/drm/radeon/si_dpm.c if (!rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries) { pm 6968 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count = 4; pm 6969 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[0].clk = 0; pm 6970 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[0].v = 0; pm 6971 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[1].clk = 36000; pm 6972 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[1].v = 720; pm 6973 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[2].clk = 54000; pm 6974 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[2].v = 810; pm 6975 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[3].clk = 72000; pm 6976 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries[3].v = 900; pm 6978 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.voltage_response_time == 0) pm 6979 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.voltage_response_time = R600_VOLTAGERESPONSETIME_DFLT; pm 6980 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.dpm.backbias_response_time == 0) pm 6981 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.backbias_response_time = R600_BACKBIASRESPONSETIME_DFLT; pm 7041 drivers/gpu/drm/radeon/si_dpm.c if (rdev->pm.int_thermal_type != THERMAL_TYPE_NONE) pm 7058 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.mclk_sclk_ratio = 4; pm 7059 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.sclk_mclk_delta = 15000; pm 7060 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.vddc_vddci_delta = 200; pm 7061 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.valid_sclk_values.count = 0; pm 7062 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.valid_sclk_values.values = NULL; pm 7063 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.valid_mclk_values.count = 0; pm 7064 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.valid_mclk_values.values = NULL; pm 7069 drivers/gpu/drm/radeon/si_dpm.c if ((rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.sclk == 0) || pm 7070 drivers/gpu/drm/radeon/si_dpm.c (rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.mclk == 0)) pm 7071 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc = pm 7072 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; pm 7083 drivers/gpu/drm/radeon/si_dpm.c for (i = 0; i < rdev->pm.dpm.num_ps; i++) { pm 7084 drivers/gpu/drm/radeon/si_dpm.c kfree(rdev->pm.dpm.ps[i].ps_priv); pm 7086 drivers/gpu/drm/radeon/si_dpm.c kfree(rdev->pm.dpm.ps); pm 7087 drivers/gpu/drm/radeon/si_dpm.c kfree(rdev->pm.dpm.priv); pm 7088 drivers/gpu/drm/radeon/si_dpm.c kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries); pm 83 drivers/gpu/drm/radeon/sumo_dpm.c struct sumo_power_info *pi = rdev->pm.dpm.priv; pm 1174 drivers/gpu/drm/radeon/sumo_dpm.c rdev->pm.dpm.thermal.min_temp = low_temp; pm 1175 drivers/gpu/drm/radeon/sumo_dpm.c rdev->pm.dpm.thermal.max_temp = high_temp; pm 1232 drivers/gpu/drm/radeon/sumo_dpm.c sumo_update_current_ps(rdev, rdev->pm.dpm.boot_ps); pm 1246 drivers/gpu/drm/radeon/sumo_dpm.c r600_is_internal_thermal_sensor(rdev->pm.int_thermal_type)) { pm 1272 drivers/gpu/drm/radeon/sumo_dpm.c r600_is_internal_thermal_sensor(rdev->pm.int_thermal_type)) { pm 1277 drivers/gpu/drm/radeon/sumo_dpm.c sumo_update_current_ps(rdev, rdev->pm.dpm.boot_ps); pm 1283 drivers/gpu/drm/radeon/sumo_dpm.c struct radeon_ps requested_ps = *rdev->pm.dpm.requested_ps; pm 1422 drivers/gpu/drm/radeon/sumo_dpm.c rdev->pm.dpm.boot_ps = rps; pm 1426 drivers/gpu/drm/radeon/sumo_dpm.c rdev->pm.dpm.uvd_ps = rps; pm 1484 drivers/gpu/drm/radeon/sumo_dpm.c rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, pm 1487 drivers/gpu/drm/radeon/sumo_dpm.c if (!rdev->pm.dpm.ps) pm 1496 drivers/gpu/drm/radeon/sumo_dpm.c if (!rdev->pm.power_state[i].clock_info) pm 1500 drivers/gpu/drm/radeon/sumo_dpm.c kfree(rdev->pm.dpm.ps); pm 1503 drivers/gpu/drm/radeon/sumo_dpm.c rdev->pm.dpm.ps[i].ps_priv = ps; pm 1515 drivers/gpu/drm/radeon/sumo_dpm.c &rdev->pm.dpm.ps[i], k, pm 1519 drivers/gpu/drm/radeon/sumo_dpm.c sumo_parse_pplib_non_clock_info(rdev, &rdev->pm.dpm.ps[i], pm 1524 drivers/gpu/drm/radeon/sumo_dpm.c rdev->pm.dpm.num_ps = state_array->ucNumEntries; pm 1749 drivers/gpu/drm/radeon/sumo_dpm.c rdev->pm.dpm.priv = pi; pm 1874 drivers/gpu/drm/radeon/sumo_dpm.c for (i = 0; i < rdev->pm.dpm.num_ps; i++) { pm 1875 drivers/gpu/drm/radeon/sumo_dpm.c kfree(rdev->pm.dpm.ps[i].ps_priv); pm 1877 drivers/gpu/drm/radeon/sumo_dpm.c kfree(rdev->pm.dpm.ps); pm 1878 drivers/gpu/drm/radeon/sumo_dpm.c kfree(rdev->pm.dpm.priv); pm 1942 drivers/gpu/drm/radeon/sumo_dpm.c rdev->pm.dpm.forced_level = level; pm 358 drivers/gpu/drm/radeon/trinity_dpm.c struct trinity_power_info *pi = rdev->pm.dpm.priv; pm 1062 drivers/gpu/drm/radeon/trinity_dpm.c rdev->pm.dpm.thermal.min_temp = low_temp; pm 1063 drivers/gpu/drm/radeon/trinity_dpm.c rdev->pm.dpm.thermal.max_temp = high_temp; pm 1125 drivers/gpu/drm/radeon/trinity_dpm.c trinity_update_current_ps(rdev, rdev->pm.dpm.boot_ps); pm 1138 drivers/gpu/drm/radeon/trinity_dpm.c r600_is_internal_thermal_sensor(rdev->pm.int_thermal_type)) { pm 1168 drivers/gpu/drm/radeon/trinity_dpm.c r600_is_internal_thermal_sensor(rdev->pm.int_thermal_type)) { pm 1173 drivers/gpu/drm/radeon/trinity_dpm.c trinity_update_current_ps(rdev, rdev->pm.dpm.boot_ps); pm 1228 drivers/gpu/drm/radeon/trinity_dpm.c rdev->pm.dpm.forced_level = level; pm 1236 drivers/gpu/drm/radeon/trinity_dpm.c struct radeon_ps requested_ps = *rdev->pm.dpm.requested_ps; pm 1257 drivers/gpu/drm/radeon/trinity_dpm.c trinity_dpm_bapm_enable(rdev, rdev->pm.dpm.ac_power); pm 1511 drivers/gpu/drm/radeon/trinity_dpm.c &rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; pm 1548 drivers/gpu/drm/radeon/trinity_dpm.c u32 num_active_displays = rdev->pm.dpm.new_active_crtc_count; pm 1556 drivers/gpu/drm/radeon/trinity_dpm.c new_rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; pm 1557 drivers/gpu/drm/radeon/trinity_dpm.c new_rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; pm 1574 drivers/gpu/drm/radeon/trinity_dpm.c if (ps->levels[i].sclk < rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].sclk) pm 1575 drivers/gpu/drm/radeon/trinity_dpm.c ps->levels[i].sclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].sclk; pm 1638 drivers/gpu/drm/radeon/trinity_dpm.c u32 num_active_displays = rdev->pm.dpm.new_active_crtc_count; pm 1701 drivers/gpu/drm/radeon/trinity_dpm.c rdev->pm.dpm.boot_ps = rps; pm 1705 drivers/gpu/drm/radeon/trinity_dpm.c rdev->pm.dpm.uvd_ps = rps; pm 1762 drivers/gpu/drm/radeon/trinity_dpm.c rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, pm 1765 drivers/gpu/drm/radeon/trinity_dpm.c if (!rdev->pm.dpm.ps) pm 1774 drivers/gpu/drm/radeon/trinity_dpm.c if (!rdev->pm.power_state[i].clock_info) pm 1778 drivers/gpu/drm/radeon/trinity_dpm.c kfree(rdev->pm.dpm.ps); pm 1781 drivers/gpu/drm/radeon/trinity_dpm.c rdev->pm.dpm.ps[i].ps_priv = ps; pm 1794 drivers/gpu/drm/radeon/trinity_dpm.c &rdev->pm.dpm.ps[i], k, pm 1798 drivers/gpu/drm/radeon/trinity_dpm.c trinity_parse_pplib_non_clock_info(rdev, &rdev->pm.dpm.ps[i], pm 1803 drivers/gpu/drm/radeon/trinity_dpm.c rdev->pm.dpm.num_ps = state_array->ucNumEntries; pm 1808 drivers/gpu/drm/radeon/trinity_dpm.c clock_array_index = rdev->pm.dpm.vce_states[i].clk_idx; pm 1813 drivers/gpu/drm/radeon/trinity_dpm.c rdev->pm.dpm.vce_states[i].sclk = sclk; pm 1814 drivers/gpu/drm/radeon/trinity_dpm.c rdev->pm.dpm.vce_states[i].mclk = 0; pm 1956 drivers/gpu/drm/radeon/trinity_dpm.c rdev->pm.dpm.priv = pi; pm 2083 drivers/gpu/drm/radeon/trinity_dpm.c for (i = 0; i < rdev->pm.dpm.num_ps; i++) { pm 2084 drivers/gpu/drm/radeon/trinity_dpm.c kfree(rdev->pm.dpm.ps[i].ps_priv); pm 2086 drivers/gpu/drm/radeon/trinity_dpm.c kfree(rdev->pm.dpm.ps); pm 2087 drivers/gpu/drm/radeon/trinity_dpm.c kfree(rdev->pm.dpm.priv); pm 572 drivers/gpu/drm/rcar-du/rcar_du_drv.c .pm = &rcar_du_pm_ops, pm 472 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c .pm = &rockchip_dp_pm_ops, pm 1224 drivers/gpu/drm/rockchip/cdn-dp-core.c .pm = &cdn_dp_pm_ops, pm 611 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c .pm = &dw_hdmi_rockchip_pm, pm 462 drivers/gpu/drm/rockchip/rockchip_drm_drv.c .pm = &rockchip_drm_pm_ops, pm 303 drivers/gpu/drm/shmobile/shmob_drm_drv.c .pm = &shmob_drm_pm_ops, pm 248 drivers/gpu/drm/stm/drv.c .pm = &drv_pm_ops, pm 475 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c .pm = &dw_mipi_dsi_stm_pm_ops, pm 745 drivers/gpu/drm/sun4i/sun4i_frontend.c .pm = &sun4i_frontend_pm_ops, pm 1230 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c .pm = &sun6i_dsi_pm_ops, pm 2586 drivers/gpu/drm/tegra/dc.c .pm = &tegra_dc_pm_ops, pm 657 drivers/gpu/drm/tegra/dpaux.c .pm = &tegra_dpaux_pm_ops, pm 1296 drivers/gpu/drm/tegra/drm.c .pm = &host1x_drm_pm_ops, pm 1685 drivers/gpu/drm/tegra/dsi.c .pm = &tegra_dsi_pm_ops, pm 1753 drivers/gpu/drm/tegra/hdmi.c .pm = &tegra_hdmi_pm_ops, pm 964 drivers/gpu/drm/tegra/hub.c .pm = &tegra_display_hub_pm_ops, pm 3589 drivers/gpu/drm/tegra/sor.c .pm = &tegra_sor_pm_ops, pm 486 drivers/gpu/drm/tegra/vic.c .pm = &vic_pm_ops pm 644 drivers/gpu/drm/tilcdc/tilcdc_drv.c .pm = &tilcdc_pm_ops, pm 283 drivers/gpu/drm/tiny/mi0283qt.c .pm = &mi0283qt_pm_ops, pm 188 drivers/gpu/drm/vboxvideo/vbox_drv.c .driver.pm = &vbox_pm_ops, pm 521 drivers/gpu/drm/vc4/vc4_v3d.c .pm = &vc4_v3d_pm_ops, pm 1424 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c .pm = &vmw_pm_ops pm 357 drivers/gpu/host1x/bus.c .pm = &host1x_device_pm_ops, pm 480 drivers/gpu/ipu-v3/ipu-prg.c .pm = &prg_pm_ops, pm 1019 drivers/gpu/vga/vga_switcheroo.c ret = dev->bus->pm->runtime_suspend(dev); pm 1043 drivers/gpu/vga/vga_switcheroo.c ret = dev->bus->pm->runtime_resume(dev); pm 1066 drivers/gpu/vga/vga_switcheroo.c if (dev->bus && dev->bus->pm) { pm 1067 drivers/gpu/vga/vga_switcheroo.c domain->ops = *dev->bus->pm; pm 111 drivers/greybus/bundle.c const struct dev_pm_ops *pm = dev->driver->pm; pm 114 drivers/greybus/bundle.c if (pm && pm->runtime_suspend) { pm 115 drivers/greybus/bundle.c ret = pm->runtime_suspend(&bundle->dev); pm 124 drivers/greybus/bundle.c if (pm && pm->runtime_resume) pm 125 drivers/greybus/bundle.c ret = pm->runtime_resume(dev); pm 138 drivers/greybus/bundle.c const struct dev_pm_ops *pm = dev->driver->pm; pm 145 drivers/greybus/bundle.c if (pm && pm->runtime_resume) { pm 146 drivers/greybus/bundle.c ret = pm->runtime_resume(dev); pm 172 drivers/greybus/bundle.c .pm = &gb_bundle_pm_ops, pm 771 drivers/greybus/interface.c .pm = &gb_interface_pm_ops, pm 273 drivers/hid/hid-google-hammer.c .pm = &cbas_ec_pm_ops, pm 39 drivers/hid/hid-prodikeys.c struct pcmidi_snd *pm; /* pcmidi device context */ pm 44 drivers/hid/hid-prodikeys.c struct pcmidi_snd *pm; pm 105 drivers/hid/hid-prodikeys.c dbg_hid("pcmidi sysfs read channel=%u\n", pk->pm->midi_channel); pm 107 drivers/hid/hid-prodikeys.c return sprintf(buf, "%u (min:%u, max:%u)\n", pk->pm->midi_channel, pm 122 drivers/hid/hid-prodikeys.c pk->pm->midi_channel = channel; pm 142 drivers/hid/hid-prodikeys.c dbg_hid("pcmidi sysfs read sustain=%u\n", pk->pm->midi_sustain); pm 144 drivers/hid/hid-prodikeys.c return sprintf(buf, "%u (off:%u, max:%u (ms))\n", pk->pm->midi_sustain, pm 159 drivers/hid/hid-prodikeys.c pk->pm->midi_sustain = sustain; pm 160 drivers/hid/hid-prodikeys.c pk->pm->midi_sustain_mode = pm 161 drivers/hid/hid-prodikeys.c (0 == sustain || !pk->pm->midi_mode) ? 0 : 1; pm 181 drivers/hid/hid-prodikeys.c dbg_hid("pcmidi sysfs read octave=%d\n", pk->pm->midi_octave); pm 183 drivers/hid/hid-prodikeys.c return sprintf(buf, "%d (min:%d, max:%d)\n", pk->pm->midi_octave, pm 199 drivers/hid/hid-prodikeys.c pk->pm->midi_octave = octave; pm 213 drivers/hid/hid-prodikeys.c static void pcmidi_send_note(struct pcmidi_snd *pm, pm 223 drivers/hid/hid-prodikeys.c spin_lock_irqsave(&pm->rawmidi_in_lock, flags); pm 225 drivers/hid/hid-prodikeys.c if (!pm->in_substream) pm 227 drivers/hid/hid-prodikeys.c if (!test_bit(pm->in_substream->number, &pm->in_triggered)) pm 230 drivers/hid/hid-prodikeys.c snd_rawmidi_receive(pm->in_substream, buffer, 3); pm 233 drivers/hid/hid-prodikeys.c spin_unlock_irqrestore(&pm->rawmidi_in_lock, flags); pm 242 drivers/hid/hid-prodikeys.c pcmidi_send_note(pms->pm, pms->status, pms->note, pms->velocity); pm 246 drivers/hid/hid-prodikeys.c static void init_sustain_timers(struct pcmidi_snd *pm) pm 252 drivers/hid/hid-prodikeys.c pms = &pm->sustained_notes[i]; pm 254 drivers/hid/hid-prodikeys.c pms->pm = pm; pm 259 drivers/hid/hid-prodikeys.c static void stop_sustain_timers(struct pcmidi_snd *pm) pm 265 drivers/hid/hid-prodikeys.c pms = &pm->sustained_notes[i]; pm 271 drivers/hid/hid-prodikeys.c static int pcmidi_get_output_report(struct pcmidi_snd *pm) pm 273 drivers/hid/hid-prodikeys.c struct hid_device *hdev = pm->pk->hdev; pm 289 drivers/hid/hid-prodikeys.c pm->pcmidi_report6 = report; pm 296 drivers/hid/hid-prodikeys.c static void pcmidi_submit_output_report(struct pcmidi_snd *pm, int state) pm 298 drivers/hid/hid-prodikeys.c struct hid_device *hdev = pm->pk->hdev; pm 299 drivers/hid/hid-prodikeys.c struct hid_report *report = pm->pcmidi_report6; pm 306 drivers/hid/hid-prodikeys.c static int pcmidi_handle_report1(struct pcmidi_snd *pm, u8 *data) pm 314 drivers/hid/hid-prodikeys.c dbg_hid("pcmidi mode: %d\n", pm->midi_mode); pm 317 drivers/hid/hid-prodikeys.c if (pm->midi_mode && bit_mask == 0x004000) { pm 319 drivers/hid/hid-prodikeys.c pm->midi_octave--; pm 320 drivers/hid/hid-prodikeys.c if (pm->midi_octave < -2) pm 321 drivers/hid/hid-prodikeys.c pm->midi_octave = -2; pm 323 drivers/hid/hid-prodikeys.c pm->midi_mode, pm->midi_octave); pm 327 drivers/hid/hid-prodikeys.c else if (pm->midi_mode && bit_mask == 0x000004) { pm 329 drivers/hid/hid-prodikeys.c pm->midi_sustain_mode ^= 0x1; pm 336 drivers/hid/hid-prodikeys.c static int pcmidi_handle_report3(struct pcmidi_snd *pm, u8 *data, int size) pm 348 drivers/hid/hid-prodikeys.c status = 128 + 16 + pm->midi_channel; /* 1001nnnn */ pm 350 drivers/hid/hid-prodikeys.c (pm->midi_octave * 12); pm 354 drivers/hid/hid-prodikeys.c status = 128 + pm->midi_channel; /* 1000nnnn */ pm 356 drivers/hid/hid-prodikeys.c (pm->midi_octave*12); pm 358 drivers/hid/hid-prodikeys.c if (pm->midi_sustain_mode) { pm 360 drivers/hid/hid-prodikeys.c pms = &pm->sustained_notes[i]; pm 369 drivers/hid/hid-prodikeys.c msecs_to_jiffies(pm->midi_sustain)); pm 375 drivers/hid/hid-prodikeys.c pcmidi_send_note(pm, status, note, velocity); pm 381 drivers/hid/hid-prodikeys.c static int pcmidi_handle_report4(struct pcmidi_snd *pm, u8 *data) pm 394 drivers/hid/hid-prodikeys.c input_event(pm->input_ep82, EV_KEY, pm 395 drivers/hid/hid-prodikeys.c pm->last_key[bit_index], 0); pm 396 drivers/hid/hid-prodikeys.c pm->last_key[bit_index] = 0; pm 405 drivers/hid/hid-prodikeys.c pm->fn_state ^= 0x000010; pm 406 drivers/hid/hid-prodikeys.c if (pm->fn_state) pm 407 drivers/hid/hid-prodikeys.c pcmidi_submit_output_report(pm, 0xc5); pm 409 drivers/hid/hid-prodikeys.c pcmidi_submit_output_report(pm, 0xc6); pm 412 drivers/hid/hid-prodikeys.c pcmidi_submit_output_report(pm, 0xc1); pm 413 drivers/hid/hid-prodikeys.c pm->midi_mode ^= 0x01; pm 415 drivers/hid/hid-prodikeys.c dbg_hid("pcmidi mode: %d\n", pm->midi_mode); pm 418 drivers/hid/hid-prodikeys.c dbg_hid("pcmidi mode: %d\n", pm->midi_mode); pm 419 drivers/hid/hid-prodikeys.c if (pm->midi_mode) { pm 420 drivers/hid/hid-prodikeys.c pm->midi_octave++; pm 421 drivers/hid/hid-prodikeys.c if (pm->midi_octave > 2) pm 422 drivers/hid/hid-prodikeys.c pm->midi_octave = 2; pm 424 drivers/hid/hid-prodikeys.c pm->midi_mode, pm->midi_octave); pm 485 drivers/hid/hid-prodikeys.c input_event(pm->input_ep82, EV_KEY, key, 1); pm 486 drivers/hid/hid-prodikeys.c pm->last_key[bit_index] = key; pm 494 drivers/hid/hid-prodikeys.c struct pcmidi_snd *pm, unsigned report_id, u8 *data, int size) pm 500 drivers/hid/hid-prodikeys.c ret = pcmidi_handle_report1(pm, data); pm 503 drivers/hid/hid-prodikeys.c ret = pcmidi_handle_report3(pm, data, size); pm 506 drivers/hid/hid-prodikeys.c ret = pcmidi_handle_report4(pm, data); pm 513 drivers/hid/hid-prodikeys.c struct pcmidi_snd *pm, struct input_dev *input) pm 538 drivers/hid/hid-prodikeys.c if (pm->ifnum != 1) /* only set up ONCE for interace 1 */ pm 541 drivers/hid/hid-prodikeys.c pm->input_ep82 = input; pm 544 drivers/hid/hid-prodikeys.c pm->last_key[i] = 0; pm 547 drivers/hid/hid-prodikeys.c set_bit(*pkeys, pm->input_ep82->keybit); pm 552 drivers/hid/hid-prodikeys.c static int pcmidi_set_operational(struct pcmidi_snd *pm) pm 556 drivers/hid/hid-prodikeys.c if (pm->ifnum != 1) pm 559 drivers/hid/hid-prodikeys.c rc = pcmidi_get_output_report(pm); pm 562 drivers/hid/hid-prodikeys.c pcmidi_submit_output_report(pm, 0xc1); pm 573 drivers/hid/hid-prodikeys.c struct pcmidi_snd *pm = substream->rmidi->private_data; pm 576 drivers/hid/hid-prodikeys.c pm->in_substream = substream; pm 588 drivers/hid/hid-prodikeys.c struct pcmidi_snd *pm = substream->rmidi->private_data; pm 592 drivers/hid/hid-prodikeys.c pm->in_triggered = up; pm 601 drivers/hid/hid-prodikeys.c static int pcmidi_snd_initialise(struct pcmidi_snd *pm) pm 612 drivers/hid/hid-prodikeys.c if (pm->ifnum != 1) pm 625 drivers/hid/hid-prodikeys.c err = snd_card_new(&pm->pk->hdev->dev, index[dev], id[dev], pm 632 drivers/hid/hid-prodikeys.c pm->card = card; pm 635 drivers/hid/hid-prodikeys.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, pm, &ops); pm 654 drivers/hid/hid-prodikeys.c pm->rwmidi = rwmidi; pm 657 drivers/hid/hid-prodikeys.c rwmidi->private_data = pm; pm 663 drivers/hid/hid-prodikeys.c err = device_create_file(&pm->pk->hdev->dev, pm 671 drivers/hid/hid-prodikeys.c err = device_create_file(&pm->pk->hdev->dev, pm 679 drivers/hid/hid-prodikeys.c err = device_create_file(&pm->pk->hdev->dev, pm 687 drivers/hid/hid-prodikeys.c spin_lock_init(&pm->rawmidi_in_lock); pm 689 drivers/hid/hid-prodikeys.c init_sustain_timers(pm); pm 690 drivers/hid/hid-prodikeys.c err = pcmidi_set_operational(pm); pm 708 drivers/hid/hid-prodikeys.c stop_sustain_timers(pm); pm 709 drivers/hid/hid-prodikeys.c device_remove_file(&pm->pk->hdev->dev, sysfs_device_attr_octave); pm 711 drivers/hid/hid-prodikeys.c device_remove_file(&pm->pk->hdev->dev, sysfs_device_attr_sustain); pm 713 drivers/hid/hid-prodikeys.c device_remove_file(&pm->pk->hdev->dev, sysfs_device_attr_channel); pm 715 drivers/hid/hid-prodikeys.c if (pm->card) { pm 716 drivers/hid/hid-prodikeys.c snd_card_free(pm->card); pm 717 drivers/hid/hid-prodikeys.c pm->card = NULL; pm 722 drivers/hid/hid-prodikeys.c static int pcmidi_snd_terminate(struct pcmidi_snd *pm) pm 724 drivers/hid/hid-prodikeys.c if (pm->card) { pm 725 drivers/hid/hid-prodikeys.c stop_sustain_timers(pm); pm 727 drivers/hid/hid-prodikeys.c device_remove_file(&pm->pk->hdev->dev, pm 729 drivers/hid/hid-prodikeys.c device_remove_file(&pm->pk->hdev->dev, pm 731 drivers/hid/hid-prodikeys.c device_remove_file(&pm->pk->hdev->dev, pm 734 drivers/hid/hid-prodikeys.c snd_card_disconnect(pm->card); pm 735 drivers/hid/hid-prodikeys.c snd_card_free_when_closed(pm->card); pm 763 drivers/hid/hid-prodikeys.c struct pcmidi_snd *pm; pm 765 drivers/hid/hid-prodikeys.c pm = pk->pm; pm 768 drivers/hid/hid-prodikeys.c 1 == pm->ifnum) { pm 769 drivers/hid/hid-prodikeys.c pcmidi_setup_extra_keys(pm, hi->input); pm 783 drivers/hid/hid-prodikeys.c if (1 == pk->pm->ifnum) { pm 789 drivers/hid/hid-prodikeys.c ret = pcmidi_handle_report(pk->pm, pm 805 drivers/hid/hid-prodikeys.c struct pcmidi_snd *pm = NULL; pm 815 drivers/hid/hid-prodikeys.c pm = kzalloc(sizeof(*pm), GFP_KERNEL); pm 816 drivers/hid/hid-prodikeys.c if (pm == NULL) { pm 822 drivers/hid/hid-prodikeys.c pm->pk = pk; pm 823 drivers/hid/hid-prodikeys.c pk->pm = pm; pm 824 drivers/hid/hid-prodikeys.c pm->ifnum = ifnum; pm 844 drivers/hid/hid-prodikeys.c ret = pcmidi_snd_initialise(pm); pm 852 drivers/hid/hid-prodikeys.c kfree(pm); pm 862 drivers/hid/hid-prodikeys.c struct pcmidi_snd *pm; pm 864 drivers/hid/hid-prodikeys.c pm = pk->pm; pm 865 drivers/hid/hid-prodikeys.c if (pm) { pm 866 drivers/hid/hid-prodikeys.c pcmidi_snd_terminate(pm); pm 867 drivers/hid/hid-prodikeys.c kfree(pm); pm 1268 drivers/hid/i2c-hid/i2c-hid-core.c .pm = &i2c_hid_pm, pm 329 drivers/hid/intel-ish-hid/ipc/pci-ish.c .driver.pm = &ish_pm_ops, pm 936 drivers/hid/intel-ish-hid/ishtp-hid-client.c .driver.pm = &hid_ishtp_pm_ops, pm 298 drivers/hid/intel-ish-hid/ishtp/bus.c if (driver && driver->driver.pm) { pm 299 drivers/hid/intel-ish-hid/ishtp/bus.c if (driver->driver.pm->suspend) pm 300 drivers/hid/intel-ish-hid/ishtp/bus.c ret = driver->driver.pm->suspend(dev); pm 331 drivers/hid/intel-ish-hid/ishtp/bus.c if (driver && driver->driver.pm) { pm 332 drivers/hid/intel-ish-hid/ishtp/bus.c if (driver->driver.pm->resume) pm 333 drivers/hid/intel-ish-hid/ishtp/bus.c ret = driver->driver.pm->resume(dev); pm 402 drivers/hid/intel-ish-hid/ishtp/bus.c .pm = &ishtp_cl_bus_dev_pm_ops, pm 19 drivers/hsi/clients/nokia-modem.c static unsigned int pm = 1; pm 20 drivers/hsi/clients/nokia-modem.c module_param(pm, int, 0400); pm 21 drivers/hsi/clients/nokia-modem.c MODULE_PARM_DESC(pm, pm 169 drivers/hsi/clients/nokia-modem.c if (pm) { pm 619 drivers/hsi/controllers/omap_ssi_core.c .pm = DEV_PM_OPS, pm 1404 drivers/hsi/controllers/omap_ssi_port.c .pm = DEV_PM_OPS, pm 1029 drivers/hv/vmbus_drv.c .pm = &vmbus_pm, pm 2337 drivers/hv/vmbus_drv.c .drv.pm = &vmbus_bus_pm, pm 1538 drivers/hwmon/abituguru.c .pm = ABIT_UGURU_PM, pm 1158 drivers/hwmon/abituguru3.c .pm = ABIT_UGURU3_PM pm 954 drivers/hwmon/acpi_power_meter.c .drv.pm = &acpi_power_meter_pm, pm 106 drivers/hwmon/adt7310.c .pm = ADT7X10_DEV_PM_OPS, pm 68 drivers/hwmon/adt7410.c .pm = ADT7X10_DEV_PM_OPS, pm 669 drivers/hwmon/applesmc.c .pm = &applesmc_pm_ops, pm 591 drivers/hwmon/gpio-fan.c .pm = GPIO_FAN_PM, pm 905 drivers/hwmon/ina3221.c .pm = &ina3221_pm, pm 3246 drivers/hwmon/it87.c .pm = &it87_dev_pm_ops, pm 581 drivers/hwmon/jc42.c .pm = JC42_DEV_PM_OPS, pm 890 drivers/hwmon/lm75.c .pm = LM75_DEV_PM_OPS, pm 148 drivers/hwmon/max31722.c .pm = &max31722_pm_ops, pm 582 drivers/hwmon/max6639.c .pm = &max6639_pm_ops, pm 1333 drivers/hwmon/nct6683.c .pm = NCT6683_DEV_PM_OPS, pm 4719 drivers/hwmon/nct6775.c .pm = &nct6775_dev_pm_ops, pm 460 drivers/hwmon/pwm-fan.c .pm = &pwm_fan_pm, pm 306 drivers/hwmon/tmp102.c .driver.pm = &tmp102_dev_pm_ops, pm 173 drivers/hwmon/tmp103.c .pm = &tmp103_dev_pm_ops, pm 433 drivers/hwmon/tmp108.c .pm = &tmp108_dev_pm_ops, pm 2690 drivers/hwmon/w83627ehf.c .pm = W83627EHF_DEV_PM_OPS, pm 470 drivers/hwmon/w83627hf.c .pm = W83627HF_DEV_PM_OPS, pm 144 drivers/hwspinlock/stm32_hwspinlock.c .pm = &stm32_hwspinlock_pm_ops, pm 842 drivers/hwtracing/coresight/coresight-etb10.c .pm = &etb_dev_pm_ops, pm 944 drivers/hwtracing/coresight/coresight-etm3x.c .pm = &etm_dev_pm_ops, pm 339 drivers/hwtracing/coresight/coresight-funnel.c .pm = &funnel_dev_pm_ops, pm 368 drivers/hwtracing/coresight/coresight-funnel.c .pm = &funnel_dev_pm_ops, pm 337 drivers/hwtracing/coresight/coresight-replicator.c .pm = &replicator_dev_pm_ops, pm 365 drivers/hwtracing/coresight/coresight-replicator.c .pm = &replicator_dev_pm_ops, pm 989 drivers/hwtracing/coresight/coresight-stm.c .pm = &stm_dev_pm_ops, pm 223 drivers/hwtracing/coresight/coresight-tpiu.c .pm = &tpiu_dev_pm_ops, pm 454 drivers/i2c/busses/i2c-amd-mp2-pci.c .pm = &amd_mp2_pci_pm_ops, pm 356 drivers/i2c/busses/i2c-at91-core.c .pm = at91_twi_pm_ops, pm 381 drivers/i2c/busses/i2c-au1550.c .pm = AU1XPSC_SMBUS_PMOPS, pm 1072 drivers/i2c/busses/i2c-bcm-iproc.c .pm = BCM_IPROC_I2C_PM_OPS, pm 716 drivers/i2c/busses/i2c-brcmstb.c .pm = &brcmstb_i2c_pm, pm 1012 drivers/i2c/busses/i2c-cadence.c .pm = &cdns_i2c_dev_pm_ops, pm 962 drivers/i2c/busses/i2c-davinci.c .pm = davinci_i2c_pm_ops, pm 372 drivers/i2c/busses/i2c-designware-pcidrv.c .pm = &i2c_dw_pm_ops, pm 511 drivers/i2c/busses/i2c-designware-platdrv.c .pm = DW_I2C_DEV_PMOPS, pm 878 drivers/i2c/busses/i2c-exynos5.c .pm = &exynos5_i2c_dev_pm_ops, pm 523 drivers/i2c/busses/i2c-hix5hd2.c .pm = &hix5hd2_i2c_pm_ops, pm 1955 drivers/i2c/busses/i2c-i801.c .pm = &i801_pm_ops, pm 457 drivers/i2c/busses/i2c-ibm_iic.c static int iic_xfer_bytes(struct ibm_iic_private* dev, struct i2c_msg* pm, pm 461 drivers/i2c/busses/i2c-ibm_iic.c char* buf = pm->buf; pm 463 drivers/i2c/busses/i2c-ibm_iic.c int len = pm->len; pm 466 drivers/i2c/busses/i2c-ibm_iic.c if (pm->flags & I2C_M_RD) pm 1510 drivers/i2c/busses/i2c-img-scb.c .pm = &img_i2c_pm, pm 678 drivers/i2c/busses/i2c-imx-lpi2c.c .pm = &lpi2c_pm_ops, pm 1256 drivers/i2c/busses/i2c-imx.c .pm = &i2c_imx_pm_ops, pm 493 drivers/i2c/busses/i2c-lpc2k.c .pm = I2C_LPC2K_DEV_PM_OPS, pm 848 drivers/i2c/busses/i2c-mpc.c .pm = MPC_I2C_PM_OPS, pm 1066 drivers/i2c/busses/i2c-mt65xx.c .pm = &mtk_i2c_pm, pm 1009 drivers/i2c/busses/i2c-mv64xxx.c .pm = mv64xxx_i2c_pm_ops, pm 1105 drivers/i2c/busses/i2c-nomadik.c .pm = &nmk_i2c_pm, pm 394 drivers/i2c/busses/i2c-nvidia-gpu.c .pm = &gpu_i2c_driver_pm, pm 809 drivers/i2c/busses/i2c-ocores.c .pm = OCORES_I2C_PM, pm 1596 drivers/i2c/busses/i2c-omap.c .pm = &omap_i2c_pm_ops, pm 769 drivers/i2c/busses/i2c-pnx.c .pm = PNX_I2C_PM, pm 267 drivers/i2c/busses/i2c-puv3.c .pm = PUV3_I2C_PM, pm 1378 drivers/i2c/busses/i2c-pxa.c .pm = I2C_PXA_DEV_PM_OPS, pm 679 drivers/i2c/busses/i2c-qcom-geni.c .pm = &geni_i2c_pm_ops, pm 1994 drivers/i2c/busses/i2c-qup.c .pm = &qup_i2c_qup_pm_ops, pm 1058 drivers/i2c/busses/i2c-rcar.c .pm = DEV_PM_OPS, pm 1358 drivers/i2c/busses/i2c-rk3x.c .pm = &rk3x_i2c_pm_ops, pm 1252 drivers/i2c/busses/i2c-s3c2410.c .pm = S3C24XX_DEV_PM_OPS, pm 466 drivers/i2c/busses/i2c-sirf.c .pm = &i2c_sirfsoc_pm_ops, pm 645 drivers/i2c/busses/i2c-sprd.c .pm = &sprd_i2c_pm_ops, pm 904 drivers/i2c/busses/i2c-st.c .pm = ST_I2C_PM, pm 2073 drivers/i2c/busses/i2c-stm32f7.c .pm = &stm32f7_i2c_pm_ops, pm 981 drivers/i2c/busses/i2c-stu300.c .pm = STU300_I2C_PM, pm 1771 drivers/i2c/busses/i2c-tegra.c .pm = &tegra_i2c_pm, pm 642 drivers/i2c/busses/i2c-uniphier-f.c .pm = &uniphier_fi2c_pm_ops, pm 437 drivers/i2c/busses/i2c-uniphier.c .pm = &uniphier_i2c_pm_ops, pm 880 drivers/i2c/busses/i2c-xiic.c .pm = &xiic_dev_pm_ops, pm 597 drivers/i2c/busses/i2c-zx2967.c .pm = &zx2967_i2c_dev_pm_ops, pm 544 drivers/i2c/muxes/i2c-mux-pca954x.c .pm = &pca954x_pm, pm 357 drivers/ide/ide-io.c struct ide_pm_state *pm = ide_req(rq)->special; pm 360 drivers/ide/ide-io.c drive->name, pm->pm_step); pm 364 drivers/ide/ide-io.c pm->pm_step == IDE_PM_COMPLETED) pm 101 drivers/ide/ide-pm.c struct ide_pm_state *pm = ide_req(rq)->special; pm 105 drivers/ide/ide-pm.c drive->name, pm->pm_step); pm 110 drivers/ide/ide-pm.c switch (pm->pm_step) { pm 112 drivers/ide/ide-pm.c if (pm->pm_state == PM_EVENT_FREEZE) pm 113 drivers/ide/ide-pm.c pm->pm_step = IDE_PM_COMPLETED; pm 115 drivers/ide/ide-pm.c pm->pm_step = IDE_PM_STANDBY; pm 118 drivers/ide/ide-pm.c pm->pm_step = IDE_PM_COMPLETED; pm 121 drivers/ide/ide-pm.c pm->pm_step = IDE_PM_IDLE; pm 124 drivers/ide/ide-pm.c pm->pm_step = IDE_PM_RESTORE_DMA; pm 131 drivers/ide/ide-pm.c struct ide_pm_state *pm = ide_req(rq)->special; pm 134 drivers/ide/ide-pm.c switch (pm->pm_step) { pm 158 drivers/ide/ide-pm.c pm->pm_step = IDE_PM_RESTORE_DMA; pm 180 drivers/ide/ide-pm.c pm->pm_step = IDE_PM_COMPLETED; pm 203 drivers/ide/ide-pm.c struct ide_pm_state *pm = ide_req(rq)->special; pm 206 drivers/ide/ide-pm.c if (pm->pm_step != IDE_PM_COMPLETED) pm 225 drivers/ide/ide-pm.c struct ide_pm_state *pm = ide_req(rq)->special; pm 229 drivers/ide/ide-pm.c pm->pm_step == IDE_PM_START_SUSPEND) pm 234 drivers/ide/ide-pm.c pm->pm_step == IDE_PM_START_RESUME) { pm 880 drivers/iio/accel/bma180.c .pm = BMA180_PM_OPS, pm 322 drivers/iio/accel/bma220_spi.c .pm = BMA220_PM_OPS, pm 92 drivers/iio/accel/bmc150-accel-i2c.c .pm = &bmc150_accel_pm_ops, pm 63 drivers/iio/accel/bmc150-accel-spi.c .pm = &bmc150_accel_pm_ops, pm 195 drivers/iio/accel/da280.c .pm = &da280_pm_ops, pm 290 drivers/iio/accel/da311.c .pm = &da311_pm_ops, pm 230 drivers/iio/accel/dmard06.c .pm = DMARD06_PM_OPS, pm 251 drivers/iio/accel/dmard10.c .pm = &dmard10_pm_ops, pm 469 drivers/iio/accel/hid-sensor-accel-3d.c .pm = &hid_sensor_pm_ops, pm 1523 drivers/iio/accel/kxcjk-1013.c .pm = &kxcjk1013_pm_ops, pm 59 drivers/iio/accel/kxsd9-i2c.c .pm = &kxsd9_dev_pm_ops, pm 55 drivers/iio/accel/kxsd9-spi.c .pm = &kxsd9_dev_pm_ops, pm 195 drivers/iio/accel/mc3230.c .pm = &mc3230_pm_ops, pm 268 drivers/iio/accel/mma7660.c .pm = MMA7660_PM_OPS, pm 1819 drivers/iio/accel/mma8452.c .pm = &mma8452_pm_ops, pm 614 drivers/iio/accel/mma9551.c .pm = &mma9551_pm_ops, pm 1253 drivers/iio/accel/mma9553.c .pm = &mma9553_pm_ops, pm 657 drivers/iio/accel/stk8312.c .pm = STK8312_PM_OPS, pm 553 drivers/iio/accel/stk8ba50.c .pm = STK8BA50_PM_OPS, pm 95 drivers/iio/adc/ad7606_par.c .pm = AD7606_PM_OPS, pm 355 drivers/iio/adc/ad7606_spi.c .pm = AD7606_PM_OPS, pm 1942 drivers/iio/adc/at91-sama5d2_adc.c .pm = &at91_adc_pm_ops, pm 1477 drivers/iio/adc/at91_adc.c .pm = &at91_adc_pm_ops, pm 996 drivers/iio/adc/exynos_adc.c .pm = &exynos_adc_pm_ops, pm 557 drivers/iio/adc/imx7d_adc.c .pm = &imx7d_adc_pm_ops, pm 1357 drivers/iio/adc/meson_saradc.c .pm = &meson_sar_adc_pm_ops, pm 339 drivers/iio/adc/mt6577_auxadc.c .pm = &mt6577_auxadc_pm_ops, pm 835 drivers/iio/adc/palmas_gpadc.c .pm = &palmas_pm_ops, pm 612 drivers/iio/adc/rcar-gyroadc.c .pm = &rcar_gyroadc_pm_ops, pm 390 drivers/iio/adc/rockchip_saradc.c .pm = &rockchip_saradc_pm_ops, pm 837 drivers/iio/adc/stm32-adc-core.c .pm = &stm32_adc_core_pm_ops, pm 2055 drivers/iio/adc/stm32-adc.c .pm = &stm32_adc_pm_ops, pm 1700 drivers/iio/adc/stm32-dfsdm-adc.c .pm = &stm32_dfsdm_adc_pm_ops, pm 456 drivers/iio/adc/stm32-dfsdm-core.c .pm = &stm32_dfsdm_core_pm_ops, pm 352 drivers/iio/adc/stmpe-adc.c .pm = &stmpe_adc_pm_ops, pm 708 drivers/iio/adc/sun4i-gpadc-iio.c .pm = &sun4i_gpadc_pm_ops, pm 1128 drivers/iio/adc/ti-ads1015.c .pm = &ads1015_pm_ops, pm 737 drivers/iio/adc/ti_am335x_adc.c .pm = &tiadc_pm_ops, pm 982 drivers/iio/adc/twl6030-gpadc.c .pm = &twl6030_gpadc_pm_ops, pm 970 drivers/iio/adc/vf610_adc.c .pm = &vf610_adc_pm_ops, pm 675 drivers/iio/chemical/atlas-ph-sensor.c .pm = &atlas_pm_ops, pm 130 drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c .pm = &cros_ec_sensors_pm_ops, pm 327 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c .pm = &cros_ec_sensors_pm_ops, pm 684 drivers/iio/common/ssp_sensors/ssp_dev.c .pm = &ssp_pm_ops, pm 320 drivers/iio/dac/ds4424.c .pm = &ds4424_pm_ops, pm 240 drivers/iio/dac/ltc1660.c .pm = <c1660_pm_ops, pm 252 drivers/iio/dac/m62332.c .pm = M62332_PM_OPS, pm 214 drivers/iio/dac/max517.c .pm = &max517_pm_ops, pm 387 drivers/iio/dac/max5821.c .pm = &max5821_pm_ops, pm 542 drivers/iio/dac/mcp4725.c .pm = &mcp4725_pm_ops, pm 282 drivers/iio/dac/vf610_dac.c .pm = &vf610_dac_pm_ops, pm 71 drivers/iio/gyro/bmg160_i2c.c .pm = &bmg160_pm_ops, pm 48 drivers/iio/gyro/bmg160_spi.c .pm = &bmg160_pm_ops, pm 58 drivers/iio/gyro/fxas21002c_i2c.c .pm = &fxas21002c_pm_ops, pm 59 drivers/iio/gyro/fxas21002c_spi.c .pm = &fxas21002c_pm_ops, pm 401 drivers/iio/gyro/hid-sensor-gyro-3d.c .pm = &hid_sensor_pm_ops, pm 406 drivers/iio/gyro/itg3200_core.c .pm = &itg3200_pm_ops, pm 117 drivers/iio/gyro/mpu3050-i2c.c .pm = &mpu3050_dev_pm_ops, pm 611 drivers/iio/health/afe4403.c .pm = &afe4403_pm_ops, pm 617 drivers/iio/health/afe4404.c .pm = &afe4404_pm_ops, pm 295 drivers/iio/humidity/hid-sensor-humidity.c .pm = &hid_sensor_pm_ops, pm 65 drivers/iio/humidity/hts221_i2c.c .pm = &hts221_pm_ops, pm 58 drivers/iio/humidity/hts221_spi.c .pm = &hts221_pm_ops, pm 233 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c .pm = &inv_mpu_pmops, pm 99 drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c .pm = &inv_mpu_pmops, pm 1530 drivers/iio/imu/kmx61.c .pm = &kmx61_pm_ops, pm 114 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c .pm = &st_lsm6dsx_pm_ops, pm 48 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c .pm = &st_lsm6dsx_pm_ops, pm 114 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c .pm = &st_lsm6dsx_pm_ops, pm 513 drivers/iio/light/apds9300.c .pm = APDS9300_PM_OPS, pm 1129 drivers/iio/light/apds9960.c .pm = &apds9960_pm_ops, pm 324 drivers/iio/light/bh1750.c .pm = &bh1750_pm_ops, pm 290 drivers/iio/light/bh1780.c .pm = &bh1780_dev_pm_ops, pm 423 drivers/iio/light/cm3232.c .pm = &cm3232_pm_ops, pm 321 drivers/iio/light/cm3605.c .pm = &cm3605_dev_pm_ops, pm 268 drivers/iio/light/cros_ec_light_prox.c .pm = &cros_ec_sensors_pm_ops, pm 383 drivers/iio/light/hid-sensor-als.c .pm = &hid_sensor_pm_ops, pm 361 drivers/iio/light/hid-sensor-prox.c .pm = &hid_sensor_pm_ops, pm 873 drivers/iio/light/isl29018.c .pm = ISL29018_PM_OPS, pm 705 drivers/iio/light/isl29028.c .pm = &isl29028_pm_ops, pm 345 drivers/iio/light/isl29125.c .pm = &isl29125_pm_ops, pm 447 drivers/iio/light/jsa1212.c .pm = JSA1212_PM_OPS, pm 1577 drivers/iio/light/ltr501.c .pm = <r501_pm_ops, pm 474 drivers/iio/light/pa12203001.c .pm = &pa12203001_pm_ops, pm 1127 drivers/iio/light/rpr0521.c .pm = &rpr0521_pm_ops, pm 58 drivers/iio/light/st_uvis25_i2c.c .pm = &st_uvis25_pm_ops, pm 57 drivers/iio/light/st_uvis25_spi.c .pm = &st_uvis25_pm_ops, pm 694 drivers/iio/light/stk3310.c .pm = STK3310_PM_OPS, pm 388 drivers/iio/light/tcs3414.c .pm = &tcs3414_pm_ops, pm 609 drivers/iio/light/tcs3472.c .pm = &tcs3472_pm_ops, pm 885 drivers/iio/light/tsl2563.c .pm = TSL2563_PM_OPS, pm 937 drivers/iio/light/tsl2583.c .pm = &tsl2583_pm_ops, pm 1943 drivers/iio/light/tsl2772.c .pm = &tsl2772_pm_ops, pm 246 drivers/iio/light/tsl4531.c .pm = TSL4531_PM_OPS, pm 975 drivers/iio/light/us5182d.c .pm = &us5182d_pm_ops, pm 665 drivers/iio/light/vcnl4035.c .pm = &vcnl4035_pm_ops, pm 942 drivers/iio/magnetometer/ak8974.c .pm = &ak8974_dev_pm_ops, pm 1091 drivers/iio/magnetometer/ak8975.c .pm = &ak8975_dev_pm_ops, pm 71 drivers/iio/magnetometer/bmc150_magn_i2c.c .pm = &bmc150_magn_pm_ops, pm 591 drivers/iio/magnetometer/hid-sensor-magn-3d.c .pm = &hid_sensor_pm_ops, pm 94 drivers/iio/magnetometer/hmc5843_i2c.c .pm = HMC5843_PM_OPS, pm 91 drivers/iio/magnetometer/hmc5843_spi.c .pm = HMC5843_PM_OPS, pm 650 drivers/iio/magnetometer/mag3110.c .pm = MAG3110_PM_OPS, pm 580 drivers/iio/magnetometer/mmc35240.c .pm = &mmc35240_pm_ops, pm 422 drivers/iio/orientation/hid-sensor-incl-3d.c .pm = &hid_sensor_pm_ops, pm 368 drivers/iio/orientation/hid-sensor-rotation.c .pm = &hid_sensor_pm_ops, pm 82 drivers/iio/pressure/bmp280-i2c.c .pm = &bmp280_dev_pm_ops, pm 117 drivers/iio/pressure/bmp280-spi.c .pm = &bmp280_dev_pm_ops, pm 365 drivers/iio/pressure/hid-sensor-press.c .pm = &hid_sensor_pm_ops, pm 330 drivers/iio/pressure/mpl3115.c .pm = MPL3115_PM_OPS, pm 81 drivers/iio/pressure/zpa2326_i2c.c .pm = ZPA2326_PM_OPS, pm 85 drivers/iio/pressure/zpa2326_spi.c .pm = ZPA2326_PM_OPS, pm 481 drivers/iio/proximity/as3935.c .pm = AS3935_PM_OPS, pm 364 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c .pm = &lidar_pm_ops, pm 338 drivers/iio/proximity/rfd77402.c .pm = &rfd77402_pm_ops, pm 1068 drivers/iio/proximity/sx9500.c .pm = &sx9500_pm_ops, pm 291 drivers/iio/temperature/hid-sensor-temperature.c .pm = &hid_sensor_pm_ops, pm 649 drivers/iio/temperature/mlx90614.c .pm = &mlx90614_pm_ops, pm 748 drivers/iio/temperature/mlx90632.c .pm = &mlx90632_pm_ops, pm 278 drivers/iio/temperature/tmp006.c .pm = &tmp006_pm_ops, pm 583 drivers/iio/temperature/tmp007.c .pm = &tmp007_pm_ops, pm 976 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c struct ib_port_modify pm = { 0 }; pm 980 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c pm.set_port_cap_mask = OPA_CAP_MASK3_IsEthOnFabricSupported; pm 982 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c pm.clr_port_cap_mask = OPA_CAP_MASK3_IsEthOnFabricSupported; pm 985 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c ib_modify_port(cport->ibdev, i, IB_PORT_OPA_MASK_CHG, &pm); pm 1788 drivers/input/input.c .pm = &input_dev_pm_ops, pm 391 drivers/input/joystick/psxpad-spi.c .pm = &psxpad_spi_pm, pm 660 drivers/input/keyboard/adp5588-keys.c .pm = &adp5588_dev_pm_ops, pm 1103 drivers/input/keyboard/adp5589-keys.c .pm = &adp5589_dev_pm_ops, pm 1950 drivers/input/keyboard/applespi.c .pm = &applespi_pm_ops, pm 662 drivers/input/keyboard/cros_ec_keyb.c .pm = &cros_ec_keyb_pm_ops, pm 369 drivers/input/keyboard/ep93xx_keypad.c .pm = &ep93xx_keypad_pm_ops, pm 1017 drivers/input/keyboard/gpio_keys.c .pm = &gpio_keys_pm_ops, pm 584 drivers/input/keyboard/imx_keypad.c .pm = &imx_kbd_pm_ops, pm 157 drivers/input/keyboard/ipaq-micro-keys.c .pm = µ_key_dev_pm_ops, pm 832 drivers/input/keyboard/lm8323.c .pm = &lm8323_pm_ops, pm 320 drivers/input/keyboard/lpc32xx-keys.c .pm = &lpc32xx_kscan_pm_ops, pm 576 drivers/input/keyboard/matrix_keypad.c .pm = &matrix_keypad_pm_ops, pm 284 drivers/input/keyboard/max7359_keypad.c .pm = &max7359_pm, pm 263 drivers/input/keyboard/mcs_touchkey.c .pm = &mcs_touchkey_pm_ops, pm 356 drivers/input/keyboard/mpr121_touchkey.c .pm = &mpr121_touchkey_pm_ops, pm 326 drivers/input/keyboard/mtk-pmic-keys.c .pm = &mtk_pmic_keys_pm_ops, pm 425 drivers/input/keyboard/nomadik-ske-keypad.c .pm = &ske_keypad_dev_pm_ops, pm 450 drivers/input/keyboard/omap4-keypad.c .pm = &omap4_keypad_pm_ops, pm 680 drivers/input/keyboard/pmic8xxx-keypad.c .pm = &pm8xxx_kp_pm_ops, pm 833 drivers/input/keyboard/pxa27x_keypad.c .pm = &pxa27x_keypad_pm_ops, pm 589 drivers/input/keyboard/qt1050.c .pm = &qt1050_pm_ops, pm 276 drivers/input/keyboard/qt1070.c .pm = &qt1070_pm_ops, pm 602 drivers/input/keyboard/samsung-keypad.c .pm = &samsung_keypad_pm_ops, pm 329 drivers/input/keyboard/sh_keysc.c .pm = &sh_keysc_dev_pm_ops, pm 382 drivers/input/keyboard/spear-keyboard.c .pm = &spear_kbd_pm_ops, pm 262 drivers/input/keyboard/st-keyscan.c .pm = &keyscan_dev_pm_ops, pm 503 drivers/input/keyboard/tc3589x-keypad.c .pm = &tc3589x_keypad_dev_pm_ops, pm 356 drivers/input/keyboard/tca6416-keypad.c .pm = &tca6416_keypad_dev_pm_ops, pm 814 drivers/input/keyboard/tegra-kbc.c .pm = &tegra_kbc_pm_ops, pm 349 drivers/input/keyboard/tm2-touchkey.c .pm = &tm2_touchkey_pm_ops, pm 154 drivers/input/misc/88pm80x_onkey.c .pm = &pm80x_onkey_pm_ops, pm 137 drivers/input/misc/88pm860x_onkey.c .pm = &pm860x_onkey_pm_ops, pm 100 drivers/input/misc/ad714x-i2c.c .pm = &ad714x_i2c_pm, pm 106 drivers/input/misc/ad714x-spi.c .pm = &ad714x_spi_pm, pm 159 drivers/input/misc/adxl34x-i2c.c .pm = &adxl34x_i2c_pm, pm 123 drivers/input/misc/adxl34x-spi.c .pm = &adxl34x_spi_pm, pm 397 drivers/input/misc/axp20x-pek.c .pm = &axp20x_pek_pm_ops, pm 643 drivers/input/misc/bma150.c .pm = &bma150_pm, pm 111 drivers/input/misc/cma3000_d0x_i2c.c .pm = &cma3000_i2c_pm_ops, pm 661 drivers/input/misc/drv260x.c .pm = &drv260x_pm_ops, pm 305 drivers/input/misc/drv2665.c .pm = &drv2665_pm_ops, pm 480 drivers/input/misc/drv2667.c .pm = &drv2667_pm_ops, pm 125 drivers/input/misc/e3x0-button.c .pm = &e3x0_button_pm_ops, pm 270 drivers/input/misc/gp2ap002a00f.c .pm = &gp2a_pm, pm 198 drivers/input/misc/gpio-vibra.c .pm = &gpio_vibrator_pm_ops, pm 647 drivers/input/misc/kxtj9.c .pm = &kxtj9_pm_ops, pm 417 drivers/input/misc/max77693-haptic.c .pm = &max77693_haptic_pm_ops, pm 165 drivers/input/misc/max8925_onkey.c .pm = &max8925_onkey_pm_ops, pm 396 drivers/input/misc/max8997_haptic.c .pm = &max8997_haptic_pm_ops, pm 273 drivers/input/misc/msm-vibrator.c .pm = &msm_vibrator_pm_ops, pm 321 drivers/input/misc/palmas-pwrbutton.c .pm = &palmas_pwron_pm, pm 211 drivers/input/misc/pcf8574_keypad.c .pm = &pcf8574_kp_pm_ops, pm 128 drivers/input/misc/pcspkr.c .pm = &pcspkr_pm_ops, pm 319 drivers/input/misc/pm8941-pwrkey.c .pm = &pm8941_pwr_key_pm_ops, pm 253 drivers/input/misc/pm8xxx-vibrator.c .pm = &pm8xxx_vib_pm_ops, pm 445 drivers/input/misc/pmic8xxx-pwrkey.c .pm = &pm8xxx_pwr_key_pm_ops, pm 88 drivers/input/misc/powermate.c struct powermate_device *pm = urb->context; pm 89 drivers/input/misc/powermate.c struct device *dev = &pm->intf->dev; pm 110 drivers/input/misc/powermate.c input_report_key(pm->input, BTN_0, pm->data[0] & 0x01); pm 111 drivers/input/misc/powermate.c input_report_rel(pm->input, REL_DIAL, pm->data[1]); pm 112 drivers/input/misc/powermate.c input_sync(pm->input); pm 122 drivers/input/misc/powermate.c static void powermate_sync_state(struct powermate_device *pm) pm 124 drivers/input/misc/powermate.c if (pm->requires_update == 0) pm 126 drivers/input/misc/powermate.c if (pm->config->status == -EINPROGRESS) pm 129 drivers/input/misc/powermate.c if (pm->requires_update & UPDATE_PULSE_ASLEEP){ pm 130 drivers/input/misc/powermate.c pm->configcr->wValue = cpu_to_le16( SET_PULSE_ASLEEP ); pm 131 drivers/input/misc/powermate.c pm->configcr->wIndex = cpu_to_le16( pm->pulse_asleep ? 1 : 0 ); pm 132 drivers/input/misc/powermate.c pm->requires_update &= ~UPDATE_PULSE_ASLEEP; pm 133 drivers/input/misc/powermate.c }else if (pm->requires_update & UPDATE_PULSE_AWAKE){ pm 134 drivers/input/misc/powermate.c pm->configcr->wValue = cpu_to_le16( SET_PULSE_AWAKE ); pm 135 drivers/input/misc/powermate.c pm->configcr->wIndex = cpu_to_le16( pm->pulse_awake ? 1 : 0 ); pm 136 drivers/input/misc/powermate.c pm->requires_update &= ~UPDATE_PULSE_AWAKE; pm 137 drivers/input/misc/powermate.c }else if (pm->requires_update & UPDATE_PULSE_MODE){ pm 156 drivers/input/misc/powermate.c if (pm->pulse_speed < 255) { pm 158 drivers/input/misc/powermate.c arg = 255 - pm->pulse_speed; pm 159 drivers/input/misc/powermate.c } else if (pm->pulse_speed > 255) { pm 161 drivers/input/misc/powermate.c arg = pm->pulse_speed - 255; pm 166 drivers/input/misc/powermate.c pm->configcr->wValue = cpu_to_le16( (pm->pulse_table << 8) | SET_PULSE_MODE ); pm 167 drivers/input/misc/powermate.c pm->configcr->wIndex = cpu_to_le16( (arg << 8) | op ); pm 168 drivers/input/misc/powermate.c pm->requires_update &= ~UPDATE_PULSE_MODE; pm 169 drivers/input/misc/powermate.c } else if (pm->requires_update & UPDATE_STATIC_BRIGHTNESS) { pm 170 drivers/input/misc/powermate.c pm->configcr->wValue = cpu_to_le16( SET_STATIC_BRIGHTNESS ); pm 171 drivers/input/misc/powermate.c pm->configcr->wIndex = cpu_to_le16( pm->static_brightness ); pm 172 drivers/input/misc/powermate.c pm->requires_update &= ~UPDATE_STATIC_BRIGHTNESS; pm 175 drivers/input/misc/powermate.c pm->requires_update = 0; /* fudge the bug */ pm 181 drivers/input/misc/powermate.c pm->configcr->bRequestType = 0x41; /* vendor request */ pm 182 drivers/input/misc/powermate.c pm->configcr->bRequest = 0x01; pm 183 drivers/input/misc/powermate.c pm->configcr->wLength = 0; pm 185 drivers/input/misc/powermate.c usb_fill_control_urb(pm->config, pm->udev, usb_sndctrlpipe(pm->udev, 0), pm 186 drivers/input/misc/powermate.c (void *) pm->configcr, NULL, 0, pm 187 drivers/input/misc/powermate.c powermate_config_complete, pm); pm 189 drivers/input/misc/powermate.c if (usb_submit_urb(pm->config, GFP_ATOMIC)) pm 196 drivers/input/misc/powermate.c struct powermate_device *pm = urb->context; pm 202 drivers/input/misc/powermate.c spin_lock_irqsave(&pm->lock, flags); pm 203 drivers/input/misc/powermate.c powermate_sync_state(pm); pm 204 drivers/input/misc/powermate.c spin_unlock_irqrestore(&pm->lock, flags); pm 208 drivers/input/misc/powermate.c static void powermate_pulse_led(struct powermate_device *pm, int static_brightness, int pulse_speed, pm 226 drivers/input/misc/powermate.c spin_lock_irqsave(&pm->lock, flags); pm 229 drivers/input/misc/powermate.c if (static_brightness != pm->static_brightness) { pm 230 drivers/input/misc/powermate.c pm->static_brightness = static_brightness; pm 231 drivers/input/misc/powermate.c pm->requires_update |= UPDATE_STATIC_BRIGHTNESS; pm 233 drivers/input/misc/powermate.c if (pulse_asleep != pm->pulse_asleep) { pm 234 drivers/input/misc/powermate.c pm->pulse_asleep = pulse_asleep; pm 235 drivers/input/misc/powermate.c pm->requires_update |= (UPDATE_PULSE_ASLEEP | UPDATE_STATIC_BRIGHTNESS); pm 237 drivers/input/misc/powermate.c if (pulse_awake != pm->pulse_awake) { pm 238 drivers/input/misc/powermate.c pm->pulse_awake = pulse_awake; pm 239 drivers/input/misc/powermate.c pm->requires_update |= (UPDATE_PULSE_AWAKE | UPDATE_STATIC_BRIGHTNESS); pm 241 drivers/input/misc/powermate.c if (pulse_speed != pm->pulse_speed || pulse_table != pm->pulse_table) { pm 242 drivers/input/misc/powermate.c pm->pulse_speed = pulse_speed; pm 243 drivers/input/misc/powermate.c pm->pulse_table = pulse_table; pm 244 drivers/input/misc/powermate.c pm->requires_update |= UPDATE_PULSE_MODE; pm 247 drivers/input/misc/powermate.c powermate_sync_state(pm); pm 249 drivers/input/misc/powermate.c spin_unlock_irqrestore(&pm->lock, flags); pm 256 drivers/input/misc/powermate.c struct powermate_device *pm = input_get_drvdata(dev); pm 272 drivers/input/misc/powermate.c powermate_pulse_led(pm, static_brightness, pulse_speed, pulse_table, pulse_asleep, pulse_awake); pm 278 drivers/input/misc/powermate.c static int powermate_alloc_buffers(struct usb_device *udev, struct powermate_device *pm) pm 280 drivers/input/misc/powermate.c pm->data = usb_alloc_coherent(udev, POWERMATE_PAYLOAD_SIZE_MAX, pm 281 drivers/input/misc/powermate.c GFP_KERNEL, &pm->data_dma); pm 282 drivers/input/misc/powermate.c if (!pm->data) pm 285 drivers/input/misc/powermate.c pm->configcr = kmalloc(sizeof(*(pm->configcr)), GFP_KERNEL); pm 286 drivers/input/misc/powermate.c if (!pm->configcr) pm 292 drivers/input/misc/powermate.c static void powermate_free_buffers(struct usb_device *udev, struct powermate_device *pm) pm 295 drivers/input/misc/powermate.c pm->data, pm->data_dma); pm 296 drivers/input/misc/powermate.c kfree(pm->configcr); pm 305 drivers/input/misc/powermate.c struct powermate_device *pm; pm 323 drivers/input/misc/powermate.c pm = kzalloc(sizeof(struct powermate_device), GFP_KERNEL); pm 325 drivers/input/misc/powermate.c if (!pm || !input_dev) pm 328 drivers/input/misc/powermate.c if (powermate_alloc_buffers(udev, pm)) pm 331 drivers/input/misc/powermate.c pm->irq = usb_alloc_urb(0, GFP_KERNEL); pm 332 drivers/input/misc/powermate.c if (!pm->irq) pm 335 drivers/input/misc/powermate.c pm->config = usb_alloc_urb(0, GFP_KERNEL); pm 336 drivers/input/misc/powermate.c if (!pm->config) pm 339 drivers/input/misc/powermate.c pm->udev = udev; pm 340 drivers/input/misc/powermate.c pm->intf = intf; pm 341 drivers/input/misc/powermate.c pm->input = input_dev; pm 343 drivers/input/misc/powermate.c usb_make_path(udev, pm->phys, sizeof(pm->phys)); pm 344 drivers/input/misc/powermate.c strlcat(pm->phys, "/input0", sizeof(pm->phys)); pm 346 drivers/input/misc/powermate.c spin_lock_init(&pm->lock); pm 361 drivers/input/misc/powermate.c input_dev->phys = pm->phys; pm 365 drivers/input/misc/powermate.c input_set_drvdata(input_dev, pm); pm 385 drivers/input/misc/powermate.c usb_fill_int_urb(pm->irq, udev, pipe, pm->data, pm 387 drivers/input/misc/powermate.c pm, endpoint->bInterval); pm 388 drivers/input/misc/powermate.c pm->irq->transfer_dma = pm->data_dma; pm 389 drivers/input/misc/powermate.c pm->irq->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; pm 392 drivers/input/misc/powermate.c if (usb_submit_urb(pm->irq, GFP_KERNEL)) { pm 397 drivers/input/misc/powermate.c error = input_register_device(pm->input); pm 403 drivers/input/misc/powermate.c pm->requires_update = UPDATE_PULSE_ASLEEP | UPDATE_PULSE_AWAKE | UPDATE_PULSE_MODE | UPDATE_STATIC_BRIGHTNESS; pm 404 drivers/input/misc/powermate.c powermate_pulse_led(pm, 0x80, 255, 0, 1, 0); // set default pulse parameters pm 406 drivers/input/misc/powermate.c usb_set_intfdata(intf, pm); pm 409 drivers/input/misc/powermate.c fail5: usb_kill_urb(pm->irq); pm 410 drivers/input/misc/powermate.c fail4: usb_free_urb(pm->config); pm 411 drivers/input/misc/powermate.c fail3: usb_free_urb(pm->irq); pm 412 drivers/input/misc/powermate.c fail2: powermate_free_buffers(udev, pm); pm 414 drivers/input/misc/powermate.c kfree(pm); pm 421 drivers/input/misc/powermate.c struct powermate_device *pm = usb_get_intfdata (intf); pm 424 drivers/input/misc/powermate.c if (pm) { pm 425 drivers/input/misc/powermate.c pm->requires_update = 0; pm 426 drivers/input/misc/powermate.c usb_kill_urb(pm->irq); pm 427 drivers/input/misc/powermate.c input_unregister_device(pm->input); pm 428 drivers/input/misc/powermate.c usb_free_urb(pm->irq); pm 429 drivers/input/misc/powermate.c usb_free_urb(pm->config); pm 430 drivers/input/misc/powermate.c powermate_free_buffers(interface_to_usbdev(intf), pm); pm 432 drivers/input/misc/powermate.c kfree(pm); pm 253 drivers/input/misc/pwm-beeper.c .pm = &pwm_beeper_pm_ops, pm 261 drivers/input/misc/pwm-vibra.c .pm = &pwm_vibrator_pm_ops, pm 256 drivers/input/misc/regulator-haptic.c .pm = ®ulator_haptic_pm_ops, pm 361 drivers/input/misc/rotary_encoder.c .pm = &rotary_encoder_pm_ops, pm 197 drivers/input/misc/sirfsoc-onkey.c .pm = &sirfsoc_pwrc_pm_ops, pm 185 drivers/input/misc/stpmic1_onkey.c .pm = &stpmic1_onkey_pm, pm 242 drivers/input/misc/twl4030-vibra.c .pm = &twl4030_vibra_pm_ops, pm 357 drivers/input/misc/twl6040-vibra.c .pm = &twl6040_vibra_pm_ops, pm 1336 drivers/input/misc/wistron_btns.c .pm = &wistron_pm_ops, pm 1490 drivers/input/mouse/cyapa.c .pm = &cyapa_pm_ops, pm 1374 drivers/input/mouse/elan_i2c_core.c .pm = &elan_pm_ops, pm 353 drivers/input/mouse/navpoint.c .pm = &navpoint_pm_ops, pm 653 drivers/input/mouse/synaptics_i2c.c .pm = &synaptics_i2c_pm, pm 378 drivers/input/rmi4/rmi_i2c.c .pm = &rmi_i2c_pm, pm 422 drivers/input/rmi4/rmi_smbus.c .pm = &rmi_smb_pm, pm 519 drivers/input/rmi4/rmi_spi.c .pm = &rmi_spi_pm, pm 200 drivers/input/serio/ambakmi.c .pm = &amba_kmi_dev_pm_ops, pm 1592 drivers/input/serio/i8042.c .pm = &i8042_pm_ops, pm 1023 drivers/input/serio/serio.c .pm = &serio_pm_ops, pm 812 drivers/input/touchscreen/ad7877.c .pm = &ad7877_pm, pm 63 drivers/input/touchscreen/ad7879-i2c.c .pm = &ad7879_pm_ops, pm 60 drivers/input/touchscreen/ad7879-spi.c .pm = &ad7879_pm_ops, pm 1517 drivers/input/touchscreen/ads7846.c .pm = &ads7846_pm, pm 184 drivers/input/touchscreen/ar1021_i2c.c .pm = &ar1021_i2c_pm, pm 3222 drivers/input/touchscreen/atmel_mxt_ts.c .pm = &mxt_pm_ops, pm 670 drivers/input/touchscreen/auo-pixcir-ts.c .pm = &auo_pixcir_pm_ops, pm 621 drivers/input/touchscreen/bu21013_ts.c .pm = &bu21013_dev_pm_ops, pm 475 drivers/input/touchscreen/bu21029_ts.c .pm = &bu21029_pm_ops, pm 267 drivers/input/touchscreen/chipone_icn8318.c .pm = &icn8318_pm_ops, pm 510 drivers/input/touchscreen/chipone_icn8505.c .pm = &icn8505_pm_ops, pm 339 drivers/input/touchscreen/cy8ctmg110_ts.c .pm = &cy8ctmg110_pm, pm 64 drivers/input/touchscreen/cyttsp4_i2c.c .pm = &cyttsp4_pm_ops, pm 178 drivers/input/touchscreen/cyttsp4_spi.c .pm = &cyttsp4_pm_ops, pm 58 drivers/input/touchscreen/cyttsp_i2c.c .pm = &cyttsp_pm_ops, pm 166 drivers/input/touchscreen/cyttsp_spi.c .pm = &cyttsp_pm_ops, pm 1261 drivers/input/touchscreen/edt-ft5x06.c .pm = &edt_ft5x06_ts_pm_ops, pm 292 drivers/input/touchscreen/eeti_ts.c .pm = &eeti_ts_pm, pm 272 drivers/input/touchscreen/egalax_ts.c .pm = &egalax_ts_pm_ops, pm 322 drivers/input/touchscreen/ektf2127.c .pm = &ektf2127_pm_ops, pm 1394 drivers/input/touchscreen/elants_i2c.c .pm = &elants_i2c_pm_ops, pm 1070 drivers/input/touchscreen/goodix.c .pm = &goodix_pm_ops, pm 1105 drivers/input/touchscreen/hideep.c .pm = &hideep_pm_ops, pm 418 drivers/input/touchscreen/ili210x.c .pm = &ili210x_i2c_pm, pm 565 drivers/input/touchscreen/imx6ul_tsc.c .pm = &imx6ul_tsc_pm_ops, pm 153 drivers/input/touchscreen/ipaq-micro-ts.c .pm = µ_ts_dev_pm_ops, pm 1124 drivers/input/touchscreen/iqs5xx.c .pm = &iqs5xx_pm, pm 390 drivers/input/touchscreen/lpc32xx_ts.c .pm = LPC32XX_TS_PM_OPS, pm 278 drivers/input/touchscreen/mcs5000_ts.c .pm = &mcs5000_ts_pm, pm 1599 drivers/input/touchscreen/melfas_mip4.c .pm = &mip4_pm_ops, pm 225 drivers/input/touchscreen/migor_ts.c .pm = &migor_ts_pm, pm 610 drivers/input/touchscreen/mms114.c .pm = &mms114_pm_ops, pm 246 drivers/input/touchscreen/pcap_ts.c .pm = PCAP_TS_PM_OPS, pm 59 drivers/input/touchscreen/penmount.c void (*parse_packet)(struct pm *); pm 66 drivers/input/touchscreen/penmount.c static void pm_mtevent(struct pm *pm, struct input_dev *input) pm 70 drivers/input/touchscreen/penmount.c for (i = 0; i < pm->maxcontacts; ++i) { pm 73 drivers/input/touchscreen/penmount.c pm->slots[i].active); pm 74 drivers/input/touchscreen/penmount.c if (pm->slots[i].active) { pm 75 drivers/input/touchscreen/penmount.c input_event(input, EV_ABS, ABS_MT_POSITION_X, pm->slots[i].x); pm 76 drivers/input/touchscreen/penmount.c input_event(input, EV_ABS, ABS_MT_POSITION_Y, pm->slots[i].y); pm 99 drivers/input/touchscreen/penmount.c static void pm_parse_9000(struct pm *pm) pm 101 drivers/input/touchscreen/penmount.c struct input_dev *dev = pm->dev; pm 103 drivers/input/touchscreen/penmount.c if ((pm->data[0] & 0x80) && pm->packetsize == ++pm->idx) { pm 104 drivers/input/touchscreen/penmount.c input_report_abs(dev, ABS_X, pm->data[1] * 128 + pm->data[2]); pm 105 drivers/input/touchscreen/penmount.c input_report_abs(dev, ABS_Y, pm->data[3] * 128 + pm->data[4]); pm 106 drivers/input/touchscreen/penmount.c input_report_key(dev, BTN_TOUCH, !!(pm->data[0] & 0x40)); pm 108 drivers/input/touchscreen/penmount.c pm->idx = 0; pm 112 drivers/input/touchscreen/penmount.c static void pm_parse_6000(struct pm *pm) pm 114 drivers/input/touchscreen/penmount.c struct input_dev *dev = pm->dev; pm 116 drivers/input/touchscreen/penmount.c if ((pm->data[0] & 0xbf) == 0x30 && pm->packetsize == ++pm->idx) { pm 117 drivers/input/touchscreen/penmount.c if (pm_checkpacket(pm->data)) { pm 119 drivers/input/touchscreen/penmount.c pm->data[2] * 256 + pm->data[1]); pm 121 drivers/input/touchscreen/penmount.c pm->data[4] * 256 + pm->data[3]); pm 122 drivers/input/touchscreen/penmount.c input_report_key(dev, BTN_TOUCH, pm->data[0] & 0x40); pm 125 drivers/input/touchscreen/penmount.c pm->idx = 0; pm 129 drivers/input/touchscreen/penmount.c static void pm_parse_3000(struct pm *pm) pm 131 drivers/input/touchscreen/penmount.c struct input_dev *dev = pm->dev; pm 133 drivers/input/touchscreen/penmount.c if ((pm->data[0] & 0xce) == 0x40 && pm->packetsize == ++pm->idx) { pm 134 drivers/input/touchscreen/penmount.c if (pm_checkpacket(pm->data)) { pm 135 drivers/input/touchscreen/penmount.c int slotnum = pm->data[0] & 0x0f; pm 136 drivers/input/touchscreen/penmount.c pm->slots[slotnum].active = pm->data[0] & 0x30; pm 137 drivers/input/touchscreen/penmount.c pm->slots[slotnum].x = pm->data[2] * 256 + pm->data[1]; pm 138 drivers/input/touchscreen/penmount.c pm->slots[slotnum].y = pm->data[4] * 256 + pm->data[3]; pm 139 drivers/input/touchscreen/penmount.c pm_mtevent(pm, dev); pm 141 drivers/input/touchscreen/penmount.c pm->idx = 0; pm 145 drivers/input/touchscreen/penmount.c static void pm_parse_6250(struct pm *pm) pm 147 drivers/input/touchscreen/penmount.c struct input_dev *dev = pm->dev; pm 149 drivers/input/touchscreen/penmount.c if ((pm->data[0] & 0xb0) == 0x30 && pm->packetsize == ++pm->idx) { pm 150 drivers/input/touchscreen/penmount.c if (pm_checkpacket(pm->data)) { pm 151 drivers/input/touchscreen/penmount.c int slotnum = pm->data[0] & 0x0f; pm 152 drivers/input/touchscreen/penmount.c pm->slots[slotnum].active = pm->data[0] & 0x40; pm 153 drivers/input/touchscreen/penmount.c pm->slots[slotnum].x = pm->data[2] * 256 + pm->data[1]; pm 154 drivers/input/touchscreen/penmount.c pm->slots[slotnum].y = pm->data[4] * 256 + pm->data[3]; pm 155 drivers/input/touchscreen/penmount.c pm_mtevent(pm, dev); pm 157 drivers/input/touchscreen/penmount.c pm->idx = 0; pm 164 drivers/input/touchscreen/penmount.c struct pm *pm = serio_get_drvdata(serio); pm 166 drivers/input/touchscreen/penmount.c pm->data[pm->idx] = data; pm 168 drivers/input/touchscreen/penmount.c pm->parse_packet(pm); pm 179 drivers/input/touchscreen/penmount.c struct pm *pm = serio_get_drvdata(serio); pm 183 drivers/input/touchscreen/penmount.c input_unregister_device(pm->dev); pm 184 drivers/input/touchscreen/penmount.c kfree(pm); pm 197 drivers/input/touchscreen/penmount.c struct pm *pm; pm 202 drivers/input/touchscreen/penmount.c pm = kzalloc(sizeof(struct pm), GFP_KERNEL); pm 204 drivers/input/touchscreen/penmount.c if (!pm || !input_dev) { pm 209 drivers/input/touchscreen/penmount.c pm->serio = serio; pm 210 drivers/input/touchscreen/penmount.c pm->dev = input_dev; pm 211 drivers/input/touchscreen/penmount.c snprintf(pm->phys, sizeof(pm->phys), "%s/input0", serio->phys); pm 212 drivers/input/touchscreen/penmount.c pm->maxcontacts = 1; pm 215 drivers/input/touchscreen/penmount.c input_dev->phys = pm->phys; pm 228 drivers/input/touchscreen/penmount.c pm->packetsize = 5; pm 229 drivers/input/touchscreen/penmount.c pm->parse_packet = pm_parse_9000; pm 235 drivers/input/touchscreen/penmount.c pm->packetsize = 6; pm 236 drivers/input/touchscreen/penmount.c pm->parse_packet = pm_parse_6000; pm 242 drivers/input/touchscreen/penmount.c pm->packetsize = 6; pm 243 drivers/input/touchscreen/penmount.c pm->parse_packet = pm_parse_3000; pm 246 drivers/input/touchscreen/penmount.c pm->maxcontacts = PM_3000_MTSLOT; pm 250 drivers/input/touchscreen/penmount.c pm->packetsize = 6; pm 251 drivers/input/touchscreen/penmount.c pm->parse_packet = pm_parse_6250; pm 254 drivers/input/touchscreen/penmount.c pm->maxcontacts = PM_6250_MTSLOT; pm 258 drivers/input/touchscreen/penmount.c input_set_abs_params(pm->dev, ABS_X, 0, max_x, 0, 0); pm 259 drivers/input/touchscreen/penmount.c input_set_abs_params(pm->dev, ABS_Y, 0, max_y, 0, 0); pm 261 drivers/input/touchscreen/penmount.c if (pm->maxcontacts > 1) { pm 262 drivers/input/touchscreen/penmount.c input_mt_init_slots(pm->dev, pm->maxcontacts, 0); pm 263 drivers/input/touchscreen/penmount.c input_set_abs_params(pm->dev, pm 265 drivers/input/touchscreen/penmount.c input_set_abs_params(pm->dev, pm 269 drivers/input/touchscreen/penmount.c serio_set_drvdata(serio, pm); pm 275 drivers/input/touchscreen/penmount.c err = input_register_device(pm->dev); pm 284 drivers/input/touchscreen/penmount.c kfree(pm); pm 606 drivers/input/touchscreen/pixcir_i2c_ts.c .pm = &pixcir_dev_pm_ops, pm 1212 drivers/input/touchscreen/raydium_i2c_ts.c .pm = &raydium_i2c_pm_ops, pm 419 drivers/input/touchscreen/s3c2410_ts.c .pm = &s3c_ts_pmops, pm 543 drivers/input/touchscreen/s6sy761.c .pm = &s6sy761_pm_ops, pm 637 drivers/input/touchscreen/silead.c .pm = &silead_ts_pm, pm 339 drivers/input/touchscreen/st1232.c .pm = &st1232_ts_pm_ops, pm 810 drivers/input/touchscreen/stmfts.c .pm = &stmfts_pm_ops, pm 414 drivers/input/touchscreen/surface3_spi.c .pm = &surface3_spi_pm_ops, pm 551 drivers/input/touchscreen/ti_am335x_tsc.c .pm = &titsc_pm_ops, pm 69 drivers/input/touchscreen/tsc2004.c .pm = &tsc200x_pm_ops, pm 84 drivers/input/touchscreen/tsc2005.c .pm = &tsc200x_pm_ops, pm 442 drivers/input/touchscreen/ucb1400_ts.c .pm = &ucb1400_ts_pm_ops, pm 269 drivers/input/touchscreen/wacom_i2c.c .pm = &wacom_i2c_pm, pm 1177 drivers/input/touchscreen/wdt87xx_i2c.c .pm = &wdt87xx_pm_ops, pm 900 drivers/input/touchscreen/wm97xx-core.c .pm = &wm97xx_pm_ops, pm 906 drivers/input/touchscreen/wm97xx-core.c .pm = &wm97xx_pm_ops, pm 945 drivers/input/touchscreen/zforce_ts.c .pm = &zforce_pm_ops, pm 2240 drivers/iommu/arm-smmu.c .pm = &arm_smmu_pm_ops, pm 719 drivers/iommu/exynos-iommu.c .pm = &sysmmu_pm_ops, pm 1217 drivers/iommu/ipmmu-vmsa.c .pm = DEV_PM_OPS, pm 865 drivers/iommu/mtk_iommu.c .pm = &mtk_iommu_pm_ops, pm 699 drivers/iommu/mtk_iommu_v1.c .pm = &mtk_iommu_pm_ops, pm 1321 drivers/iommu/omap-iommu.c .pm = &omap_iommu_pm_ops, pm 932 drivers/iommu/qcom_iommu.c .pm = &qcom_iommu_pm_ops, pm 1306 drivers/iommu/rockchip-iommu.c .pm = &rk_iommu_pm_ops, pm 158 drivers/irqchip/irq-gic-pm.c .pm = &gic_pm_ops, pm 309 drivers/irqchip/irq-imx-irqsteer.c .pm = &imx_irqsteer_pm_ops, pm 246 drivers/irqchip/irq-madera.c .pm = &madera_irq_pm_ops, pm 593 drivers/irqchip/irq-renesas-intc-irqpin.c .pm = &intc_irqpin_pm_ops, pm 253 drivers/irqchip/irq-renesas-irqc.c .pm = &irqc_pm_ops, pm 193 drivers/irqchip/irq-st.c .pm = &st_irq_syscfg_pm_ops, pm 248 drivers/irqchip/irq-uniphier-aidet.c .pm = &uniphier_aidet_pm_ops, pm 433 drivers/leds/led-class.c leds_class->pm = &leds_class_dev_pm_ops; pm 168 drivers/leds/leds-asic3.c .pm = &asic3_led_pm_ops, pm 783 drivers/leds/leds-bd2802.c .pm = &bd2802_pm, pm 522 drivers/leds/leds-lm355x.c .pm = NULL, pm 416 drivers/leds/leds-lm3642.c .pm = NULL, pm 866 drivers/macintosh/adb.c .pm = &adb_dev_pm_ops, pm 556 drivers/mailbox/mtk-cmdq-mailbox.c .pm = &cmdq_pm_ops, pm 898 drivers/mailbox/omap-mailbox.c .pm = &omap_mbox_pm_ops, pm 406 drivers/mailbox/stm32-ipcc.c .pm = &stm32_ipcc_pm_ops, pm 827 drivers/mailbox/tegra-hsp.c .pm = &tegra_hsp_pm_ops, pm 355 drivers/media/i2c/ad5820.c .pm = &ad5820_pm, pm 541 drivers/media/i2c/adp1653.c .pm = &adp1653_pm_ops, pm 1498 drivers/media/i2c/adv7180.c .pm = ADV7180_PM_OPS, pm 281 drivers/media/i2c/ak7375.c .pm = &ak7375_pm_ops, pm 259 drivers/media/i2c/dw9714.c .pm = &dw9714_pm_ops, pm 318 drivers/media/i2c/dw9807-vcm.c .pm = &dw9807_pm_ops, pm 1503 drivers/media/i2c/et8ek8/et8ek8_driver.c .pm = &et8ek8_pm_ops, pm 1105 drivers/media/i2c/imx214.c .pm = &imx214_pm_ops, pm 1297 drivers/media/i2c/imx258.c .pm = &imx258_pm_ops, pm 2547 drivers/media/i2c/imx319.c .pm = &imx319_pm_ops, pm 1847 drivers/media/i2c/imx355.c .pm = &imx355_pm_ops, pm 471 drivers/media/i2c/lm3560.c .pm = NULL, pm 893 drivers/media/i2c/msp3400-driver.c .pm = &msp3400_pm_ops, pm 871 drivers/media/i2c/mt9m001.c .pm = &mt9m001_pm_ops, pm 1793 drivers/media/i2c/ov13858.c .pm = &ov13858_pm_ops, pm 1159 drivers/media/i2c/ov2680.c .pm = &ov2680_pm_ops, pm 835 drivers/media/i2c/ov2685.c .pm = &ov2685_pm_ops, pm 2559 drivers/media/i2c/ov5670.c .pm = &ov5670_pm_ops, pm 1172 drivers/media/i2c/ov5675.c .pm = &ov5675_pm_ops, pm 1398 drivers/media/i2c/ov5695.c .pm = &ov5695_pm_ops, pm 1224 drivers/media/i2c/ov7740.c .pm = &ov7740_pm_ops, pm 1260 drivers/media/i2c/ov8856.c .pm = &ov8856_pm_ops, pm 3176 drivers/media/i2c/smiapp/smiapp-core.c .pm = &smiapp_pm_ops, pm 956 drivers/media/i2c/video-i2c.c .pm = &video_i2c_pm_ops, pm 1875 drivers/media/pci/intel/ipu3/ipu3-cio2.c u16 pm; pm 1880 drivers/media/pci/intel/ipu3/ipu3-cio2.c pci_read_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, &pm); pm 1881 drivers/media/pci/intel/ipu3/ipu3-cio2.c pm = (pm >> CIO2_PMCSR_D0D3_SHIFT) << CIO2_PMCSR_D0D3_SHIFT; pm 1882 drivers/media/pci/intel/ipu3/ipu3-cio2.c pm |= CIO2_PMCSR_D3; pm 1883 drivers/media/pci/intel/ipu3/ipu3-cio2.c pci_write_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, pm); pm 1893 drivers/media/pci/intel/ipu3/ipu3-cio2.c u16 pm; pm 1898 drivers/media/pci/intel/ipu3/ipu3-cio2.c pci_read_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, &pm); pm 1899 drivers/media/pci/intel/ipu3/ipu3-cio2.c pm = (pm >> CIO2_PMCSR_D0D3_SHIFT) << CIO2_PMCSR_D0D3_SHIFT; pm 1900 drivers/media/pci/intel/ipu3/ipu3-cio2.c pci_write_config_word(pci_dev, pci_dev->pm_cap + CIO2_PMCSR_OFFSET, pm); pm 2054 drivers/media/pci/intel/ipu3/ipu3-cio2.c .pm = &cio2_pm_ops, pm 1477 drivers/media/pci/pt1/pt1.c .driver.pm = &pt1_pm_ops, pm 833 drivers/media/pci/pt3/pt3.c .driver.pm = &pt3_pm_ops, pm 95 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x06, pm 99 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x13 | 0x80, pm 103 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x13 | 0x80, pm 108 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x10 | 0x80, pm 112 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x10 | 0x80, pm 117 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x11, pm 121 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x11, pm 126 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x12, pm 130 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x12, pm 136 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x00, pm 142 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x00, pm 147 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x09, pm 155 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x0a, pm 163 drivers/media/pci/saa7134/saa7134-video.c .pm = 0x0a, pm 723 drivers/media/pci/saa7134/saa7134-video.c saa_writeb(SAA7134_OFMT_VIDEO_B, dev->ovfmt->pm | 0x20); pm 837 drivers/media/pci/saa7134/saa7134-video.c saa_writeb(SAA7134_OFMT_VIDEO_A, dev->fmt->pm); pm 103 drivers/media/pci/saa7134/saa7134.h unsigned int pm; pm 2752 drivers/media/platform/am437x/am437x-vpfe.c .pm = &vpfe_pm_ops, pm 1337 drivers/media/platform/atmel/atmel-isi.c .pm = &atmel_isi_dev_pm_ops, pm 335 drivers/media/platform/atmel/atmel-sama5d2-isc.c .pm = &atmel_isc_dev_pm_ops, pm 3145 drivers/media/platform/coda/coda-common.c .pm = &coda_pm_ops, pm 349 drivers/media/platform/cros-ec-cec/cros-ec-cec.c .pm = &cros_ec_cec_pm_ops, pm 874 drivers/media/platform/davinci/dm644x_ccdc.c .pm = &dm644x_ccdc_pm_ops, pm 1895 drivers/media/platform/davinci/vpfe_capture.c .pm = &vpfe_dev_pm_ops, pm 538 drivers/media/platform/davinci/vpif.c .pm = vpif_pm_ops, pm 1825 drivers/media/platform/davinci/vpif_capture.c .pm = &vpif_pm_ops, pm 1453 drivers/media/platform/davinci/vpif_display.c .pm = &vpif_pm_ops, pm 493 drivers/media/platform/davinci/vpss.c .pm = &vpss_pm_ops, pm 1320 drivers/media/platform/exynos-gsc/gsc-core.c .pm = &gsc_pm_ops, pm 1225 drivers/media/platform/exynos4-is/fimc-core.c .pm = &fimc_pm_ops, pm 147 drivers/media/platform/exynos4-is/fimc-is-i2c.c .pm = &fimc_is_i2c_pm_ops, pm 963 drivers/media/platform/exynos4-is/fimc-is.c .pm = &fimc_is_pm_ops, pm 1674 drivers/media/platform/exynos4-is/fimc-lite.c .pm = &fimc_lite_pm_ops, pm 1028 drivers/media/platform/exynos4-is/mipi-csis.c .pm = &s5pcsis_pm_ops, pm 1269 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c .pm = &mtk_jpeg_pm_ops, pm 286 drivers/media/platform/mtk-mdp/mtk_mdp_core.c .pm = &mtk_mdp_pm_ops, pm 145 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c mtk_vcodec_dec_pw_on(&dev->pm); pm 205 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c mtk_vcodec_dec_pw_off(&dev->pm); pm 21 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c struct mtk_vcodec_pm *pm; pm 27 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c pm = &mtkdev->pm; pm 28 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c pm->mtkdev = mtkdev; pm 29 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c dec_clk = &pm->vdec_clk; pm 41 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c pm->larbvdec = &pdev->dev; pm 43 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c pm->dev = &pdev->dev; pm 82 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c pm_runtime_disable(dev->pm.dev); pm 85 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c void mtk_vcodec_dec_pw_on(struct mtk_vcodec_pm *pm) pm 89 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c ret = pm_runtime_get_sync(pm->dev); pm 94 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c void mtk_vcodec_dec_pw_off(struct mtk_vcodec_pm *pm) pm 98 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c ret = pm_runtime_put_sync(pm->dev); pm 103 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c void mtk_vcodec_dec_clock_on(struct mtk_vcodec_pm *pm) pm 105 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c struct mtk_vcodec_clk *dec_clk = &pm->vdec_clk; pm 117 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c ret = mtk_smi_larb_get(pm->larbvdec); pm 129 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c void mtk_vcodec_dec_clock_off(struct mtk_vcodec_pm *pm) pm 131 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c struct mtk_vcodec_clk *dec_clk = &pm->vdec_clk; pm 134 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c mtk_smi_larb_put(pm->larbvdec); pm 15 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h void mtk_vcodec_dec_pw_on(struct mtk_vcodec_pm *pm); pm 16 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h void mtk_vcodec_dec_pw_off(struct mtk_vcodec_pm *pm); pm 17 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h void mtk_vcodec_dec_clock_on(struct mtk_vcodec_pm *pm); pm 18 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h void mtk_vcodec_dec_clock_off(struct mtk_vcodec_pm *pm); pm 369 drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h struct mtk_vcodec_pm pm; pm 22 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c struct mtk_vcodec_pm *pm; pm 29 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c pm = &mtkdev->pm; pm 30 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c memset(pm, 0, sizeof(struct mtk_vcodec_pm)); pm 31 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c pm->mtkdev = mtkdev; pm 32 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c pm->dev = &pdev->dev; pm 34 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c enc_clk = &pm->venc_clk; pm 47 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c pm->larbvenc = &pdev->dev; pm 62 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c pm->larbvenclt = &pdev->dev; pm 64 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c pm->dev = &pdev->dev; pm 104 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c void mtk_vcodec_enc_clock_on(struct mtk_vcodec_pm *pm) pm 106 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c struct mtk_vcodec_clk *enc_clk = &pm->venc_clk; pm 118 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c ret = mtk_smi_larb_get(pm->larbvenc); pm 123 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c ret = mtk_smi_larb_get(pm->larbvenclt); pm 131 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c mtk_smi_larb_put(pm->larbvenc); pm 138 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c void mtk_vcodec_enc_clock_off(struct mtk_vcodec_pm *pm) pm 140 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c struct mtk_vcodec_clk *enc_clk = &pm->venc_clk; pm 143 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c mtk_smi_larb_put(pm->larbvenc); pm 144 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c mtk_smi_larb_put(pm->larbvenclt); pm 15 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h void mtk_vcodec_enc_clock_on(struct mtk_vcodec_pm *pm); pm 16 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h void mtk_vcodec_enc_clock_off(struct mtk_vcodec_pm *pm); pm 37 drivers/media/platform/mtk-vcodec/vdec_drv_if.c mtk_vcodec_dec_clock_on(&ctx->dev->pm); pm 39 drivers/media/platform/mtk-vcodec/vdec_drv_if.c mtk_vcodec_dec_clock_off(&ctx->dev->pm); pm 71 drivers/media/platform/mtk-vcodec/vdec_drv_if.c mtk_vcodec_dec_clock_on(&ctx->dev->pm); pm 75 drivers/media/platform/mtk-vcodec/vdec_drv_if.c mtk_vcodec_dec_clock_off(&ctx->dev->pm); pm 104 drivers/media/platform/mtk-vcodec/vdec_drv_if.c mtk_vcodec_dec_clock_on(&ctx->dev->pm); pm 106 drivers/media/platform/mtk-vcodec/vdec_drv_if.c mtk_vcodec_dec_clock_off(&ctx->dev->pm); pm 36 drivers/media/platform/mtk-vcodec/venc_drv_if.c mtk_vcodec_enc_clock_on(&ctx->dev->pm); pm 38 drivers/media/platform/mtk-vcodec/venc_drv_if.c mtk_vcodec_enc_clock_off(&ctx->dev->pm); pm 50 drivers/media/platform/mtk-vcodec/venc_drv_if.c mtk_vcodec_enc_clock_on(&ctx->dev->pm); pm 52 drivers/media/platform/mtk-vcodec/venc_drv_if.c mtk_vcodec_enc_clock_off(&ctx->dev->pm); pm 72 drivers/media/platform/mtk-vcodec/venc_drv_if.c mtk_vcodec_enc_clock_on(&ctx->dev->pm); pm 75 drivers/media/platform/mtk-vcodec/venc_drv_if.c mtk_vcodec_enc_clock_off(&ctx->dev->pm); pm 93 drivers/media/platform/mtk-vcodec/venc_drv_if.c mtk_vcodec_enc_clock_on(&ctx->dev->pm); pm 95 drivers/media/platform/mtk-vcodec/venc_drv_if.c mtk_vcodec_enc_clock_off(&ctx->dev->pm); pm 2477 drivers/media/platform/omap3isp/isp.c .pm = &omap3isp_pm_ops, pm 2580 drivers/media/platform/pxa_camera.c .pm = &pxa_camera_pm, pm 1014 drivers/media/platform/qcom/camss/camss.c .pm = &camss_pm_ops, pm 496 drivers/media/platform/qcom/venus/core.c .pm = &venus_pm_ops, pm 1553 drivers/media/platform/qcom/venus/vdec.c .pm = &vdec_pm_ops, pm 1376 drivers/media/platform/qcom/venus/venc.c .pm = &venc_pm_ops, pm 1491 drivers/media/platform/rcar_drif.c .pm = &rcar_drif_pm_ops, pm 2445 drivers/media/platform/rcar_fdp1.c .pm = &fdp1_pm_ops, pm 1761 drivers/media/platform/rcar_jpu.c .pm = &jpu_pm_ops, pm 1748 drivers/media/platform/renesas-ceu.c .pm = &ceu_pm_ops, pm 974 drivers/media/platform/rockchip/rga/rga.c .pm = &rga_pm, pm 632 drivers/media/platform/s3c-camif/camif-core.c .pm = &s3c_camif_pm_ops, pm 299 drivers/media/platform/s5p-cec/s5p_cec.c .pm = &s5p_cec_pm_ops, pm 3190 drivers/media/platform/s5p-jpeg/jpeg-core.c .pm = &s5p_jpeg_pm_ops, pm 1669 drivers/media/platform/s5p-mfc/s5p_mfc.c .pm = &s5p_mfc_pm_ops, pm 308 drivers/media/platform/s5p-mfc/s5p_mfc_common.h struct s5p_mfc_pm pm; pm 17 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c static struct s5p_mfc_pm *pm; pm 25 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm = &dev->pm; pm 28 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm->num_clocks = dev->variant->num_clocks; pm 29 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm->clk_names = dev->variant->clk_names; pm 30 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm->device = &dev->plat_dev->dev; pm 31 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm->clock_gate = NULL; pm 34 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c for (i = 0; i < pm->num_clocks; i++) { pm 35 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm->clocks[i] = devm_clk_get(pm->device, pm->clk_names[i]); pm 36 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c if (IS_ERR(pm->clocks[i])) { pm 38 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c if (i && PTR_ERR(pm->clocks[i]) == -ENOENT) { pm 39 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm->clocks[i] = NULL; pm 43 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm->clk_names[i]); pm 44 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c return PTR_ERR(pm->clocks[i]); pm 49 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm->clock_gate = pm->clocks[0]; pm 51 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm_runtime_enable(pm->device); pm 58 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm_runtime_disable(pm->device); pm 66 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c return clk_enable(pm->clock_gate); pm 74 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c clk_disable(pm->clock_gate); pm 81 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c ret = pm_runtime_get_sync(pm->device); pm 86 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c for (i = 0; i < pm->num_clocks; i++) { pm 87 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c ret = clk_prepare_enable(pm->clocks[i]); pm 90 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm->clk_names[i]); pm 97 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c clk_disable(pm->clock_gate); pm 102 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c clk_disable_unprepare(pm->clocks[i]); pm 103 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm_runtime_put(pm->device); pm 112 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c clk_enable(pm->clock_gate); pm 114 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c for (i = 0; i < pm->num_clocks; i++) pm 115 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c clk_disable_unprepare(pm->clocks[i]); pm 117 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c return pm_runtime_put_sync(pm->device); pm 793 drivers/media/platform/seco-cec/seco-cec.c .pm = SECOCEC_PM_OPS, pm 1424 drivers/media/platform/sti/bdisp/bdisp-v4l2.c .pm = &bdisp_pm_ops, pm 955 drivers/media/platform/sti/delta/delta-v4l2.c if (!dec->pm) { pm 980 drivers/media/platform/sti/delta/delta-v4l2.c if (!dec->pm) pm 987 drivers/media/platform/sti/delta/delta-v4l2.c if (!dec->pm) pm 1968 drivers/media/platform/sti/delta/delta-v4l2.c .pm = &delta_pm_ops}, pm 256 drivers/media/platform/sti/delta/delta.h bool pm; pm 1468 drivers/media/platform/sti/hva/hva-v4l2.c .pm = &hva_pm_ops, pm 2115 drivers/media/platform/stm32/stm32-dcmi.c .pm = &dcmi_pm_ops, pm 329 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c .pm = &sun4i_csi_pm_ops, pm 910 drivers/media/platform/vsp1/vsp1_drv.c .pm = &vsp1_pm_ops, pm 919 drivers/media/platform/xilinx/xilinx-tpg.c .pm = &xtpg_pm_ops, pm 545 drivers/media/radio/si470x/radio-si470x-i2c.c .pm = &si470x_i2c_pm, pm 143 drivers/media/rc/gpio-ir-recv.c .pm = &gpio_ir_recv_pm_ops, pm 184 drivers/media/rc/img-ir/img-ir-core.c .pm = &img_ir_pmops, pm 354 drivers/media/rc/ir-hix5hd2.c .pm = &hix5hd2_ir_pm_ops, pm 397 drivers/media/rc/st_rc.c .pm = &st_rc_pm_ops, pm 125 drivers/media/tuners/fc0012.c unsigned char reg[7], am, pm, multi, tmp; pm 206 drivers/media/tuners/fc0012.c pm = (unsigned char)(xdiv / 8); pm 207 drivers/media/tuners/fc0012.c am = (unsigned char)(xdiv - (8 * pm)); pm 211 drivers/media/tuners/fc0012.c reg[2] = pm - 1; pm 214 drivers/media/tuners/fc0012.c reg[2] = pm; pm 216 drivers/media/tuners/fc0013.c unsigned char reg[7], am, pm, multi, tmp; pm 359 drivers/media/tuners/fc0013.c pm = (unsigned char)(xdiv / 8); pm 360 drivers/media/tuners/fc0013.c am = (unsigned char)(xdiv - (8 * pm)); pm 364 drivers/media/tuners/fc0013.c reg[2] = pm - 1; pm 367 drivers/media/tuners/fc0013.c reg[2] = pm; pm 1415 drivers/media/v4l2-core/tuner-core.c .pm = &tuner_pm_ops, pm 633 drivers/memory/atmel-ebi.c .pm = &atmel_ebi_pm_ops, pm 379 drivers/memory/mtk-smi.c .pm = &smi_larb_pm_ops, pm 522 drivers/memory/mtk-smi.c .pm = &smi_common_pm_ops, pm 2481 drivers/memory/omap-gpmc.c .pm = &gpmc_pm_ops, pm 452 drivers/memory/pl353-smc.c .pm = &pl353_smc_dev_pm_ops, pm 208 drivers/memory/samsung/exynos-srom.c .pm = &exynos_srom_pm_ops, pm 760 drivers/memory/tegra/mc.c .pm = &tegra_mc_pm_ops, pm 344 drivers/memory/ti-emif-pm.c .pm = &ti_emif_pm_ops, pm 879 drivers/memstick/host/r592.c .driver.pm = &r592_pm_ops, pm 864 drivers/memstick/host/rtsx_usb_ms.c .pm = &rtsx_usb_ms_pm_ops, pm 612 drivers/mfd/88pm800.c .pm = &pm80x_pm_ops, pm 270 drivers/mfd/88pm805.c .pm = &pm80x_pm_ops, pm 1255 drivers/mfd/88pm860x-core.c .pm = &pm860x_pm_ops, pm 454 drivers/mfd/aat2870-core.c .pm = &aat2870_pm_ops, pm 1049 drivers/mfd/ab8500-gpadc.c .pm = &ab8500_gpadc_pm_ops, pm 342 drivers/mfd/adp5520.c .pm = &adp5520_pm, pm 108 drivers/mfd/arizona-i2c.c .pm = &arizona_pm_ops, pm 103 drivers/mfd/arizona-spi.c .pm = &arizona_pm_ops, pm 457 drivers/mfd/as3722.c .pm = &as3722_pm_ops, pm 117 drivers/mfd/atmel-flexcom.c .pm = &atmel_flexcom_pm_ops, pm 32 drivers/mfd/bcm2835-pm.c struct bcm2835_pm *pm; pm 35 drivers/mfd/bcm2835-pm.c pm = devm_kzalloc(dev, sizeof(*pm), GFP_KERNEL); pm 36 drivers/mfd/bcm2835-pm.c if (!pm) pm 38 drivers/mfd/bcm2835-pm.c platform_set_drvdata(pdev, pm); pm 40 drivers/mfd/bcm2835-pm.c pm->dev = dev; pm 43 drivers/mfd/bcm2835-pm.c pm->base = devm_ioremap_resource(dev, res); pm 44 drivers/mfd/bcm2835-pm.c if (IS_ERR(pm->base)) pm 45 drivers/mfd/bcm2835-pm.c return PTR_ERR(pm->base); pm 59 drivers/mfd/bcm2835-pm.c pm->asb = devm_ioremap_resource(dev, res); pm 60 drivers/mfd/bcm2835-pm.c if (IS_ERR(pm->asb)) pm 61 drivers/mfd/bcm2835-pm.c return PTR_ERR(pm->asb); pm 189 drivers/mfd/exynos-lpass.c .pm = &lpass_pm_ops, pm 140 drivers/mfd/intel-lpss-acpi.c .pm = &intel_lpss_acpi_pm_ops, pm 347 drivers/mfd/intel-lpss-pci.c .pm = &intel_lpss_pci_pm_ops, pm 621 drivers/mfd/intel_soc_pmic_bxtwc.c .pm = &bxtwc_pm_ops, pm 172 drivers/mfd/intel_soc_pmic_chtdc_ti.c .pm = &chtdc_ti_pm_ops, pm 221 drivers/mfd/intel_soc_pmic_chtwc.c .pm = &cht_wc_pm_ops, pm 183 drivers/mfd/intel_soc_pmic_core.c .pm = &intel_soc_pmic_pm_ops, pm 447 drivers/mfd/ipaq-micro.c .pm = µ_dev_pm_ops, pm 142 drivers/mfd/madera-i2c.c .pm = &madera_pm_ops, pm 141 drivers/mfd/madera-spi.c .pm = &madera_pm_ops, pm 525 drivers/mfd/max14577.c .pm = &max14577_pm, pm 700 drivers/mfd/max77620.c .pm = &max77620_pm_ops, pm 272 drivers/mfd/max77686.c .pm = &max77686_pm, pm 366 drivers/mfd/max77693.c .pm = &max77693_pm, pm 207 drivers/mfd/max77843.c .pm = &max77843_pm, pm 243 drivers/mfd/max8925-i2c.c .pm = &max8925_pm_ops, pm 478 drivers/mfd/max8997.c .pm = &max8997_pm, pm 349 drivers/mfd/max8998.c .pm = &max8998_pm, pm 299 drivers/mfd/mcp-sa11x0.c .pm = &mcp_sa11x0_pm_ops, pm 241 drivers/mfd/mt6397-core.c .pm = &mt6397_pm_ops, pm 844 drivers/mfd/omap-usb-host.c .pm = &usbhsomap_dev_pm_ops, pm 305 drivers/mfd/pcf50633-core.c .pm = &pcf50633_pm, pm 777 drivers/mfd/rk808.c .pm = &rk8xx_pm_ops, pm 545 drivers/mfd/sec-core.c .pm = &sec_pmic_pm_ops, pm 536 drivers/mfd/stmfx.c .pm = &stmfx_dev_pm_ops, pm 118 drivers/mfd/stmpe-i2c.c .pm = &stmpe_dev_pm_ops, pm 139 drivers/mfd/stmpe-spi.c .pm = &stmpe_dev_pm_ops, pm 204 drivers/mfd/stpmic1.c .pm = &stpmic1_pm, pm 488 drivers/mfd/tc3589x.c .pm = &tc3589x_dev_pm_ops, pm 357 drivers/mfd/ti_am335x_tscadc.c .pm = &tscadc_pm_ops, pm 625 drivers/mfd/tps6586x.c .pm = &tps6586x_pm_ops, pm 1274 drivers/mfd/twl-core.c .driver.pm = &twl_dev_pm_ops, pm 739 drivers/mfd/ucb1x00-core.c .pm = &ucb1x00_pm_ops, pm 101 drivers/mfd/wm831x-i2c.c .pm = &wm831x_pm_ops, pm 101 drivers/mfd/wm831x-spi.c .pm = &wm831x_spi_pm, pm 680 drivers/mfd/wm8994-core.c .pm = &wm8994_pm_ops, pm 299 drivers/misc/apds9802als.c .pm = APDS9802ALS_PM_OPS, pm 1274 drivers/misc/apds990x.c .pm = &apds990x_pm_ops, pm 1382 drivers/misc/bh1770glc.c .pm = &bh1770_pm_ops, pm 361 drivers/misc/cardreader/alcor_pci.c .pm = &alcor_pci_pm_ops pm 446 drivers/misc/habanalabs/habanalabs_drv.c .driver.pm = &hl_pm_ops, pm 462 drivers/misc/isl29003.c .pm = ISL29003_PM_OPS, pm 216 drivers/misc/isl29020.c .pm = ISL29020_PM_OPS, pm 264 drivers/misc/lis3lv02d/lis3lv02d_i2c.c .pm = &lis3_pm_ops, pm 138 drivers/misc/lis3lv02d/lis3lv02d_spi.c .pm = &lis3lv02d_spi_pm, pm 469 drivers/misc/mei/pci-me.c if (pdev->dev.bus && pdev->dev.bus->pm) { pm 470 drivers/misc/mei/pci-me.c dev->pg_domain.ops = *pdev->dev.bus->pm; pm 513 drivers/misc/mei/pci-me.c .driver.pm = MEI_ME_PM_OPS, pm 357 drivers/misc/mei/pci-txe.c if (pdev->dev.bus && pdev->dev.bus->pm) { pm 358 drivers/misc/mei/pci-txe.c dev->pg_domain.ops = *pdev->dev.bus->pm; pm 402 drivers/misc/mei/pci-txe.c .driver.pm = MEI_TXE_PM_OPS, pm 334 drivers/misc/mic/cosm/cosm_main.c .pm = &cosm_pm_ops, pm 443 drivers/misc/tsl2550.c .pm = TSL2550_PM_OPS, pm 3005 drivers/mmc/core/block.c .pm = &mmc_blk_pm_ops, pm 210 drivers/mmc/core/bus.c .pm = &mmc_bus_pm_ops, pm 803 drivers/mmc/core/core.c bool pm = false; pm 824 drivers/mmc/core/core.c pm = true; pm 830 drivers/mmc/core/core.c if (pm) pm 932 drivers/mmc/core/sdio.c const struct dev_pm_ops *pmops = func->dev.driver->pm; pm 229 drivers/mmc/core/sdio_bus.c .pm = &sdio_bus_pm_ops, pm 1181 drivers/mmc/host/alcor.c .pm = &alcor_mmc_pm_ops pm 2667 drivers/mmc/host/atmel-mci.c .pm = &atmci_dev_pm_ops, pm 1399 drivers/mmc/host/davinci_mmc.c .pm = davinci_mmcsd_pm_ops, pm 59 drivers/mmc/host/dw_mmc-bluefield.c .pm = &dw_mci_pltfm_pmops, pm 594 drivers/mmc/host/dw_mmc-exynos.c .pm = &dw_mci_exynos_pmops, pm 477 drivers/mmc/host/dw_mmc-k3.c .pm = &dw_mci_k3_dev_pm_ops, pm 97 drivers/mmc/host/dw_mmc-pci.c .pm = &dw_mci_pci_dev_pm_ops, pm 102 drivers/mmc/host/dw_mmc-pltfm.c .pm = &dw_mci_pltfm_pmops, pm 387 drivers/mmc/host/dw_mmc-rockchip.c .pm = &dw_mci_rockchip_dev_pm_ops, pm 231 drivers/mmc/host/dw_mmc-zx.c .pm = &dw_mci_zx_dev_pm_ops, pm 1092 drivers/mmc/host/jz4740_mmc.c .pm = JZ4740_MMC_PM_OPS, pm 2244 drivers/mmc/host/mmci.c .pm = &mmci_dev_pm_ops, pm 2478 drivers/mmc/host/mtk-sd.c .pm = &msdc_dev_pm_ops, pm 1238 drivers/mmc/host/mxcmmc.c .pm = &mxcmci_pm_ops, pm 730 drivers/mmc/host/mxs-mmc.c .pm = &mxs_mmc_pm_ops, pm 2183 drivers/mmc/host/omap_hsmmc.c .pm = &omap_hsmmc_dev_pm_ops, pm 354 drivers/mmc/host/renesas_sdhi_internal_dmac.c .pm = &renesas_sdhi_internal_dmac_dev_pm_ops, pm 466 drivers/mmc/host/renesas_sdhi_sys_dmac.c .pm = &renesas_sdhi_sys_dmac_dev_pm_ops, pm 1462 drivers/mmc/host/rtsx_usb_sdmmc.c .pm = &rtsx_usb_sdmmc_dev_pm_ops, pm 903 drivers/mmc/host/sdhci-acpi.c .pm = &sdhci_acpi_pm_ops, pm 327 drivers/mmc/host/sdhci-bcm-kona.c .pm = &sdhci_pltfm_pmops, pm 92 drivers/mmc/host/sdhci-brcmstb.c .pm = &sdhci_pltfm_pmops, pm 457 drivers/mmc/host/sdhci-cadence.c .pm = &sdhci_cdns_pm_ops, pm 101 drivers/mmc/host/sdhci-cns3xxx.c .pm = &sdhci_pltfm_pmops, pm 108 drivers/mmc/host/sdhci-dove.c .pm = &sdhci_pltfm_pmops, pm 1739 drivers/mmc/host/sdhci-esdhc-imx.c .pm = &sdhci_esdhc_pmops, pm 356 drivers/mmc/host/sdhci-iproc.c .pm = &sdhci_pltfm_pmops, pm 2057 drivers/mmc/host/sdhci-msm.c .pm = &sdhci_msm_pm_ops, pm 899 drivers/mmc/host/sdhci-of-arasan.c .pm = &sdhci_arasan_dev_pm_ops, pm 309 drivers/mmc/host/sdhci-of-aspeed.c .pm = &sdhci_pltfm_pmops, pm 451 drivers/mmc/host/sdhci-of-at91.c .pm = &sdhci_at91_dev_pm_ops, pm 1372 drivers/mmc/host/sdhci-of-esdhc.c .pm = &esdhc_of_dev_pm_ops, pm 84 drivers/mmc/host/sdhci-of-hlwd.c .pm = &sdhci_pltfm_pmops, pm 2184 drivers/mmc/host/sdhci-pci-core.c .pm = &sdhci_pci_pm_ops pm 230 drivers/mmc/host/sdhci-pxav2.c .pm = &sdhci_pltfm_pmops, pm 571 drivers/mmc/host/sdhci-pxav3.c .pm = &sdhci_pxav3_pmops, pm 788 drivers/mmc/host/sdhci-s3c.c .pm = &sdhci_s3c_pmops, pm 224 drivers/mmc/host/sdhci-sirf.c .pm = &sdhci_pltfm_pmops, pm 186 drivers/mmc/host/sdhci-spear.c .pm = &sdhci_pm_ops, pm 745 drivers/mmc/host/sdhci-sprd.c .pm = &sdhci_sprd_pm_ops, pm 524 drivers/mmc/host/sdhci-st.c .pm = &sdhci_st_pmops, pm 1693 drivers/mmc/host/sdhci-tegra.c .pm = &sdhci_tegra_dev_pm_ops, pm 681 drivers/mmc/host/sdhci-xenon.c .pm = &sdhci_xenon_dev_pm_ops, pm 250 drivers/mmc/host/sdhci_f_sdh30.c .pm = &sdhci_pltfm_pmops, pm 1563 drivers/mmc/host/sh_mmcif.c .pm = &sh_mmcif_dev_pm_ops, pm 1515 drivers/mmc/host/sunxi-mmc.c .pm = &sunxi_mmc_pm_ops, pm 224 drivers/mmc/host/tmio_mmc.c .pm = &tmio_mmc_dev_pm_ops, pm 698 drivers/mmc/host/toshsd.c .driver.pm = &toshsd_pm_ops, pm 993 drivers/mmc/host/wmt-sdmmc.c .pm = wmt_mci_pm_ops, pm 1117 drivers/mtd/devices/spear_smi.c .pm = &spear_smi_pm_ops, pm 2165 drivers/mtd/devices/st_spi_fsm.c .pm = &stfsm_pm_ops, pm 66 drivers/mtd/mtdcore.c .pm = MTD_CLS_PM_OPS, pm 995 drivers/mtd/nand/onenand/samsung.c .pm = &s3c_pm_ops, pm 2586 drivers/mtd/nand/raw/atmel/nand-controller.c .pm = &atmel_nand_controller_pm_ops, pm 93 drivers/mtd/nand/raw/brcmnand/bcm63138_nand.c .pm = &brcmnand_pm_ops, pm 126 drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c .pm = &brcmnand_pm_ops, pm 29 drivers/mtd/nand/raw/brcmnand/brcmstb_nand.c .pm = &brcmnand_pm_ops, pm 143 drivers/mtd/nand/raw/brcmnand/iproc_nand.c .pm = &brcmnand_pm_ops, pm 1188 drivers/mtd/nand/raw/fsmc_nand.c .pm = &fsmc_nand_pm_ops, pm 2767 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c .pm = &gpmi_pm_ops, pm 863 drivers/mtd/nand/raw/hisi504_nand.c .pm = &hisi_nfc_pm_ops, pm 865 drivers/mtd/nand/raw/lpc32xx_mlc.c static int lpc32xx_nand_suspend(struct platform_device *pdev, pm_message_t pm) pm 985 drivers/mtd/nand/raw/lpc32xx_slc.c static int lpc32xx_nand_suspend(struct platform_device *pdev, pm_message_t pm) pm 3081 drivers/mtd/nand/raw/marvell_nand.c .pm = &marvell_nfc_pm_ops, pm 590 drivers/mtd/nand/raw/mtk_ecc.c .pm = &mtk_ecc_pm_ops, pm 1641 drivers/mtd/nand/raw/mtk_nand.c .pm = &mtk_nfc_pm_ops, pm 4846 drivers/mtd/nand/raw/nand_base.c const char *pm; pm 4849 drivers/mtd/nand/raw/nand_base.c err = of_property_read_string(np, "nand-ecc-mode", &pm); pm 4854 drivers/mtd/nand/raw/nand_base.c if (!strcasecmp(pm, nand_ecc_modes[i])) pm 4862 drivers/mtd/nand/raw/nand_base.c if (!strcasecmp(pm, "soft_bch")) pm 4876 drivers/mtd/nand/raw/nand_base.c const char *pm; pm 4879 drivers/mtd/nand/raw/nand_base.c err = of_property_read_string(np, "nand-ecc-algo", &pm); pm 4882 drivers/mtd/nand/raw/nand_base.c if (!strcasecmp(pm, nand_ecc_algos[i])) pm 4891 drivers/mtd/nand/raw/nand_base.c err = of_property_read_string(np, "nand-ecc-mode", &pm); pm 4895 drivers/mtd/nand/raw/nand_base.c if (!strcasecmp(pm, "soft")) pm 4897 drivers/mtd/nand/raw/nand_base.c else if (!strcasecmp(pm, "soft_bch")) pm 561 drivers/mtd/nand/raw/omap_elm.c .pm = &elm_pm_ops, pm 1069 drivers/mtd/nand/raw/r852.c .driver.pm = &r852_pm_ops, pm 1209 drivers/mtd/nand/raw/s3c2410.c static int s3c24xx_nand_suspend(struct platform_device *dev, pm_message_t pm) pm 2076 drivers/mtd/nand/raw/stm32_fmc2_nand.c .pm = &stm32_fmc2_pm_ops, pm 954 drivers/mtd/nand/raw/vf610_nfc.c .pm = &vf610_nfc_pm_ops, pm 1527 drivers/mtd/spi-nor/cadence-quadspi.c .pm = CQSPI_DEV_PM_OPS, pm 555 drivers/mtd/spi-nor/mtk-quadspi.c .pm = MTK_NOR_DEV_PM_OPS, pm 1771 drivers/net/can/flexcan.c .pm = &flexcan_pm_ops, pm 188 drivers/net/can/m_can/m_can_platform.c .pm = &m_can_pmops, pm 526 drivers/net/can/m_can/tcan4x5x.c .pm = NULL, pm 911 drivers/net/can/rcar/rcar_can.c .pm = &rcar_can_pm_ops, pm 1842 drivers/net/can/rcar/rcar_canfd.c .pm = &rcar_canfd_pm_ops, pm 1024 drivers/net/can/spi/hi311x.c .pm = &hi3110_can_pm_ops, pm 1178 drivers/net/can/spi/mcp251x.c .pm = &mcp251x_can_pm_ops, pm 94 drivers/net/can/usb/peak_usb/pcan_usb_pro.c static u8 *pcan_msg_init(struct pcan_usb_pro_msg *pm, void *buffer_addr, pm 100 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pm->u.rec_buffer = (u8 *)buffer_addr; pm 101 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pm->rec_buffer_size = pm->rec_buffer_len = buffer_size; pm 102 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pm->rec_ptr = pm->u.rec_buffer + PCAN_USBPRO_MSG_HEADER_LEN; pm 104 drivers/net/can/usb/peak_usb/pcan_usb_pro.c return pm->rec_ptr; pm 107 drivers/net/can/usb/peak_usb/pcan_usb_pro.c static u8 *pcan_msg_init_empty(struct pcan_usb_pro_msg *pm, pm 110 drivers/net/can/usb/peak_usb/pcan_usb_pro.c u8 *pr = pcan_msg_init(pm, buffer_addr, buffer_size); pm 113 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pm->rec_buffer_len = PCAN_USBPRO_MSG_HEADER_LEN; pm 114 drivers/net/can/usb/peak_usb/pcan_usb_pro.c *pm->u.rec_cnt = 0; pm 122 drivers/net/can/usb/peak_usb/pcan_usb_pro.c static int pcan_msg_add_rec(struct pcan_usb_pro_msg *pm, int id, ...) pm 130 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pc = pm->rec_ptr + 1; pm 187 drivers/net/can/usb/peak_usb/pcan_usb_pro.c len = pc - pm->rec_ptr; pm 189 drivers/net/can/usb/peak_usb/pcan_usb_pro.c *pm->u.rec_cnt = cpu_to_le32(le32_to_cpu(*pm->u.rec_cnt) + 1); pm 190 drivers/net/can/usb/peak_usb/pcan_usb_pro.c *pm->rec_ptr = id; pm 192 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pm->rec_ptr = pc; pm 193 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pm->rec_buffer_len += len; pm 1854 drivers/net/can/xilinx_can.c .pm = &xcan_dev_pm_ops, pm 1274 drivers/net/dsa/bcm_sf2.c .pm = &bcm_sf2_pm_ops, pm 673 drivers/net/dsa/mt7530.c priv->ports[port].pm |= PCR_MATRIX(BIT(MT7530_CPU_PORT)); pm 676 drivers/net/dsa/mt7530.c priv->ports[port].pm); pm 754 drivers/net/dsa/mt7530.c priv->ports[i].pm |= PCR_MATRIX(BIT(port)); pm 764 drivers/net/dsa/mt7530.c priv->ports[port].pm |= PCR_MATRIX(port_bitmap); pm 862 drivers/net/dsa/mt7530.c priv->ports[i].pm &= ~PCR_MATRIX(BIT(port)); pm 872 drivers/net/dsa/mt7530.c priv->ports[port].pm = PCR_MATRIX(BIT(MT7530_CPU_PORT)); pm 409 drivers/net/dsa/mt7530.h u32 pm; pm 5228 drivers/net/dsa/mv88e6xxx/chip.c .pm = &mv88e6xxx_pm_ops, pm 1153 drivers/net/dsa/qca8k.c .pm = &qca8k_pm_ops, pm 3298 drivers/net/ethernet/3com/3c59x.c .driver.pm = VORTEX_PM_OPS, pm 4074 drivers/net/ethernet/agere/et131x.c .driver.pm = &et131x_pm_ops, pm 615 drivers/net/ethernet/amd/xgbe/xgbe-platform.c .pm = &xgbe_platform_pm_ops, pm 2012 drivers/net/ethernet/atheros/alx/main.c .driver.pm = ALX_PM_OPS, pm 2789 drivers/net/ethernet/atheros/atl1c/atl1c_main.c .driver.pm = &atl1c_pm_ops, pm 3124 drivers/net/ethernet/atheros/atlx/atl1.c .driver.pm = &atl1_pm_ops, pm 2821 drivers/net/ethernet/broadcom/bcmsysport.c .pm = &bcm_sysport_pm_ops, pm 297 drivers/net/ethernet/broadcom/bgmac-platform.c .pm = BGMAC_PM_OPS pm 8846 drivers/net/ethernet/broadcom/bnx2.c .driver.pm = BNX2_PM_OPS, pm 1474 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c u16 pm = 0; pm 1479 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->pdev->pm_cap + PCI_PM_CTRL, &pm); pm 1482 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c (!rc && ((pm & PCI_PM_CTRL_STATE_MASK) != (__force u16)PCI_D0))) pm 12113 drivers/net/ethernet/broadcom/bnxt/bnxt.c .driver.pm = BNXT_PM_OPS, pm 3731 drivers/net/ethernet/broadcom/genet/bcmgenet.c .pm = &bcmgenet_pm_ops, pm 18323 drivers/net/ethernet/broadcom/tg3.c .driver.pm = &tg3_pm_ops, pm 4548 drivers/net/ethernet/cadence/macb_main.c .pm = &macb_pm_ops, pm 1920 drivers/net/ethernet/calxeda/xgmac.c .driver.pm = &xgmac_pm_ops, pm 426 drivers/net/ethernet/cavium/liquidio/liquidio_common.h u64 pm:3; pm 467 drivers/net/ethernet/cavium/liquidio/liquidio_common.h u64 pm:3; pm 217 drivers/net/ethernet/cavium/liquidio/octeon_nic.h pki_ih3->pm = 0x7; /*0x7 - meant for Parse nothing, uninterpreted*/ pm 622 drivers/net/ethernet/cavium/liquidio/request_manager.c pki_ih3->pm = 0x7; pm 1788 drivers/net/ethernet/davicom/dm9000.c .pm = &dm9000_drv_pm_ops, pm 1871 drivers/net/ethernet/dlink/dl2k.c .driver.pm = RIO_PM_OPS, pm 3885 drivers/net/ethernet/freescale/fec_main.c .pm = &fec_pm_ops, pm 3745 drivers/net/ethernet/freescale/gianfar.c .pm = GFAR_PM_OPS, pm 1906 drivers/net/ethernet/ibm/ibmveth.c .pm = &ibmveth_pm_ops, pm 5148 drivers/net/ethernet/ibm/ibmvnic.c .pm = &ibmvnic_pm_ops, pm 7588 drivers/net/ethernet/intel/e1000e/netdev.c .pm = &e1000_pm_ops, pm 2521 drivers/net/ethernet/intel/fm10k/fm10k_pci.c .pm = &fm10k_pm_ops, pm 15760 drivers/net/ethernet/intel/i40e/i40e_main.c .pm = &i40e_pm_ops, pm 233 drivers/net/ethernet/intel/igb/igb_main.c .driver.pm = &igb_pm_ops, pm 3281 drivers/net/ethernet/jme.c .driver.pm = JME_PM_OPS, pm 4881 drivers/net/ethernet/marvell/mvneta.c .pm = &mvneta_pm_ops, pm 4145 drivers/net/ethernet/marvell/skge.c .driver.pm = SKGE_PM_OPS, pm 5267 drivers/net/ethernet/marvell/sky2.c .driver.pm = SKY2_PM_OPS, pm 331 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pptb_reg, in, pm, 0xFF); pm 5143 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pptb, pm, 0x00, 0, 8); pm 231 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c struct mlxsw_sp_sb_pm *pm; pm 240 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c pm = mlxsw_sp_sb_pm_get(mlxsw_sp, local_port, pool_index); pm 241 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c pm->min_buff = min_buff; pm 242 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c pm->max_buff = max_buff; pm 267 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c struct mlxsw_sp_sb_pm *pm = (struct mlxsw_sp_sb_pm *) cb_priv; pm 269 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_reg_sbpm_unpack(sbpm_pl, &pm->occ.cur, &pm->occ.max); pm 278 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c struct mlxsw_sp_sb_pm *pm; pm 284 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c pm = mlxsw_sp_sb_pm_get(mlxsw_sp, local_port, pool_index); pm 290 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c (unsigned long) pm); pm 763 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c const struct mlxsw_sp_sb_pm *pm = &pms[i]; pm 772 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c min_buff = mlxsw_sp_bytes_cells(mlxsw_sp, pm->min_buff); pm 773 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c max_buff = pm->max_buff; pm 1077 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c struct mlxsw_sp_sb_pm *pm = mlxsw_sp_sb_pm_get(mlxsw_sp, local_port, pm 1081 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c pm->max_buff); pm 1376 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c struct mlxsw_sp_sb_pm *pm = mlxsw_sp_sb_pm_get(mlxsw_sp, local_port, pm 1379 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c *p_cur = mlxsw_sp_cells_bytes(mlxsw_sp, pm->occ.cur); pm 1380 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c *p_max = mlxsw_sp_cells_bytes(mlxsw_sp, pm->occ.max); pm 1600 drivers/net/ethernet/micrel/ks8851.c .pm = &ks8851_pm_ops, pm 3039 drivers/net/ethernet/microchip/lan743x_main.c .driver.pm = &lan743x_pm_ops, pm 6436 drivers/net/ethernet/nvidia/forcedeth.c .driver.pm = NV_PM_OPS, pm 2718 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c .driver.pm = &pch_gbe_pm_ops, pm 7273 drivers/net/ethernet/realtek/r8169_main.c .driver.pm = RTL8169_PM_OPS, pm 2343 drivers/net/ethernet/renesas/ravb_main.c .pm = &ravb_dev_pm_ops, pm 3561 drivers/net/ethernet/renesas/sh_eth.c .pm = SH_ETH_PM_OPS, pm 233 drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c .pm = &sxgbe_platform_pm_ops, pm 3870 drivers/net/ethernet/sfc/efx.c .driver.pm = &efx_pm_ops, pm 3212 drivers/net/ethernet/sfc/falcon/efx.c .driver.pm = &ef4_pm_ops, pm 2478 drivers/net/ethernet/smsc/smc91x.c .pm = &smc_drv_pm_ops, pm 2666 drivers/net/ethernet/smsc/smsc911x.c .pm = SMSC911X_PM_OPS, pm 2184 drivers/net/ethernet/socionext/netsec.c .pm = &netsec_pm_ops, pm 1973 drivers/net/ethernet/socionext/sni_ave.c .pm = AVE_PM_OPS, pm 142 drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c .pm = &stmmac_pltfr_pm_ops, pm 508 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c .pm = &stmmac_pltfr_pm_ops, pm 92 drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c .pm = &stmmac_pltfr_pm_ops, pm 377 drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.c .pm = &stmmac_pltfr_pm_ops, pm 89 drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c .pm = &stmmac_pltfr_pm_ops, pm 388 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c .pm = &stmmac_pltfr_pm_ops, pm 97 drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c .pm = &stmmac_pltfr_pm_ops, pm 422 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c .pm = &stmmac_pltfr_pm_ops, pm 180 drivers/net/ethernet/stmicro/stmmac/dwmac-oxnas.c .pm = &stmmac_pltfr_pm_ops, pm 552 drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c .pm = &stmmac_pltfr_pm_ops, pm 1494 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c .pm = &rk_gmac_pm_ops, pm 511 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c .pm = &socfpga_dwmac_pm_ops, pm 423 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c .pm = &sti_dwmac_pm_ops, pm 526 drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c .pm = &stm32_dwmac_pm_ops, pm 1258 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c .pm = &stmmac_pltfr_pm_ops, pm 181 drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c .pm = &stmmac_pltfr_pm_ops, pm 616 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c .pm = &stmmac_pm_ops, pm 372 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c const char *pm; pm 375 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c err = of_property_read_string(np, "mac-mode", &pm); pm 380 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c if (!strcasecmp(pm, phy_modes(i))) pm 3044 drivers/net/ethernet/ti/cpsw.c .pm = &cpsw_pm_ops, pm 2035 drivers/net/ethernet/ti/davinci_emac.c .pm = &davinci_emac_pm_ops, pm 518 drivers/net/ethernet/ti/davinci_mdio.c .pm = &davinci_mdio_pm_ops, pm 2583 drivers/net/ethernet/via/via-rhine.c .driver.pm = RHINE_PM_OPS, pm 2592 drivers/net/ethernet/via/via-rhine.c .pm = RHINE_PM_OPS, pm 3241 drivers/net/ethernet/via/via-velocity.c .pm = &velocity_pm_ops, pm 3251 drivers/net/ethernet/via/via-velocity.c .pm = &velocity_pm_ops, pm 474 drivers/net/ethernet/wiznet/w5100-spi.c .pm = &w5100_pm_ops, pm 1275 drivers/net/ethernet/wiznet/w5100.c .pm = &w5100_pm_ops, pm 683 drivers/net/ethernet/wiznet/w5300.c .pm = &w5300_pm_ops, pm 163 drivers/net/fddi/skfp/smtdef.c struct fddi_mib_p *pm ; pm 249 drivers/net/fddi/skfp/smtdef.c pm = mib->p ; pm 259 drivers/net/fddi/skfp/smtdef.c pm->fddiPORTIndex = port+INDEX_PORT ; pm 260 drivers/net/fddi/skfp/smtdef.c pm->fddiPORTHardwarePresent = TRUE ; pm 262 drivers/net/fddi/skfp/smtdef.c pm->fddiPORTLer_Alarm = DEFAULT_LEM_ALARM ; pm 263 drivers/net/fddi/skfp/smtdef.c pm->fddiPORTLer_Cutoff = DEFAULT_LEM_CUTOFF ; pm 269 drivers/net/fddi/skfp/smtdef.c pm->fddiPORTRequestedPaths[1] = 0 ; pm 270 drivers/net/fddi/skfp/smtdef.c pm->fddiPORTRequestedPaths[2] = 0 ; pm 271 drivers/net/fddi/skfp/smtdef.c pm->fddiPORTRequestedPaths[3] = 0 ; pm 272 drivers/net/fddi/skfp/smtdef.c pm->fddiPORTAvailablePaths = MIB_PATH_P ; pm 273 drivers/net/fddi/skfp/smtdef.c pm->fddiPORTPMDClass = MIB_PMDCLASS_MULTI ; pm 274 drivers/net/fddi/skfp/smtdef.c pm++ ; pm 209 drivers/net/phy/mdio-bcm-iproc.c .pm = &iproc_mdio_pm_ops, pm 353 drivers/net/phy/mdio-bcm-unimac.c .pm = &unimac_mdio_pm_ops, pm 319 drivers/net/phy/mdio-mux-bcm-iproc.c .pm = &mdio_mux_iproc_pm_ops, pm 557 drivers/net/phy/phy_device.c .pm = MDIO_BUS_PHY_PM_OPS, pm 106 drivers/net/team/team_mode_loadbalance.c struct lb_port_mapping *pm; pm 108 drivers/net/team/team_mode_loadbalance.c pm = &lb_priv->ex->tx_hash_to_port_mapping[i]; pm 109 drivers/net/team/team_mode_loadbalance.c if (rcu_access_pointer(pm->port) == port) { pm 110 drivers/net/team/team_mode_loadbalance.c RCU_INIT_POINTER(pm->port, NULL); pm 111 drivers/net/team/team_mode_loadbalance.c team_option_inst_set_change(pm->opt_inst_info); pm 1319 drivers/net/thunderbolt.c .pm = &tbnet_pm_ops, pm 803 drivers/net/usb/usbnet.c int retval, pm, mpn; pm 814 drivers/net/usb/usbnet.c pm = usb_autopm_get_interface(dev->intf); pm 843 drivers/net/usb/usbnet.c if (!pm) pm 3792 drivers/net/vmxnet3/vmxnet3_drv.c .driver.pm = &vmxnet3_pm_ops, pm 1295 drivers/net/wan/fsl_ucc_hdlc.c .pm = HDLC_PM_OPS, pm 119 drivers/net/wan/wanxl.c const char *cable, *pm, *dte = "", *dsr = "", *dcd = ""; pm 131 drivers/net/wan/wanxl.c case STATUS_CABLE_V35: pm = "V.35"; break; pm 132 drivers/net/wan/wanxl.c case STATUS_CABLE_X21: pm = "X.21"; break; pm 133 drivers/net/wan/wanxl.c case STATUS_CABLE_V24: pm = "V.24"; break; pm 134 drivers/net/wan/wanxl.c case STATUS_CABLE_EIA530: pm = "EIA530"; break; pm 135 drivers/net/wan/wanxl.c case STATUS_CABLE_NONE: pm = "no personality"; valid = 0; break; pm 136 drivers/net/wan/wanxl.c default: pm = "invalid personality"; valid = 0; pm 149 drivers/net/wan/wanxl.c pm, dte, cable, dsr, dcd); pm 3759 drivers/net/wireless/ath/ath10k/pci.c .driver.pm = &ath10k_pci_pm_ops, pm 2135 drivers/net/wireless/ath/ath10k/sdio.c .pm = ATH10K_SDIO_PM_OPS, pm 339 drivers/net/wireless/ath/ath5k/pci.c .driver.pm = ATH5K_PM_OPS, pm 1429 drivers/net/wireless/ath/ath6kl/sdio.c .drv.pm = ATH6KL_SDIO_PM_OPS, pm 2266 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_power_params_cmd *pm; pm 2269 drivers/net/wireless/ath/ath6kl/wmi.c skb = ath6kl_wmi_get_new_buf(sizeof(*pm)); pm 2273 drivers/net/wireless/ath/ath6kl/wmi.c pm = (struct wmi_power_params_cmd *)skb->data; pm 2274 drivers/net/wireless/ath/ath6kl/wmi.c pm->idle_period = cpu_to_le16(idle_period); pm 2275 drivers/net/wireless/ath/ath6kl/wmi.c pm->pspoll_number = cpu_to_le16(ps_poll_num); pm 2276 drivers/net/wireless/ath/ath6kl/wmi.c pm->dtim_policy = cpu_to_le16(dtim_policy); pm 2277 drivers/net/wireless/ath/ath6kl/wmi.c pm->tx_wakeup_policy = cpu_to_le16(tx_wakeup_policy); pm 2278 drivers/net/wireless/ath/ath6kl/wmi.c pm->num_tx_to_wakeup = cpu_to_le16(num_tx_to_wakeup); pm 2279 drivers/net/wireless/ath/ath6kl/wmi.c pm->ps_fail_event_policy = cpu_to_le16(ps_fail_event_policy); pm 1088 drivers/net/wireless/ath/ath9k/pci.c .driver.pm = ATH9K_PM_OPS, pm 671 drivers/net/wireless/ath/wil6210/pcie_bus.c .pm = &wil6210_pm_ops, pm 1165 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c .pm = &brcmf_sdio_pm_ops, pm 2755 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c s32 pm; pm 2777 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c pm = enabled ? PM_FAST : PM_OFF; pm 2781 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c pm = PM_OFF; pm 2783 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_dbg(INFO, "power save %s\n", (pm ? "enabled" : "disabled")); pm 2785 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_PM, pm); pm 2132 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c .driver.pm = &brcmf_pciedrvr_pm, pm 3867 drivers/net/wireless/intel/iwlegacy/3945-mac.c .driver.pm = IL_LEGACY_PM_OPS, pm 6797 drivers/net/wireless/intel/iwlegacy/4965-mac.c .driver.pm = IL_LEGACY_PM_OPS, pm 1250 drivers/net/wireless/intel/iwlwifi/pcie/drv.c .driver.pm = IWL_PM_OPS, pm 698 drivers/net/wireless/intersil/p54/p54pci.c .driver.pm = P54P_PM_OPS, pm 1378 drivers/net/wireless/marvell/libertas/if_sdio.c .pm = &if_sdio_pm_ops, pm 1257 drivers/net/wireless/marvell/libertas/if_spi.c .pm = &if_spi_pm_ops, pm 708 drivers/net/wireless/marvell/mwifiex/cmdevt.c struct host_cmd_ds_802_11_ps_mode_enh *pm = pm 710 drivers/net/wireless/marvell/mwifiex/cmdevt.c if ((le16_to_cpu(pm->action) == DIS_PS) || pm 711 drivers/net/wireless/marvell/mwifiex/cmdevt.c (le16_to_cpu(pm->action) == DIS_AUTO_PS)) { pm 430 drivers/net/wireless/marvell/mwifiex/pcie.c .pm = &mwifiex_pcie_pm_ops, pm 541 drivers/net/wireless/marvell/mwifiex/sdio.c .pm = &mwifiex_sdio_pm_ops, pm 48 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c struct host_cmd_ds_802_11_ps_mode_enh *pm; pm 59 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c pm = &resp->params.psmode_enh; pm 62 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c resp->result, le16_to_cpu(pm->action)); pm 64 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c if (le16_to_cpu(pm->action) == EN_AUTO_PS && pm 65 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c (le16_to_cpu(pm->params.ps_bitmap) & BITMAP_STA_PS) && pm 480 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c .pm = &qtnf_pcie_pm_ops, pm 392 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c .driver.pm = &rtlwifi_pm_ops, pm 372 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c .driver.pm = &rtlwifi_pm_ops, pm 370 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c .driver.pm = &rtlwifi_pm_ops, pm 381 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c .driver.pm = &rtlwifi_pm_ops, pm 419 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c .driver.pm = &rtlwifi_pm_ops, pm 387 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c .driver.pm = &rtlwifi_pm_ops, pm 396 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c .driver.pm = &rtlwifi_pm_ops, pm 445 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c .driver.pm = &rtlwifi_pm_ops, pm 1538 drivers/net/wireless/rsi/rsi_91x_sdio.c .pm = &rsi_pm_ops, pm 380 drivers/net/wireless/st/cw1200/cw1200_sdio.c .pm = &cw1200_pm_ops, pm 464 drivers/net/wireless/st/cw1200/cw1200_spi.c .pm = IS_ENABLED(CONFIG_PM) ? &cw1200_pm_ops : NULL, pm 96 drivers/net/wireless/st/cw1200/pm.c int cw1200_pm_init(struct cw1200_pm_state *pm, pm 99 drivers/net/wireless/st/cw1200/pm.c spin_lock_init(&pm->lock); pm 101 drivers/net/wireless/st/cw1200/pm.c timer_setup(&pm->stay_awake, cw1200_pm_stay_awake_tmo, 0); pm 106 drivers/net/wireless/st/cw1200/pm.c void cw1200_pm_deinit(struct cw1200_pm_state *pm) pm 108 drivers/net/wireless/st/cw1200/pm.c del_timer_sync(&pm->stay_awake); pm 111 drivers/net/wireless/st/cw1200/pm.c void cw1200_pm_stay_awake(struct cw1200_pm_state *pm, pm 115 drivers/net/wireless/st/cw1200/pm.c spin_lock_bh(&pm->lock); pm 116 drivers/net/wireless/st/cw1200/pm.c cur_tmo = pm->stay_awake.expires - jiffies; pm 117 drivers/net/wireless/st/cw1200/pm.c if (!timer_pending(&pm->stay_awake) || cur_tmo < (long)tmo) pm 118 drivers/net/wireless/st/cw1200/pm.c mod_timer(&pm->stay_awake, jiffies + tmo); pm 119 drivers/net/wireless/st/cw1200/pm.c spin_unlock_bh(&pm->lock); pm 26 drivers/net/wireless/st/cw1200/pm.h int cw1200_pm_init(struct cw1200_pm_state *pm, pm 28 drivers/net/wireless/st/cw1200/pm.h void cw1200_pm_deinit(struct cw1200_pm_state *pm); pm 33 drivers/net/wireless/st/cw1200/pm.h void cw1200_pm_stay_awake(struct cw1200_pm_state *pm, pm 36 drivers/net/wireless/st/cw1200/pm.h static inline void cw1200_pm_stay_awake(struct cw1200_pm_state *pm, pm 157 drivers/net/wireless/st/cw1200/scan.c struct wsm_set_pm pm = priv->powersave_mode; pm 158 drivers/net/wireless/st/cw1200/scan.c pm.mode = WSM_PSM_PS; pm 159 drivers/net/wireless/st/cw1200/scan.c cw1200_set_pm(priv, &pm); pm 666 drivers/net/wireless/st/cw1200/sta.c struct wsm_set_pm pm = *arg; pm 669 drivers/net/wireless/st/cw1200/sta.c pm.mode &= ~WSM_PSM_FAST_PS_FLAG; pm 671 drivers/net/wireless/st/cw1200/sta.c if (memcmp(&pm, &priv->firmware_ps_mode, pm 673 drivers/net/wireless/st/cw1200/sta.c priv->firmware_ps_mode = pm; pm 674 drivers/net/wireless/st/cw1200/sta.c return wsm_set_pm(priv, &pm); pm 351 drivers/net/wireless/ti/wl1251/sdio.c .drv.pm = &wl1251_sdio_pm_ops, pm 6808 drivers/net/wireless/ti/wlcore/main.c wl->dev->driver->pm = &wlcore_pm_ops; pm 6827 drivers/net/wireless/ti/wlcore/main.c wl->dev->driver->pm = NULL; pm 449 drivers/net/wireless/ti/wlcore/sdio.c .pm = &wl1271_sdio_pm_ops, pm 2263 drivers/nfc/trf7970a.c .pm = &trf7970a_pm_ops, pm 3148 drivers/nvme/host/pci.c .pm = &nvme_dev_pm_ops, pm 25 drivers/of/of_net.c const char *pm; pm 28 drivers/of/of_net.c err = of_property_read_string(np, "phy-mode", &pm); pm 30 drivers/of/of_net.c err = of_property_read_string(np, "phy-connection-type", &pm); pm 35 drivers/of/of_net.c if (!strcasecmp(pm, phy_modes(i))) pm 712 drivers/parport/parport_serial.c .pm = &parport_serial_pm_ops, pm 943 drivers/pci/controller/dwc/pci-dra7xx.c .pm = &dra7xx_pcie_pm_ops, pm 1252 drivers/pci/controller/dwc/pci-imx6.c .pm = &imx6_pcie_pm_ops, pm 1722 drivers/pci/controller/dwc/pcie-tegra194.c .pm = &tegra_pcie_dw_pm_ops, pm 1152 drivers/pci/controller/pci-mvebu.c .pm = &mvebu_pcie_pm_ops, pm 2977 drivers/pci/controller/pci-tegra.c .pm = &tegra_pcie_pm_ops, pm 560 drivers/pci/controller/pcie-cadence-ep.c .pm = &cdns_pcie_pm_ops, pm 357 drivers/pci/controller/pcie-cadence-host.c .pm = &cdns_pcie_pm_ops, pm 1250 drivers/pci/controller/pcie-mediatek.c .pm = &mtk_pcie_pm_ops, pm 1258 drivers/pci/controller/pcie-rcar.c .pm = &rcar_pcie_pm_ops, pm 1134 drivers/pci/controller/pcie-rockchip-host.c .pm = &rockchip_pcie_pm_ops, pm 867 drivers/pci/controller/vmd.c .pm = &vmd_dev_pm_ops, pm 672 drivers/pci/pci-driver.c WARN(ret && drv->driver.pm, "driver %s device %04x:%04x\n", pm 685 drivers/pci/pci-driver.c if (drv && drv->pm && drv->pm->prepare) { pm 686 drivers/pci/pci-driver.c int error = drv->pm->prepare(dev); pm 752 drivers/pci/pci-driver.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 759 drivers/pci/pci-driver.c if (!pm) { pm 785 drivers/pci/pci-driver.c if (pm->suspend) { pm 789 drivers/pci/pci-driver.c error = pm->suspend(dev); pm 790 drivers/pci/pci-driver.c suspend_report_result(pm->suspend, error); pm 798 drivers/pci/pci-driver.c pm->suspend); pm 818 drivers/pci/pci-driver.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 828 drivers/pci/pci-driver.c if (!pm) { pm 833 drivers/pci/pci-driver.c if (pm->suspend_noirq) { pm 837 drivers/pci/pci-driver.c error = pm->suspend_noirq(dev); pm 838 drivers/pci/pci-driver.c suspend_report_result(pm->suspend_noirq, error); pm 846 drivers/pci/pci-driver.c pm->suspend_noirq); pm 954 drivers/pci/pci-driver.c if (drv && drv->pm && drv->pm->resume_noirq) pm 955 drivers/pci/pci-driver.c error = drv->pm->resume_noirq(dev); pm 963 drivers/pci/pci-driver.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 978 drivers/pci/pci-driver.c if (pm) { pm 979 drivers/pci/pci-driver.c if (pm->resume) pm 980 drivers/pci/pci-driver.c error = pm->resume(dev); pm 1010 drivers/pci/pci-driver.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 1015 drivers/pci/pci-driver.c if (!pm) { pm 1031 drivers/pci/pci-driver.c if (pm->freeze) { pm 1034 drivers/pci/pci-driver.c error = pm->freeze(dev); pm 1035 drivers/pci/pci-driver.c suspend_report_result(pm->freeze, error); pm 1051 drivers/pci/pci-driver.c if (drv && drv->pm && drv->pm->freeze_noirq) { pm 1054 drivers/pci/pci-driver.c error = drv->pm->freeze_noirq(dev); pm 1055 drivers/pci/pci-driver.c suspend_report_result(drv->pm->freeze_noirq, error); pm 1099 drivers/pci/pci-driver.c if (drv && drv->pm && drv->pm->thaw_noirq) pm 1100 drivers/pci/pci-driver.c error = drv->pm->thaw_noirq(dev); pm 1108 drivers/pci/pci-driver.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 1114 drivers/pci/pci-driver.c if (pm) { pm 1115 drivers/pci/pci-driver.c if (pm->thaw) pm 1116 drivers/pci/pci-driver.c error = pm->thaw(dev); pm 1129 drivers/pci/pci-driver.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 1134 drivers/pci/pci-driver.c if (!pm) { pm 1148 drivers/pci/pci-driver.c if (pm->poweroff) { pm 1151 drivers/pci/pci-driver.c error = pm->poweroff(dev); pm 1152 drivers/pci/pci-driver.c suspend_report_result(pm->poweroff, error); pm 1181 drivers/pci/pci-driver.c if (!drv || !drv->pm) { pm 1186 drivers/pci/pci-driver.c if (drv->pm->poweroff_noirq) { pm 1189 drivers/pci/pci-driver.c error = drv->pm->poweroff_noirq(dev); pm 1190 drivers/pci/pci-driver.c suspend_report_result(drv->pm->poweroff_noirq, error); pm 1231 drivers/pci/pci-driver.c if (drv && drv->pm && drv->pm->restore_noirq) pm 1232 drivers/pci/pci-driver.c error = drv->pm->restore_noirq(dev); pm 1240 drivers/pci/pci-driver.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 1255 drivers/pci/pci-driver.c if (pm) { pm 1256 drivers/pci/pci-driver.c if (pm->restore) pm 1257 drivers/pci/pci-driver.c error = pm->restore(dev); pm 1284 drivers/pci/pci-driver.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 1299 drivers/pci/pci-driver.c if (pm && pm->runtime_suspend) { pm 1300 drivers/pci/pci-driver.c error = pm->runtime_suspend(dev); pm 1308 drivers/pci/pci-driver.c pm->runtime_suspend, error); pm 1312 drivers/pci/pci-driver.c pm->runtime_suspend, error); pm 1319 drivers/pci/pci-driver.c if (pm && pm->runtime_suspend pm 1324 drivers/pci/pci-driver.c pm->runtime_suspend); pm 1340 drivers/pci/pci-driver.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 1360 drivers/pci/pci-driver.c if (pm && pm->runtime_resume) pm 1361 drivers/pci/pci-driver.c rc = pm->runtime_resume(dev); pm 1371 drivers/pci/pci-driver.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 1381 drivers/pci/pci-driver.c if (!pm) pm 1384 drivers/pci/pci-driver.c if (pm->runtime_idle) pm 1385 drivers/pci/pci-driver.c ret = pm->runtime_idle(dev); pm 1665 drivers/pci/pci-driver.c .pm = PCI_PM_OPS_PTR, pm 2784 drivers/pci/pci.c int pm; pm 2798 drivers/pci/pci.c pm = pci_find_capability(dev, PCI_CAP_ID_PM); pm 2799 drivers/pci/pci.c if (!pm) pm 2802 drivers/pci/pci.c pci_read_config_word(dev, pm + PCI_PM_PMC, &pmc); pm 2810 drivers/pci/pci.c dev->pm_cap = pm; pm 210 drivers/pci/pcie/portdrv_pci.c .driver.pm = PCIE_PORTDRV_PM_OPS, pm 901 drivers/pcmcia/cs.c .pm = PCMCIA_SOCKET_CLASS_PM_OPS, pm 1421 drivers/pcmcia/ds.c .pm = &pcmcia_bus_pm_ops, pm 364 drivers/pcmcia/pxa2xx_base.c .pm = &pxa2xx_drv_pcmcia_pm_ops, pm 1442 drivers/pcmcia/yenta_socket.c .driver.pm = YENTA_PM_OPS, pm 446 drivers/phy/broadcom/phy-brcm-usb.c .pm = &brcm_usb_phy_pm_ops, pm 663 drivers/phy/motorola/phy-mapphone-mdm6600.c .pm = &phy_mdm6600_pm_ops, pm 2129 drivers/phy/qualcomm/phy-qcom-qmp.c .pm = &qcom_qmp_phy_pm_ops, pm 922 drivers/phy/qualcomm/phy-qcom-qusb2.c .pm = &qusb2_phy_pm_ops, pm 281 drivers/phy/st/phy-spear1340-miphy.c .pm = &spear1340_miphy_pm_ops, pm 280 drivers/phy/ti/phy-dm816x-usb.c .pm = &dm816x_usb_phy_pm_ops, pm 826 drivers/phy/ti/phy-twl4030-usb.c .pm = &twl4030_usb_pm_ops, pm 342 drivers/pinctrl/freescale/pinctrl-imx8mq.c .pm = &imx_pinctrl_pm_ops, pm 1764 drivers/pinctrl/intel/pinctrl-baytrail.c .pm = &byt_gpio_pm_ops, pm 1018 drivers/pinctrl/intel/pinctrl-broxton.c .pm = &bxt_pinctrl_pm_ops, pm 845 drivers/pinctrl/intel/pinctrl-cannonlake.c .pm = &cnl_pinctrl_pm_ops, pm 346 drivers/pinctrl/intel/pinctrl-cedarfork.c .pm = &cdf_pinctrl_pm_ops, pm 1864 drivers/pinctrl/intel/pinctrl-cherryview.c .pm = &chv_pinctrl_pm_ops, pm 276 drivers/pinctrl/intel/pinctrl-denverton.c .pm = &dnv_pinctrl_pm_ops, pm 466 drivers/pinctrl/intel/pinctrl-geminilake.c .pm = &glk_pinctrl_pm_ops, pm 421 drivers/pinctrl/intel/pinctrl-icelake.c .pm = &icl_pinctrl_pm_ops, pm 327 drivers/pinctrl/intel/pinctrl-lewisburg.c .pm = &lbg_pinctrl_pm_ops, pm 605 drivers/pinctrl/intel/pinctrl-sunrisepoint.c .pm = &spt_pinctrl_pm_ops, pm 551 drivers/pinctrl/mediatek/pinctrl-mt2701.c .pm = &mtk_eint_pm_ops, pm 605 drivers/pinctrl/mediatek/pinctrl-mt2712.c .pm = &mtk_eint_pm_ops, pm 360 drivers/pinctrl/mediatek/pinctrl-mt8173.c .pm = &mtk_eint_pm_ops, pm 586 drivers/pinctrl/mediatek/pinctrl-mt8183.c .pm = &mtk_paris_pinctrl_pm_ops, pm 354 drivers/pinctrl/mediatek/pinctrl-mt8516.c .pm = &mtk_eint_pm_ops, pm 109 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c struct armada_37xx_pm_state pm; pm 1021 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c regmap_read(info->regmap, OUTPUT_EN, &info->pm.out_en_l); pm 1022 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c regmap_read(info->regmap, OUTPUT_EN + sizeof(u32), &info->pm.out_en_h); pm 1023 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c regmap_read(info->regmap, OUTPUT_VAL, &info->pm.out_val_l); pm 1025 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c &info->pm.out_val_h); pm 1027 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c info->pm.irq_en_l = readl(info->base + IRQ_EN); pm 1028 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c info->pm.irq_en_h = readl(info->base + IRQ_EN + sizeof(u32)); pm 1029 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c info->pm.irq_pol_l = readl(info->base + IRQ_POL); pm 1030 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c info->pm.irq_pol_h = readl(info->base + IRQ_POL + sizeof(u32)); pm 1033 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c regmap_read(info->regmap, SELECTION, &info->pm.selection); pm 1046 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c regmap_write(info->regmap, OUTPUT_EN, info->pm.out_en_l); pm 1048 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c info->pm.out_en_h); pm 1049 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c regmap_write(info->regmap, OUTPUT_VAL, info->pm.out_val_l); pm 1051 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c info->pm.out_val_h); pm 1066 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c mask = info->pm.irq_en_l; pm 1067 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c irq_pol = &info->pm.irq_pol_l; pm 1070 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c mask = info->pm.irq_en_h; pm 1071 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c irq_pol = &info->pm.irq_pol_h; pm 1094 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c writel(info->pm.irq_en_l, info->base + IRQ_EN); pm 1095 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c writel(info->pm.irq_en_h, info->base + IRQ_EN + sizeof(u32)); pm 1096 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c writel(info->pm.irq_pol_l, info->base + IRQ_POL); pm 1097 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c writel(info->pm.irq_pol_h, info->base + IRQ_POL + sizeof(u32)); pm 1100 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c regmap_write(info->regmap, SELECTION, info->pm.selection); pm 1172 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c .pm = PINCTRL_ARMADA_37XX_DEV_PM_OPS, pm 1976 drivers/pinctrl/nomadik/pinctrl-nomadik.c .pm = &nmk_pinctrl_pm_ops, pm 977 drivers/pinctrl/pinctrl-amd.c .pm = &amd_gpio_pm_ops, pm 1133 drivers/pinctrl/pinctrl-at91-pio4.c .pm = &atmel_pctrl_pm_ops, pm 657 drivers/pinctrl/pinctrl-max77620.c .pm = &max77620_pinctrl_pm_ops, pm 3865 drivers/pinctrl/pinctrl-rockchip.c .pm = &rockchip_pinctrl_dev_pm_ops, pm 805 drivers/pinctrl/pinctrl-stmfx.c .pm = &stmfx_pinctrl_dev_pm_ops, pm 1127 drivers/pinctrl/qcom/pinctrl-sc7180.c .pm = &msm_pinctrl_dev_pm_ops, pm 1336 drivers/pinctrl/qcom/pinctrl-sdm845.c .pm = &msm_pinctrl_dev_pm_ops, pm 1296 drivers/pinctrl/samsung/pinctrl-samsung.c .pm = &samsung_pinctrl_pm_ops, pm 1002 drivers/pinctrl/sh-pfc/core.c .pm = DEV_PM_OPS, pm 5599 drivers/pinctrl/sirf/pinctrl-atlas7.c .pm = &atlas7_pinmux_pm_ops, pm 6149 drivers/pinctrl/sirf/pinctrl-atlas7.c .pm = &atlas7_gpio_pm_ops, pm 397 drivers/pinctrl/sirf/pinctrl-sirf.c .pm = &sirfsoc_pinmux_pm_ops, pm 709 drivers/pinctrl/spear/pinctrl-plgpio.c .pm = &plgpio_dev_pm_ops, pm 2354 drivers/pinctrl/stm32/pinctrl-stm32mp157.c .pm = &stm32_pinctrl_dev_pm_ops, pm 1574 drivers/pinctrl/tegra/pinctrl-tegra210.c .pm = &tegra_pinctrl_pm, pm 713 drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c .pm = &uniphier_pinctrl_pm_ops, pm 826 drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c .pm = &uniphier_pinctrl_pm_ops, pm 746 drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c .pm = &uniphier_pinctrl_pm_ops, pm 961 drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c .pm = &uniphier_pinctrl_pm_ops, pm 1255 drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c .pm = &uniphier_pinctrl_pm_ops, pm 1024 drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c .pm = &uniphier_pinctrl_pm_ops, pm 983 drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c .pm = &uniphier_pinctrl_pm_ops, pm 994 drivers/pinctrl/uniphier/pinctrl-uniphier-pxs3.c .pm = &uniphier_pinctrl_pm_ops, pm 675 drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c .pm = &uniphier_pinctrl_pm_ops, pm 115 drivers/platform/chrome/chromeos_tbmc.c .drv.pm = &chromeos_tbmc_pm_ops, pm 501 drivers/platform/chrome/cros_ec_debugfs.c .pm = &cros_ec_debugfs_pm_ops, pm 364 drivers/platform/chrome/cros_ec_i2c.c .pm = &cros_ec_i2c_pm_ops, pm 741 drivers/platform/chrome/cros_ec_ishtp.c .pm = &cros_ec_ishtp_pm_ops, pm 628 drivers/platform/chrome/cros_ec_lightbar.c .pm = &cros_ec_lightbar_pm_ops, pm 521 drivers/platform/chrome/cros_ec_lpc.c .pm = &cros_ec_lpc_pm_ops, pm 308 drivers/platform/chrome/cros_ec_rpmsg.c .pm = &cros_ec_rpmsg_pm_ops, pm 830 drivers/platform/chrome/cros_ec_spi.c .pm = &cros_ec_spi_pm_ops, pm 256 drivers/platform/chrome/cros_usbpd_logger.c .pm = &cros_usbpd_logger_pm_ops, pm 484 drivers/platform/olpc/olpc-ec.c .pm = &olpc_ec_pm_ops, pm 749 drivers/platform/olpc/olpc-xo175-ec.c .pm = &olpc_xo175_ec_pm_ops, pm 2108 drivers/platform/x86/acer-wmi.c .pm = &acer_pm, pm 595 drivers/platform/x86/acerhdf.c .pm = &acerhdf_pm_ops, pm 830 drivers/platform/x86/apple-gmux.c .pm = &gmux_dev_pm_ops, pm 2664 drivers/platform/x86/asus-wmi.c platform_driver->driver.pm = &asus_pm_ops; pm 446 drivers/platform/x86/classmate-laptop.c .drv.pm = &cmpc_accel_pm, pm 766 drivers/platform/x86/classmate-laptop.c .drv.pm = &cmpc_tablet_pm, pm 292 drivers/platform/x86/dell-rbtn.c .drv.pm = &rbtn_pm_ops, pm 940 drivers/platform/x86/eeepc-laptop.c .pm = &eeepc_pm_ops, pm 513 drivers/platform/x86/fujitsu-tablet.c .drv.pm = &acpi_fujitsu_pm, pm 222 drivers/platform/x86/gpd-pocket-fan.c .pm = &gpd_pocket_fan_pm_ops, pm 309 drivers/platform/x86/hdaps.c .pm = &hdaps_pm, pm 944 drivers/platform/x86/hp-wmi.c .pm = &hp_wmi_pm_ops, pm 425 drivers/platform/x86/hp_accel.c .drv.pm = HP_ACCEL_PM, pm 1106 drivers/platform/x86/ideapad-laptop.c .pm = &ideapad_pm, pm 538 drivers/platform/x86/intel-hid.c .pm = &intel_hid_pl_pm_ops, pm 237 drivers/platform/x86/intel-vbtn.c .pm = &intel_vbtn_pm_ops, pm 141 drivers/platform/x86/intel_atomisp2_pm.c .driver.pm = &isp_pm_ops, pm 138 drivers/platform/x86/intel_bxtwc_tmu.c .pm = &bxtwc_tmu_pm_ops, pm 543 drivers/platform/x86/intel_mid_thermal.c .pm = &mid_thermal_pm, pm 1035 drivers/platform/x86/intel_pmc_core.c .pm = &pmc_core_pm_ops, pm 208 drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c .driver.pm = &isst_if_pm_ops, pm 170 drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c .driver.pm = &isst_if_pm_ops, pm 564 drivers/platform/x86/msi-laptop.c .pm = &msi_laptop_pm, pm 190 drivers/platform/x86/panasonic-laptop.c .drv.pm = &acpi_pcc_hotkey_pm, pm 3324 drivers/platform/x86/sony-laptop.c .drv.pm = &sony_nc_pm, pm 4870 drivers/platform/x86/sony-laptop.c .drv.pm = &sony_pic_pm, pm 253 drivers/platform/x86/surface3-wmi.c .pm = &s3_wmi_pm, pm 265 drivers/platform/x86/surfacepro3_button.c .drv.pm = &surface_button_pm, pm 223 drivers/platform/x86/tc1100-wmi.c .pm = &tc1100_pm_ops, pm 999 drivers/platform/x86/thinkpad_acpi.c .pm = &tpacpi_pm, pm 3312 drivers/platform/x86/toshiba_acpi.c .drv.pm = &toshiba_acpi_pm, pm 63 drivers/platform/x86/toshiba_bluetooth.c .drv.pm = &toshiba_bt_pm, pm 264 drivers/platform/x86/toshiba_haps.c .drv.pm = &toshiba_haps_pm, pm 166 drivers/platform/x86/xo15-ebook.c .drv.pm = &ebook_switch_pm, pm 171 drivers/pnp/driver.c if (pnp_drv->driver.pm && pnp_drv->driver.pm->suspend) { pm 172 drivers/pnp/driver.c error = pnp_drv->driver.pm->suspend(dev); pm 173 drivers/pnp/driver.c suspend_report_result(pnp_drv->driver.pm->suspend, error); pm 231 drivers/pnp/driver.c if (pnp_drv->driver.pm && pnp_drv->driver.pm->resume) { pm 232 drivers/pnp/driver.c error = pnp_drv->driver.pm->resume(dev); pm 263 drivers/pnp/driver.c .pm = &pnp_bus_dev_pm_ops, pm 106 drivers/power/reset/at91-poweroff.c const char *pm; pm 110 drivers/power/reset/at91-poweroff.c err = of_property_read_string(np, "atmel,wakeup-mode", &pm); pm 115 drivers/power/reset/at91-poweroff.c if (!strcasecmp(pm, shdwc_wakeup_modes[i])) pm 1011 drivers/power/supply/88pm860x_battery.c .pm = &pm860x_battery_pm_ops, pm 1972 drivers/power/supply/bq24190_charger.c .pm = &bq24190_pm_ops, pm 1168 drivers/power/supply/bq24257_charger.c .pm = &bq24257_pm, pm 1010 drivers/power/supply/bq25890_charger.c .pm = &bq25890_pm, pm 1977 drivers/power/supply/charger-manager.c .pm = &charger_manager_pm, pm 738 drivers/power/supply/cros_usbpd-charger.c .pm = &cros_usbpd_charger_pm_ops, pm 461 drivers/power/supply/ds2782_battery.c .pm = &ds278x_battery_pm_ops, pm 417 drivers/power/supply/generic-adc-battery.c .pm = &gab_pm_ops, pm 264 drivers/power/supply/gpio-charger.c .pm = &gpio_charger_pm_ops, pm 304 drivers/power/supply/ipaq_micro_battery.c .pm = µ_batt_dev_pm_ops, pm 654 drivers/power/supply/ltc2941-battery-gauge.c .pm = LTC294X_PM_OPS, pm 287 drivers/power/supply/max17040_battery.c .pm = MAX17040_PM_OPS, pm 1188 drivers/power/supply/max17042_battery.c .pm = &max17042_pm_ops, pm 1235 drivers/power/supply/pm2301_charger.c .pm = IS_ENABLED(CONFIG_PM) ? &pm2xxx_pm_ops : NULL, pm 996 drivers/power/supply/sbs-battery.c .pm = SBS_PM_OPS, pm 1224 drivers/power/supply/sc27xx_fuel_gauge.c .pm = &sc27xx_fgu_pm_ops, pm 272 drivers/power/supply/wm97xx_battery.c .pm = &wm97xx_bat_pm_ops, pm 316 drivers/power/supply/z2_battery.c .pm = Z2_BATTERY_PM_OPS pm 339 drivers/ptp/ptp_dte.c .pm = PTP_DTE_PM_OPS, pm 307 drivers/pwm/pwm-atmel-hlcdc.c .pm = &atmel_hlcdc_pwm_pm_ops, pm 507 drivers/pwm/pwm-atmel-tcb.c .pm = &atmel_tcb_pwm_pm_ops, pm 299 drivers/pwm/pwm-berlin.c .pm = &berlin_pwm_pm_ops, pm 325 drivers/pwm/pwm-brcmstb.c .pm = &brcmstb_pwm_pm_ops, pm 557 drivers/pwm/pwm-fsl-ftm.c .pm = &fsl_pwm_pm_ops, pm 415 drivers/pwm/pwm-img.c .pm = &img_pwm_pm_ops, pm 440 drivers/pwm/pwm-imx-tpm.c .pm = &imx_tpm_pwm_pm, pm 121 drivers/pwm/pwm-lpss-pci.c .pm = &pwm_lpss_pci_pm, pm 108 drivers/pwm/pwm-lpss-platform.c .pm = &pwm_lpss_platform_pm_ops, pm 578 drivers/pwm/pwm-pca9685.c .pm = &pca9685_pwm_pm, pm 640 drivers/pwm/pwm-samsung.c .pm = &pwm_samsung_pm_ops, pm 268 drivers/pwm/pwm-stm32-lp.c .pm = &stm32_pwm_lp_pm_ops, pm 300 drivers/pwm/pwm-tegra.c .pm = &tegra_pwm_pm_ops, pm 310 drivers/pwm/pwm-tiecap.c .pm = &ecap_pwm_pm_ops, pm 581 drivers/pwm/pwm-tiehrpwm.c .pm = &ehrpwm_pwm_pm_ops, pm 480 drivers/pwm/sysfs.c .pm = &pwm_class_pm_ops, pm 351 drivers/regulator/act8945a-regulator.c .pm = &act8945a_pm, pm 347 drivers/regulator/bd9571mwv-regulator.c .pm = DEV_PM_OPS, pm 5320 drivers/regulator/core.c .pm = ®ulator_pm_ops, pm 914 drivers/regulator/max77620-regulator.c .pm = &max77620_regulator_pm_ops, pm 519 drivers/regulator/mcp16502.c .pm = &mcp16502_pm_ops, pm 33 drivers/regulator/qcom_rpm-regulator.c struct request_member pm; /* power mode */ pm 126 drivers/regulator/qcom_rpm-regulator.c .pm = { 1, 0x00800000, 23 }, pm 713 drivers/regulator/qcom_rpm-regulator.c if (vreg->parts->pm.mask) { pm 717 drivers/regulator/qcom_rpm-regulator.c ret = rpm_reg_set(vreg, &vreg->parts->pm, pwm); pm 301 drivers/regulator/stm32-vrefbuf.c .pm = &stm32_vrefbuf_pm_ops, pm 244 drivers/remoteproc/wkup_m3_rproc.c .pm = &wkup_m3_rproc_pm_ops, pm 425 drivers/rtc/class.c rtc_class->pm = RTC_CLASS_DEV_PM_OPS; pm 330 drivers/rtc/rtc-88pm80x.c .pm = &pm80x_rtc_pm_ops, pm 455 drivers/rtc/rtc-88pm860x.c .pm = &pm860x_rtc_pm_ops, pm 955 drivers/rtc/rtc-ab-b5ze-s3.c .pm = &abb5zes3_rtc_pm_ops, pm 599 drivers/rtc/rtc-armada38x.c .pm = &armada38x_rtc_pm_ops, pm 243 drivers/rtc/rtc-as3722.c .pm = &as3722_rtc_pm_ops, pm 534 drivers/rtc/rtc-at91rm9200.c .pm = &at91_rtc_pm_ops, pm 540 drivers/rtc/rtc-at91sam9.c .pm = &at91_rtc_pm_ops, pm 322 drivers/rtc/rtc-brcmstb-waketimer.c .pm = &brcmstb_waketmr_pm_ops, pm 406 drivers/rtc/rtc-cadence.c .pm = &cdns_rtc_pm_ops, pm 1357 drivers/rtc/rtc-cmos.c .pm = &cmos_pm_ops, pm 1445 drivers/rtc/rtc-cmos.c .pm = &cmos_pm_ops, pm 281 drivers/rtc/rtc-coh901331.c .pm = &coh901331_pm_ops, pm 394 drivers/rtc/rtc-cros-ec.c .pm = &cros_ec_rtc_pm_ops, pm 390 drivers/rtc/rtc-da9055.c .pm = &da9055_rtc_pm_ops, pm 605 drivers/rtc/rtc-ds1343.c .pm = &ds1343_pm, pm 714 drivers/rtc/rtc-ds1374.c .pm = &ds1374_pm, pm 606 drivers/rtc/rtc-ds3232.c .pm = &ds3232_pm_ops, pm 593 drivers/rtc/rtc-hym8563.c .pm = &hym8563_pm_ops, pm 363 drivers/rtc/rtc-lpc32xx.c .pm = LPC32XX_RTC_PM_OPS, pm 1006 drivers/rtc/rtc-m41t80.c .pm = &m41t80_pm, pm 833 drivers/rtc/rtc-max77686.c .pm = &max77686_rtc_pm_ops, pm 312 drivers/rtc/rtc-max8925.c .pm = &max8925_rtc_pm_ops, pm 148 drivers/rtc/rtc-meson-vrtc.c .pm = &meson_vrtc_pm_ops, pm 513 drivers/rtc/rtc-mrst.c .pm = MRST_PM_OPS, pm 150 drivers/rtc/rtc-msm6242.c unsigned int pm = msm6242_read(priv, MSM6242_HOUR10) & pm 152 drivers/rtc/rtc-msm6242.c if (!pm && tm->tm_hour == 12) pm 154 drivers/rtc/rtc-msm6242.c else if (pm && tm->tm_hour != 12) pm 419 drivers/rtc/rtc-mt6397.c .pm = &mt6397_pm_ops, pm 405 drivers/rtc/rtc-mt7622.c .pm = MTK_RTC_PM_OPS, pm 1033 drivers/rtc/rtc-omap.c .pm = &omap_rtc_pm_ops, pm 366 drivers/rtc/rtc-palmas.c .pm = &palmas_rtc_pm_ops, pm 129 drivers/rtc/rtc-pcf8523.c static int pcf8523_set_pm(struct i2c_client *client, u8 pm) pm 138 drivers/rtc/rtc-pcf8523.c value = (value & ~REG_CONTROL3_PM_MASK) | pm; pm 542 drivers/rtc/rtc-pm8xxx.c .pm = &pm8xxx_rtc_pm_ops, pm 282 drivers/rtc/rtc-puv3.c .pm = &puv3_rtc_pm_ops, pm 410 drivers/rtc/rtc-pxa.c .pm = &pxa_rtc_pm_ops, pm 446 drivers/rtc/rtc-r7301.c .pm = &rtc7301_pm_ops, pm 305 drivers/rtc/rtc-rc5t583.c .pm = &rc5t583_rtc_pm_ops, pm 457 drivers/rtc/rtc-rk808.c .pm = &rk808_rtc_pm_ops, pm 827 drivers/rtc/rtc-s3c.c .pm = &s3c_rtc_pm_ops, pm 874 drivers/rtc/rtc-s5m.c .pm = &s5m_rtc_pm_ops, pm 357 drivers/rtc/rtc-sa1100.c .pm = &sa1100_rtc_pm_ops, pm 675 drivers/rtc/rtc-sh.c .pm = &sh_rtc_pm_ops, pm 449 drivers/rtc/rtc-sirfsoc.c .pm = &sirfsoc_rtc_pm_ops, pm 395 drivers/rtc/rtc-snvs.c .pm = &snvs_rtc_pm_ops, pm 486 drivers/rtc/rtc-spear.c .pm = &spear_rtc_pm_ops, pm 313 drivers/rtc/rtc-st-lpc.c .pm = &st_rtc_pm_ops, pm 920 drivers/rtc/rtc-stm32.c .pm = &stm32_rtc_pm_ops, pm 410 drivers/rtc/rtc-stmp3xxx.c .pm = &stmp3xxx_rtc_pm_ops, pm 766 drivers/rtc/rtc-sun6i.c .pm = &sun6i_rtc_pm_ops, pm 411 drivers/rtc/rtc-tegra.c .pm = &tegra_rtc_pm_ops, pm 328 drivers/rtc/rtc-tps6586x.c .pm = &tps6586x_pm_ops, pm 458 drivers/rtc/rtc-tps65910.c .pm = &tps65910_rtc_pm_ops, pm 327 drivers/rtc/rtc-tps80031.c .pm = &tps80031_pm_ops, pm 649 drivers/rtc/rtc-twl.c .pm = &twl_rtc_pm_ops, pm 466 drivers/rtc/rtc-wm831x.c .pm = &wm831x_rtc_pm_ops, pm 465 drivers/rtc/rtc-wm8350.c .pm = &wm8350_rtc_pm_ops, pm 276 drivers/rtc/rtc-xgene.c .pm = &xgene_rtc_pm_ops, pm 299 drivers/rtc/rtc-zynqmp.c .pm = &xlnx_rtc_pm_ops, pm 1452 drivers/s390/block/dasd_eckd.c static void dasd_eckd_reset_path(struct dasd_device *device, __u8 pm) pm 1460 drivers/s390/block/dasd_eckd.c dasd_path_set_tbvpm(device, pm ? : dasd_path_get_notoperpm(device)); pm 1120 drivers/s390/block/dasd_int.h static inline void dasd_path_add_tbvpm(struct dasd_device *device, __u8 pm) pm 1125 drivers/s390/block/dasd_int.h if (pm & (0x80 >> chp)) pm 1143 drivers/s390/block/dasd_int.h static inline void dasd_path_add_opm(struct dasd_device *device, __u8 pm) pm 1148 drivers/s390/block/dasd_int.h if (pm & (0x80 >> chp)) { pm 1161 drivers/s390/block/dasd_int.h static inline void dasd_path_add_cablepm(struct dasd_device *device, __u8 pm) pm 1166 drivers/s390/block/dasd_int.h if (pm & (0x80 >> chp)) pm 1170 drivers/s390/block/dasd_int.h static inline void dasd_path_add_cuirpm(struct dasd_device *device, __u8 pm) pm 1175 drivers/s390/block/dasd_int.h if (pm & (0x80 >> chp)) pm 1179 drivers/s390/block/dasd_int.h static inline void dasd_path_add_ifccpm(struct dasd_device *device, __u8 pm) pm 1184 drivers/s390/block/dasd_int.h if (pm & (0x80 >> chp)) pm 1188 drivers/s390/block/dasd_int.h static inline void dasd_path_add_nppm(struct dasd_device *device, __u8 pm) pm 1193 drivers/s390/block/dasd_int.h if (pm & (0x80 >> chp)) pm 1197 drivers/s390/block/dasd_int.h static inline void dasd_path_add_nohpfpm(struct dasd_device *device, __u8 pm) pm 1202 drivers/s390/block/dasd_int.h if (pm & (0x80 >> chp)) pm 1206 drivers/s390/block/dasd_int.h static inline void dasd_path_add_ppm(struct dasd_device *device, __u8 pm) pm 1211 drivers/s390/block/dasd_int.h if (pm & (0x80 >> chp)) pm 1219 drivers/s390/block/dasd_int.h static inline void dasd_path_set_tbvpm(struct dasd_device *device, __u8 pm) pm 1224 drivers/s390/block/dasd_int.h if (pm & (0x80 >> chp)) pm 1230 drivers/s390/block/dasd_int.h static inline void dasd_path_set_opm(struct dasd_device *device, __u8 pm) pm 1236 drivers/s390/block/dasd_int.h if (pm & (0x80 >> chp)) { pm 1254 drivers/s390/block/dasd_int.h static inline void dasd_path_remove_opm(struct dasd_device *device, __u8 pm) pm 1259 drivers/s390/block/dasd_int.h if (pm & (0x80 >> chp)) pm 1060 drivers/s390/block/dcssblk.c .pm = &dcssblk_pm_ops, pm 423 drivers/s390/block/xpram.c .pm = &xpram_pm_ops, pm 543 drivers/s390/char/monreader.c .pm = &monreader_pm_ops, pm 347 drivers/s390/char/monwriter.c .pm = &monwriter_pm_ops, pm 1157 drivers/s390/char/sclp.c .pm = &sclp_pm_ops, pm 470 drivers/s390/char/sclp_cmd.c .pm = &sclp_mem_pm_ops, pm 709 drivers/s390/char/vmlogrdr.c .pm = &vmlogrdr_pm_ops, pm 560 drivers/s390/cio/ccwgroup.c .pm = &ccwgroup_pm_ops, pm 1539 drivers/s390/cio/css.c .pm = &css_pm_ops, pm 2037 drivers/s390/cio/device.c .pm = &ccw_pm_ops, pm 703 drivers/s390/crypto/ap_bus.c .pm = &ap_bus_pm_ops, pm 595 drivers/s390/net/ism_drv.c .pm = &ism_pm_ops, pm 135 drivers/s390/net/netiucv.c .pm = &netiucv_pm_ops, pm 174 drivers/s390/net/smsgiucv.c .pm = &smsg_pm_ops, pm 195 drivers/scsi/fdomain_isa.c .pm = FDOMAIN_PM_OPS, pm 61 drivers/scsi/fdomain_pci.c .driver.pm = FDOMAIN_PM_OPS, pm 4933 drivers/scsi/ibmvscsi/ibmvfc.c .pm = &ibmvfc_pm_ops, pm 2381 drivers/scsi/ibmvscsi/ibmvscsi.c .pm = &ibmvscsi_pm_ops, pm 760 drivers/scsi/isci/init.c .driver.pm = &isci_pm_ops, pm 23 drivers/scsi/scsi_pm.c static int do_scsi_suspend(struct device *dev, const struct dev_pm_ops *pm) pm 25 drivers/scsi/scsi_pm.c return pm && pm->suspend ? pm->suspend(dev) : 0; pm 28 drivers/scsi/scsi_pm.c static int do_scsi_freeze(struct device *dev, const struct dev_pm_ops *pm) pm 30 drivers/scsi/scsi_pm.c return pm && pm->freeze ? pm->freeze(dev) : 0; pm 33 drivers/scsi/scsi_pm.c static int do_scsi_poweroff(struct device *dev, const struct dev_pm_ops *pm) pm 35 drivers/scsi/scsi_pm.c return pm && pm->poweroff ? pm->poweroff(dev) : 0; pm 38 drivers/scsi/scsi_pm.c static int do_scsi_resume(struct device *dev, const struct dev_pm_ops *pm) pm 40 drivers/scsi/scsi_pm.c return pm && pm->resume ? pm->resume(dev) : 0; pm 43 drivers/scsi/scsi_pm.c static int do_scsi_thaw(struct device *dev, const struct dev_pm_ops *pm) pm 45 drivers/scsi/scsi_pm.c return pm && pm->thaw ? pm->thaw(dev) : 0; pm 48 drivers/scsi/scsi_pm.c static int do_scsi_restore(struct device *dev, const struct dev_pm_ops *pm) pm 50 drivers/scsi/scsi_pm.c return pm && pm->restore ? pm->restore(dev) : 0; pm 56 drivers/scsi/scsi_pm.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 64 drivers/scsi/scsi_pm.c err = cb(dev, pm); pm 75 drivers/scsi/scsi_pm.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 78 drivers/scsi/scsi_pm.c err = cb(dev, pm); pm 235 drivers/scsi/scsi_pm.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 242 drivers/scsi/scsi_pm.c if (pm && pm->runtime_suspend) pm 243 drivers/scsi/scsi_pm.c err = pm->runtime_suspend(dev); pm 265 drivers/scsi/scsi_pm.c const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; pm 269 drivers/scsi/scsi_pm.c if (pm && pm->runtime_resume) pm 270 drivers/scsi/scsi_pm.c err = pm->runtime_resume(dev); pm 530 drivers/scsi/scsi_sysfs.c .pm = &scsi_bus_pm_ops, pm 574 drivers/scsi/sd.c .pm = &sd_pm_ops, pm 98 drivers/scsi/sr.c .pm = &sr_pm_ops, pm 2400 drivers/scsi/sym53c8xx_2/sym_hipd.c struct sym_pmc *pm; pm 2583 drivers/scsi/sym53c8xx_2/sym_hipd.c pm = &cp->phys.pm0; pm 2587 drivers/scsi/sym53c8xx_2/sym_hipd.c pm = &cp->phys.pm1; pm 2598 drivers/scsi/sym53c8xx_2/sym_hipd.c pm->sg.addr = cpu_to_scr(oadr + olen - rest); pm 2599 drivers/scsi/sym53c8xx_2/sym_hipd.c pm->sg.size = cpu_to_scr(rest); pm 2600 drivers/scsi/sym53c8xx_2/sym_hipd.c pm->ret = cpu_to_scr(nxtdsp); pm 2618 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp = scr_to_cpu(pm->sg.addr); pm 2620 drivers/scsi/sym53c8xx_2/sym_hipd.c pm->sg.addr = cpu_to_scr(tmp + 1); pm 2621 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp = scr_to_cpu(pm->sg.size); pm 2623 drivers/scsi/sym53c8xx_2/sym_hipd.c pm->sg.size = cpu_to_scr(tmp - 1); pm 2630 drivers/scsi/sym53c8xx_2/sym_hipd.c newcmd = pm->ret; pm 2642 drivers/scsi/sym53c8xx_2/sym_hipd.c (unsigned)scr_to_cpu(pm->sg.addr), pm 2643 drivers/scsi/sym53c8xx_2/sym_hipd.c (unsigned)scr_to_cpu(pm->sg.size), pm 2644 drivers/scsi/sym53c8xx_2/sym_hipd.c (unsigned)scr_to_cpu(pm->ret)); pm 3632 drivers/scsi/sym53c8xx_2/sym_hipd.c struct sym_pmc *pm; pm 3641 drivers/scsi/sym53c8xx_2/sym_hipd.c pm = &cp->phys.pm0; pm 3643 drivers/scsi/sym53c8xx_2/sym_hipd.c pm = &cp->phys.pm1; pm 3645 drivers/scsi/sym53c8xx_2/sym_hipd.c pm = NULL; pm 3647 drivers/scsi/sym53c8xx_2/sym_hipd.c if (pm) { pm 3648 drivers/scsi/sym53c8xx_2/sym_hipd.c dp_scr = scr_to_cpu(pm->ret); pm 3649 drivers/scsi/sym53c8xx_2/sym_hipd.c dp_ofs -= scr_to_cpu(pm->sg.size) & 0x00ffffff; pm 3753 drivers/scsi/sym53c8xx_2/sym_hipd.c struct sym_pmc *pm; pm 3794 drivers/scsi/sym53c8xx_2/sym_hipd.c pm = &cp->phys.pm0; pm 3798 drivers/scsi/sym53c8xx_2/sym_hipd.c pm = &cp->phys.pm1; pm 3813 drivers/scsi/sym53c8xx_2/sym_hipd.c pm->ret = cpu_to_scr(dp_ret); pm 3816 drivers/scsi/sym53c8xx_2/sym_hipd.c pm->sg.addr = cpu_to_scr(tmp); pm 3817 drivers/scsi/sym53c8xx_2/sym_hipd.c pm->sg.size = cpu_to_scr(-dp_ofs); pm 224 drivers/scsi/ufs/cdns-pltfrm.c .pm = &cdns_ufs_dev_pm_ops, pm 168 drivers/scsi/ufs/tc-dwc-g210-pci.c .pm = &tc_dwc_g210_pci_pm_ops pm 100 drivers/scsi/ufs/tc-dwc-g210-pltfrm.c .pm = &tc_dwc_g210_pltfm_pm_ops, pm 599 drivers/scsi/ufs/ufs-hisi.c .pm = &ufs_hisi_pm_ops, pm 369 drivers/scsi/ufs/ufs-mediatek.c .pm = &ufs_mtk_pm_ops, pm 1666 drivers/scsi/ufs/ufs-qcom.c .pm = &ufs_qcom_pm_ops, pm 217 drivers/scsi/ufs/ufshcd-pci.c .pm = &ufshcd_pci_pm_ops pm 736 drivers/slimbus/qcom-ctrl.c .pm = &qcom_slim_dev_pm_ops, pm 1529 drivers/slimbus/qcom-ngd-ctrl.c .pm = &qcom_slim_ngd_dev_pm_ops, pm 604 drivers/soc/bcm/bcm2835-power.c struct bcm2835_pm *pm = dev_get_drvdata(pdev->dev.parent); pm 627 drivers/soc/bcm/bcm2835-power.c power->base = pm->base; pm 628 drivers/soc/bcm/bcm2835-power.c power->asb = pm->asb; pm 319 drivers/soc/fsl/dpaa2-console.c .pm = NULL, pm 2809 drivers/soc/tegra/pmc.c .pm = &tegra_pmc_pm_ops, pm 568 drivers/soc/ti/wkup_m3_ipc.c .pm = &wkup_m3_ipc_pm_ops, pm 632 drivers/spi/atmel-quadspi.c .pm = &atmel_qspi_pm_ops, pm 235 drivers/spi/spi-altera.c .pm = NULL, pm 694 drivers/spi/spi-at91-usart.c .pm = &at91_usart_spi_pm_ops, pm 1784 drivers/spi/spi-atmel.c .pm = ATMEL_SPI_PM_OPS, pm 508 drivers/spi/spi-bcm63xx-hsspi.c .pm = &bcm63xx_hsspi_pm_ops, pm 653 drivers/spi/spi-bcm63xx.c .pm = &bcm63xx_spi_pm_ops, pm 34 drivers/spi/spi-brcmstb-qspi.c .pm = &bcm_qspi_pm_ops, pm 714 drivers/spi/spi-cadence.c .pm = &cdns_spi_dev_pm_ops, pm 510 drivers/spi/spi-coldfire-qspi.c .driver.pm = &mcfqspi_pm, pm 870 drivers/spi/spi-dln2.c .pm = &dln2_spi_pm, pm 149 drivers/spi/spi-dw-pci.c .pm = &dw_spi_pm_ops, pm 1167 drivers/spi/spi-fsl-dspi.c .driver.pm = &dspi_pm, pm 328 drivers/spi/spi-fsl-espi.c u32 pm, hz = t ? t->speed_hz : spi->max_speed_hz; pm 337 drivers/spi/spi-fsl-espi.c pm = DIV_ROUND_UP(espi->spibrg, hz * 4) - 1; pm 339 drivers/spi/spi-fsl-espi.c if (pm > 15) { pm 341 drivers/spi/spi-fsl-espi.c pm = DIV_ROUND_UP(espi->spibrg, hz * 16 * 4) - 1; pm 344 drivers/spi/spi-fsl-espi.c cs->hw_mode |= CSMODE_PM(pm); pm 834 drivers/spi/spi-fsl-espi.c .pm = &espi_pm, pm 1018 drivers/spi/spi-fsl-lpspi.c .pm = &fsl_lpspi_pm_ops, pm 979 drivers/spi/spi-fsl-qspi.c .pm = &fsl_qspi_pm_ops, pm 230 drivers/spi/spi-fsl-spi.c u8 pm; pm 272 drivers/spi/spi-fsl-spi.c pm = (mpc8xxx_spi->spibrg - 1) / (hz * 64) + 1; pm 273 drivers/spi/spi-fsl-spi.c WARN_ONCE(pm > 16, pm 276 drivers/spi/spi-fsl-spi.c if (pm > 16) pm 277 drivers/spi/spi-fsl-spi.c pm = 16; pm 279 drivers/spi/spi-fsl-spi.c pm = (mpc8xxx_spi->spibrg - 1) / (hz * 4) + 1; pm 281 drivers/spi/spi-fsl-spi.c if (pm) pm 282 drivers/spi/spi-fsl-spi.c pm--; pm 284 drivers/spi/spi-fsl-spi.c cs->hw_mode |= SPMODE_PM(pm); pm 684 drivers/spi/spi-geni-qcom.c .pm = &spi_geni_pm_ops, pm 798 drivers/spi/spi-img-spfi.c .pm = &img_spfi_pm_ops, pm 147 drivers/spi/spi-iproc-qspi.c .pm = &bcm_qspi_pm_ops, pm 448 drivers/spi/spi-meson-spifc.c .pm = &meson_spifc_pm_ops, pm 895 drivers/spi/spi-mt65xx.c .pm = &mtk_spi_pm, pm 610 drivers/spi/spi-mxic.c .pm = &mxic_spi_dev_pm_ops, pm 667 drivers/spi/spi-mxs.c .pm = &mxs_spi_pm, pm 1092 drivers/spi/spi-nxp-fspi.c .pm = &nxp_fspi_pm_ops, pm 345 drivers/spi/spi-oc-tiny.c .pm = NULL, pm 483 drivers/spi/spi-omap-100k.c .pm = &omap1_spi100k_pm, pm 1580 drivers/spi/spi-omap2-mcspi.c .pm = &omap2_mcspi_pm_ops, pm 845 drivers/spi/spi-orion.c .pm = &orion_spi_pm_ops, pm 2493 drivers/spi/spi-pl022.c .pm = &pl022_dev_pm_ops, pm 2004 drivers/spi/spi-pxa2xx.c .pm = &pxa2xx_spi_pm_ops, pm 568 drivers/spi/spi-qcom-qspi.c .pm = &qcom_qspi_dev_pm_ops, pm 1303 drivers/spi/spi-qup.c .pm = &spi_qup_dev_pm_ops, pm 861 drivers/spi/spi-rockchip.c .pm = &rockchip_spi_pm, pm 1351 drivers/spi/spi-rspi.c .pm = DEV_PM_OPS, pm 658 drivers/spi/spi-s3c24xx.c .pm = S3C24XX_SPI_PMOPS, pm 1435 drivers/spi/spi-s3c64xx.c .pm = &s3c64xx_spi_pm, pm 1459 drivers/spi/spi-sh-msiof.c .pm = DEV_PM_OPS, pm 1225 drivers/spi/spi-sirf.c .pm = &spi_sirfsoc_pm_ops, pm 541 drivers/spi/spi-slave-mt27xx.c .pm = &mtk_spi_slave_pm, pm 1073 drivers/spi/spi-sprd.c .pm = &sprd_spi_pm_ops, pm 472 drivers/spi/spi-st-ssc4.c .pm = &spi_st_pm, pm 678 drivers/spi/spi-stm32-qspi.c .pm = &stm32_qspi_pm_ops, pm 2054 drivers/spi/spi-stm32.c .pm = &stm32_spi_pm_ops, pm 543 drivers/spi/spi-sun4i.c .pm = &sun4i_spi_pm_ops, pm 560 drivers/spi/spi-sun6i.c .pm = &sun6i_spi_pm_ops, pm 814 drivers/spi/spi-synquacer.c .pm = &synquacer_spi_pm_ops, pm 1521 drivers/spi/spi-tegra114.c .pm = &tegra_spi_pm_ops, pm 598 drivers/spi/spi-tegra20-sflash.c .pm = &slink_pm_ops, pm 1240 drivers/spi/spi-tegra20-slink.c .pm = &slink_pm_ops, pm 848 drivers/spi/spi-ti-qspi.c .pm = &ti_qspi_pm_ops, pm 1158 drivers/spi/spi-zynqmp-gqspi.c .pm = &zynqmp_qspi_dev_pm_ops, pm 129 drivers/ssb/pcihost_wrapper.c driver->driver.pm = &ssb_pcihost_pm_ops; pm 326 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c .pm = &clk_wzrd_dev_pm_ops, pm 50 drivers/staging/comedi/drivers/addi_apci_1500.c unsigned int pm[2]; /* Pattern Mask */ pm 299 drivers/staging/comedi/drivers/addi_apci_1500.c z8536_write(dev, devpriv->pm[pa_trig] & 0xff, Z8536_PA_PM_REG); pm 304 drivers/staging/comedi/drivers/addi_apci_1500.c z8536_write(dev, (devpriv->pm[pb_trig] >> 8) & 0xff, Z8536_PB_PM_REG); pm 309 drivers/staging/comedi/drivers/addi_apci_1500.c if (devpriv->pm[pa_trig] & 0xff) { pm 328 drivers/staging/comedi/drivers/addi_apci_1500.c if (devpriv->pm[pb_trig] & 0xff00) { pm 459 drivers/staging/comedi/drivers/addi_apci_1500.c unsigned int pm = devpriv->pm[trig] & old_mask; pm 477 drivers/staging/comedi/drivers/addi_apci_1500.c pm = 0; pm 482 drivers/staging/comedi/drivers/addi_apci_1500.c pm |= chan_mask; /* enable channels */ pm 488 drivers/staging/comedi/drivers/addi_apci_1500.c pm |= chan_mask; /* enable channels */ pm 521 drivers/staging/comedi/drivers/addi_apci_1500.c devpriv->pm[trig] = pm; pm 478 drivers/staging/greybus/arche-apb-ctrl.c .pm = &arche_apb_ctrl_pm_ops, pm 640 drivers/staging/greybus/arche-platform.c .pm = &arche_platform_pm_ops, pm 1091 drivers/staging/greybus/audio_codec.c .pm = &gbaudio_codec_pm_ops, pm 471 drivers/staging/greybus/audio_module.c .driver.pm = &gb_audio_pm_ops, pm 1384 drivers/staging/greybus/camera.c .driver.pm = &gb_camera_pm_ops, pm 71 drivers/staging/greybus/gbphy.c .pm = &gb_gbphy_pm_ops, pm 139 drivers/staging/iio/addac/adt7316-i2c.c .pm = ADT7316_PM_OPS, pm 145 drivers/staging/iio/addac/adt7316-spi.c .pm = ADT7316_PM_OPS, pm 929 drivers/staging/media/hantro/hantro_drv.c .pm = &hantro_pm_ops, pm 1148 drivers/staging/media/imx/imx7-mipi-csis.c .pm = &mipi_csis_pm_ops, pm 845 drivers/staging/media/ipu3/ipu3.c .pm = &imgu_pm_ops, pm 592 drivers/staging/media/soc_camera/mt9t031.c .pm = &mt9t031_dev_pm_ops, pm 1203 drivers/staging/media/tegra-vde/vde.c .pm = &tegra_vde_pm_ops, pm 947 drivers/staging/nvec/nvec.c .pm = &nvec_pm_ops, pm 172 drivers/staging/nvec/nvec_ps2.c .pm = &nvec_mouse_pm_ops, pm 119 drivers/staging/olpc_dcon/olpc_dcon.c u8 pm; pm 124 drivers/staging/olpc_dcon/olpc_dcon.c pm = 1; pm 125 drivers/staging/olpc_dcon/olpc_dcon.c x = olpc_ec_cmd(EC_DCON_POWER_MODE, &pm, 1, NULL, 0); pm 142 drivers/staging/olpc_dcon/olpc_dcon.c pm = 0; pm 143 drivers/staging/olpc_dcon/olpc_dcon.c olpc_ec_cmd(EC_DCON_POWER_MODE, &pm, 1, NULL, 0); pm 206 drivers/staging/olpc_dcon/olpc_dcon.c u8 pm = 0; pm 208 drivers/staging/olpc_dcon/olpc_dcon.c x = olpc_ec_cmd(EC_DCON_POWER_MODE, &pm, 1, NULL, 0); pm 781 drivers/staging/olpc_dcon/olpc_dcon.c .pm = &dcon_pm_ops, pm 50 drivers/staging/rtl8723bs/os_dep/sdio_intf.c .pm = &rtw_sdio_pm_ops, pm 1144 drivers/staging/wilc1000/wilc_sdio.c .pm = &wilc_sdio_pm_ops, pm 662 drivers/thermal/hisi_thermal.c .pm = &hisi_thermal_pm_ops, pm 929 drivers/thermal/imx_thermal.c .pm = &imx_thermal_pm_ops, pm 737 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c .driver.pm = &proc_thermal_pm, pm 752 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c .pm = &proc_thermal_pm, pm 415 drivers/thermal/intel/intel_pch_thermal.c .driver.pm = &intel_pch_pm_ops, pm 193 drivers/thermal/qcom/tsens.c .pm = &tsens_pm_ops, pm 305 drivers/thermal/qoriq_thermal.c .pm = &qoriq_tmu_pm_ops, pm 507 drivers/thermal/rcar_gen3_thermal.c .pm = &rcar_gen3_thermal_pm_ops, pm 665 drivers/thermal/rcar_thermal.c .pm = &rcar_thermal_pm_ops, pm 1427 drivers/thermal/rockchip_thermal.c .pm = &rockchip_thermal_pm_ops, pm 1177 drivers/thermal/samsung/exynos_tmu.c .pm = EXYNOS_TMU_PM, pm 176 drivers/thermal/spear_thermal.c .pm = &spear_thermal_pm_ops, pm 194 drivers/thermal/st/st_thermal_memmap.c .pm = &st_thermal_pm_ops, pm 164 drivers/thermal/st/st_thermal_syscfg.c .pm = &st_thermal_pm_ops, pm 747 drivers/thermal/st/stm_thermal.c .pm = &stm_thermal_pm_ops, pm 118 drivers/thermal/tango_thermal.c .pm = &tango_thermal_pm, pm 2314 drivers/thermal/tegra/soctherm.c .pm = &tegra_soctherm_pm, pm 1243 drivers/thermal/ti-soc-thermal/ti-bandgap.c .pm = DEV_PM_OPS, pm 248 drivers/thermal/zx2967_thermal.c .pm = &zx2967_thermal_pm_ops, pm 1285 drivers/thunderbolt/nhi.c .driver.pm = &nhi_pm_ops, pm 1462 drivers/thunderbolt/switch.c .pm = &tb_switch_pm_ops, pm 1203 drivers/thunderbolt/xdomain.c .pm = &tb_xdomain_pm_ops, pm 1065 drivers/tty/hvc/hvc_iucv.c .pm = &hvc_iucv_pm_ops, pm 827 drivers/tty/serial/8250/8250_core.c uart.port.pm = p->pm; pm 1061 drivers/tty/serial/8250/8250_core.c if (up->port.pm) pm 1062 drivers/tty/serial/8250/8250_core.c uart->port.pm = up->port.pm; pm 409 drivers/tty/serial/8250/8250_dw.c p->pm = dw8250_do_pm; pm 661 drivers/tty/serial/8250/8250_dw.c .pm = &dw8250_pm_ops, pm 227 drivers/tty/serial/8250/8250_exar.c port->port.pm = exar_pm; pm 805 drivers/tty/serial/8250/8250_exar.c .pm = &exar_pci_pm, pm 514 drivers/tty/serial/8250/8250_mtk.c uart.port.pm = mtk8250_do_pm; pm 620 drivers/tty/serial/8250/8250_mtk.c .pm = &mtk8250_pm_ops, pm 352 drivers/tty/serial/8250/8250_of.c .pm = &of_serial_pm_ops, pm 1189 drivers/tty/serial/8250/8250_omap.c up.port.pm = omap_8250_pm; pm 1531 drivers/tty/serial/8250/8250_omap.c .pm = &omap8250_dev_pm_ops, pm 5668 drivers/tty/serial/8250/8250_pci.c .pm = &pciserial_pm_ops, pm 528 drivers/tty/serial/8250/8250_pnp.c .pm = &serial_pnp_pm_ops, pm 2741 drivers/tty/serial/8250/8250_port.c if (port->pm) pm 2742 drivers/tty/serial/8250/8250_port.c port->pm(port, state, oldstate); pm 3058 drivers/tty/serial/8250/8250_port.c .pm = serial8250_pm, pm 129 drivers/tty/serial/8250/8250_pxa.c uart.port.pm = serial_pxa_pm; pm 165 drivers/tty/serial/8250/8250_pxa.c .pm = &serial_pxa_pm_ops, pm 300 drivers/tty/serial/8250/8250_uniphier.c .pm = &uniphier_uart_pm_ops, pm 817 drivers/tty/serial/amba-pl010.c .pm = &pl010_dev_pm_ops, pm 2806 drivers/tty/serial/amba-pl011.c .pm = &pl011_dev_pm_ops, pm 2472 drivers/tty/serial/atmel_serial.c .pm = atmel_serial_pm, pm 754 drivers/tty/serial/dz.c .pm = dz_pm, pm 915 drivers/tty/serial/fsl_linflexuart.c .pm = &linflex_pm_ops, pm 2621 drivers/tty/serial/fsl_lpuart.c .pm = &lpuart_pm_ops, pm 1356 drivers/tty/serial/ifx6x60.c .pm = &ifx_spi_pm, pm 2578 drivers/tty/serial/imx.c .pm = &imx_uart_pm_ops, pm 898 drivers/tty/serial/max3100.c .pm = MAX3100_PM_OPS, pm 1511 drivers/tty/serial/max310x.c .pm = &max310x_pm_ops, pm 1531 drivers/tty/serial/msm_serial.c .pm = msm_power, pm 1862 drivers/tty/serial/msm_serial.c .pm = &msm_serial_dev_pm_ops, pm 965 drivers/tty/serial/mvebu-uart.c .pm = &mvebu_uart_pm_ops, pm 1462 drivers/tty/serial/omap-serial.c .pm = serial_omap_pm, pm 1923 drivers/tty/serial/omap-serial.c .pm = &serial_omap_dev_pm_ops, pm 773 drivers/tty/serial/pxa.c .pm = serial_pxa_pm, pm 922 drivers/tty/serial/pxa.c .pm = &serial_pxa_pm_ops, pm 1239 drivers/tty/serial/qcom_geni_serial.c .pm = qcom_geni_serial_pm, pm 1255 drivers/tty/serial/qcom_geni_serial.c .pm = qcom_geni_serial_pm, pm 1366 drivers/tty/serial/qcom_geni_serial.c .pm = &qcom_geni_serial_pm_ops, pm 663 drivers/tty/serial/sa1100.c sa1100_pops.pm = fns->pm; pm 1495 drivers/tty/serial/samsung.c .pm = s3c24xx_serial_pm, pm 2486 drivers/tty/serial/samsung.c .pm = SERIAL_SAMSUNG_PM_OPS, pm 1123 drivers/tty/serial/sc16is7xx.c .pm = sc16is7xx_pm, pm 1655 drivers/tty/serial/serial-tegra.c .pm = &tegra_uart_pm_ops, pm 2129 drivers/tty/serial/serial_core.c if (port && port->ops->pm) pm 2130 drivers/tty/serial/serial_core.c port->ops->pm(port, pm_state, state->pm_state); pm 855 drivers/tty/serial/serial_txx9.c .pm = serial_txx9_pm, pm 2772 drivers/tty/serial/sh-sci.c .pm = sci_pm, pm 3404 drivers/tty/serial/sh-sci.c .pm = &sci_dev_pm_ops, pm 1075 drivers/tty/serial/sirfsoc_uart.c .pm = sirfsoc_uart_pm, pm 1474 drivers/tty/serial/sirfsoc_uart.c .pm = &sirfsoc_uart_pm_ops, pm 941 drivers/tty/serial/sprd_serial.c .pm = sprd_pm, pm 1278 drivers/tty/serial/sprd_serial.c .pm = &sprd_pm_ops, pm 713 drivers/tty/serial/st-asc.c .pm = asc_pm, pm 975 drivers/tty/serial/st-asc.c .pm = &asc_serial_pm_ops, pm 909 drivers/tty/serial/stm32-usart.c .pm = stm32_pm, pm 1429 drivers/tty/serial/stm32-usart.c .pm = &stm32_serial_pm_ops, pm 439 drivers/tty/serial/uartlite.c .pm = ulite_pm, pm 882 drivers/tty/serial/uartlite.c .pm = &ulite_pm_ops, pm 683 drivers/tty/serial/vr41xx_siu.c .pm = siu_pm, pm 1110 drivers/tty/serial/xilinx_uartps.c .pm = cdns_uart_pm, pm 1648 drivers/tty/serial/xilinx_uartps.c .pm = &cdns_uart_dev_pm_ops, pm 1061 drivers/tty/serial/zs.c .pm = zs_pm, pm 344 drivers/uio/uio_dmem_genirq.c .pm = &uio_dmem_genirq_dev_pm_ops, pm 275 drivers/uio/uio_pdrv_genirq.c .pm = &uio_pdrv_genirq_dev_pm_ops, pm 662 drivers/usb/cdns3/core.c .pm = &cdns3_pm_ops, pm 632 drivers/usb/chipidea/ci_hdrc_imx.c .pm = &ci_hdrc_imx_pm_ops, pm 1393 drivers/usb/chipidea/core.c .pm = &ci_pm_ops, pm 276 drivers/usb/common/usb-conn-gpio.c .pm = &usb_conn_pm_ops, pm 312 drivers/usb/core/port.c .pm = &usb_port_pm_ops, pm 526 drivers/usb/core/usb.c .pm = &usb_device_pm_ops, pm 561 drivers/usb/dwc2/platform.c .pm = &dwc2_dev_pm_ops, pm 1877 drivers/usb/dwc3/core.c .pm = &dwc3_dev_pm_ops, pm 250 drivers/usb/dwc3/dwc3-exynos.c .pm = DEV_PM_OPS, pm 633 drivers/usb/dwc3/dwc3-meson-g12a.c .pm = &dwc3_meson_g12a_dev_pm_ops, pm 196 drivers/usb/dwc3/dwc3-of-simple.c .pm = &dwc3_of_simple_dev_pm_ops, pm 618 drivers/usb/dwc3/dwc3-omap.c .pm = DEV_PM_OPS, pm 445 drivers/usb/dwc3/dwc3-pci.c .pm = &dwc3_pci_dev_pm_ops, pm 772 drivers/usb/dwc3/dwc3-qcom.c .pm = &dwc3_qcom_dev_pm_ops, pm 371 drivers/usb/dwc3/dwc3-st.c .pm = &st_dwc3_dev_pm_ops, pm 2384 drivers/usb/gadget/udc/atmel_usba_udc.c .pm = &usba_udc_pm_ops, pm 642 drivers/usb/gadget/udc/bdc/bdc_core.c .pm = &bdc_pm_ops, pm 2055 drivers/usb/gadget/udc/mv_u3d_core.c .pm = &mv_u3d_pm_ops, pm 2416 drivers/usb/gadget/udc/mv_udc_core.c .pm = &mv_udc_pm_ops, pm 3174 drivers/usb/gadget/udc/pch_udc.c .pm = PCH_UDC_PM_OPS, pm 2897 drivers/usb/gadget/udc/renesas_usb3.c .pm = &renesas_usb3_pm_ops, pm 328 drivers/usb/gadget/udc/snps_udc_plat.c .pm = &udc_plat_pm_ops, pm 224 drivers/usb/host/ehci-atmel.c .pm = &ehci_atmel_pm_ops, pm 338 drivers/usb/host/ehci-exynos.c .pm = &exynos_ehci_pm_ops, pm 722 drivers/usb/host/ehci-fsl.c .pm = EHCI_FSL_PM_OPS, pm 186 drivers/usb/host/ehci-npcm7xx.c .pm = &ehci_npcm7xx_pm_ops, pm 351 drivers/usb/host/ehci-orion.c .pm = &ehci_orion_pm_ops, pm 396 drivers/usb/host/ehci-pci.c .pm = &usb_hcd_pci_pm_ops pm 369 drivers/usb/host/ehci-platform.c .pm = &ehci_platform_pm_ops, pm 158 drivers/usb/host/ehci-spear.c .pm = &ehci_spear_pm_ops, pm 338 drivers/usb/host/ehci-st.c .pm = &st_ehci_pm_ops, pm 664 drivers/usb/host/ohci-at91.c .pm = &ohci_hcd_at91_pm_ops, pm 305 drivers/usb/host/ohci-exynos.c .pm = &exynos_ohci_pm_ops, pm 300 drivers/usb/host/ohci-pci.c .pm = &usb_hcd_pci_pm_ops pm 330 drivers/usb/host/ohci-platform.c .pm = &ohci_platform_pm_ops, pm 597 drivers/usb/host/ohci-pxa27x.c .pm = &ohci_hcd_pxa27x_pm_ops, pm 461 drivers/usb/host/ohci-s3c2410.c .pm = &ohci_hcd_s3c2410_pm_ops, pm 316 drivers/usb/host/ohci-st.c .pm = &st_ohci_pm_ops, pm 77 drivers/usb/host/ohci-tmio.c u16 pm; pm 82 drivers/usb/host/ohci-tmio.c pm = CCR_PM_GKEN | CCR_PM_CKRNEN | pm 85 drivers/usb/host/ohci-tmio.c tmio_iowrite16(pm, tmio->ccr + CCR_PM); pm 94 drivers/usb/host/ohci-tmio.c u16 pm; pm 96 drivers/usb/host/ohci-tmio.c pm = CCR_PM_GKEN | CCR_PM_CKRNEN; pm 102 drivers/usb/host/ohci-tmio.c pm |= CCR_PM_USBPW3; pm 105 drivers/usb/host/ohci-tmio.c pm |= CCR_PM_USBPW2; pm 108 drivers/usb/host/ohci-tmio.c pm |= CCR_PM_USBPW1; pm 114 drivers/usb/host/ohci-tmio.c tmio_iowrite16(pm, tmio->ccr + CCR_PM); pm 2520 drivers/usb/host/r8a66597-hcd.c .pm = R8A66597_DEV_PM_OPS, pm 306 drivers/usb/host/uhci-pci.c .pm = &usb_hcd_pci_pm_ops pm 392 drivers/usb/host/xhci-histb.c .pm = DEV_PM_OPS, pm 673 drivers/usb/host/xhci-mtk.c .pm = DEV_PM_OPS, pm 563 drivers/usb/host/xhci-pci.c .pm = &usb_hcd_pci_pm_ops pm 453 drivers/usb/host/xhci-plat.c .pm = &xhci_plat_pm_ops, pm 1452 drivers/usb/host/xhci-tegra.c .pm = &tegra_xusb_pm_ops, pm 415 drivers/usb/misc/usb3503.c .pm = &usb3503_i2c_pm_ops, pm 427 drivers/usb/misc/usb3503.c .pm = &usb3503_platform_pm_ops, pm 157 drivers/usb/misc/usb4604.c .pm = &usb4604_i2c_pm_ops, pm 524 drivers/usb/mtu3/mtu3_plat.c .pm = DEV_PM_OPS, pm 601 drivers/usb/musb/am35x.c .pm = &am35x_pm_ops, pm 644 drivers/usb/musb/da8xx.c .pm = &da8xx_pm_ops, pm 2801 drivers/usb/musb/musb_core.c .pm = MUSB_DEV_PM_OPS, pm 1038 drivers/usb/musb/musb_dsps.c .pm = &dsps_pm_ops, pm 584 drivers/usb/musb/omap2430.c .pm = DEV_PM_OPS, pm 377 drivers/usb/musb/ux500.c .pm = &ux500_pm_ops, pm 140 drivers/usb/phy/phy-am335x.c .pm = &am335x_pm_ops, pm 482 drivers/usb/phy/phy-fsl-usb.c if (dev->driver->pm && dev->driver->pm->resume) { pm 483 drivers/usb/phy/phy-fsl-usb.c retval = dev->driver->pm->resume(dev); pm 507 drivers/usb/phy/phy-fsl-usb.c if (dev->driver->pm && dev->driver->pm->suspend) pm 508 drivers/usb/phy/phy-fsl-usb.c retval = dev->driver->pm->suspend(dev); pm 383 drivers/usb/phy/phy-gpio-vbus-usb.c .pm = &gpio_vbus_dev_pm_ops, pm 867 drivers/usb/phy/phy-mxs-usb.c .pm = &mxs_phy_pm, pm 834 drivers/usb/renesas_usbhs/common.c .pm = &usbhsc_pm_ops, pm 1844 drivers/usb/typec/tcpm/fusb302.c .pm = &fusb302_pm_ops, pm 1230 drivers/usb/typec/ucsi/ucsi_ccg.c .pm = &ucsi_ccg_pm, pm 385 drivers/video/backlight/adp5520_bl.c .pm = &adp5520_bl_pm_ops, pm 814 drivers/video/backlight/adp8860_bl.c .pm = &adp8860_i2c_pm_ops, pm 984 drivers/video/backlight/adp8870_bl.c .pm = &adp8870_i2c_pm_ops, pm 555 drivers/video/backlight/ams369fg06.c .pm = &ams369fg06_pm_ops, pm 691 drivers/video/backlight/backlight.c backlight_class->pm = &backlight_class_dev_pm_ops; pm 597 drivers/video/backlight/corgi_lcd.c .pm = &corgi_lcd_pm_ops, pm 128 drivers/video/backlight/ep93xx_bl.c .pm = &ep93xxbl_pm_ops, pm 142 drivers/video/backlight/hp680_bl.c .pm = &hp680bl_pm_ops, pm 169 drivers/video/backlight/kb3886_bl.c .pm = &kb3886bl_pm_ops, pm 396 drivers/video/backlight/lm3533_bl.c .pm = &lm3533_bl_pm_ops, pm 421 drivers/video/backlight/lms501kf03.c .pm = &lms501kf03_pm_ops, pm 233 drivers/video/backlight/locomolcd.c .pm = &locomolcd_pm_ops, pm 295 drivers/video/backlight/ltv350qv.c .pm = <v350qv_pm_ops, pm 167 drivers/video/backlight/omap1_bl.c .pm = &omapbl_pm_ops, pm 147 drivers/video/backlight/platform_lcd.c .pm = &platform_lcd_pm_ops, pm 716 drivers/video/backlight/pwm_bl.c .pm = &pwm_backlight_pm_ops, pm 437 drivers/video/backlight/tdo24m.c .pm = &tdo24m_pm_ops, pm 162 drivers/video/backlight/tosa_bl.c .pm = &tosa_bl_pm_ops, pm 261 drivers/video/backlight/tosa_lcd.c .pm = &tosa_lcd_pm_ops, pm 251 drivers/video/backlight/vgg2432a4.c .pm = &vgg2432a4_pm_ops, pm 1994 drivers/video/fbdev/aty/atyfb_base.c u32 pm; pm 1997 drivers/video/fbdev/aty/atyfb_base.c pm = aty_ld_lcd(POWER_MANAGEMENT, par); pm 1998 drivers/video/fbdev/aty/atyfb_base.c pm = (pm & ~PWR_MGT_MODE_MASK) | PWR_MGT_MODE_REG; pm 1999 drivers/video/fbdev/aty/atyfb_base.c aty_st_lcd(POWER_MANAGEMENT, pm, par); pm 2000 drivers/video/fbdev/aty/atyfb_base.c pm = aty_ld_lcd(POWER_MANAGEMENT, par); pm 2005 drivers/video/fbdev/aty/atyfb_base.c pm &= ~PWR_MGT_ON; pm 2006 drivers/video/fbdev/aty/atyfb_base.c aty_st_lcd(POWER_MANAGEMENT, pm, par); pm 2007 drivers/video/fbdev/aty/atyfb_base.c pm = aty_ld_lcd(POWER_MANAGEMENT, par); pm 2009 drivers/video/fbdev/aty/atyfb_base.c pm &= ~(PWR_BLON | AUTO_PWR_UP); pm 2010 drivers/video/fbdev/aty/atyfb_base.c pm |= SUSPEND_NOW; pm 2011 drivers/video/fbdev/aty/atyfb_base.c aty_st_lcd(POWER_MANAGEMENT, pm, par); pm 2012 drivers/video/fbdev/aty/atyfb_base.c pm = aty_ld_lcd(POWER_MANAGEMENT, par); pm 2014 drivers/video/fbdev/aty/atyfb_base.c pm |= PWR_MGT_ON; pm 2015 drivers/video/fbdev/aty/atyfb_base.c aty_st_lcd(POWER_MANAGEMENT, pm, par); pm 2017 drivers/video/fbdev/aty/atyfb_base.c pm = aty_ld_lcd(POWER_MANAGEMENT, par); pm 2021 drivers/video/fbdev/aty/atyfb_base.c } while ((pm & PWR_MGT_STATUS_MASK) != PWR_MGT_STATUS_SUSPEND); pm 2024 drivers/video/fbdev/aty/atyfb_base.c pm &= ~PWR_MGT_ON; pm 2025 drivers/video/fbdev/aty/atyfb_base.c aty_st_lcd(POWER_MANAGEMENT, pm, par); pm 2026 drivers/video/fbdev/aty/atyfb_base.c pm = aty_ld_lcd(POWER_MANAGEMENT, par); pm 2028 drivers/video/fbdev/aty/atyfb_base.c pm &= ~SUSPEND_NOW; pm 2029 drivers/video/fbdev/aty/atyfb_base.c pm |= (PWR_BLON | AUTO_PWR_UP); pm 2030 drivers/video/fbdev/aty/atyfb_base.c aty_st_lcd(POWER_MANAGEMENT, pm, par); pm 2031 drivers/video/fbdev/aty/atyfb_base.c pm = aty_ld_lcd(POWER_MANAGEMENT, par); pm 2033 drivers/video/fbdev/aty/atyfb_base.c pm |= PWR_MGT_ON; pm 2034 drivers/video/fbdev/aty/atyfb_base.c aty_st_lcd(POWER_MANAGEMENT, pm, par); pm 2036 drivers/video/fbdev/aty/atyfb_base.c pm = aty_ld_lcd(POWER_MANAGEMENT, par); pm 2040 drivers/video/fbdev/aty/atyfb_base.c } while ((pm & PWR_MGT_STATUS_MASK) != 0); pm 2780 drivers/video/fbdev/aty/atyfb_base.c u32 pm = aty_ld_lcd(POWER_MANAGEMENT, par); pm 2781 drivers/video/fbdev/aty/atyfb_base.c pm &= ~PWR_BLON; pm 2782 drivers/video/fbdev/aty/atyfb_base.c aty_st_lcd(POWER_MANAGEMENT, pm, par); pm 2809 drivers/video/fbdev/aty/atyfb_base.c u32 pm = aty_ld_lcd(POWER_MANAGEMENT, par); pm 2810 drivers/video/fbdev/aty/atyfb_base.c pm |= PWR_BLON; pm 2811 drivers/video/fbdev/aty/atyfb_base.c aty_st_lcd(POWER_MANAGEMENT, pm, par); pm 51 drivers/video/fbdev/aty/radeon_pm.c #define BUGFIX(model, sv, sd, pm, fn) { \ pm 55 drivers/video/fbdev/aty/radeon_pm.c .pm_mode_modifier = pm, \ pm 1837 drivers/video/fbdev/au1200fb.c .pm = AU1200FB_PMOPS, pm 215 drivers/video/fbdev/cg6.c u32 pm; pm 335 drivers/video/fbdev/cg6.c sbus_writel(~(u32)0, &fbc->pm); pm 419 drivers/video/fbdev/cg6.c sbus_writel(0xff, &fbc->pm); pm 1660 drivers/video/fbdev/da8xx-fb.c .pm = &fb_pm_ops, pm 467 drivers/video/fbdev/hitfb.c .pm = &hitfb_dev_pm_ops, pm 1115 drivers/video/fbdev/imxfb.c .pm = &imxfb_pm_ops, pm 387 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c .pm = NEC_8048_PM_OPS, pm 637 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c .pm = &tpo_td043_spi_pm, pm 4192 drivers/video/fbdev/omap2/omapfb/dss/dispc.c .pm = &dispc_pm_ops, pm 5570 drivers/video/fbdev/omap2/omapfb/dss/dsi.c .pm = &dsi_pm_ops, pm 1290 drivers/video/fbdev/omap2/omapfb/dss/dss.c .pm = &dss_pm_ops, pm 801 drivers/video/fbdev/omap2/omapfb/dss/hdmi4.c .pm = &hdmi_pm_ops, pm 841 drivers/video/fbdev/omap2/omapfb/dss/hdmi5.c .pm = &hdmi_pm_ops, pm 972 drivers/video/fbdev/omap2/omapfb/dss/venc.c .pm = &venc_pm_ops, pm 2449 drivers/video/fbdev/pxafb.c .pm = &pxafb_pm_ops, pm 1804 drivers/video/fbdev/s3c-fb.c .pm = &s3cfb_pm_ops, pm 2657 drivers/video/fbdev/sh_mobile_lcdcfb.c .pm = &sh_mobile_lcdc_dev_pm_ops, pm 1761 drivers/video/fbdev/sm712fb.c .driver.pm = &sm7xx_pm_ops, pm 625 drivers/virtio/virtio_pci_common.c .driver.pm = &virtio_pci_pm_ops, pm 195 drivers/w1/masters/w1-gpio.c .pm = &w1_gpio_pm_ops, pm 363 drivers/watchdog/armada_37xx_wdt.c .pm = &armada_37xx_wdt_dev_pm_ops, pm 211 drivers/watchdog/atlas7_wdt.c .pm = &atlas7_wdt_pm_ops, pm 172 drivers/watchdog/bcm2835_wdt.c struct bcm2835_pm *pm = dev_get_drvdata(pdev->dev.parent); pm 183 drivers/watchdog/bcm2835_wdt.c wdt->base = pm->base; pm 206 drivers/watchdog/bcm7038_wdt.c .pm = &bcm7038_wdt_pm_ops, pm 432 drivers/watchdog/cadence_wdt.c .pm = &cdns_wdt_pm_ops, pm 334 drivers/watchdog/dw_wdt.c .pm = &dw_wdt_pm_ops, pm 223 drivers/watchdog/ftwdt010_wdt.c .pm = &ftwdt010_wdt_dev_pm_ops, pm 637 drivers/watchdog/iTCO_wdt.c .pm = ITCO_WDT_PM_OPS, pm 426 drivers/watchdog/imx2_wdt.c .pm = &imx2_wdt_pm_ops, pm 251 drivers/watchdog/imx7ulp_wdt.c .pm = &imx7ulp_wdt_pm_ops, pm 255 drivers/watchdog/imx_sc_wdt.c .pm = &imx_sc_wdt_pm_ops, pm 197 drivers/watchdog/meson_gxbb_wdt.c .pm = &meson_gxbb_wdt_pm_ops, pm 235 drivers/watchdog/mtk_wdt.c .pm = &mtk_wdt_pm_ops, pm 302 drivers/watchdog/of_xilinx_wdt.c .pm = &xwdt_pm_ops, pm 326 drivers/watchdog/qcom-wdt.c .pm = &qcom_wdt_pm_ops, pm 309 drivers/watchdog/renesas_wdt.c .pm = &rwdt_pm_ops, pm 732 drivers/watchdog/s3c2410_wdt.c .pm = &s3c2410wdt_pm_ops, pm 315 drivers/watchdog/sama5d4_wdt.c .pm = &sama5d4_wdt_pm_ops, pm 357 drivers/watchdog/sbsa_gwdt.c .pm = &sbsa_gwdt_pm_ops, pm 206 drivers/watchdog/sirfsoc_wdt.c .pm = &sirfsoc_wdt_pm_ops, pm 353 drivers/watchdog/sp805_wdt.c .pm = &sp805_wdt_dev_pm_ops, pm 375 drivers/watchdog/sprd_wdt.c .pm = &sprd_wdt_pm_ops, pm 297 drivers/watchdog/st_lpc_wdt.c .pm = &st_wdog_pm_ops, pm 144 drivers/watchdog/stmp3xxx_rtc_wdt.c .pm = &stmp3xxx_wdt_pm_ops, pm 270 drivers/watchdog/tegra_wdt.c .pm = &tegra_wdt_pm_ops, pm 540 drivers/watchdog/wdat_wdt.c .pm = &wdat_wdt_pm_ops, pm 152 drivers/xen/xenbus/xenbus_probe_frontend.c .pm = &xenbus_pm_ops, pm 3095 fs/btrfs/send.c struct pending_dir_move *entry = NULL, *pm; pm 3100 fs/btrfs/send.c pm = kmalloc(sizeof(*pm), GFP_KERNEL); pm 3101 fs/btrfs/send.c if (!pm) pm 3103 fs/btrfs/send.c pm->parent_ino = parent_ino; pm 3104 fs/btrfs/send.c pm->ino = ino; pm 3105 fs/btrfs/send.c pm->gen = ino_gen; pm 3106 fs/btrfs/send.c INIT_LIST_HEAD(&pm->list); pm 3107 fs/btrfs/send.c INIT_LIST_HEAD(&pm->update_refs); pm 3108 fs/btrfs/send.c RB_CLEAR_NODE(&pm->node); pm 3124 fs/btrfs/send.c ret = dup_ref(cur, &pm->update_refs); pm 3129 fs/btrfs/send.c ret = dup_ref(cur, &pm->update_refs); pm 3134 fs/btrfs/send.c ret = add_waiting_dir_move(sctx, pm->ino, is_orphan); pm 3139 fs/btrfs/send.c list_add_tail(&pm->list, &entry->list); pm 3141 fs/btrfs/send.c rb_link_node(&pm->node, parent, p); pm 3142 fs/btrfs/send.c rb_insert_color(&pm->node, &sctx->pending_dir_moves); pm 3147 fs/btrfs/send.c __free_recorded_refs(&pm->update_refs); pm 3148 fs/btrfs/send.c kfree(pm); pm 3213 fs/btrfs/send.c static int apply_dir_move(struct send_ctx *sctx, struct pending_dir_move *pm) pm 3234 fs/btrfs/send.c dm = get_waiting_dir_move(sctx, pm->ino); pm 3241 fs/btrfs/send.c ret = gen_unique_name(sctx, pm->ino, pm 3242 fs/btrfs/send.c pm->gen, from_path); pm 3244 fs/btrfs/send.c ret = get_first_ref(sctx->parent_root, pm->ino, pm 3258 fs/btrfs/send.c ret = path_loop(sctx, name, pm->ino, pm->gen, &ancestor); pm 3264 fs/btrfs/send.c ret = add_pending_dir_move(sctx, pm->ino, pm->gen, ancestor, pm 3265 fs/btrfs/send.c &pm->update_refs, &deleted_refs, pm 3270 fs/btrfs/send.c dm = get_waiting_dir_move(sctx, pm->ino); pm 3279 fs/btrfs/send.c ret = get_cur_path(sctx, pm->ino, pm->gen, to_path); pm 3318 fs/btrfs/send.c ret = send_utimes(sctx, pm->ino, pm->gen); pm 3326 fs/btrfs/send.c list_for_each_entry(cur, &pm->update_refs, list) { pm 3383 fs/btrfs/send.c struct pending_dir_move *pm; pm 3388 fs/btrfs/send.c pm = get_pending_dir_moves(sctx, parent_ino); pm 3389 fs/btrfs/send.c if (!pm) pm 3393 fs/btrfs/send.c tail_append_pending_moves(sctx, pm, &stack); pm 3396 fs/btrfs/send.c pm = list_first_entry(&stack, struct pending_dir_move, list); pm 3397 fs/btrfs/send.c parent_ino = pm->ino; pm 3398 fs/btrfs/send.c ret = apply_dir_move(sctx, pm); pm 3399 fs/btrfs/send.c free_pending_move(sctx, pm); pm 3402 fs/btrfs/send.c pm = get_pending_dir_moves(sctx, parent_ino); pm 3403 fs/btrfs/send.c if (pm) pm 3404 fs/btrfs/send.c tail_append_pending_moves(sctx, pm, &stack); pm 3410 fs/btrfs/send.c pm = list_first_entry(&stack, struct pending_dir_move, list); pm 3411 fs/btrfs/send.c free_pending_move(sctx, pm); pm 7310 fs/btrfs/send.c struct pending_dir_move *pm; pm 7313 fs/btrfs/send.c pm = rb_entry(n, struct pending_dir_move, node); pm 7314 fs/btrfs/send.c while (!list_empty(&pm->list)) { pm 7317 fs/btrfs/send.c pm2 = list_first_entry(&pm->list, pm 7321 fs/btrfs/send.c free_pending_move(sctx, pm); pm 73 fs/hfs/part_tbl.c struct old_pmap *pm; pm 76 fs/hfs/part_tbl.c pm = (struct old_pmap *)bh->b_data; pm 77 fs/hfs/part_tbl.c p = pm->pdEntry; pm 92 fs/hfs/part_tbl.c struct new_pmap *pm; pm 94 fs/hfs/part_tbl.c pm = (struct new_pmap *)bh->b_data; pm 95 fs/hfs/part_tbl.c size = be32_to_cpu(pm->pmMapBlkCnt); pm 97 fs/hfs/part_tbl.c if (!memcmp(pm->pmPartType,"Apple_HFS", 9) && pm 99 fs/hfs/part_tbl.c *part_start += be32_to_cpu(pm->pmPyPartStart); pm 100 fs/hfs/part_tbl.c *part_size = be32_to_cpu(pm->pmPartBlkCnt); pm 105 fs/hfs/part_tbl.c bh = sb_bread512(sb, *part_start + HFS_PMAP_BLK + ++i, pm); pm 108 fs/hfs/part_tbl.c if (pm->pmSig != cpu_to_be16(HFS_NEW_PMAP_MAGIC)) pm 70 fs/hfsplus/part_tbl.c static int hfs_parse_old_pmap(struct super_block *sb, struct old_pmap *pm, pm 77 fs/hfsplus/part_tbl.c struct old_pmap_entry *p = &pm->pdEntry[i]; pm 92 fs/hfsplus/part_tbl.c struct new_pmap *pm, sector_t *part_start, sector_t *part_size) pm 95 fs/hfsplus/part_tbl.c int size = be32_to_cpu(pm->pmMapBlkCnt); pm 101 fs/hfsplus/part_tbl.c if (!memcmp(pm->pmPartType, "Apple_HFS", 9) && pm 103 fs/hfsplus/part_tbl.c *part_start += be32_to_cpu(pm->pmPyPartStart); pm 104 fs/hfsplus/part_tbl.c *part_size = be32_to_cpu(pm->pmPartBlkCnt); pm 111 fs/hfsplus/part_tbl.c pm = (struct new_pmap *)((u8 *)pm + HFSPLUS_SECTOR_SIZE); pm 112 fs/hfsplus/part_tbl.c if ((u8 *)pm - (u8 *)buf >= buf_size) { pm 115 fs/hfsplus/part_tbl.c buf, (void **)&pm, REQ_OP_READ, pm 120 fs/hfsplus/part_tbl.c } while (pm->pmSig == cpu_to_be16(HFS_NEW_PMAP_MAGIC)); pm 1276 fs/proc/task_mmu.c struct pagemapread *pm) pm 1278 fs/proc/task_mmu.c pm->buffer[pm->pos++] = *pme; pm 1279 fs/proc/task_mmu.c if (pm->pos >= pm->len) pm 1287 fs/proc/task_mmu.c struct pagemapread *pm = walk->private; pm 1303 fs/proc/task_mmu.c err = add_to_pagemap(addr, &pme, pm); pm 1315 fs/proc/task_mmu.c err = add_to_pagemap(addr, &pme, pm); pm 1324 fs/proc/task_mmu.c static pagemap_entry_t pte_to_pagemap_entry(struct pagemapread *pm, pm 1331 fs/proc/task_mmu.c if (pm->show_pfn) pm 1342 fs/proc/task_mmu.c if (pm->show_pfn) pm 1367 fs/proc/task_mmu.c struct pagemapread *pm = walk->private; pm 1388 fs/proc/task_mmu.c if (pm->show_pfn) pm 1397 fs/proc/task_mmu.c if (pm->show_pfn) { pm 1417 fs/proc/task_mmu.c err = add_to_pagemap(addr, &pme, pm); pm 1420 fs/proc/task_mmu.c if (pm->show_pfn) { pm 1443 fs/proc/task_mmu.c pme = pte_to_pagemap_entry(pm, vma, addr, *pte); pm 1444 fs/proc/task_mmu.c err = add_to_pagemap(addr, &pme, pm); pm 1461 fs/proc/task_mmu.c struct pagemapread *pm = walk->private; pm 1481 fs/proc/task_mmu.c if (pm->show_pfn) pm 1489 fs/proc/task_mmu.c err = add_to_pagemap(addr, &pme, pm); pm 1492 fs/proc/task_mmu.c if (pm->show_pfn && (flags & PM_PRESENT)) pm 1540 fs/proc/task_mmu.c struct pagemapread pm; pm 1560 fs/proc/task_mmu.c pm.show_pfn = file_ns_capable(file, &init_user_ns, CAP_SYS_ADMIN); pm 1562 fs/proc/task_mmu.c pm.len = (PAGEMAP_WALK_SIZE >> PAGE_SHIFT); pm 1563 fs/proc/task_mmu.c pm.buffer = kmalloc_array(pm.len, PM_ENTRY_BYTES, GFP_KERNEL); pm 1565 fs/proc/task_mmu.c if (!pm.buffer) pm 1588 fs/proc/task_mmu.c pm.pos = 0; pm 1596 fs/proc/task_mmu.c ret = walk_page_range(mm, start_vaddr, end, &pagemap_ops, &pm); pm 1600 fs/proc/task_mmu.c len = min(count, PM_ENTRY_BYTES * pm.pos); pm 1601 fs/proc/task_mmu.c if (copy_to_user(buf, pm.buffer, len)) { pm 1614 fs/proc/task_mmu.c kfree(pm.buffer); pm 583 include/linux/ccp.h struct ccp_ecc_point_math pm; pm 139 include/linux/device.h const struct dev_pm_ops *pm; pm 389 include/linux/device.h const struct dev_pm_ops *pm; pm 594 include/linux/device.h const struct dev_pm_ops *pm; pm 801 include/linux/device.h const struct dev_pm_ops *pm; pm 41 include/linux/intel-ish-client-if.h const struct dev_pm_ops *pm; pm 9640 include/linux/mlx5/mlx5_ifc.h u8 pm[0x8]; pm 22 include/linux/platform_data/sa11x0-serial.h void (*pm)(struct uart_port *, u_int, u_int); pm 39 include/linux/serial_8250.h void (*pm)(struct uart_port *, unsigned int state, pm 55 include/linux/serial_core.h void (*pm)(struct uart_port *, unsigned int state, pm 130 include/linux/serial_core.h void (*pm)(struct uart_port *, unsigned int state, pm 874 kernel/time/alarmtimer.c .pm = &alarmtimer_pm_ops, pm 592 net/8021q/vlan_dev.c struct vlan_priority_tci_mapping *pm; pm 597 net/8021q/vlan_dev.c while ((pm = vlan->egress_priority_map[i]) != NULL) { pm 598 net/8021q/vlan_dev.c vlan->egress_priority_map[i] = pm->next; pm 599 net/8021q/vlan_dev.c kfree(pm); pm 216 net/8021q/vlan_netlink.c struct vlan_priority_tci_mapping *pm; pm 255 net/8021q/vlan_netlink.c for (pm = vlan->egress_priority_map[i]; pm; pm 256 net/8021q/vlan_netlink.c pm = pm->next) { pm 257 net/8021q/vlan_netlink.c if (!pm->vlan_qos) pm 260 net/8021q/vlan_netlink.c m.from = pm->priority; pm 261 net/8021q/vlan_netlink.c m.to = (pm->vlan_qos >> 13) & 0x7; pm 100 net/ieee802154/sysfs.c .pm = WPAN_PHY_PM_OPS, pm 228 net/iucv/af_iucv.c .pm = &afiucv_pm_ops, pm 95 net/iucv/iucv.c .pm = &iucv_pm_ops, pm 1844 net/iucv/iucv.c if (dev->driver && dev->driver->pm && dev->driver->pm->prepare) pm 1845 net/iucv/iucv.c rc = dev->driver->pm->prepare(dev); pm 1854 net/iucv/iucv.c if (dev->driver && dev->driver->pm && dev->driver->pm->complete) pm 1855 net/iucv/iucv.c dev->driver->pm->complete(dev); pm 1905 net/iucv/iucv.c if (dev->driver && dev->driver->pm && dev->driver->pm->freeze) pm 1906 net/iucv/iucv.c rc = dev->driver->pm->freeze(dev); pm 1941 net/iucv/iucv.c if (dev->driver && dev->driver->pm && dev->driver->pm->thaw) pm 1942 net/iucv/iucv.c rc = dev->driver->pm->thaw(dev); pm 1971 net/iucv/iucv.c if (dev->driver && dev->driver->pm && dev->driver->pm->restore) pm 1972 net/iucv/iucv.c rc = dev->driver->pm->restore(dev); pm 244 net/mac80211/mesh.h enum nl80211_mesh_power_mode pm); pm 149 net/mac80211/mesh_ps.c enum nl80211_mesh_power_mode pm) pm 153 net/mac80211/mesh_ps.c if (sta->mesh->local_pm == pm) pm 157 net/mac80211/mesh_ps.c pm, sta->sta.addr); pm 159 net/mac80211/mesh_ps.c sta->mesh->local_pm = pm; pm 187 net/mac80211/mesh_ps.c enum nl80211_mesh_power_mode pm; pm 198 net/mac80211/mesh_ps.c pm = sta->mesh->local_pm; pm 200 net/mac80211/mesh_ps.c pm = sdata->u.mesh.nonpeer_pm; pm 202 net/mac80211/mesh_ps.c if (pm == NL80211_MESH_POWER_ACTIVE) pm 213 net/mac80211/mesh_ps.c pm == NL80211_MESH_POWER_DEEP_SLEEP) || pm 230 net/mac80211/mesh_ps.c enum nl80211_mesh_power_mode pm; pm 243 net/mac80211/mesh_ps.c pm = sta->mesh->peer_pm; pm 245 net/mac80211/mesh_ps.c pm = sta->mesh->nonpeer_pm; pm 247 net/mac80211/mesh_ps.c do_buffer = (pm != NL80211_MESH_POWER_ACTIVE); pm 274 net/mac80211/mesh_ps.c enum nl80211_mesh_power_mode pm; pm 289 net/mac80211/mesh_ps.c pm = NL80211_MESH_POWER_DEEP_SLEEP; pm 291 net/mac80211/mesh_ps.c pm = NL80211_MESH_POWER_LIGHT_SLEEP; pm 293 net/mac80211/mesh_ps.c pm = NL80211_MESH_POWER_ACTIVE; pm 296 net/mac80211/mesh_ps.c if (sta->mesh->peer_pm == pm) pm 300 net/mac80211/mesh_ps.c sta->sta.addr, pm); pm 302 net/mac80211/mesh_ps.c sta->mesh->peer_pm = pm; pm 310 net/mac80211/mesh_ps.c enum nl80211_mesh_power_mode pm; pm 313 net/mac80211/mesh_ps.c pm = NL80211_MESH_POWER_DEEP_SLEEP; pm 315 net/mac80211/mesh_ps.c pm = NL80211_MESH_POWER_ACTIVE; pm 317 net/mac80211/mesh_ps.c if (sta->mesh->nonpeer_pm == pm) pm 321 net/mac80211/mesh_ps.c sta->sta.addr, pm); pm 323 net/mac80211/mesh_ps.c sta->mesh->nonpeer_pm = pm; pm 288 net/phonet/af_phonet.c const struct phonetmsg *pm; pm 301 net/phonet/af_phonet.c pm = pn_msg(skb); pm 302 net/phonet/af_phonet.c if (pm->pn_msg_id != PN_COMMON_MESSAGE) pm 305 net/phonet/af_phonet.c ? pm->pn_e_submsg_id : pm->pn_submsg_id; pm 307 net/phonet/af_phonet.c pm->pn_e_submsg_id != PN_COMM_SERVICE_NOT_IDENTIFIED_RESP) pm 902 net/rfkill/core.c .pm = RFKILL_PM_OPS, pm 588 net/tipc/group.c struct tipc_member *m, *rm, *pm; pm 621 net/tipc/group.c pm = list_first_entry(&grp->pending, struct tipc_member, list); pm 622 net/tipc/group.c list_del_init(&pm->list); pm 623 net/tipc/group.c pm->state = MBR_JOINED; pm 624 net/tipc/group.c tipc_group_proto_xmit(grp, pm, GRP_ADV_MSG, xmitq); pm 647 net/tipc/group.c pm = list_first_entry(&grp->pending, struct tipc_member, list); pm 648 net/tipc/group.c pm->state = MBR_ACTIVE; pm 649 net/tipc/group.c list_move_tail(&pm->list, &grp->active); pm 651 net/tipc/group.c tipc_group_proto_xmit(grp, pm, GRP_ADV_MSG, xmitq); pm 740 net/tipc/group.c struct tipc_member *m, *pm; pm 834 net/tipc/group.c pm = list_first_entry(&grp->pending, struct tipc_member, list); pm 835 net/tipc/group.c pm->state = MBR_ACTIVE; pm 836 net/tipc/group.c list_move_tail(&pm->list, &grp->active); pm 838 net/tipc/group.c if (pm->advertised <= (ADV_ACTIVE * 3 / 4)) pm 839 net/tipc/group.c tipc_group_proto_xmit(grp, pm, GRP_ADV_MSG, xmitq); pm 161 net/wireless/sysfs.c .pm = WIPHY_PM_OPS, pm 541 sound/ac97/bus.c .pm = &ac97_pm, pm 1163 sound/aoa/fabrics/layout.c .pm = &aoa_fabric_layout_pm_ops, pm 1098 sound/arm/aaci.c .pm = AACI_DEV_PM_OPS, pm 297 sound/arm/pxa2xx-ac97.c .pm = &pxa2xx_ac97_pm_ops, pm 886 sound/atmel/ac97c.c .pm = ATMEL_AC97C_PM_OPS, pm 620 sound/core/pcm.c .pm = &pcm_dev_pm_ops, pm 1211 sound/drivers/aloop.c .pm = LOOPBACK_PM_OPS, pm 1147 sound/drivers/dummy.c .pm = SND_DUMMY_PM_OPS, pm 219 sound/drivers/pcsp/pcsp.c .pm = PCSP_PM_OPS, pm 78 sound/drivers/portman2x4.c static int portman_free(struct portman *pm) pm 80 sound/drivers/portman2x4.c kfree(pm); pm 88 sound/drivers/portman2x4.c struct portman *pm; pm 92 sound/drivers/portman2x4.c pm = kzalloc(sizeof(struct portman), GFP_KERNEL); pm 93 sound/drivers/portman2x4.c if (pm == NULL) pm 97 sound/drivers/portman2x4.c spin_lock_init(&pm->reg_lock); pm 98 sound/drivers/portman2x4.c pm->card = card; pm 99 sound/drivers/portman2x4.c pm->pardev = pardev; pm 101 sound/drivers/portman2x4.c *rchip = pm; pm 181 sound/drivers/portman2x4.c static inline void portman_write_command(struct portman *pm, u8 value) pm 183 sound/drivers/portman2x4.c parport_write_control(pm->pardev->port, value); pm 186 sound/drivers/portman2x4.c static inline u8 portman_read_command(struct portman *pm) pm 188 sound/drivers/portman2x4.c return parport_read_control(pm->pardev->port); pm 191 sound/drivers/portman2x4.c static inline u8 portman_read_status(struct portman *pm) pm 193 sound/drivers/portman2x4.c return parport_read_status(pm->pardev->port); pm 196 sound/drivers/portman2x4.c static inline u8 portman_read_data(struct portman *pm) pm 198 sound/drivers/portman2x4.c return parport_read_data(pm->pardev->port); pm 201 sound/drivers/portman2x4.c static inline void portman_write_data(struct portman *pm, u8 value) pm 203 sound/drivers/portman2x4.c parport_write_data(pm->pardev->port, value); pm 206 sound/drivers/portman2x4.c static void portman_write_midi(struct portman *pm, pm 228 sound/drivers/portman2x4.c portman_write_command(pm, command); pm 234 sound/drivers/portman2x4.c portman_write_data(pm, mididata); pm 239 sound/drivers/portman2x4.c } while ((portman_read_status(pm) & TXEMPTY) != TXEMPTY); pm 246 sound/drivers/portman2x4.c portman_write_command(pm, command | STROBE); pm 253 sound/drivers/portman2x4.c while ((portman_read_status(pm) & ESTB) == 0) pm 257 sound/drivers/portman2x4.c portman_write_command(pm, command); pm 259 sound/drivers/portman2x4.c while ((portman_read_status(pm) & ESTB) == ESTB) pm 266 sound/drivers/portman2x4.c while ((portman_read_status(pm) & BUSY) == BUSY) pm 278 sound/drivers/portman2x4.c static int portman_read_midi(struct portman *pm, int port) pm 284 sound/drivers/portman2x4.c portman_write_data(pm, 0); /* Make sure edge is down. */ pm 288 sound/drivers/portman2x4.c portman_write_command(pm, cmdout); pm 290 sound/drivers/portman2x4.c while ((portman_read_status(pm) & ESTB) == ESTB) pm 296 sound/drivers/portman2x4.c if ((portman_read_status(pm) & RXAVAIL) == 0) pm 300 sound/drivers/portman2x4.c portman_write_command(pm, cmdout | STROBE); /* Write address+IE+Strobe. */ pm 302 sound/drivers/portman2x4.c while ((portman_read_status(pm) & ESTB) == 0) pm 306 sound/drivers/portman2x4.c midi_data = (portman_read_status(pm) & 128); pm 307 sound/drivers/portman2x4.c portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ pm 310 sound/drivers/portman2x4.c portman_write_data(pm, 0); /* Cause falling edge while data settles. */ pm 311 sound/drivers/portman2x4.c midi_data |= (portman_read_status(pm) >> 1) & 64; pm 312 sound/drivers/portman2x4.c portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ pm 315 sound/drivers/portman2x4.c portman_write_data(pm, 0); /* Cause falling edge while data settles. */ pm 316 sound/drivers/portman2x4.c midi_data |= (portman_read_status(pm) >> 2) & 32; pm 317 sound/drivers/portman2x4.c portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ pm 320 sound/drivers/portman2x4.c portman_write_data(pm, 0); /* Cause falling edge while data settles. */ pm 321 sound/drivers/portman2x4.c midi_data |= (portman_read_status(pm) >> 3) & 16; pm 322 sound/drivers/portman2x4.c portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ pm 325 sound/drivers/portman2x4.c portman_write_data(pm, 0); /* Cause falling edge while data settles. */ pm 326 sound/drivers/portman2x4.c midi_data |= (portman_read_status(pm) >> 4) & 8; pm 327 sound/drivers/portman2x4.c portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ pm 330 sound/drivers/portman2x4.c portman_write_data(pm, 0); /* Cause falling edge while data settles. */ pm 331 sound/drivers/portman2x4.c midi_data |= (portman_read_status(pm) >> 5) & 4; pm 332 sound/drivers/portman2x4.c portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ pm 335 sound/drivers/portman2x4.c portman_write_data(pm, 0); /* Cause falling edge while data settles. */ pm 336 sound/drivers/portman2x4.c midi_data |= (portman_read_status(pm) >> 6) & 2; pm 337 sound/drivers/portman2x4.c portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ pm 340 sound/drivers/portman2x4.c portman_write_data(pm, 0); /* Cause falling edge while data settles. */ pm 341 sound/drivers/portman2x4.c midi_data |= (portman_read_status(pm) >> 7) & 1; pm 342 sound/drivers/portman2x4.c portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ pm 343 sound/drivers/portman2x4.c portman_write_data(pm, 0); /* Return data clock low. */ pm 347 sound/drivers/portman2x4.c portman_write_command(pm, cmdout); /* Output saved address+IE. */ pm 350 sound/drivers/portman2x4.c while ((portman_read_status(pm) & ESTB) == ESTB) pm 360 sound/drivers/portman2x4.c static int portman_data_avail(struct portman *pm, int channel) pm 372 sound/drivers/portman2x4.c portman_write_command(pm, command); pm 374 sound/drivers/portman2x4.c if ((portman_read_status(pm) & RXAVAIL) == RXAVAIL) pm 385 sound/drivers/portman2x4.c static void portman_flush_input(struct portman *pm, unsigned char port) pm 406 sound/drivers/portman2x4.c portman_write_command(pm, command); pm 409 sound/drivers/portman2x4.c portman_write_command(pm, command | STROBE); pm 412 sound/drivers/portman2x4.c while ((portman_read_status(pm) & ESTB) == 0) pm 416 sound/drivers/portman2x4.c portman_write_data(pm, 0); pm 420 sound/drivers/portman2x4.c portman_write_data(pm, 1); pm 421 sound/drivers/portman2x4.c portman_write_data(pm, 0); pm 425 sound/drivers/portman2x4.c portman_write_command(pm, command | INT_EN); pm 428 sound/drivers/portman2x4.c while ((portman_read_status(pm) & ESTB) == ESTB) pm 486 sound/drivers/portman2x4.c static int portman_device_init(struct portman *pm) pm 488 sound/drivers/portman2x4.c portman_flush_input(pm, 0); pm 489 sound/drivers/portman2x4.c portman_flush_input(pm, 1); pm 510 sound/drivers/portman2x4.c struct portman *pm = substream->rmidi->private_data; pm 513 sound/drivers/portman2x4.c spin_lock_irqsave(&pm->reg_lock, flags); pm 515 sound/drivers/portman2x4.c pm->mode[substream->number] |= PORTMAN2X4_MODE_INPUT_TRIGGERED; pm 517 sound/drivers/portman2x4.c pm->mode[substream->number] &= ~PORTMAN2X4_MODE_INPUT_TRIGGERED; pm 518 sound/drivers/portman2x4.c spin_unlock_irqrestore(&pm->reg_lock, flags); pm 524 sound/drivers/portman2x4.c struct portman *pm = substream->rmidi->private_data; pm 528 sound/drivers/portman2x4.c spin_lock_irqsave(&pm->reg_lock, flags); pm 531 sound/drivers/portman2x4.c portman_write_midi(pm, substream->number, byte); pm 533 sound/drivers/portman2x4.c spin_unlock_irqrestore(&pm->reg_lock, flags); pm 551 sound/drivers/portman2x4.c struct portman *pm = card->private_data; pm 563 sound/drivers/portman2x4.c rmidi->private_data = pm; pm 569 sound/drivers/portman2x4.c pm->rmidi = rmidi; pm 589 sound/drivers/portman2x4.c pm->midi_input[substream->number] = substream; pm 603 sound/drivers/portman2x4.c struct portman *pm = ((struct snd_card*)userdata)->private_data; pm 605 sound/drivers/portman2x4.c spin_lock(&pm->reg_lock); pm 608 sound/drivers/portman2x4.c while ((portman_read_status(pm) & INT_REQ) == INT_REQ) { pm 611 sound/drivers/portman2x4.c if (portman_data_avail(pm, 0)) { pm 613 sound/drivers/portman2x4.c midivalue = portman_read_midi(pm, 0); pm 615 sound/drivers/portman2x4.c if (pm->mode[0] & PORTMAN2X4_MODE_INPUT_TRIGGERED) pm 616 sound/drivers/portman2x4.c snd_rawmidi_receive(pm->midi_input[0], pm 622 sound/drivers/portman2x4.c if (portman_data_avail(pm, 1)) { pm 624 sound/drivers/portman2x4.c midivalue = portman_read_midi(pm, 1); pm 626 sound/drivers/portman2x4.c if (pm->mode[1] & PORTMAN2X4_MODE_INPUT_TRIGGERED) pm 627 sound/drivers/portman2x4.c snd_rawmidi_receive(pm->midi_input[1], pm 633 sound/drivers/portman2x4.c spin_unlock(&pm->reg_lock); pm 690 sound/drivers/portman2x4.c struct portman *pm = card->private_data; pm 691 sound/drivers/portman2x4.c struct pardevice *pardev = pm->pardev; pm 698 sound/drivers/portman2x4.c portman_free(pm); pm 707 sound/drivers/portman2x4.c struct portman *pm = NULL; pm 753 sound/drivers/portman2x4.c if ((err = portman_create(card, pardev, &pm)) < 0) { pm 757 sound/drivers/portman2x4.c card->private_data = pm; pm 772 sound/drivers/portman2x4.c if ((err = portman_device_init(pm)) < 0) pm 2259 sound/pci/ali5451/ali5451.c .pm = ALI_PM_OPS, pm 798 sound/pci/als300.c .pm = SND_ALS300_PM_OPS, pm 1018 sound/pci/als4000.c .pm = SND_ALS4000_PM_OPS, pm 1682 sound/pci/atiixp.c .pm = SND_ATIIXP_PM_OPS, pm 1305 sound/pci/atiixp_modem.c .pm = SND_ATIIXP_PM_OPS, pm 2740 sound/pci/azt3328.c .pm = SND_AZF3328_PM_OPS, pm 1945 sound/pci/ca0106/ca0106_main.c .pm = SND_CA0106_PM_OPS, pm 3383 sound/pci/cmipci.c .pm = SND_CMIPCI_PM_OPS, pm 2062 sound/pci/cs4281.c .pm = CS4281_PM_OPS, pm 156 sound/pci/cs46xx/cs46xx.c .pm = &snd_cs46xx_pm, pm 387 sound/pci/cs5535audio/cs5535audio.c .pm = &snd_cs5535audio_pm, pm 92 sound/pci/ctxfi/cthardware.h int (*src_set_pm)(void *blk, unsigned int pm); pm 221 sound/pci/ctxfi/cthw20k1.c static int src_set_pm(void *blk, unsigned int pm) pm 225 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ctl, SRCCTL_PM, pm); pm 221 sound/pci/ctxfi/cthw20k2.c static int src_set_pm(void *blk, unsigned int pm) pm 225 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ctl, SRCCTL_PM, pm); pm 64 sound/pci/ctxfi/ctsrc.c static int src_set_pm(struct src *src, unsigned int pm) pm 69 sound/pci/ctxfi/ctsrc.c hw->src_set_pm(src->rsc.ctrl_blk, pm); pm 57 sound/pci/ctxfi/ctsrc.h int (*set_pm)(struct src *src, unsigned int pm); pm 155 sound/pci/ctxfi/xfi.c .pm = CT_CARD_PM_OPS, pm 2273 sound/pci/echoaudio/echoaudio.c .pm = SND_ECHO_PM_OPS, pm 257 sound/pci/emu10k1/emu10k1.c .pm = SND_EMU10K1_PM_OPS, pm 2453 sound/pci/ens1370.c .pm = SND_ENSONIQ_PM_OPS, pm 1863 sound/pci/es1938.c .pm = ES1938_PM_OPS, pm 2915 sound/pci/es1968.c .pm = ES1968_PM_OPS, pm 1448 sound/pci/fm801.c .pm = SND_FM801_PM_OPS, pm 179 sound/pci/hda/hda_bind.c drv->core.driver.pm = &hda_codec_driver_pm; pm 2679 sound/pci/hda/hda_intel.c .pm = AZX_PM_OPS, pm 522 sound/pci/hda/hda_tegra.c .pm = &hda_tegra_pm, pm 2850 sound/pci/ice1712/ice1712.c .pm = SND_VT1712_PM_OPS, pm 2861 sound/pci/ice1712/ice1724.c .pm = SND_VT1724_PM_OPS, pm 3268 sound/pci/intel8x0.c .pm = INTEL8X0_PM_OPS, pm 1308 sound/pci/intel8x0m.c .pm = INTEL8X0M_PM_OPS, pm 2774 sound/pci/maestro3.c .pm = M3_PM_OPS, pm 1753 sound/pci/nm256/nm256.c .pm = NM256_PM_OPS, pm 863 sound/pci/oxygen/oxygen.c .pm = &oxygen_pci_pm, pm 144 sound/pci/oxygen/se6x.c .pm = &oxygen_pci_pm, pm 89 sound/pci/oxygen/virtuoso.c .pm = &oxygen_pci_pm, pm 2163 sound/pci/riptide/riptide.c .pm = RIPTIDE_PM_OPS, pm 2527 sound/pci/rme96.c .pm = RME96_PM_OPS, pm 1463 sound/pci/sis7019.c .pm = SIS_PM_OPS, pm 167 sound/pci/trident/trident.c .pm = &snd_trident_pm, pm 2628 sound/pci/via82xx.c .pm = SND_VIA82XX_PM_OPS, pm 1208 sound/pci/via82xx_modem.c .pm = SND_VIA82XX_PM_OPS, pm 275 sound/pci/vx222/vx222.c .pm = SND_VX222_PM_OPS, pm 351 sound/pci/ymfpci/ymfpci.c .pm = &snd_ymfpci_pm, pm 158 sound/ppc/powermac.c .pm = SND_PMAC_PM_OPS, pm 481 sound/soc/amd/acp-da7219-max98357a.c .pm = &snd_soc_pm_ops, pm 1410 sound/soc/amd/acp-pcm-dma.c .pm = &acp_pm_ops, pm 195 sound/soc/amd/acp-rt5645.c .pm = &snd_soc_pm_ops, pm 786 sound/soc/amd/raven/acp3x-pcm-dma.c .pm = &acp3x_pm_ops, pm 666 sound/soc/atmel/atmel-classd.c .pm = &snd_soc_pm_ops, pm 733 sound/soc/atmel/atmel-pdmic.c .pm = &snd_soc_pm_ops, pm 190 sound/soc/atmel/atmel_wm8904.c .pm = &snd_soc_pm_ops, pm 338 sound/soc/au1x/ac97c.c .pm = AU1XPSCAC97_PMOPS, pm 50 sound/soc/au1x/db1000.c .pm = &snd_soc_pm_ops, pm 198 sound/soc/au1x/db1200.c .pm = &snd_soc_pm_ops, pm 314 sound/soc/au1x/i2sc.c .pm = AU1XI2SC_PMOPS, pm 447 sound/soc/au1x/psc-ac97.c wd->pm[0] = __raw_readl(PSC_SEL(wd)); pm 462 sound/soc/au1x/psc-ac97.c __raw_writel(wd->pm[0] | PSC_SEL_PS_AC97MODE, PSC_SEL(wd)); pm 488 sound/soc/au1x/psc-ac97.c .pm = AU1XPSCAC97_PMOPS, pm 364 sound/soc/au1x/psc-i2s.c wd->pm[0] = __raw_readl(PSC_SEL(wd)); pm 383 sound/soc/au1x/psc-i2s.c __raw_writel(wd->pm[0], PSC_SEL(wd)); pm 405 sound/soc/au1x/psc-i2s.c .pm = AU1XPSCI2S_PMOPS, pm 20 sound/soc/au1x/psc.h unsigned long pm[2]; pm 722 sound/soc/codecs/ak4458.c .pm = &ak4458_pm, pm 397 sound/soc/codecs/ak5558.c .pm = &ak5558_pm, pm 570 sound/soc/codecs/cs35l32.c .pm = &cs35l32_runtime_pm, pm 1280 sound/soc/codecs/cs35l33.c .pm = &cs35l33_pm_ops, pm 1207 sound/soc/codecs/cs35l34.c .pm = &cs35l34_pm_ops, pm 1961 sound/soc/codecs/cs42l42.c .pm = &cs42l42_runtime_pm, pm 45 sound/soc/codecs/cs42l51-i2c.c .pm = &cs42l51_pm_ops, pm 51 sound/soc/codecs/cs42xx8-i2c.c .pm = &cs42xx8_pm, pm 2697 sound/soc/codecs/cs43130.c .pm = &cs43130_runtime_pm, pm 381 sound/soc/codecs/cs4349.c .pm = &cs4349_runtime_pm, pm 1122 sound/soc/codecs/cs53l30.c .pm = &cs53l30_runtime_pm, pm 1714 sound/soc/codecs/cx2072x.c .pm = &cx2072x_runtime_pm, pm 2229 sound/soc/codecs/hdac_hdmi.c .pm = &hdac_hdmi_pm, pm 2676 sound/soc/codecs/max98090.c .pm = &max98090_pm, pm 420 sound/soc/codecs/max98371.c .pm = NULL, pm 1023 sound/soc/codecs/max98373.c .pm = &max98373_pm, pm 738 sound/soc/codecs/max9860.c .pm = &max9860_pm_ops, pm 640 sound/soc/codecs/max98925.c .pm = NULL, pm 584 sound/soc/codecs/max98926.c .pm = NULL, pm 952 sound/soc/codecs/max98927.c .pm = &max98927_pm, pm 56 sound/soc/codecs/pcm3168a-i2c.c .pm = &pcm3168a_pm_ops, pm 55 sound/soc/codecs/pcm3168a-spi.c .pm = &pcm3168a_pm_ops, pm 78 sound/soc/codecs/pcm512x-i2c.c .pm = &pcm512x_pm_ops, pm 60 sound/soc/codecs/pcm512x-spi.c .pm = &pcm512x_pm_ops, pm 505 sound/soc/codecs/rt5514-spi.c .pm = &rt5514_pm_ops, pm 1331 sound/soc/codecs/rt5514.c .pm = &rt5514_i2_pm_ops, pm 565 sound/soc/codecs/sirf-audio-codec.c .pm = &sirf_audio_codec_pm_ops, pm 761 sound/soc/codecs/tas2552.c .pm = &tas2552_pm, pm 386 sound/soc/codecs/ts3a227e.c .pm = &ts3a227e_pm, pm 540 sound/soc/codecs/uda1380.c u16 pm = uda1380_read_reg_cache(component, UDA1380_PM); pm 556 sound/soc/codecs/uda1380.c uda1380_write(component, UDA1380_PM, R02_PON_PLL | pm); pm 576 sound/soc/codecs/uda1380.c u16 pm = uda1380_read_reg_cache(component, UDA1380_PM); pm 577 sound/soc/codecs/uda1380.c uda1380_write(component, UDA1380_PM, ~R02_PON_PLL & pm); pm 591 sound/soc/codecs/uda1380.c int pm = uda1380_read_reg_cache(component, UDA1380_PM); pm 599 sound/soc/codecs/uda1380.c uda1380_write(component, UDA1380_PM, R02_PON_BIAS | pm); pm 2498 sound/soc/codecs/wm2200.c .pm = &wm2200_pm, pm 2714 sound/soc/codecs/wm5100.c .pm = &wm5100_pm, pm 61 sound/soc/codecs/wm8804-i2c.c .pm = &wm8804_pm, pm 42 sound/soc/codecs/wm8804-spi.c .pm = &wm8804_pm, pm 3876 sound/soc/codecs/wm8962.c .pm = &wm8962_pm, pm 4518 sound/soc/codecs/wm8994.c .pm = &wm8994_pm_ops, pm 1751 sound/soc/codecs/wm_adsp.c le32_to_cpu(adsp1_sizes->dm), le32_to_cpu(adsp1_sizes->pm), pm 1768 sound/soc/codecs/wm_adsp.c le32_to_cpu(adsp2_sizes->pm), le32_to_cpu(adsp2_sizes->zm)); pm 46 sound/soc/codecs/wmfw.h __le32 pm; pm 53 sound/soc/codecs/wmfw.h __le32 pm; pm 752 sound/soc/dwc/dwc-i2s.c .pm = &dwc_pm_ops, pm 729 sound/soc/fsl/fsl-asoc-card.c .pm = &snd_soc_pm_ops, pm 1084 sound/soc/fsl/fsl_asrc.c .pm = &fsl_asrc_pm, pm 581 sound/soc/fsl/fsl_audmix.c .pm = &fsl_audmix_pm, pm 142 sound/soc/fsl/fsl_esai.c u32 psr, pm = 999, maxfp, prod, sub, savesub, i, j; pm 164 sound/soc/fsl/fsl_esai.c pm = ratio; pm 191 sound/soc/fsl/fsl_esai.c pm = i; pm 201 sound/soc/fsl/fsl_esai.c if (pm == 999) { pm 209 sound/soc/fsl/fsl_esai.c psr | ESAI_xCCR_xPM(pm)); pm 1152 sound/soc/fsl/fsl_esai.c .pm = &fsl_esai_pm_ops, pm 815 sound/soc/fsl/fsl_micfil.c .pm = &fsl_micfil_pm_ops, pm 1176 sound/soc/fsl/fsl_sai.c .pm = &fsl_sai_pm_ops, pm 1372 sound/soc/fsl/fsl_spdif.c .pm = &fsl_spdif_pm, pm 679 sound/soc/fsl/fsl_ssi.c u32 pm = 999, div2, psr, stccr, mask, afreq, factor, i; pm 746 sound/soc/fsl/fsl_ssi.c pm = i; pm 755 sound/soc/fsl/fsl_ssi.c if (pm == 999) { pm 760 sound/soc/fsl/fsl_ssi.c stccr = SSI_SxCCR_PM(pm + 1) | (div2 ? SSI_SxCCR_DIV2 : 0) | pm 1690 sound/soc/fsl/fsl_ssi.c .pm = &fsl_ssi_pm, pm 348 sound/soc/fsl/imx-audmix.c .pm = &snd_soc_pm_ops, pm 392 sound/soc/fsl/imx-audmux.c .pm = &imx_audmux_pm, pm 215 sound/soc/fsl/imx-sgtl5000.c .pm = &snd_soc_pm_ops, pm 91 sound/soc/fsl/imx-spdif.c .pm = &snd_soc_pm_ops, pm 702 sound/soc/generic/audio-graph-card.c .pm = &snd_soc_pm_ops, pm 733 sound/soc/generic/simple-card.c .pm = &snd_soc_pm_ops, pm 610 sound/soc/img/img-i2s-in.c .pm = &img_i2s_in_pm_ops pm 615 sound/soc/img/img-i2s-out.c .pm = &img_i2s_out_pm_ops pm 319 sound/soc/img/img-parallel-out.c .pm = &img_prl_out_pm_ops pm 882 sound/soc/img/img-spdif-in.c .pm = &img_spdif_in_pm_ops pm 476 sound/soc/img/img-spdif-out.c .pm = &img_spdif_out_pm_ops pm 277 sound/soc/img/pistachio-internal-dac.c .pm = &pistachio_internal_dac_pm_ops pm 817 sound/soc/intel/atom/sst-mfld-platform-pcm.c .pm = &sst_platform_pm, pm 353 sound/soc/intel/atom/sst/sst_acpi.c .pm = &intel_sst_pm, pm 188 sound/soc/intel/atom/sst/sst_pci.c .pm = &intel_sst_pm, pm 466 sound/soc/intel/baytrail/sst-baytrail-pcm.c .pm = SST_BYT_PM_OPS, pm 737 sound/soc/intel/boards/bxt_da7219_max98357a.c .pm = &snd_soc_pm_ops, pm 644 sound/soc/intel/boards/bxt_rt298.c .pm = &snd_soc_pm_ops, pm 174 sound/soc/intel/boards/byt-max98090.c .pm = &snd_soc_pm_ops, pm 216 sound/soc/intel/boards/byt-rt5640.c .pm = &snd_soc_pm_ops, pm 631 sound/soc/intel/boards/glk_rt5682_max98357a.c .pm = &snd_soc_pm_ops, pm 621 sound/soc/intel/boards/kbl_da7219_max98357a.c .pm = &snd_soc_pm_ops, pm 1156 sound/soc/intel/boards/kbl_da7219_max98927.c .pm = &snd_soc_pm_ops, pm 543 sound/soc/intel/boards/kbl_rt5660.c .pm = &snd_soc_pm_ops, pm 1018 sound/soc/intel/boards/kbl_rt5663_max98927.c .pm = &snd_soc_pm_ops, pm 676 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c .pm = &snd_soc_pm_ops, pm 192 sound/soc/intel/boards/skl_hda_dsp_generic.c .pm = &snd_soc_pm_ops, pm 681 sound/soc/intel/boards/skl_nau88l25_max98357a.c .pm = &snd_soc_pm_ops, pm 724 sound/soc/intel/boards/skl_nau88l25_ssm4567.c .pm = &snd_soc_pm_ops, pm 556 sound/soc/intel/boards/skl_rt286.c .pm = &snd_soc_pm_ops, pm 713 sound/soc/intel/boards/sof_rt5682.c .pm = &snd_soc_pm_ops, pm 1378 sound/soc/intel/haswell/sst-haswell-pcm.c .pm = &hsw_pcm_pm, pm 1209 sound/soc/intel/skylake/skl.c .pm = &skl_pm, pm 1488 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .pm = &mt2701_afe_pm_ops, pm 907 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c .pm = &mt6797_afe_pm_ops, pm 1192 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c .pm = &mt8173_afe_pm_ops, pm 197 sound/soc/mediatek/mt8173/mt8173-max98090.c .pm = &snd_soc_pm_ops, pm 235 sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c .pm = &snd_soc_pm_ops, pm 302 sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c .pm = &snd_soc_pm_ops, pm 326 sound/soc/mediatek/mt8173/mt8173-rt5650.c .pm = &snd_soc_pm_ops, pm 1259 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c .pm = &mt8183_afe_pm_ops, pm 123 sound/soc/pxa/brownstone.c .pm = &snd_soc_pm_ops, pm 306 sound/soc/pxa/corgi.c .pm = &snd_soc_pm_ops, pm 155 sound/soc/pxa/e740_wm9705.c .pm = &snd_soc_pm_ops, pm 138 sound/soc/pxa/e750_wm9705.c .pm = &snd_soc_pm_ops, pm 138 sound/soc/pxa/e800_wm9712.c .pm = &snd_soc_pm_ops, pm 203 sound/soc/pxa/hx4700.c .pm = &snd_soc_pm_ops, pm 89 sound/soc/pxa/imote2.c .pm = &snd_soc_pm_ops, pm 191 sound/soc/pxa/mioa701_wm9713.c .pm = &snd_soc_pm_ops, pm 151 sound/soc/pxa/palm27x.c .pm = &snd_soc_pm_ops, pm 277 sound/soc/pxa/poodle.c .pm = &snd_soc_pm_ops, pm 287 sound/soc/pxa/pxa2xx-ac97.c .pm = &pxa2xx_ac97_pm_ops, pm 329 sound/soc/pxa/spitz.c .pm = &snd_soc_pm_ops, pm 250 sound/soc/pxa/tosa.c .pm = &snd_soc_pm_ops, pm 130 sound/soc/pxa/ttc-dkb.c .pm = &snd_soc_pm_ops, pm 274 sound/soc/rockchip/rk3288_hdmi_analog.c .pm = &snd_soc_pm_ops, pm 566 sound/soc/rockchip/rk3399_gru_sound.c .pm = &snd_soc_pm_ops, pm 718 sound/soc/rockchip/rockchip_i2s.c .pm = &rockchip_i2s_pm_ops, pm 279 sound/soc/rockchip/rockchip_max98090.c .pm = &snd_soc_pm_ops, pm 616 sound/soc/rockchip/rockchip_pdm.c .pm = &rockchip_pdm_pm_ops, pm 231 sound/soc/rockchip/rockchip_rt5645.c .pm = &snd_soc_pm_ops, pm 410 sound/soc/rockchip/rockchip_spdif.c .pm = &rk_spdif_pm_ops, pm 153 sound/soc/samsung/arndale_rt5631.c .pm = &snd_soc_pm_ops, pm 483 sound/soc/samsung/bells.c .pm = &snd_soc_pm_ops, pm 1697 sound/soc/samsung/i2s.c .pm = &samsung_i2s_pm, pm 338 sound/soc/samsung/littlemill.c .pm = &snd_soc_pm_ops, pm 196 sound/soc/samsung/lowland.c .pm = &snd_soc_pm_ops, pm 358 sound/soc/samsung/odroid.c .pm = &snd_soc_pm_ops, pm 101 sound/soc/samsung/s3c24xx_simtec_hermes.c .pm = simtec_audio_pm, pm 89 sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c .pm = simtec_audio_pm, pm 191 sound/soc/samsung/smdk_wm8994.c .pm = &snd_soc_pm_ops, pm 251 sound/soc/samsung/snow.c .pm = &snd_soc_pm_ops, pm 343 sound/soc/samsung/speyside.c .pm = &snd_soc_pm_ops, pm 663 sound/soc/samsung/tm2_wm5110.c .pm = &tm2_pm_ops, pm 242 sound/soc/samsung/tobermory.c .pm = &snd_soc_pm_ops, pm 2096 sound/soc/sh/fsi.c .pm = &fsi_pm_ops, pm 1861 sound/soc/sh/rcar/core.c .pm = &rsnd_pm_ops, pm 151 sound/soc/sirf/sirf-audio.c .pm = &snd_soc_pm_ops, pm 425 sound/soc/sirf/sirf-usp.c .pm = &sirf_usp_pcm_pm_ops, pm 2229 sound/soc/soc-core.c .pm = &snd_soc_pm_ops, pm 114 sound/soc/sof/nocodec.c .pm = &snd_soc_pm_ops, pm 253 sound/soc/sof/sof-acpi-dev.c .pm = &sof_acpi_pm, pm 137 sound/soc/sof/sof-of-dev.c .pm = &sof_of_pm, pm 443 sound/soc/sof/sof-pci-dev.c .pm = &sof_pci_pm, pm 355 sound/soc/spear/spdif_out.c .pm = SPDIF_OUT_DEV_PM_OPS, pm 981 sound/soc/stm/stm32_i2s.c .pm = &stm32_i2s_pm_ops, pm 285 sound/soc/stm/stm32_sai.c .pm = &stm32_sai_pm_ops, pm 1618 sound/soc/stm/stm32_sai_sub.c .pm = &stm32_sai_sub_pm_ops, pm 1061 sound/soc/stm/stm32_spdifrx.c .pm = &stm32_spdifrx_pm_ops, pm 1343 sound/soc/sunxi/sun4i-i2s.c .pm = &sun4i_i2s_pm_ops, pm 609 sound/soc/sunxi/sun4i-spdif.c .pm = &sun4i_spdif_pm, pm 624 sound/soc/sunxi/sun8i-codec.c .pm = &sun8i_codec_pm_ops, pm 438 sound/soc/tegra/tegra20_i2s.c .pm = &tegra20_i2s_pm_ops, pm 350 sound/soc/tegra/tegra20_spdif.c .pm = &tegra20_spdif_pm_ops, pm 668 sound/soc/tegra/tegra30_ahub.c .pm = &tegra30_ahub_pm_ops, pm 560 sound/soc/tegra/tegra30_i2s.c .pm = &tegra30_i2s_pm_ops, pm 252 sound/soc/tegra/tegra_alc5632.c .pm = &snd_soc_pm_ops, pm 286 sound/soc/tegra/tegra_max98090.c .pm = &snd_soc_pm_ops, pm 232 sound/soc/tegra/tegra_rt5640.c .pm = &snd_soc_pm_ops, pm 317 sound/soc/tegra/tegra_rt5677.c .pm = &snd_soc_pm_ops, pm 204 sound/soc/tegra/tegra_sgtl5000.c .pm = &snd_soc_pm_ops, pm 195 sound/soc/tegra/tegra_wm8753.c .pm = &snd_soc_pm_ops, pm 369 sound/soc/tegra/tegra_wm8903.c .pm = &snd_soc_pm_ops, pm 158 sound/soc/tegra/tegra_wm9712.c .pm = &snd_soc_pm_ops, pm 464 sound/soc/ti/davinci-evm.c .pm = &snd_soc_pm_ops, pm 2445 sound/soc/ti/davinci-mcasp.c .pm = &davinci_mcasp_pm_ops, pm 322 sound/soc/ti/omap-abe-twl6040.c .pm = &snd_soc_pm_ops, pm 332 sound/soc/ti/omap-twl4030.c .pm = &snd_soc_pm_ops, pm 644 sound/soc/xtensa/xtfpga-i2s.c .pm = &xtfpga_i2s_pm_ops, pm 1118 sound/spi/at73c213.c .pm = AT73C213_PM_OPS, pm 1883 sound/x86/intel_hdmi_audio.c .pm = &hdmi_lpe_audio_pm, pm 404 tools/perf/util/stat-display.c print_metric_t pm = print_metric_std; pm 410 tools/perf/util/stat-display.c pm = print_metric_only_csv; pm 412 tools/perf/util/stat-display.c pm = print_metric_only; pm 426 tools/perf/util/stat-display.c pm = print_metric_csv; pm 435 tools/perf/util/stat-display.c pm(config, &os, NULL, "", "", 0); pm 462 tools/perf/util/stat-display.c pm(config, &os, NULL, NULL, "", 0); pm 466 tools/perf/util/stat-display.c pm(config, &os, NULL, NULL, "", 0); pm 473 tools/perf/util/stat-display.c out.print_metric = pm;