dprc_remove_devices(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dprc_remove_devices(9) β€” like, the Kernel API Manual one πŸŽ€

okay so bestie, welcome to page dprc_remove_devices(9) of the Kernel API Manual ✨ this is the whole vibe, let's go πŸ¦‹


🌸 NAME 🌸

dprc_remove_devices β€” removes devices for objects that got yeeted out of a DPRC πŸ’€βœ¨


⭐ SYNOPSIS ⭐

void dprc_remove_devices (struct fsl_mc_device *mc_bus_dev , struct
fsl_mc_obj_desc *obj_desc_array , int num_child_objects_in_mc );

(no cap, that weird space before the commas is literally how it's written, we do not touch it πŸ™ˆ)


🧚 ARGUMENTS 🧚

  • mc_bus_dev β€” a pointer to the fsl-mc device that represents a DPRC object 🫢 like, this is the main character of the call.
  • obj_desc_array β€” the array of object descriptors for the child objects that are currently present in the DPRC in the MC πŸ‘‘
  • num_child_objects_in_mc β€” the number of entries in obj_desc_array, i.e. how many of the above you're actually handing over πŸ“

πŸ’– DESCRIPTION πŸ’–

So here's the tea β˜•: this function synchronizes the state of the Linux bus driver with the actual state of the MC πŸ’… it does that by removing the devices that represent MC objects which have been dynamically removed in the physical DPRC.

tl;dr β€” the MC was like "these objects? gone." and this function is what makes the Linux side agree ✨ lowkey iconic behaviour, ngl 😭


πŸ¦‹ SEE ALSO πŸ¦‹

all of them slay in their own way, go read them πŸ«ΆπŸ’œ


ngl this whole page lives under ./drivers/bus/fsl-mc and it's dated October 2026, so like, mark your calendars bestie πŸ“…πŸ’– that's the sign-off, mwah πŸ’‹πŸŒˆ
πŸ“¦ where this page comes from