dprc_set_irq_mask(9)
π
dprc_set_irq_mask β a Kernel API Manual moment
okay so bestie, welcome to the dprc_set_irq_mask(9) page from the Kernel API Manual. this one is short and sweet and it's giving "quietly important" fr fr π
β¨ NAME β¨
dprc_set_irq_mask β set the interrupt mask. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
int dprc_set_irq_mask (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , u8 irq_index , u32 mask );
like, exactly that, no notes, copy it character for character or the compiler will simply end you π
π¦ ARGUMENTS π¦
mc_ioβ pointer to the MC portal's I/O object. yes it's an I/O object, yes it's a pointer, we love a pointer π«Άcmd_flagsβ command flags; one or more of'MC_CMD_FLAG_'. plural, so you can stack your little flags, go off πtokenβ the token of the DPRC object. it's au16. it's the token. iykyk π₯irq_indexβ the interrupt index you're configuring. of typeu8, so keep it smol β¨maskβ the event mask that triggers the interrupt. each bit means:0= ignore event1= consider event for asserting irq
so like, bit on = we care, bit off = we literally don't π
π DESCRIPTION π
every interrupt can have up to 32 causes, and the interrupt model supports masking/unmasking each cause independently. so you can be picky. you can be selective. you can let exactly the causes you want through and ghost the rest πβ¨
β RETURN β
the RETURN section is, and i say this with love, empty. there is literally nothing here in the source, so i'm not gonna make something up, bestie β no cap, i refuse to invent return values π
π SEE ALSO π
- kernel file
./drivers/bus/fsl-mc/dprc.cβ the actual source, go read it, it's iconic π
and the whole friend group:
dprc_open(9)dprc_close(9)dprc_reset_container(9)dprc_set_irq(9)dprc_set_irq_enable(9)dprc_get_irq_status(9)dprc_clear_irq_status(9)dprc_get_attributes(9)dprc_get_obj_count(9)dprc_get_obj(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)
lowkey reminder:maskis a bitmask, so0= ignore and1= consider for asserting irq. don't flip your bits by accident bestie, that's a main character mistake π§
okay bye, this page came from ./drivers/bus/fsl-mc, dated October 2026, and it is literally titled dprc_set_irq_mask(9) β slay, ate, periodt π
ππ¦
π¦ 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