devm_pse_alloc_pw_d(9)
π devm_pse_alloc_pw_d β from the Kernel API Manual, bestie β¨
Okay so real talk, this page is literally about one function and it's a whole vibe. We're in devm_pse_alloc_pw_d(9) territory β the devm_ prefix is doing its usual main-character thing, and the manual it lives in is the Kernel API Manual. Let's get into it π
πΈ NAME πΈ
devm_pse_alloc_pw_d β allocate a new PSE power domain for a device. That's it, that's the whole job, and honestly? Iconic. β¨
π¦ SYNOPSIS π¦
struct pse_power_domain * devm_pse_alloc_pw_d (struct device *dev );
Look at that signature. Clean. No cap. π
π ARGUMENTS π
devβ the device that is registering this PSE power domain. Yeah, this is the one saying "hey, this power domain is mine, put it on my tab" π«Ά
β RETURN β
You get back a pointer to the newly allocated PSE power domain. Orβ¦ error pointers π so like, do the IS_ERR() check, bestie, I'm begging. π
π SEE ALSO π
Everything the docs want you to go read next, fr fr β a whole friend group of functions, and the kernel file they live in is ./drivers/net/pse-pd/pse_core.c:
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_pi_is_admin_enable_pending(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)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)
All thirty-six of them. Go read them. Slay. π₯
Lowkey, that's the whole page. It's a short one, and honestly it ate. π
π That's a wrap, bestie β brought to you by the source path ./drivers/net/pse-pd, dated October 2026, page devm_pse_alloc_pw_d(9). Catch you in the next man page! ππ§
π¦ 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