Home
last modified time | relevance | path

Searched full:pse (Results 1 – 25 of 64) sorted by relevance

123

/linux/include/linux/pse-pd/
H A Dpse.h25 /* C33 PSE extended state and substate. */
49 * @map_event: driver callback to map IRQ status into PSE devices with events.
59 * struct pse_control_config - PSE control/channel configuration.
61 * @podl_admin_control: set PoDL PSE admin control as described in
63 * @c33_admin_control: set PSE admin control as described in
72 * struct pse_admin_state - PSE operational state
74 * @podl_admin_state: operational state of the PoDL PSE
76 * @c33_admin_state: operational state of the PSE
85 * struct pse_pw_status - PSE power detection status
87 * @podl_pw_status: power detection status of the PoDL PSE.
[all …]
/linux/Documentation/devicetree/bindings/net/pse-pd/
H A Drealtek,pse-mcu-gen1.yaml4 $id: http://devicetree.org/schemas/net/pse-pd/realtek,pse-mcu-gen1.yaml#
7 title: Realtek PSE MCU
13 A microcontroller (MCU) that manages the PSE (Power Sourcing Equipment)
16 the PSE silicon it drives sits behind the MCU and is never accessed
18 over UART, and the MCU manages the on-board PSE chip.
23 PSE silicon behind the MCU (Realtek RTL823x/RTL8239* or Broadcom
28 gen1 older boards, where the MCU fronts Broadcom PSE silicon
29 gen2 the altered protocol used with Realtek's own PSE silicon
48 - zyxel,gs1900-10hp-a1-pse
49 - const: realtek,pse-mcu-gen1
[all …]
H A Dpse-controller.yaml4 $id: http://devicetree.org/schemas/net/pse-pd/pse-controller.yaml#
7 title: Power Sourcing Equipment (PSE).
9 description: Binding for the Power Sourcing Equipment (PSE) as defined in the
11 power over twisted pair/ethernet cable. The ethernet-pse nodes should be
12 used to describe PSE controller and referenced by the ethernet-phy node.
20 pattern: "^ethernet-pse(@.*|-([0-9]|[1-9][0-9]+))?$"
22 "#pse-cells":
24 Used to uniquely identify a PSE instance within an IC. Will be
25 0 on PSE nodes with only a single output and at least 1 on nodes
26 controlling several outputs which are not described in the pse-pis
[all …]
H A Dpodl-pse-regulator.yaml4 $id: http://devicetree.org/schemas/net/pse-pd/podl-pse-regulator.yaml#
12 description: Regulator based PoDL PSE controller. The device must be referenced
16 - $ref: pse-controller.yaml#
20 const: podl-pse-regulator
22 '#pse-cells':
25 pse-supply:
26 description: Power supply for the PSE controller
32 - pse-supply
36 ethernet-pse {
37 compatible = "podl-pse-regulator";
[all …]
/linux/drivers/net/pse-pd/
H A Drealtek-pse-mcu-core.c3 * Driver for the microcontroller (MCU) fronting PSE silicon on various
9 * actual PSE silicon: the host CPU talks to the MCU over I2C/SMBus or
10 * UART, and the MCU in turn manages the PSE chips on the board. The MCU
11 * speaks a small message-based protocol. The PSE chips themselves are not
16 * the MCU fronts and manages Broadcom PSE silicon; Gen2 being used with
17 * Realtek PSE silicon. The two share frame format and a sum-mod-256
21 * Out of scope: PSE chips that are interfaced directly from the host
23 * family, and "dumb PSE" modes where no host control is wired up at all.
27 * (realtek-pse-mcu-i2c, realtek-pse-mcu-uart) provide the send/recv
40 #include <linux/pse-pd/pse.h>
[all …]
H A Drealtek-pse-mcu-i2c.c7 #include <linux/pse-pd/pse.h>
9 #include "realtek-pse-mcu.h"
20 static int rtpse_mcu_i2c_smbus_send(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req) in rtpse_mcu_i2c_smbus_send() argument
22 struct i2c_client *client = to_i2c_client(pse->dev); in rtpse_mcu_i2c_smbus_send()
29 static int rtpse_mcu_i2c_smbus_recv(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req, in rtpse_mcu_i2c_smbus_recv() argument
32 struct i2c_client *client = to_i2c_client(pse->dev); in rtpse_mcu_i2c_smbus_recv()
57 static int rtpse_mcu_i2c_native_send(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req) in rtpse_mcu_i2c_native_send() argument
59 struct i2c_client *client = to_i2c_client(pse->dev); in rtpse_mcu_i2c_native_send()
68 static int rtpse_mcu_i2c_native_recv(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req, in rtpse_mcu_i2c_native_recv() argument
71 struct i2c_client *client = to_i2c_client(pse->dev); in rtpse_mcu_i2c_native_recv()
[all …]
H A Dpse_core.c13 #include <linux/pse-pd/pse.h>
27 * struct pse_control - a PSE control
28 * @pcdev: a pointer to the PSE controller device
29 * this PSE control belongs to
30 * @ps: PSE PI supply of the PSE control
31 * @list: list entry for the pcdev's PSE controller list
32 * @id: ID of the PSE line in the PSE controller device
34 * @attached_phydev: PHY device pointer attached by the PSE control
46 * struct pse_power_domain - a PSE power domain
78 pr_err("pse: wrong pairset-names value %s (%pOF)\n", in of_load_single_pse_pi_pairset()
[all …]
H A DKconfig19 Shared core for the Realtek PSE MCU driver. This is selected
23 tristate "Realtek PSE MCU driver (I2C transport)"
27 Driver for the microcontroller (MCU) that fronts the PSE
30 PSE silicon is not accessed directly. To compile this driver as a
31 module, choose M here: the module will be called realtek-pse-mcu-i2c.
34 tristate "Realtek PSE MCU driver (UART transport)"
38 Driver for the microcontroller (MCU) that fronts the PSE
40 via UART. The MCU exposes a message-based protocol; the actual PSE
42 module, choose M here: the module will be called realtek-pse-mcu-uart.
45 tristate "Regulator based PSE controller"
[all …]
H A Drealtek-pse-mcu-uart.c7 #include <linux/pse-pd/pse.h>
12 #include "realtek-pse-mcu.h"
19 struct rtpse_mcu_ctrl pse; member
27 #define to_rtpse_mcu_uart(p) container_of(p, struct rtpse_mcu_uart, pse)
60 static int rtpse_mcu_uart_send(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req) in rtpse_mcu_uart_send() argument
62 struct rtpse_mcu_uart *ctx = to_rtpse_mcu_uart(pse); in rtpse_mcu_uart_send()
81 static int rtpse_mcu_uart_recv(struct rtpse_mcu_ctrl *pse, in rtpse_mcu_uart_recv() argument
85 struct rtpse_mcu_uart *ctx = to_rtpse_mcu_uart(pse); in rtpse_mcu_uart_recv()
117 ctx->pse.dev = dev; in rtpse_mcu_uart_probe()
118 ctx->pse.pcdev.owner = THIS_MODULE; in rtpse_mcu_uart_probe()
[all …]
H A Drealtek-pse-mcu.h7 #include <linux/pse-pd/pse.h>
61 /* Opaque to transports; defined in realtek-pse-mcu-core.c. */
73 int (*send)(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req);
74 int (*recv)(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req,
88 int rtpse_mcu_register(struct rtpse_mcu_ctrl *pse);
H A DMakefile2 # Makefile for Linux PSE drivers
6 obj-$(CONFIG_PSE_REALTEK_MCU) += realtek-pse-mcu-core.o
7 obj-$(CONFIG_PSE_REALTEK_MCU_I2C) += realtek-pse-mcu-i2c.o
8 obj-$(CONFIG_PSE_REALTEK_MCU_UART) += realtek-pse-mcu-uart.o
H A Dpd692x0.c3 * Driver for the Microchip PD692X0 PoE PSE Controller driver (I2C bus)
15 #include <linux/pse-pd/pse.h>
282 dev_err(&client->dev, "PSE controller error\n"); in pd692x0_reset()
794 /* PSE core priority start at 0 */ in pd692x0_pi_get_prio()
808 dev_err(dev, "Failed to get PSE version (%pe)\n", ERR_PTR(ret)); in pd692x0_get_sw_version()
999 snprintf(reg_name, 26, "pse-%s-manager%d", dev_name(dev), i); in pd692x0_register_managers_regulator()
1143 /* Update with values for every PSE PIs */ in pd692x0_set_ports_matrix()
1529 dev_err(&client->dev, "PSE controller error\n"); in pd692x0_fw_reset()
1536 "PSE firmware error. Please update it.\n"); in pd692x0_fw_reset()
1808 dev_err(dev, "PSE controller error\n"); in pd692x0_i2c_probe()
[all …]
/linux/Documentation/networking/pse-pd/
H A Dpse-pi.rst3 PSE Power Interface (PSE PI) Documentation
6 The Power Sourcing Equipment Power Interface (PSE PI) plays a pivotal role in
16 The IEEE 802.3 standard provides detailed documentation on the PSE PI.
21 - Section "145.2.4 PSE PI" addresses the configuration for PoE systems that
24 PSE PI and Single Pair Ethernet
29 transmission. Unlike the configurations detailed in the PSE PI for standard
33 assignments for power delivery, as described in the PSE PI for multi-pair
36 Understanding PSE PI
39 The Power Sourcing Equipment Power Interface (PSE PI) is a framework defining
40 how Power Sourcing Equipment (PSE) delivers power to Powered Devices (PDs) over
[all …]
H A Dintroduction.rst3 Power Sourcing Equipment (PSE) in IEEE 802.3 Standard
9 Power Sourcing Equipment (PSE) is essential in networks for delivering power
14 PSE vs. PoDL PSE
17 PSE in the IEEE 802.3 standard generally refers to equipment that provides
21 PoDL PSE, or Power over Data Lines PSE, specifically denotes PSEs operating
39 in Clause 104. Introduces Classes 0 - 9. Class 9 PoDL PSE delivers up to ~65W
47 - For general PSE (PoE) code, use "c33_pse" key words. For example:
51 - For PoDL PSE - specific code, use "podl_pse". For example:
53 PoDL PSE settings according to Clause 104.
59 characteristics of Powered Device (PD) and Power Sourcing Equipment (PSE).
[all …]
H A Dindex.rst3 Power Sourcing Equipment (PSE) Documentation
10 pse-pi
/linux/include/net/psp/
H A Dfunctions.h83 psp_pse_matches_pas(struct psp_skb_ext *pse, struct psp_assoc *pas) in psp_pse_matches_pas() argument
85 return pse && pas->rx.spi == pse->spi && in psp_pse_matches_pas()
86 pas->generation == pse->generation && in psp_pse_matches_pas()
87 pas->version == pse->version && in psp_pse_matches_pas()
88 pas->dev_id == pse->dev_id; in psp_pse_matches_pas()
94 struct psp_skb_ext *pse = skb_ext_find(skb, SKB_EXT_PSP); in __psp_sk_rx_policy_check() local
97 return pse ? SKB_DROP_REASON_PSP_INPUT : 0; in __psp_sk_rx_policy_check()
99 if (likely(psp_pse_matches_pas(pse, pas))) { in __psp_sk_rx_policy_check()
106 if (!pse) { in __psp_sk_rx_policy_check()
/linux/arch/arm/boot/dts/st/
H A Dstm32mp151a-prtt1c.dts26 pse_t1l1: ethernet-pse-1 {
27 compatible = "podl-pse-regulator";
28 pse-supply = <&reg_t1l1>;
29 #pse-cells = <0>;
32 pse_t1l2: ethernet-pse-2 {
33 compatible = "podl-pse-regulator";
34 pse-supply = <&reg_t1l2>;
35 #pse-cells = <0>;
47 reg_t1l1: regulator-pse-t1l1 {
49 regulator-name = "pse-t1l1";
[all …]
/linux/net/ethtool/
H A Dpse-pd.c3 // ethtool interface for Ethernet PSE (Power Sourcing Equipment)
15 #include "linux/pse-pd/pse.h"
46 NL_SET_ERR_MSG(extack, "No PSE is attached"); in pse_get_pse_attributes()
253 NL_SET_ERR_MSG(info->extack, "No PSE is attached"); in ethnl_set_pse_validate()
261 "setting PoDL PSE admin control not supported"); in ethnl_set_pse_validate()
268 "setting C33 PSE admin control not supported"); in ethnl_set_pse_validate()
326 /* Return errno or zero - PSE has no notification */ in ethnl_set_pse()
343 /* PSE has no notification */
/linux/include/uapi/linux/
H A Dethtool.h762 * enum ethtool_c33_pse_ext_state - groups of PSE extended states
799 * The PSE monitors either the DC or AC Maintain Power Signature
832 * that prevent the PSE from meeting the specifications in Table 33–11 and that
833 * require the PSE not to source power. These error conditions are different
855 * mr_pse_enable is control variable that selects PSE operation and test
872 * by the PSE during the ted_timer interval.
905 * ovld_detected is a variable indicating if the PSE output current has been
927 * implementation-dependent manner when the PSE is no longer capable of
945 * short_detected is a variable indicating if the PSE output current has been
953 * enum ethtool_pse_types - Types of PSE controller.
[all …]
/linux/net/psp/
H A Dpsp_sock.c160 struct psp_skb_ext *pse; in psp_sock_recv_queue_check() local
164 pse = skb_ext_find(skb, SKB_EXT_PSP); in psp_sock_recv_queue_check()
165 if (!psp_pse_matches_pas(pse, pas)) in psp_sock_recv_queue_check()
170 pse = skb_ext_find(skb, SKB_EXT_PSP); in psp_sock_recv_queue_check()
171 if (!psp_pse_matches_pas(pse, pas)) in psp_sock_recv_queue_check()
H A Dpsp_main.c302 struct psp_skb_ext *pse; in psp_dev_rcv() local
365 pse = skb_ext_add(skb, SKB_EXT_PSP); in psp_dev_rcv()
366 if (!pse) in psp_dev_rcv()
369 pse->spi = psph->spi; in psp_dev_rcv()
370 pse->dev_id = dev_id; in psp_dev_rcv()
371 pse->generation = generation; in psp_dev_rcv()
372 pse->version = FIELD_GET(PSPHDR_VERFL_VERSION, psph->verfl); in psp_dev_rcv()
/linux/drivers/net/wireless/ath/
H A Ddfs_pri_detector.c126 static void pool_put_pseq_elem(struct pri_sequence *pse) in pool_put_pseq_elem() argument
129 list_add(&pse->head, &pseq_pool); in pool_put_pseq_elem()
136 struct pri_sequence *pse = NULL; in pool_get_pseq_elem() local
139 pse = list_first_entry(&pseq_pool, struct pri_sequence, head); in pool_get_pseq_elem()
140 list_del(&pse->head); in pool_get_pseq_elem()
144 return pse; in pool_get_pseq_elem()
/linux/Documentation/hwmon/
H A Dtps23861.rst18 This driver supports hardware monitoring for Texas Instruments TPS23861 PoE PSE.
20 TPS23861 is a quad port IEEE802.3at PSE controller with optional I2C control
/linux/drivers/platform/x86/intel/
H A Dehl_pse_io.c3 * Intel Elkhart Lake Programmable Service Engine (PSE) I/O
84 MODULE_DESCRIPTION("Intel Elkhart Lake PSE I/O driver");
/linux/arch/arm/boot/dts/marvell/
H A Darmada-385-clearfog-gtr.dtsi25 front panel and PSE controller
51 48 - PSE reset
52 49 - PSE OSS signal
53 50 - PSE interrupt

123