pse_pi_is_ad...able_pending(9)
π NAME π
pse_pi_is_admin_enable_pending β bestie, this one checks whether a PI is stuck in the admin enable pending state, which basically means the power hasn't actually been delivered yet π
So yeah, this is a page from the Kernel API Manual, and we're getting into it β¨
π SYNOPSIS π
bool pse_pi_is_admin_enable_pending (struct pse_controller_dev *pcdev ,
int id );
π¦ ARGUMENTS π¦
pcdevβ a pointer to the PSE controller device π«Ά like, the actual controller we're talking aboutidβ index of the PI πΈ that's the one we're vibe-checking
β¨ DESCRIPTION β¨
Okay so here's the tea β β this function detects if a PI is enabled in software with a PD detected, but the hardware admin state hasn't been applied yet. Not yet. Still pending. The hardware is lowkey lagging behind the software π
And where does this get used? In the power delivery and retry mechanisms, obviously β it's how the kernel figures out which PIs need to have power delivery attempted again π₯ Like a little "hey, you still need to try again" list. Iconic behavior honestly π
π RETURN π
Returns true if the PI has the admin enable flag set in software but it's not yet reflected in the hardware admin state. Returns false otherwise π
That's it. That's the whole answer. No cap π§
π SEE ALSO π
Go read the kernel file ./drivers/net/pse-pd/pse_core.c first, bestie β and then the whole friend group:
struct pse_control(9)struct pse_power_domain(9)of_load_pse_pi_pairsets(9)of_load_pse_pis(9)pse_control_find_by_id(9)pse_control_get_netdev(9)pse_pi_is_hw_enabled(9)pse_pw_d_retry_power_delivery(9)pse_pw_d_is_sw_pw_control(9)pse_pi_deallocate_pw_budget(9)_pse_pi_disable(9)pse_disable_pi_pol(9)pse_disable_pi_prio(9)pse_pi_allocate_pw_budget_static_prio(9)pse_pi_allocate_pw_budget(9)_pse_pi_delivery_power_sw_pw_ctrl(9)pse_flush_pw_ds(9)devm_pse_alloc_pw_d(9)pse_register_pw_ds(9)pse_send_ntf_worker(9)pse_controller_register(9)pse_controller_unregister(9)devm_pse_controller_register(9)pse_to_regulator_notifs(9)pse_set_config_isr(9)pse_isr(9)devm_pse_irq_helper(9)pse_control_put(9)of_pse_match_pi(9)psec_id_xlate(9)pse_get_sw_admin_state(9)pse_ethtool_get_status(9)pse_ethtool_set_config(9)pse_pi_update_pw_budget(9)pse_ethtool_set_pw_limit(9)pse_ethtool_set_prio(9)
And that's the page, mwah π it lives over in ./drivers/net/pse-pd, dated October 2026 β go off, kernel docs, you ate πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms