dprc_get_obj(9)
β¨ dprc_get_obj(9) β¨
okay so bestie, welcome to the dprc_get_obj page from the Kernel API Manual π
this one's a little baddie that goes and fetches the deets on a single object for you, one at a time, no cap.
π NAME π
dprc_get_obj β get general info on an object, fr fr π«Ά
π¦ SYNOPSIS π¦
int dprc_get_obj (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token ,
int obj_index , struct fsl_mc_obj_desc *obj_desc );
πΈ ARGUMENTS πΈ
mc_ioβ pointer to the MC portal's I/O object, like the lil' connection handle you're working through πcmd_flagsβ command flags, bestie; you want one or more of'MC_CMD_FLAG_'β¨tokenβ the token of the DPRC object πobj_indexβ index of the object you're querying, and it's gotta be< obj_count(iykyk) π―obj_descβ this one returns the requested object descriptor to you π
π§ DESCRIPTION π§
so here's the vibe: the object descriptors get retrieved one by one by incrementing obj_index up to β but not including β the value of obj_count that came back from dprc_get_obj_count. literally just a lil' loop, main character energy π
and the rule is non-negotiable, bestie: dprc_get_obj_count must be called prior to dprc_get_obj. like, before. no skipping steps π
π RETURN π
(nothing listed here in the original, soβ¦ yeah, this section is giving empty on purpose π not me leaving it blank, it's literally what's there π)
π SEE ALSO π
kernel file ./drivers/bus/fsl-mc/dprc.c, plus the whole squad π:
dprc_open(9)dprc_close(9)dprc_reset_container(9)dprc_set_irq(9)dprc_set_irq_enable(9)dprc_set_irq_mask(9)dprc_get_irq_status(9)dprc_clear_irq_status(9)dprc_get_attributes(9)dprc_get_obj_count(9)dprc_set_obj_irq(9)dprc_get_obj_region(9)dprc_get_api_version(9)dprc_get_container_id(9)dprc_get_connection(9)
π«Ά friendly reminder: call dprc_get_obj_count first, or the whole thing just won't slay. periodt.
and that's the page, bestie π this lil' guy lives in ./drivers/bus/fsl-mc and it's stamped October 2026 β dprc_get_obj(9), iconic, no notes β¨π
π¦ 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