Home
last modified time | relevance | path

Searched full:pcc (Results 1 – 25 of 78) sorted by relevance

1234

/Linux-v5.15/drivers/platform/x86/
Dpanasonic-laptop.c53 * add /proc/acpi/pcc/brightness interface for HAL access
160 #define ACPI_PCC_CLASS "pcc"
245 static int acpi_pcc_write_sset(struct pcc_acpi *pcc, int func, int val) in acpi_pcc_write_sset() argument
259 status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SSET, in acpi_pcc_write_sset()
280 static int acpi_pcc_retrieve_biosdata(struct pcc_acpi *pcc) in acpi_pcc_retrieve_biosdata() argument
287 status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SINF, NULL, in acpi_pcc_retrieve_biosdata()
301 if (pcc->num_sifr < hkey->package.count) { in acpi_pcc_retrieve_biosdata()
310 pcc->sinf[i] = element->integer.value; in acpi_pcc_retrieve_biosdata()
314 pcc->sinf[hkey->package.count] = -1; in acpi_pcc_retrieve_biosdata()
330 struct pcc_acpi *pcc = bl_get_data(bd); in bl_get() local
[all …]
/Linux-v5.15/drivers/mailbox/
Dpcc.c6 * PCC (Platform Communication Channel) is defined in the ACPI 5.0+
11 * shared memory regions as defined in the PCC table entries. The PCC
12 * specification supports a Doorbell mechanism for the PCC clients
14 * is also specified in each PCC table entry.
18 * PCC Reads:
22 * * Client issues mbox_send_message() which rings the PCC doorbell
23 * for its PCC channel.
28 * PCC Writes:
33 * * Client issues mbox_send_message() which rings the PCC doorbell
34 * for its PCC channel.
[all …]
DKconfig89 config PCC config
96 (PCC) is typically used by CPPC (ACPI CPU Performance management),
99 PCC clients mentioned above.
DMakefile24 obj-$(CONFIG_PCC) += pcc.o
/Linux-v5.15/Documentation/admin-guide/pm/
Dcpufreq_drivers.rst80 ``pcc-cpufreq``
86 * pcc-cpufreq.txt - PCC interface documentation
100 1.1 PCC interface
113 Processor Clocking Control (PCC) is an interface between the platform
117 The PCC driver (pcc-cpufreq) allows OSPM to take advantage of the PCC
120 OS utilizes the PCC interface to inform platform firmware what frequency the
126 1.1 PCC interface:
128 The complete PCC specification is available here:
131 PCC relies on a shared memory region that provides a channel for communication
132 between the OS and platform firmware. PCC also implements a "doorbell" that
[all …]
/Linux-v5.15/drivers/acpi/
Dcppc_acpi.c26 * called (PCC) Platform Communication Channel. This is a generic mailbox like
28 * See drivers/mailbox/pcc.c for details on PCC.
30 * Finer details about the PCC and CPPC spec are available in the ACPI v5.1 and
52 bool pending_pcc_write_cmd; /* Any pending/batched PCC write cmds? */
53 bool platform_owns_pcc; /* Ownership of PCC subspace */
54 unsigned int pcc_write_cnt; /* Running count of PCC write commands */
57 * Lock to provide controlled access to the PCC channel.
61 * before reading or writing to PCC subspace
80 /* Array to represent the PCC channel per subspace ID */
88 * include the type of register (e.g. PCC, System IO, FFH etc.)
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/clock/
Dimx7ulp-pcc-clock.yaml4 $id: http://devicetree.org/schemas/clock/imx7ulp-pcc-clock.yaml#
7 title: Clock bindings for Freescale i.MX7ULP Peripheral Clock Control (PCC) modules
14 Clock Generation (SCG) modules, Peripheral Clock Control (PCC)
28 The Peripheral Clock Control (PCC) is responsible for clock selection,
Dimx7ulp-scg-clock.yaml14 Clock Generation (SCG) modules, Peripheral Clock Control (PCC)
/Linux-v5.15/arch/mips/include/asm/dec/
Dkn01.h23 #define KN01_PCC (1*KN01_SLOT_SIZE) /* PCC (DC503) cursor */
50 #define KN01_CPU_INR_VIDEO 6 /* PCC area detect #2 */
63 #define KN01_CSR_CRSRTST (1<<12) /* PCC test output */
66 #define KN01_CSR_VINT (1<<9) /* PCC area detect #2 status & ack */
/Linux-v5.15/drivers/i2c/busses/
Di2c-xgene-slimpro.c12 #include <acpi/pcc.h>
94 /* PCC related defines */
194 /* Copy the message to the PCC comm space */ in slimpro_i2c_pcc_tx_prepare()
480 if (device_property_read_u32(&pdev->dev, "pcc-channel", in xgene_slimpro_i2c_probe()
488 dev_err(&pdev->dev, "PCC mailbox channel request failed\n"); in xgene_slimpro_i2c_probe()
493 * The PCC mailbox controller driver should in xgene_slimpro_i2c_probe()
495 * PCC channels) and stored pointers to the in xgene_slimpro_i2c_probe()
506 dev_err(&pdev->dev, "PCC IRQ not supported\n"); in xgene_slimpro_i2c_probe()
528 dev_err(&pdev->dev, "Failed to get PCC comm region\n"); in xgene_slimpro_i2c_probe()
535 "Failed to ioremap PCC comm region\n"); in xgene_slimpro_i2c_probe()
/Linux-v5.15/drivers/hwmon/
Dxgene-hwmon.c27 #include <acpi/pcc.h>
60 /* PCC defines */
68 * to PCC commands
155 /* Copy the message to the PCC comm space */ in xgene_hwmon_pcc_rd()
447 * If PCC, send a consumer command to Platform to get info in xgene_hwmon_evt_work()
526 * This function is called when the PCC Mailbox received a message
666 if (device_property_read_u32(&pdev->dev, "pcc-channel", in xgene_hwmon_probe()
668 dev_err(&pdev->dev, "no pcc-channel property\n"); in xgene_hwmon_probe()
683 * The PCC mailbox controller driver should in xgene_hwmon_probe()
685 * PCC channels) and stored pointers to the in xgene_hwmon_probe()
[all …]
/Linux-v5.15/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_dspp.h13 * struct dpu_hw_pcc_coeff - PCC coefficient structure for each color
27 * struct dpu_hw_pcc - pcc feature structure
45 * setup_pcc - setup dspp pcc
Ddpu_hw_dspp.c29 u32 base = ctx->cap->sblk->pcc.base; in dpu_setup_dspp_pcc()
32 DRM_ERROR("invalid ctx %pK pcc base 0x%x\n", ctx, base); in dpu_setup_dspp_pcc()
37 DRM_DEBUG_DRIVER("disable pcc feature\n"); in dpu_setup_dspp_pcc()
/Linux-v5.15/arch/sh/include/asm/
Dhd64461.h139 /* PCC Interface Status Register */
156 /* PCC General Control Register */
166 /* PCC Card Status Change Register */
176 /* PCC Card Status Change Interrupt Enable Register */
190 /* PCC Software Control Register */
/Linux-v5.15/include/acpi/
Dcppc_acpi.h17 #include <acpi/pcc.h>
31 /* CPPC specific PCC commands. */
Dpcc.h3 * PCC (Platform Communications Channel) methods
/Linux-v5.15/arch/sh/kernel/cpu/sh3/
Dsetup-sh7720.c231 SIOF0, SIOF1, MMC, PCC, enumerator
262 INTC_VECT(CMT, 0xf00), INTC_VECT(PCC, 0xf60),
275 { 0xA4080006UL, 0, 16, 4, /* IPRI */ { SIOF0, SIOF1, MMC, PCC } },
/Linux-v5.15/drivers/acpi/acpica/
Dexfield.c203 * Reading from a PCC field unit does not require the handler because in acpi_ex_read_data_from_field()
207 "PCC FieldRead bits %u\n", in acpi_ex_read_data_from_field()
343 "PCC COMD field has been written. Invoking PCC handler now.\n")); in acpi_ex_write_data_to_field()
/Linux-v5.15/arch/m68k/mvme147/
Dconfig.c97 .name = "pcc",
110 /* Using pcc tick timer 1 */
/Linux-v5.15/arch/sh/kernel/cpu/sh4a/
Dsetup-sh7763.c244 USBH, USBF, TPU, PCC, MMCIF, SIM, enumerator
281 INTC_VECT(TPU, 0xcc0), INTC_VECT(PCC, 0xce0),
310 PCC, 0, 0, ADC, TPU, SIM, SIOF2, SIOF1,
329 { 0xffd400ac, 0, 32, 8, /* INT2PRI11 */ { PCC } },
/Linux-v5.15/Documentation/hwmon/
Dxgene-hwmon.rst14 For ACPI, it is the PCC mailbox.
/Linux-v5.15/drivers/cpufreq/
DKconfig.x8627 This driver adds support for the PCC interface.
33 module will be called pcc-cpufreq.
Dpcc-cpufreq.c2 * pcc-cpufreq.c - Processor Clocking Control firmware cpufreq interface
524 printk(KERN_DEBUG "pcc-cpufreq: (v%s) driver loaded with frequency" in pcc_cpufreq_probe()
576 .name = "pcc-cpufreq",
/Linux-v5.15/drivers/net/ethernet/
Djme.h124 * Dynamic(adaptive)/Static PCC values
528 JME_PCCRX0 = JME_MISC | 0x30, /* PCC Control for RX Queue 0 */
529 JME_PCCTX = JME_MISC | 0x40, /* PCC Control for TX Queues */
536 JME_PCCSRX0 = JME_MISC | 0x80, /* PCC Status of RX0 */
1081 * PCC Control Registers
/Linux-v5.15/drivers/net/wireless/intersil/orinoco/
Dorinoco_cs.c269 PCMCIA_DEVICE_PROD_ID12("OTC", "Wireless AirEZY 2411-PCC WLAN Card", 0x4ac44287, 0x235a6bed),
290 PCMCIA_DEVICE_MANF_CARD(0xc001, 0x0008), /* CONTEC FLEXSCAN/FX-DDS110-PCC */
300 PCMCIA_DEVICE_PROD_ID12("corega K.K.", "Wireless LAN PCC-11", 0x5261440f, 0xa6405584),

1234