STRUCT ADV748X_STATE(9)
π NAME π
struct adv748x_state β literally the state of ADV748X, bestie. That's it, that's the whole vibe. It's the big container struct that holds everything the ADV748X driver needs to keep track of π
β¨ SYNOPSIS β¨
okay so here's the whole struct, exactly as it lives, no cap:
struct adv748x_state {
struct device *dev;
struct i2c_client *client;
struct mutex mutex;
struct device_node *endpoints[ADV748X_PORT_MAX];
struct i2c_client *i2c_clients[ADV748X_PAGE_MAX];
struct regmap *regmap[ADV748X_PAGE_MAX];
struct adv748x_hdmi hdmi;
struct adv748x_afe afe;
struct adv748x_csi2 txa;
struct adv748x_csi2 txb;
};
like, look at her. she's got pointers, she's got mutexes, she's got arrays of regmaps. main character energy fr π
πΈ Members πΈ
devβ the(OF)device. your actual hardware bae π«Άclientβ the I2C client. iconic.mutexβ protects the global state. do not touch the state without holding her, bestie, that's the whole point πendpointsβ the parsed device node endpoints for each port. one per port, all parsed and ready β¨i2c_clientsβ the I2C clients for the page accesses. yes, plural, there's a whole array of them π¦regmapβ the regmap configuration pages. indexed by page, as one does πhdmiβ state of the HDMI receiver context πΊafeβ state of the AFE receiver context πtxaβ state of the TXA transmitter context π₯txbβ state of the TXB transmitter context β
like the way it's just holding four whole subsystem contexts plus everything else? obsessed. she's giving "group project but I'm the only one doing the work" energy and honestly? she ate π
heads up: these are all the members, fr fr β nothing skipped, nothing merged. if you're looking for a field that isn't here, it's not here and I can't invent it for you π
π¦ SEE ALSO π¦
- Kernel file
./drivers/media/i2c/adv748x/adv748x.hβ go read the header, iykyk π«
and that's the whole page, bestie! this one came from <purple>./drivers/media/i2c/adv748x</purple>, dated October 2026 β so like, yeah, that's the source and the version and the date all in one cute little sign-off πβ¨ slay π
π¦ 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