Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-6.6/drivers/platform/x86/
Dpanasonic-laptop.c53 * add /proc/acpi/pcc/brightness interface for HAL access
162 #define ACPI_PCC_CLASS "pcc"
283 static int acpi_pcc_write_sset(struct pcc_acpi *pcc, int func, int val) in acpi_pcc_write_sset() argument
297 status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SSET, in acpi_pcc_write_sset()
318 static int acpi_pcc_retrieve_biosdata(struct pcc_acpi *pcc) in acpi_pcc_retrieve_biosdata() argument
325 status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SINF, NULL, in acpi_pcc_retrieve_biosdata()
339 if (pcc->num_sifr < hkey->package.count) { in acpi_pcc_retrieve_biosdata()
341 pcc->num_sifr, hkey->package.count); in acpi_pcc_retrieve_biosdata()
349 pcc->sinf[i] = element->integer.value; in acpi_pcc_retrieve_biosdata()
353 pcc->sinf[hkey->package.count] = -1; in acpi_pcc_retrieve_biosdata()
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dpanasonic-laptop.c37 * add /proc/acpi/pcc/brightness interface for HAL access
141 #define ACPI_PCC_CLASS "pcc"
219 static int acpi_pcc_write_sset(struct pcc_acpi *pcc, int func, int val) in acpi_pcc_write_sset() argument
233 status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SSET, in acpi_pcc_write_sset()
255 static int acpi_pcc_retrieve_biosdata(struct pcc_acpi *pcc) in acpi_pcc_retrieve_biosdata() argument
262 status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SINF, NULL, in acpi_pcc_retrieve_biosdata()
277 if (pcc->num_sifr < hkey->package.count) { in acpi_pcc_retrieve_biosdata()
287 pcc->sinf[i] = element->integer.value; in acpi_pcc_retrieve_biosdata()
292 pcc->sinf[hkey->package.count] = -1; in acpi_pcc_retrieve_biosdata()
308 struct pcc_acpi *pcc = bl_get_data(bd); in bl_get() local
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/drivers/acpi/
Dacpi_pcc.c6 * The PCC Address Space also referred as PCC Operation Region pertains to the
7 * region of PCC subspace that succeeds the PCC signature. The PCC Operation
8 * Region works in conjunction with the PCC Table(Platform Communications
9 * Channel Table). PCC subspaces that are marked for use as PCC Operation
10 * Regions must not be used as PCC subspaces for the standard ACPI features
12 * the PCC Table instead.
14 * This driver sets up the PCC Address Space and installs an handler to enable
15 * handling of PCC OpRegion in the firmware.
24 #include <acpi/pcc.h>
28 * to PCC commands
[all …]
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
55 bool pending_pcc_write_cmd; /* Any pending/batched PCC write cmds? */
56 bool platform_owns_pcc; /* Ownership of PCC subspace */
57 unsigned int pcc_write_cnt; /* Running count of PCC write commands */
60 * Lock to provide controlled access to the PCC channel.
64 * before reading or writing to PCC subspace
83 /* Array to represent the PCC channel per subspace ID */
91 * include the type of register (e.g. PCC, System IO, FFH etc.)
[all …]
DKconfig273 select PCC
551 bool "ACPI PCC Address Space"
552 depends on PCC
555 The PCC Address Space also referred as PCC Operation Region pertains
556 to the region of PCC subspace that succeeds the PCC signature.
558 The PCC Operation Region works in conjunction with the PCC Table
559 (Platform Communications Channel Table). PCC subspaces that are
560 marked for use as PCC Operation Regions must not be used as PCC
562 MPST. These standard features must always use the PCC Table instead.
564 Enable this feature if you want to set up and install the PCC Address
[all …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/s390/cf_z16/
Dpai_crypto.json727 "BriefDescription": "PCC COMPUTE LAST BLOCK CMAC USING DEA",
728 "PublicDescription": "PCC-Compute-Last-Block-CMAC-Using-DEA function ending with CC=0"
734 "BriefDescription": "PCC COMPUTE LAST BLOCK CMAC USING TDEA 128",
735 "PublicDescription": "PCC-Compute-Last-Block-CMAC-Using-TDEA-128 function ending with CC=0"
741 "BriefDescription": "PCC COMPUTE LAST BLOCK CMAC USING TDEA 192",
742 "PublicDescription": "PCC-Compute-Last-Block-CMAC-Using-TDEA-192 function ending with CC=0"
748 "BriefDescription": "PCC COMPUTE LAST BLOCK CMAC USING ENCRYPTED DEA",
749 "PublicDescription": "PCC-Compute-Last-Block-CMAC-Using-Encrypted-DEA function ending with CC=0"
755 "BriefDescription": "PCC COMPUTE LAST BLOCK CMAC USING ENCRYPTED TDEA 128",
756 …"PublicDescription": "PCC-Compute-Last-Block-CMAC-Using-Encrypted-TDEA- 128 function ending with C…
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/
Dimx7ulp-pcc-clock.yaml4 $id: http://devicetree.org/schemas/clock/imx7ulp-pcc-clock.yaml#
7 title: Freescale i.MX7ULP Peripheral Clock Control (PCC) modules Clock Controller
14 Clock Generation (SCG) modules, Peripheral Clock Control (PCC)
28 The Peripheral Clock Control (PCC) is responsible for clock selection,
Dimx8ulp-pcc-clock.yaml4 $id: http://devicetree.org/schemas/clock/imx8ulp-pcc-clock.yaml#
7 title: NXP i.MX8ULP Peripheral Clock Controller(PCC) Module
14 under the control of several CGCs & PCCs modules. The PCC modules control
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-6.6/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 */
/kernel/linux/linux-5.10/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 */
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-xgene-slimpro.c12 #include <acpi/pcc.h>
95 /* PCC related defines */
195 /* Copy the message to the PCC comm space */ in slimpro_i2c_pcc_tx_prepare()
484 if (device_property_read_u32(&pdev->dev, "pcc-channel", in xgene_slimpro_i2c_probe()
492 dev_err(&pdev->dev, "PCC mailbox channel request failed\n"); in xgene_slimpro_i2c_probe()
497 * The PCC mailbox controller driver should in xgene_slimpro_i2c_probe()
499 * PCC channels) and stored pointers to the in xgene_slimpro_i2c_probe()
510 dev_err(&pdev->dev, "PCC IRQ not supported\n"); in xgene_slimpro_i2c_probe()
532 dev_err(&pdev->dev, "Failed to get PCC comm region\n"); in xgene_slimpro_i2c_probe()
539 "Failed to ioremap PCC comm region\n"); in xgene_slimpro_i2c_probe()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_dspp.h11 * struct dpu_hw_pcc_coeff - PCC coefficient structure for each color
25 * struct dpu_hw_pcc - pcc feature structure
43 * setup_pcc - setup dspp pcc
Ddpu_hw_dspp.c36 base = ctx->cap->sblk->pcc.base; in dpu_setup_dspp_pcc()
39 DRM_ERROR("invalid ctx %pK pcc base 0x%x\n", ctx, base); in dpu_setup_dspp_pcc()
44 DRM_DEBUG_DRIVER("disable pcc feature\n"); in dpu_setup_dspp_pcc()
/kernel/linux/linux-5.10/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.c36 base = ctx->cap->sblk->pcc.base; in dpu_setup_dspp_pcc()
39 DRM_ERROR("invalid ctx %pK pcc base 0x%x\n", ctx, base); in dpu_setup_dspp_pcc()
44 DRM_DEBUG_DRIVER("disable pcc feature\n"); in dpu_setup_dspp_pcc()
/kernel/linux/linux-6.6/drivers/hwmon/
Dxgene-hwmon.c27 #include <acpi/pcc.h>
60 /* PCC defines */
68 * to PCC commands
156 /* Copy the message to the PCC comm space */ in xgene_hwmon_pcc_rd()
448 * If PCC, send a consumer command to Platform to get info in xgene_hwmon_evt_work()
527 * This function is called when the PCC Mailbox received a message
669 if (device_property_read_u32(&pdev->dev, "pcc-channel", in xgene_hwmon_probe()
671 dev_err(&pdev->dev, "no pcc-channel property\n"); in xgene_hwmon_probe()
689 dev_err(&pdev->dev, "PCC IRQ not supported\n"); in xgene_hwmon_probe()
710 dev_err(&pdev->dev, "Failed to get PCC comm region\n"); in xgene_hwmon_probe()
[all …]
/kernel/linux/linux-6.6/drivers/i2c/busses/
Di2c-xgene-slimpro.c12 #include <acpi/pcc.h>
187 /* Copy the message to the PCC comm space */ in slimpro_i2c_pcc_tx_prepare()
476 if (device_property_read_u32(&pdev->dev, "pcc-channel", in xgene_slimpro_i2c_probe()
484 dev_err(&pdev->dev, "PCC mailbox channel request failed\n"); in xgene_slimpro_i2c_probe()
492 dev_err(&pdev->dev, "PCC IRQ not supported\n"); in xgene_slimpro_i2c_probe()
514 dev_err(&pdev->dev, "Failed to get PCC comm region\n"); in xgene_slimpro_i2c_probe()
521 "Failed to ioremap PCC comm region\n"); in xgene_slimpro_i2c_probe()
/kernel/linux/linux-6.6/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 */

1234567