buffer_icap_get_status(9)
π buffer_icap_get_status β Kernel API Manual energy, bestie
okay so we're in the Kernel API Manual today and the star of the show is buffer_icap_get_status(9) β literally the function that goes and peeks at the status register for you. iconic behavior. π
β¨ NAME β¨
buffer_icap_get_status β Get the contents of the status register.</p> that's it, that's the whole job, and she does it flawlessly π
π¦ SYNOPSIS π¦
u32 buffer_icap_get_status (struct hwicap_drvdata *drvdata );
returns a u32, takes one pointer, no drama. we love a low-maintenance signature π«Ά
πΈ ARGUMENTS πΈ
drvdataβ a pointer to thedrvdata. yes bestie that's the whole description, she's a woman of few words and honestly? respect. β¨
π DESCRIPTION π
so the status register is carrying two things at once: the ICAP status and the done bit. main character multitasking fr fr. π
here's the bit map, copied exactly, no cap:
D8 - cfgerr
D7 - dalign
D6 - rip
D5 - in_abort_l
D4 - Always 1
D3 - Always 1
D2 - Always 1
D1 - Always 1
D0 - Done bit
so like, bits D4 through D1 are justβ¦ always 1. they're not doing anything, they're just vibing there, permanent residents, always 1, that's their whole personality π and then D0 is the Done bit, D5 is in_abort_l, D6 is rip, D7 is dalign, and D8 is cfgerr. the way that bit order is reversed from how you'd write it down normally β iykyk π§
π₯ SEE ALSO π₯
- Kernel file
./drivers/char/xilinx_hwicap/buffer_icap.cβ go read the source bestie, it's right there π buffer_icap_get_bram(9)buffer_icap_busy(9)buffer_icap_set_size(9)buffer_icap_set_offset(9)buffer_icap_set_rnc(9)buffer_icap_set_bram(9)buffer_icap_device_read(9)buffer_icap_device_write(9)buffer_icap_reset(9)buffer_icap_set_configuration(9)buffer_icap_get_configuration(9)
the whole friend group, all accounted for. squad goals honestly π
ngl if you got here from buffer_icap_busy(9) you're on the right track β they're literally neighbors π‘
and that's the page!! sending you off with love from ./drivers/char/xilinx_hwicap, stamped October 2026, signed buffer_icap_get_status(9) β slay, go read your registers, mwah π
π¦ 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