STRUCT BQ27XXX_DM_BUF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 memory subclass_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 β€” true if data has been filled by read, so nobody's out here reading empty vibes πŸ™ˆ
  • dirty β€” true if data has 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