dprc_remove(9)
π dprc_remove(9) β like, the DPRC unbind callback, bestie
okay so this is a page from the Kernel API Manual (yes, the kernel has lore too) and it's about dprc_remove β the callback that gets invoked when a DPRC is being unbound from this driver β¨
πΈ NAME πΈ
dprc_remove β callback invoked when a DPRC is being unbound from this driver
like literally it's the "you're leaving?? okay bye, let me tidy up" function π«Ά
π SYNOPSIS π
void dprc_remove (struct fsl_mc_device *mc_dev );
that's it. that's the whole signature. no cap π
π¦ ARGUMENTS π¦
mc_devβ Pointer tofsl_mc_devicerepresenting the DPRC. it's giving "the whole device, in one pointer" π
π₯ DESCRIPTION π₯
so when this gets called, here's the whole cleanup arc, main character energy only:
- It removes the DPRC's child objects from Linux β not from the MC, important distinction, don't mix that up π
- It closes the DPRC device in the MC.
- It tears down the interrupts that were configured for the DPRC device β‘
- It destroys the interrupt pool associated with this MC bus.
it's a full teardown, like when the group chat goes quiet and everyone logs off. iconic, honestly πβ¨
π SEE ALSO π
Kernel file ./drivers/bus/fsl-mc/dprc-driver.c β go read it, iykyk π
dprc_remove_devices(9)check_plugged_state_change(9)dprc_add_new_devices(9)dprc_scan_objects(9)dprc_scan_container(9)dprc_irq0_handler_thread(9)dprc_setup(9)dprc_probe(9)dprc_cleanup(9)
it's a whole family, honestly. the dprc cinematic universe π
mwah π this page lives in ./drivers/bus/fsl-mc, dated October 2026, and it's still dprc_remove(9) β go off, king π
π¦ 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