proc_priv 275 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c static int proc_thermal_read_ppcc(struct proc_thermal_device *proc_priv) proc_priv 284 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c status = acpi_evaluate_object(proc_priv->adev->handle, "PPCC", proc_priv 291 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c dev_err(proc_priv->dev, "Invalid PPCC data\n"); proc_priv 297 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c dev_err(proc_priv->dev, "Invalid PPCC package size\n"); proc_priv 310 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->power_limits[i].index = ppcc[0].integer.value; proc_priv 311 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->power_limits[i].min_uw = ppcc[1].integer.value; proc_priv 312 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->power_limits[i].max_uw = ppcc[2].integer.value; proc_priv 313 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->power_limits[i].tmin_us = ppcc[3].integer.value; proc_priv 314 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->power_limits[i].tmax_us = ppcc[4].integer.value; proc_priv 315 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->power_limits[i].step_uw = ppcc[5].integer.value; proc_priv 327 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c struct proc_thermal_device *proc_priv = data; proc_priv 329 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c if (!proc_priv) proc_priv 334 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_thermal_read_ppcc(proc_priv); proc_priv 335 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c int340x_thermal_zone_device_update(proc_priv->int340x_zone, proc_priv 339 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c dev_dbg(proc_priv->dev, "Unsupported event [0x%x]\n", event); proc_priv 348 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c struct proc_thermal_device *proc_priv; proc_priv 359 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv = devm_kzalloc(dev, sizeof(*proc_priv), GFP_KERNEL); proc_priv 360 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c if (!proc_priv) proc_priv 363 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->dev = dev; proc_priv 364 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->adev = adev; proc_priv 365 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c *priv = proc_priv; proc_priv 367 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c ret = proc_thermal_read_ppcc(proc_priv); proc_priv 379 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->int340x_zone = int340x_thermal_zone_add(adev, ops); proc_priv 380 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c if (IS_ERR(proc_priv->int340x_zone)) { proc_priv 381 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c return PTR_ERR(proc_priv->int340x_zone); proc_priv 387 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c (void *)proc_priv); proc_priv 394 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c int340x_thermal_zone_remove(proc_priv->int340x_zone); proc_priv 399 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c static void proc_thermal_remove(struct proc_thermal_device *proc_priv) proc_priv 401 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c acpi_remove_notify_handler(proc_priv->adev->handle, proc_priv 403 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c int340x_thermal_zone_remove(proc_priv->int340x_zone); proc_priv 404 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c sysfs_remove_file(&proc_priv->dev->kobj, &dev_attr_tcc_offset_degree_celsius.attr); proc_priv 405 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c sysfs_remove_group(&proc_priv->dev->kobj, proc_priv 411 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c struct proc_thermal_device *proc_priv; proc_priv 419 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c ret = proc_thermal_add(&pdev->dev, &proc_priv); proc_priv 423 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c platform_set_drvdata(pdev, proc_priv); proc_priv 448 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c struct proc_thermal_device *proc_priv; proc_priv 451 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv = pci_get_drvdata(pdev); proc_priv 453 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c intel_soc_dts_iosf_interrupt_handler(proc_priv->soc_dts); proc_priv 526 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c struct proc_thermal_device *proc_priv, proc_priv 542 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->mmio_base = pcim_iomap_table(pdev)[MCHBAR]; proc_priv 548 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c (u64)proc_priv->mmio_base + proc_priv 552 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c rapl_mmio_priv.reg_unit = (u64)proc_priv->mmio_base + rapl_regs->reg_unit; proc_priv 595 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c struct proc_thermal_device *proc_priv, proc_priv 608 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c struct proc_thermal_device *proc_priv; proc_priv 622 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c ret = proc_thermal_add(&pdev->dev, &proc_priv); proc_priv 626 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c ret = proc_thermal_rapl_add(pdev, proc_priv, proc_priv 630 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_thermal_remove(proc_priv); proc_priv 634 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c pci_set_drvdata(pdev, proc_priv); proc_priv 645 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->soc_dts = intel_soc_dts_iosf_init( proc_priv 648 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c if (!IS_ERR(proc_priv->soc_dts) && pdev->irq) { proc_priv 657 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->soc_dts); proc_priv 659 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->soc_dts = NULL; proc_priv 681 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c struct proc_thermal_device *proc_priv = pci_get_drvdata(pdev); proc_priv 683 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c if (proc_priv->soc_dts) { proc_priv 684 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c intel_soc_dts_iosf_exit(proc_priv->soc_dts); proc_priv 691 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_thermal_remove(proc_priv); proc_priv 1819 fs/proc/task_mmu.c struct proc_maps_private *proc_priv = &numa_priv->proc_maps; proc_priv 1839 fs/proc/task_mmu.c mpol_to_str(buffer, sizeof(buffer), proc_priv->task_mempolicy);