STRUCT BQ256XX_DEVICE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct bq256xx_device(9) πŸ’–

okay so welcome to the Kernel API Manual page for struct bq256xx_device β€” yes bestie, title and manual name right up top, folded in all cute ✨

🌸 NAME 🌸

struct bq256xx_device β€” that's the name, periodt. The original line is literally just the struct plus a dash, so we're keeping that mysterious minimal icon energy πŸ’…

✨ SYNOPSIS ✨

here's the exact struct, bestie β€” every field present and accounted for, no cap:

struct bq256xx_device {
    struct i2c_client *client;
    struct device *dev;
    struct power_supply *charger;
    struct power_supply *battery;
    struct mutex lock;
    struct regmap *regmap;
    struct usb_phy *usb2_phy;
    struct usb_phy *usb3_phy;
    struct notifier_block usb_nb;
    struct work_struct usb_work;
    unsigned long usb_event;
    char model_name[I2C_NAME_SIZE];
    struct bq256xx_init_data init_data;
    const struct bq256xx_chip_info *chip_info;
    struct bq256xx_state state;
    int watchdog_timer;
 };

πŸ¦‹ Members πŸ¦‹

  • client β€” i2c client structure, the whole connection vibe πŸ’–
  • dev β€” device structure, main character energy ✨
  • charger β€” power supply registered for the charger πŸ”‹
  • battery β€” power supply registered for the battery πŸ“
  • lock β€” mutex lock structure πŸ”’
  • regmap β€” register map structure πŸ—ΊοΈ
  • usb2_phy β€” usb_phy identifier πŸ”Œ
  • usb3_phy β€” usb_phy identifier πŸ”Œ
  • usb_nb β€” notifier block πŸ“£
  • usb_work β€” usb work queue πŸ› οΈ
  • usb_event β€” usb_event code ⚑
  • model_name β€” i2c name string 🏷️
  • init_data β€” initialization data 🌱
  • chip_info β€” device variant information 🧬
  • state β€” device status and faults 🚦
  • watchdog_timer β€” watchdog timer value in milliseconds ⏱️

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/power/supply/bq256xx_charger.c struct: struct bq256xx_init_data(9), struct bq256xx_state(9), struct bq256xx_chip_info(9) 🌈

that's the whole page, bestie 🫢 sourced from ./drivers/power/supply, dated October 2026, and it's the struct bq256xx_device(9) page. mwah πŸ’‹

πŸ“¦ where this page comes from