Home
last modified time | relevance | path

Searched full:lpi (Results 1 – 25 of 164) sorted by relevance

1234567

/kernel/linux/linux-5.10/arch/arm64/kernel/
Dcpuidle.c54 struct acpi_lpi_state *lpi; in psci_acpi_cpu_init_idle() local
74 lpi = &pr->power.lpi_states[i + 1]; in psci_acpi_cpu_init_idle()
79 state = lpi->address; in psci_acpi_cpu_init_idle()
94 int acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi) in acpi_processor_ffh_lpi_enter() argument
96 u32 state = lpi->address; in acpi_processor_ffh_lpi_enter()
98 if (ARM64_LPI_IS_RETENTION_STATE(lpi->arch_flags)) in acpi_processor_ffh_lpi_enter()
100 lpi->index, state); in acpi_processor_ffh_lpi_enter()
103 lpi->index, state); in acpi_processor_ffh_lpi_enter()
/kernel/linux/linux-4.19/arch/arm64/kernel/
Dcpuidle.c57 int acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi) in acpi_processor_ffh_lpi_enter() argument
59 if (ARM64_LPI_IS_RETENTION_STATE(lpi->arch_flags)) in acpi_processor_ffh_lpi_enter()
61 lpi->index); in acpi_processor_ffh_lpi_enter()
63 return CPU_PM_CPU_IDLE_ENTER(arm_cpuidle_suspend, lpi->index); in acpi_processor_ffh_lpi_enter()
/kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000.h71 * LPI status, timer and control register offset
76 /* LPI control and status defines */
77 #define LPI_CTRL_STATUS_LPITXA 0x00080000 /* Enable LPI TX Automate */
80 #define LPI_CTRL_STATUS_LPIEN 0x00010000 /* LPI Enable */
81 #define LPI_CTRL_STATUS_RLPIST 0x00000200 /* Receive LPI state */
82 #define LPI_CTRL_STATUS_TLPIST 0x00000100 /* Transmit LPI state */
83 #define LPI_CTRL_STATUS_RLPIEX 0x00000008 /* Receive LPI Exit */
84 #define LPI_CTRL_STATUS_RLPIEN 0x00000004 /* Receive LPI Entry */
85 #define LPI_CTRL_STATUS_TLPIEX 0x00000002 /* Transmit LPI Exit */
86 #define LPI_CTRL_STATUS_TLPIEN 0x00000001 /* Transmit LPI Entry */
Ddwmac4.h126 * LPI status, timer and control register offset
131 /* LPI control and status defines */
132 #define GMAC4_LPI_CTRL_STATUS_LPITCSE BIT(21) /* LPI Tx Clock Stop Enable */
133 #define GMAC4_LPI_CTRL_STATUS_LPITXA BIT(19) /* Enable LPI TX Automate */
135 #define GMAC4_LPI_CTRL_STATUS_LPIEN BIT(16) /* LPI Enable */
136 #define GMAC4_LPI_CTRL_STATUS_RLPIEX BIT(3) /* Receive LPI Exit */
137 #define GMAC4_LPI_CTRL_STATUS_RLPIEN BIT(2) /* Receive LPI Entry */
138 #define GMAC4_LPI_CTRL_STATUS_TLPIEX BIT(1) /* Transmit LPI Exit */
139 #define GMAC4_LPI_CTRL_STATUS_TLPIEN BIT(0) /* Transmit LPI Entry */
Ddwmac1000_core.c341 /* MAC tx/rx EEE LPI entry/exit interrupts */ in dwmac1000_irq_status()
343 /* Clean LPI interrupt by reading the Reg 12 */ in dwmac1000_irq_status()
373 * receive path and instruct the transmit to enter in LPI in dwmac1000_set_eee_mode()
411 /* Program the timers in the LPI timer control register: in dwmac1000_set_eee_timer()
414 * the LPI pattern. in dwmac1000_set_eee_timer()
416 * after it has stopped transmitting the LPI pattern. in dwmac1000_set_eee_timer()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000.h61 * LPI status, timer and control register offset
66 /* LPI control and status defines */
67 #define LPI_CTRL_STATUS_LPITXA 0x00080000 /* Enable LPI TX Automate */
70 #define LPI_CTRL_STATUS_LPIEN 0x00010000 /* LPI Enable */
71 #define LPI_CTRL_STATUS_RLPIST 0x00000200 /* Receive LPI state */
72 #define LPI_CTRL_STATUS_TLPIST 0x00000100 /* Transmit LPI state */
73 #define LPI_CTRL_STATUS_RLPIEX 0x00000008 /* Receive LPI Exit */
74 #define LPI_CTRL_STATUS_RLPIEN 0x00000004 /* Receive LPI Entry */
75 #define LPI_CTRL_STATUS_TLPIEX 0x00000002 /* Transmit LPI Exit */
76 #define LPI_CTRL_STATUS_TLPIEN 0x00000001 /* Transmit LPI Entry */
Ddwmac4.h175 * LPI status, timer and control register offset
180 /* LPI control and status defines */
181 #define GMAC4_LPI_CTRL_STATUS_LPITCSE BIT(21) /* LPI Tx Clock Stop Enable */
182 #define GMAC4_LPI_CTRL_STATUS_LPITXA BIT(19) /* Enable LPI TX Automate */
184 #define GMAC4_LPI_CTRL_STATUS_LPIEN BIT(16) /* LPI Enable */
185 #define GMAC4_LPI_CTRL_STATUS_RLPIEX BIT(3) /* Receive LPI Exit */
186 #define GMAC4_LPI_CTRL_STATUS_RLPIEN BIT(2) /* Receive LPI Entry */
187 #define GMAC4_LPI_CTRL_STATUS_TLPIEX BIT(1) /* Transmit LPI Exit */
188 #define GMAC4_LPI_CTRL_STATUS_TLPIEN BIT(0) /* Transmit LPI Entry */
Ddwmac1000_core.c330 /* MAC tx/rx EEE LPI entry/exit interrupts */ in dwmac1000_irq_status()
332 /* Clean LPI interrupt by reading the Reg 12 */ in dwmac1000_irq_status()
362 * receive path and instruct the transmit to enter in LPI in dwmac1000_set_eee_mode()
400 /* Program the timers in the LPI timer control register: in dwmac1000_set_eee_timer()
403 * the LPI pattern. in dwmac1000_set_eee_timer()
405 * after it has stopped transmitting the LPI pattern. in dwmac1000_set_eee_timer()
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_core.c53 /* Reading this register shall clear all the LPI status bits */ in sxgbe_get_lpi_status()
189 /* Enable the LPI mode for transmit path with Tx automate bit set. in sxgbe_set_eee_mode()
191 * to LPI mode after all outstanding and pending packets are in sxgbe_set_eee_mode()
228 /* Program the timers in the LPI timer control register: in sxgbe_set_eee_timer()
231 * the LPI pattern. in sxgbe_set_eee_timer()
233 * after it has stopped transmitting the LPI pattern. in sxgbe_set_eee_timer()
Dsxgbe_common.h118 /* EEE-LPI mode flags*/
124 /* EEE-LPI Interrupt status flag */
127 /* EEE-LPI Default timer values */
131 /* EEE-LPI Control and status definitions */
243 /* EEE-LPI stats */
348 /* EEE-LPI specific operations */
501 /* EEE-LPI specific members */
/kernel/linux/linux-5.10/drivers/acpi/
Dprocessor_idle.c924 /* LPI States start at index 3 */ in acpi_processor_evaluate_lpi()
992 * flat_state_cnt - the number of composite LPI states after the process of flattening
997 * combine_lpi_states - combine local and parent LPI states to form a composite LPI state
999 * @local: local LPI state
1000 * @parent: parent LPI state
1001 * @result: composite LPI state
1053 pr_warn("Limiting number of LPI states to max (%d)\n", in flatten_lpi_states()
1122 /* flatten all the LPI states in this level of hierarchy */ in acpi_processor_get_lpi_info()
1147 int __weak acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi) in acpi_processor_ffh_lpi_enter() argument
1153 * acpi_idle_lpi_enter - enters an ACPI any LPI state
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_core.c56 /* Reading this register shall clear all the LPI status bits */ in sxgbe_get_lpi_status()
192 /* Enable the LPI mode for transmit path with Tx automate bit set. in sxgbe_set_eee_mode()
194 * to LPI mode after all outstanding and pending packets are in sxgbe_set_eee_mode()
231 /* Program the timers in the LPI timer control register: in sxgbe_set_eee_timer()
234 * the LPI pattern. in sxgbe_set_eee_timer()
236 * after it has stopped transmitting the LPI pattern. in sxgbe_set_eee_timer()
Dsxgbe_common.h121 /* EEE-LPI mode flags*/
127 /* EEE-LPI Interrupt status flag */
130 /* EEE-LPI Default timer values */
134 /* EEE-LPI Control and status definitions */
246 /* EEE-LPI stats */
351 /* EEE-LPI specific operations */
504 /* EEE-LPI specific members */
/kernel/linux/linux-4.19/drivers/acpi/
Dprocessor_idle.c1009 /* LPI States start at index 3 */ in acpi_processor_evaluate_lpi()
1077 * flat_state_cnt - the number of composite LPI states after the process of flattening
1082 * combine_lpi_states - combine local and parent LPI states to form a composite LPI state
1084 * @local: local LPI state
1085 * @parent: parent LPI state
1086 * @result: composite LPI state
1138 pr_warn("Limiting number of LPI states to max (%d)\n", in flatten_lpi_states()
1207 /* flatten all the LPI states in this level of hierarchy */ in acpi_processor_get_lpi_info()
1232 int __weak acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi) in acpi_processor_ffh_lpi_enter() argument
1238 * acpi_idle_lpi_enter - enters an ACPI any LPI state
[all …]
/kernel/linux/linux-4.19/drivers/irqchip/
Dirq-gic-v4.c42 * physical LPI which gets unmapped when the guest maps the
44 * mapped to the LPI (host) or the VLPI (guest). Note that this is
76 * dialect) gets a single doorbell LPI, no matter how many interrupts
83 * turn, this domain sits on top of the normal LPI allocator, and a
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dsnps,dwc-qos-ethernet.txt108 - snps,en-lpi: If present it enables use of the AXI low-power interface
117 - snps,en-tx-lpi-clockgating: Enable gating of the MAC TX clock during
149 snps,en-tx-lpi-clockgating;
150 snps,en-lpi;
Dsamsung-sxgbe.txt8 trasmit DMA interrupts, receive DMA interrupts and lpi interrupt.
12 and 1 optional lpi interrupt.
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/
Dsnps,dwc-qos-ethernet.txt110 - snps,en-lpi: If present it enables use of the AXI low-power interface
119 - snps,en-tx-lpi-clockgating: Enable gating of the MAC TX clock during
148 snps,en-tx-lpi-clockgating;
149 snps,en-lpi;
Dsamsung-sxgbe.txt8 trasmit DMA interrupts, receive DMA interrupts and lpi interrupt.
12 and 1 optional lpi interrupt.
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/stmicro/
Dstmmac.rst173 This parameter changes the default LPI TX Expiration time in milliseconds.
295 family of Physical layer to operate in the Low Power Idle (LPI) mode. The EEE
298 The LPI mode allows power saving by switching off parts of the communication
302 the system should enter or exit the LPI mode and communicate this to PHY.
308 To enter in TX LPI mode the driver needs to have a software timer that enable
309 and disable the LPI mode when there is nothing to be transmitted.
490 35) Enables TX LPI Clock Gating::
570 1) Enable AXI LPI::
/kernel/linux/linux-5.10/include/kvm/
Darm_vgic.h244 * Contains the attributes and gpa of the LPI configuration table.
247 * GICv3 spec: IHI 0069E 6.1.1 "LPI Configuration tables"
256 /* LPI translation cache */
326 /* Contains the attributes and gpa of the LPI pending tables. */
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-gic-v4.c31 * physical LPI which gets unmapped when the guest maps the
33 * mapped to the LPI (host) or the VLPI (guest). Note that this is
65 * dialect) gets a single doorbell LPI, no matter how many interrupts
72 * turn, this domain sits on top of the normal LPI allocator, and a
/kernel/linux/linux-4.19/Documentation/networking/
Dstmmac.txt365 with a family of Physical layer to operate in the Low power Idle(LPI)
369 The LPI mode allows power saving by switching off parts of the
374 the LPI mode & communicate this to PHY.
379 To enter in Tx LPI mode the driver needs to have a software timer
380 that enable and disable the LPI mode when there is nothing to be
/kernel/linux/linux-4.19/virt/kvm/arm/vgic/
Dvgic-v4.c43 * At this stage, we can link the guest's view of an LPI (uniquely
46 * successfully upgraded the guest's LPI to a VLPI. We can then start
55 * guest performs on its LPI through the vITS. For that, a number of
280 /* Perform then actual DevID/EventID -> LPI translation. */ in kvm_vgic_v4_set_forwarding()
Dvgic-its.c44 * Creates a new (reference to a) struct vgic_irq for a given LPI.
45 * If this LPI is already mapped on another ITS, we increase its refcount
47 * If this is a "new" LPI, we allocate and initialize a new struct vgic_irq.
80 * check that we don't add a second list entry with the same LPI. in vgic_add_lpi()
86 /* Someone was faster with adding this LPI, lets use that. */ in vgic_add_lpi()
109 * the respective config data from memory here upon mapping the LPI. in vgic_add_lpi()
111 * Should any of these fail, behave as if we couldn't create the LPI in vgic_add_lpi()
285 * Reads the configuration data for a given LPI from guest memory and
389 * Promotes the ITS view of affinity of an ITTE (which redistributor this LPI
406 * Updates the target VCPU for every LPI targeting this collection.
[all …]

1234567