STRUCT BQ27XXX_DM_BUF(9)
β¨ NAME β¨
struct bq27xxx_dm_buf β the chip data memory buffer, bestie π
(this is a Kernel API Manual page, iykyk)
π¦ SYNOPSIS π¦
struct bq27xxx_dm_buf {
u8 class;
u8 block;
u8 data[BQ27XXX_DM_SZ];
bool has_data, dirty;
};
π Members π
classβ the data memorysubclass_id, literally the category tag for this block πΈblockβ the data memory block number, so you know which block we're talking about π―dataβ the actual data from/for the block, the main character ofc πhas_dataβtrueifdatahas been filled by read, so nobody's out here reading empty vibes πdirtyβtrueifdatahas changed since the last read/write, aka it's got that not-saved-yet energy π
π Description π
Okay so basically this struct encapsulates all the info you need to manage chip data memory blocks β¨ Like, everything required for that job lives right here in one little bundle. It's giving organized. It's giving responsible. We love a self-contained data structure π«Ά
π SEE ALSO π
Kernel file ./drivers/power/supply/bq27xxx_battery.c β go read it, it's iconic β
and that's the whole page, no cap π This lil' beauty came from ./drivers/power/supply, dated October 2026, and it's struct bq27xxx_dm_buf(9) β slay, bye bestie! ππ¦β¨
π¦ 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