Lines Matching +full:podl +full:- +full:pse +full:- +full:regulator

1 // SPDX-License-Identifier: GPL-2.0-only
11 /* Maximum current in uA according to IEEE 802.3-2022 Table 145-1 */
13 /* Maximum power in mW according to IEEE 802.3-2022 Table 145-16 */
20 /* C33 PSE extended state and substate. */
41 * struct pse_control_config - PSE control/channel configuration.
43 * @podl_admin_control: set PoDL PSE admin control as described in
44 * IEEE 802.3-2018 30.15.1.2.1 acPoDLPSEAdminControl
45 * @c33_admin_control: set PSE admin control as described in
46 * IEEE 802.3-2022 30.9.1.2.1 acPSEAdminControl
54 * struct pse_admin_state - PSE operational state
56 * @podl_admin_state: operational state of the PoDL PSE
57 * functions. IEEE 802.3-2018 30.15.1.1.2 aPoDLPSEAdminState
58 * @c33_admin_state: operational state of the PSE
59 * functions. IEEE 802.3-2022 30.9.1.1.2 aPSEAdminState
67 * struct pse_pw_status - PSE power detection status
69 * @podl_pw_status: power detection status of the PoDL PSE.
70 * IEEE 802.3-2018 30.15.1.1.3 aPoDLPSEPowerDetectionStatus:
71 * @c33_pw_status: power detection status of the PSE.
72 * IEEE 802.3-2022 30.9.1.1.5 aPSEPowerDetectionStatus:
80 * struct pse_ext_state_info - PSE extended state information
82 * @c33_ext_state_info: extended state information of the PSE
89 * struct pse_pw_limit_ranges - PSE power limit configuration range
99 * struct ethtool_pse_control_status - PSE control/channel status.
101 * @podl_admin_state: operational state of the PoDL PSE
102 * functions. IEEE 802.3-2018 30.15.1.1.2 aPoDLPSEAdminState
103 * @podl_pw_status: power detection status of the PoDL PSE.
104 * IEEE 802.3-2018 30.15.1.1.3 aPoDLPSEPowerDetectionStatus:
105 * @c33_admin_state: operational state of the PSE
106 * functions. IEEE 802.3-2022 30.9.1.1.2 aPSEAdminState
107 * @c33_pw_status: power detection status of the PSE.
108 * IEEE 802.3-2022 30.9.1.1.5 aPSEPowerDetectionStatus:
110 * IEEE 802.3-2022 30.9.1.1.8 aPSEPowerClassification
111 * @c33_actual_pw: power currently delivered by the PSE in mW
112 * IEEE 802.3-2022 30.9.1.1.23 aPSEActualPower
113 * @c33_ext_state_info: extended state information of the PSE
114 * @c33_avail_pw_limit: available power limit of the PSE in mW
115 * IEEE 802.3-2022 145.2.5.4 pse_avail_pwr
135 * struct pse_controller_ops - PSE controller driver callbacks
137 * @setup_pi_matrix: setup PI matrix of the PSE controller
138 * @pi_get_admin_state: Get the operational state of the PSE PI. This ops
140 * @pi_get_pw_status: Get the power detection status of the PSE PI. This
142 * @pi_get_ext_state: Get the extended state of the PSE PI.
143 * @pi_get_pw_class: Get the power class of the PSE PI.
144 * @pi_get_actual_pw: Get actual power of the PSE PI in mW.
145 * @pi_enable: Configure the PSE PI as enabled.
146 * @pi_disable: Configure the PSE PI as disabled.
147 * @pi_get_voltage: Return voltage similarly to get_voltage regulator
149 * @pi_get_pw_limit: Get the configured power limit of the PSE PI in mW.
150 * @pi_set_pw_limit: Configure the power limit of the PSE PI in mW.
183 /* PSE PI pairset pinout can either be Alternative A or Alternative B */
190 * struct pse_pi_pairset - PSE PI pairset entity describing the pinout
202 * struct pse_pi - PSE PI (Power Interface) entity as described in
203 * IEEE 802.3-2022 145.2.4
205 * @pairset: table of the PSE PI pinout alternative for the two pairset
206 * @np: device node pointer of the PSE PI node
207 * @rdev: regulator represented by the PSE PI
218 * struct pse_controller_dev - PSE controller entity that might
219 * provide multiple PSE controls
221 * @owner: kernel module of the PSE controller driver
222 * @list: internal list of PSE controller devices
223 * @pse_control_head: head of internal list of requested PSE controls
225 * @of_pse_n_cells: number of cells in PSE line specifiers
226 * @nr_lines: number of PSE controls in this controller device
227 * @lock: Mutex for serialization access to the PSE controller
228 * @types: types of the PSE controller
229 * @pi: table of PSE PIs described in this controller device
273 return ERR_PTR(-ENOENT); in of_pse_control_get()
284 return -EOPNOTSUPP; in pse_ethtool_get_status()
291 return -EOPNOTSUPP; in pse_ethtool_set_config()
298 return -EOPNOTSUPP; in pse_ethtool_set_pw_limit()