Home
last modified time | relevance | path

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

1234

/Linux-v5.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()
/Linux-v5.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()
Ddwmac4_core.c345 * receive path and instruct the transmit to enter in LPI in dwmac4_set_eee_mode()
387 /* Program the timers in the LPI timer control register: in dwmac4_set_eee_timer()
390 * the LPI pattern. in dwmac4_set_eee_timer()
392 * after it has stopped transmitting the LPI pattern. in dwmac4_set_eee_timer()
840 /* MAC tx/rx EEE LPI entry/exit interrupts */ in dwmac4_irq_status()
842 /* Clear LPI interrupt by reading MAC_LPI_Control_Status */ in dwmac4_irq_status()
/Linux-v5.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 */
Dsxgbe_main.c85 /* Check and enter in LPI mode */ in sxgbe_enable_eee_mode()
92 /* Exit and disable EEE in case of we are are in LPI state. */ in sxgbe_disable_eee_mode()
102 * If there is no data transfer and if we are not in LPI state,
103 * then MAC Transmitter can be moved to LPI state.
119 * phy can also manage EEE, so enable the LPI state and start the timer
120 * to verify if the tx path can enter in LPI state.
155 * modify the PLS bit in the LPI ctrl & status reg according in sxgbe_eee_adjust()
1111 /* If the LPI irq is different from the mac irq in sxgbe_open()
1119 netdev_err(dev, "%s: ERROR: allocating the LPI IRQ %d (%d)\n", in sxgbe_open()
1594 * It calls the DMA ISR and also the core ISR to manage PMT, MMC, LPI
[all …]
/Linux-v5.10/drivers/acpi/
Dprocessor_idle.c879 /* LPI States start at index 3 */ in acpi_processor_evaluate_lpi()
947 * flat_state_cnt - the number of composite LPI states after the process of flattening
952 * combine_lpi_states - combine local and parent LPI states to form a composite LPI state
954 * @local: local LPI state
955 * @parent: parent LPI state
956 * @result: composite LPI state
1008 pr_warn("Limiting number of LPI states to max (%d)\n", in flatten_lpi_states()
1077 /* flatten all the LPI states in this level of hierarchy */ in acpi_processor_get_lpi_info()
1102 int __weak acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi) in acpi_processor_ffh_lpi_enter() argument
1108 * acpi_idle_lpi_enter - enters an ACPI any LPI state
[all …]
Dsleep.c760 acpi_handle_debug(lps0_device_handle, "LPI: constraints list begin:\n"); in lpi_device_get_constraints()
843 acpi_handle_debug(lps0_device_handle, "LPI: constraints list end\n"); in lpi_device_get_constraints()
861 "LPI: required min power state:%s current power state:%s\n", in lpi_check_constraints()
866 acpi_handle_info(handle, "LPI: Device not power manageable\n"); in lpi_check_constraints()
873 "LPI: Constraint not met; min power state:%s current power state:%s\n", in lpi_check_constraints()
/Linux-v5.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.
/Linux-v5.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::
/Linux-v5.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
/Linux-v5.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. */
/Linux-v5.10/arch/arm64/kvm/vgic/
Dvgic-its.c33 * Creates a new (reference to a) struct vgic_irq for a given LPI.
34 * If this LPI is already mapped on another ITS, we increase its refcount
36 * If this is a "new" LPI, we allocate and initialize a new struct vgic_irq.
69 * check that we don't add a second list entry with the same LPI. in vgic_add_lpi()
75 /* Someone was faster with adding this LPI, lets use that. */ in vgic_add_lpi()
98 * the respective config data from memory here upon mapping the LPI. in vgic_add_lpi()
100 * Should any of these fail, behave as if we couldn't create the LPI in vgic_add_lpi()
275 * Reads the configuration data for a given LPI from guest memory and
382 * Promotes the ITS view of affinity of an ITTE (which redistributor this LPI
399 * Updates the target VCPU for every LPI targeting this collection.
[all …]
Dvgic-v4.c32 * At this stage, we can link the guest's view of an LPI (uniquely
35 * successfully upgraded the guest's LPI to a VLPI. We can then start
44 * guest performs on its LPI through the vITS. For that, a number of
391 /* Perform the actual DevID/EventID -> LPI translation. */ in kvm_vgic_v4_set_forwarding()
Dvgic-debug.c190 type = "LPI"; in print_irq_state()
251 seq_printf(s, " LPI %4d freed\n", iter->intid); in vgic_debug_show()
/Linux-v5.10/drivers/media/pci/cx88/
Dcx88-core.c67 * @lpi: lines per IRQ, or 0 to not generate irqs. Note: IRQ to be
68 * generated _after_ lpi lines are transferred.
73 unsigned int lines, unsigned int lpi, bool jump) in cx88_risc_field() argument
94 if (lpi && line > 0 && !(line % lpi)) in cx88_risc_field()
178 unsigned int lines, unsigned int lpi) in cx88_risc_databuffer() argument
200 lines, lpi, !lpi); in cx88_risc_databuffer()
/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc_defines.h505 #define IGC_EEER_TX_LPI_EN 0x00010000 /* EEER Tx LPI Enable */
506 #define IGC_EEER_RX_LPI_EN 0x00020000 /* EEER Rx LPI Enable */
508 #define IGC_EEE_SU_LPI_CLK_STP 0x00800000 /* EEE LPI Clock Stop */
515 * of EEE LPI Tx state
/Linux-v5.10/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c370 "EEE RX LPI Transitions",
371 "EEE RX LPI Time",
396 "EEE TX LPI Transitions",
397 "EEE TX LPI Time",
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_reg.h1510 /* [RW 1] FW EEE LPI Enable. When 1 indicates that EEE LPI mode is enabled
1511 * by FW. When 0 indicates that the EEE LPI mode is disabled by FW. Clk
1514 /* [RW 32] EEE LPI Idle Threshold. The threshold value for the idle EEE LPI
1517 /* [RW 18] LPI entry events mask. [0] - Vmain SM Mask. When 1 indicates that
1529 * PBF Request indication is enabled. [5] - Rx EEE LPI Status Mask. When 1
1530 * indicates that the RX EEE LPI Status indication is disabled. When 0
1531 * indicates that the RX EEE LPI Status indication is enabled. In the EXIT
1532 * Events Masks registers; this bit masks the falling edge detect of the LPI
1533 * Status (Rx LPI is on - off). [6] - Tx Pause Mask. When 1 indicates that
1543 * CORE is disabled. When 0 indicates that the RX EEE LPI Status indication
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/e1000e/
Dich8lan.h245 #define I82579_LPI_PLL_SHUT 0x4412 /* LPI PLL Shut Enable */
252 #define I82579_LPI_100_PLL_SHUT (1 << 2) /* 100M LPI PLL Shut Enabled */
/Linux-v5.10/include/linux/irqchip/
Darm-gic-v4.h88 * @vintid: Virtual LPI number
/Linux-v5.10/arch/arm64/include/asm/
Dmemory.h335 * configured with a LPI table address once, GICv3 systems with many CPUs may
336 * end up reserving a lot of different regions after a kexec for their LPI

1234