Home
last modified time | relevance | path

Searched refs:proc_priv (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/drivers/thermal/intel/int340x_thermal/
A Dprocessor_thermal_device.c185 struct proc_thermal_device *proc_priv = data; in proc_thermal_notify() local
187 if (!proc_priv) in proc_thermal_notify()
192 proc_thermal_read_ppcc(proc_priv); in proc_thermal_notify()
214 proc_priv->dev = dev; in proc_thermal_add()
215 proc_priv->adev = adev; in proc_thermal_add()
217 ret = proc_thermal_read_ppcc(proc_priv); in proc_thermal_add()
229 if (IS_ERR(proc_priv->int340x_zone)) { in proc_thermal_add()
230 return PTR_ERR(proc_priv->int340x_zone); in proc_thermal_add()
236 (void *)proc_priv); in proc_thermal_add()
268 sysfs_remove_group(&proc_priv->dev->kobj, in proc_thermal_remove()
[all …]
A Dprocessor_thermal_device_pci_legacy.c21 struct proc_thermal_device *proc_priv; in proc_thermal_pci_msi_irq() local
24 proc_priv = pci_get_drvdata(pdev); in proc_thermal_pci_msi_irq()
34 struct proc_thermal_device *proc_priv; in proc_thermal_pci_probe() local
43 proc_priv = devm_kzalloc(&pdev->dev, sizeof(*proc_priv), GFP_KERNEL); in proc_thermal_pci_probe()
44 if (!proc_priv) in proc_thermal_pci_probe()
51 pci_set_drvdata(pdev, proc_priv); in proc_thermal_pci_probe()
73 proc_priv->soc_dts); in proc_thermal_pci_probe()
75 proc_priv->soc_dts = NULL; in proc_thermal_pci_probe()
86 proc_thermal_remove(proc_priv); in proc_thermal_pci_probe()
97 if (proc_priv->soc_dts) { in proc_thermal_pci_remove()
[all …]
A Dprocessor_thermal_device_pci.c20 struct proc_thermal_device *proc_priv; member
208 proc_priv = devm_kzalloc(&pdev->dev, sizeof(*proc_priv), GFP_KERNEL); in proc_thermal_pci_probe()
209 if (!proc_priv) in proc_thermal_pci_probe()
233 proc_priv->priv_data = pci_info; in proc_thermal_pci_probe()
234 pci_info->proc_priv = proc_priv; in proc_thermal_pci_probe()
235 pci_set_drvdata(pdev, proc_priv); in proc_thermal_pci_probe()
284 proc_thermal_remove(proc_priv); in proc_thermal_pci_probe()
306 proc_thermal_remove(proc_priv); in proc_thermal_pci_remove()
317 proc_priv = pci_get_drvdata(pdev); in proc_thermal_pci_suspend()
318 pci_info = proc_priv->priv_data; in proc_thermal_pci_suspend()
[all …]
A Dprocessor_thermal_mbox.c49 struct proc_thermal_device *proc_priv; in send_mbox_write_cmd() local
53 proc_priv = pci_get_drvdata(pdev); in send_mbox_write_cmd()
57 ret = wait_for_mbox_ready(proc_priv); in send_mbox_write_cmd()
61 writel(data, (proc_priv->mmio_base + MBOX_OFFSET_DATA)); in send_mbox_write_cmd()
66 ret = wait_for_mbox_ready(proc_priv); in send_mbox_write_cmd()
75 struct proc_thermal_device *proc_priv; in send_mbox_read_cmd() local
79 proc_priv = pci_get_drvdata(pdev); in send_mbox_read_cmd()
83 ret = wait_for_mbox_ready(proc_priv); in send_mbox_read_cmd()
91 ret = wait_for_mbox_ready(proc_priv); in send_mbox_read_cmd()
96 *resp = readl(proc_priv->mmio_base + MBOX_OFFSET_DATA); in send_mbox_read_cmd()
[all …]
A Dprocessor_thermal_rfim.c73 struct proc_thermal_device *proc_priv;\
80 proc_priv = pci_get_drvdata(pdev);\
92 reg_val = readl((void __iomem *) (proc_priv->mmio_base + mmio_regs[ret].offset));\
102 struct proc_thermal_device *proc_priv;\
111 proc_priv = pci_get_drvdata(pdev);\
274 if (proc_priv->mmio_feature_mask & PROC_THERMAL_FEATURE_FIVR) { in proc_thermal_rfim_add()
280 if (proc_priv->mmio_feature_mask & PROC_THERMAL_FEATURE_DVFS) { in proc_thermal_rfim_add()
282 if (ret && proc_priv->mmio_feature_mask & PROC_THERMAL_FEATURE_FIVR) { in proc_thermal_rfim_add()
294 struct proc_thermal_device *proc_priv = pci_get_drvdata(pdev); in proc_thermal_rfim_remove() local
296 if (proc_priv->mmio_feature_mask & PROC_THERMAL_FEATURE_FIVR) in proc_thermal_rfim_remove()
[all …]
A Dprocessor_thermal_device.h65 int proc_thermal_rapl_add(struct pci_dev *pdev, struct proc_thermal_device *proc_priv);
69 struct proc_thermal_device *proc_priv) in proc_thermal_rapl_add() argument
79 int proc_thermal_rfim_add(struct pci_dev *pdev, struct proc_thermal_device *proc_priv);
82 int proc_thermal_mbox_add(struct pci_dev *pdev, struct proc_thermal_device *proc_priv);
88 void proc_thermal_remove(struct proc_thermal_device *proc_priv);
92 struct proc_thermal_device *proc_priv,
94 void proc_thermal_mmio_remove(struct pci_dev *pdev, struct proc_thermal_device *proc_priv);
A Dint3401_thermal.c23 struct proc_thermal_device *proc_priv; in int3401_add() local
26 proc_priv = devm_kzalloc(&pdev->dev, sizeof(*proc_priv), GFP_KERNEL); in int3401_add()
27 if (!proc_priv) in int3401_add()
30 ret = proc_thermal_add(&pdev->dev, proc_priv); in int3401_add()
34 platform_set_drvdata(pdev, proc_priv); in int3401_add()
A Dprocessor_thermal_rapl.c82 int proc_thermal_rapl_add(struct pci_dev *pdev, struct proc_thermal_device *proc_priv) in proc_thermal_rapl_add() argument
96 (u64)proc_priv->mmio_base + in proc_thermal_rapl_add()
100 rapl_mmio_priv.reg_unit = (u64)proc_priv->mmio_base + rapl_regs->reg_unit; in proc_thermal_rapl_add()
/linux-6.3-rc2/fs/proc/
A Dtask_mmu.c1939 struct proc_maps_private *proc_priv = &numa_priv->proc_maps; in show_numa_map() local
1959 mpol_to_str(buffer, sizeof(buffer), proc_priv->task_mempolicy); in show_numa_map()

Completed in 14 milliseconds