STRUCT MUX_CHIP(9)
π
struct mux_chip(9) β like, the Kernel API Manual page for struct mux_chip
okay so bestie, welcome to the glow-up of struct mux_chip π this is a kernel API manual page (yes, the (9) is the section, she's fancy like that), and honestly? she's giving "container of mux controllers" main character energy and we're obsessed.
β¨ NAME β¨
struct mux_chip β literally represents a chip holding mux controllers π that's it, that's the whole vibe.
πΈ SYNOPSIS πΈ
bestie. look at her. the whole struct, no cap:
struct mux_chip {
unsigned int controllers;
struct device dev;
int id;
const struct mux_control_ops *ops;
struct mux_control mux[];
};
π¦ Members π¦
okay so these are the members, and yes we're going through every single one because that's the whole point:
controllersβ the number of mux controllers this chip handles. like, how many besties she's managing. the headcount. β¨devβ the device structure. her wholestruct devicesituation. iconic of her honestly.idβ used to identify the device internally. lowkey her little name tag so the kernel knows which one she is π·οΈopsβ the mux controller operations, aconst struct mux_control_ops *. this is the part where she tells you what she can actually do πmuxβ an array of mux controllers that are handled. that'sstruct mux_control mux[], a flexible array, so she's got room for her whole friend group π«Ά
π SEE ALSO π
go check these out, iykyk:
- Kernel file
./include/linux/mux/driver.h struct mux_control_ops(9)struct mux_control(9)mux_chip_priv(9)mux_control_get_index(9)
and that's the page, fr fr π source: ./include/linux/mux, dated October 2026, and the page itself is of course struct mux_chip(9). mwah, slay, go forth and multiplex π
π¦ 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