devm_of_dp_aux_populate_bus(9)
π devm_of_dp_aux_populate_bus(9)
okay so bestie, welcome to the Kernel API Manual page for devm_of_dp_aux_populate_bus β yes that name is a mouthful, no I will not be shortening it, we respect the function's government name here π«Ά
β¨ NAME β¨
devm_of_dp_aux_populate_bus β the devm wrapper for of_dp_aux_populate_bus(). literally just the managed-lifecycle glow-up of its sibling, no cap π
πΈ SYNOPSIS πΈ
int devm_of_dp_aux_populate_bus (struct drm_dp_aux *aux , int
(*done_probing)(struct drm_dp_aux *aux) );
π ARGUMENTS π
auxβ the AUX channel whose device we want to populate. that's the one, that's the main character π¦done_probingβ callback function(s) to call after the EP device finishes probing. but bestie listen: it will not be called if there are no EP devices, and in that case this function returns-ENODEV. so don't be out here waiting for a callback that's never gonna text you back π
π DESCRIPTION π
it handles freeing w/ devm on the device aux->dev. that's the whole vibe β the devm machinery does the cleanup so you don't have to, obsessed fr fr β¨
π₯ RETURN π₯
returns 0 if there's no error, or a negative error code if something went sideways. also returns -ENODEV if there are no children β and in that specific case the done_probing function won't be called. periodt. π
π SEE ALSO π
kernel file ./drivers/gpu/drm/display/drm_dp_aux_bus.c
dp_aux_ep_match(9)dp_aux_ep_probe(9)dp_aux_ep_remove(9)dp_aux_ep_shutdown(9)dp_aux_ep_dev_release(9)of_dp_aux_ep_destroy(9)of_dp_aux_depopulate_bus(9)of_dp_aux_populate_bus(9)
ngl the whole friend group is linked above β if this page confused you, go read those and it'll click, iykyk π
and that's the page!! sourced from ./drivers/gpu/drm/display, dated October 2026, signed off by devm_of_dp_aux_populate_bus(9) herself β slay, go populate that bus bestie π§ββοΈβ
π¦ 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