devm_of_dp_aux_populate_bus(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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


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