fsl_mc_reso...l_add_device(9)
πΈ fsl_mc_resource_pool_add_device β NAME π
okay so bestie, this page is from the Kernel API Manual, section 9, and the title got cut off in the header as fsl_mc_reso...l_add_device(9) β tragic, I know, but it's literally fsl_mc_resource_pool_add_device.
What does it do? It adds an allocatable object to a resource pool of a given fsl-mc bus. That's it, that's the whole vibe. π¦
β¨ SYNOPSIS β¨
int fsl_mc_resource_pool_add_device (struct fsl_mc_bus *mc_bus , enum
fsl_mc_pool_type pool_type , struct fsl_mc_device *mc_dev );
Returns an int, takes three args. Iconic signature, no notes. π
π ARGUMENTS π
mc_busβ pointer to the fsl-mc bus. like, the bus in question, she's the main character here πpool_typeβ pool type. yes bestie, that's the type of the pool πΈmc_devβ pointer to allocatable fsl-mc device. the actual device you're adding to the pool, periodt β¨
π₯ SEE ALSO π₯
- Kernel file
./drivers/bus/fsl-mc/fsl-mc-allocator.cβ go read the source, iykyk π fsl_mc_resource_pool_remove_device(9)β the reverse move, the breakup arc πfsl_mc_object_allocate(9)β get yourself an object πfsl_mc_object_free(9)β and give it back, be responsible π«Ά
ngl this one's short and sweet β no options, no env vars, no exit status drama, just three args and a dream π
anyway bestie, this β¨ iconic β¨ page came from ./drivers/bus/fsl-mc, dated October 2026 β mwah, go forth and pool those resources π
ππ
π¦ 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