STRUCT BQ256XX_DEVICE(9)
π 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_phyidentifier πusb3_phyβusb_phyidentifier πusb_nbβ notifier block π£usb_workβ usb work queue π οΈusb_eventβusb_eventcode β‘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.cstruct: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
- 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