devm_mux_chip_register(9)
devm_mux_chip_register(9) π
okay so this is the Kernel API Manual page for devm_mux_chip_register, bestie. It's the resource-managed version of mux_chip_register(), and the vibe is very βregister the mux chip, but make it managed.β π«Άβ¨
πΈ NAME πΈ
devm_mux_chip_register β resource-managed version of mux_chip_register().
β¨ SYNOPSIS β¨
int devm_mux_chip_register (struct device *dev , struct mux_chip
*mux_chip );
π ARGUMENTS π
devβ the parent device implementing the mux interface. Parent-device energy, literally. πmux_chipβ the mux-chip to register. That's the one you're registering, no cap.
π₯ DESCRIPTION π₯
See mux_chip_register for more details. That's the whole tea β this page is just the resource-managed version, so the other function has the extra lore. π
π RETURN π
Zero on success, or a negative errno on error. Periodt. π
π¦ SEE ALSO π¦
Kernel file ./drivers/mux/core.c β and the whole mux bestie lineup: struct mux_state(9), struct devm_mux_state_state(9), mux_chip_alloc(9), mux_chip_register(9), mux_chip_unregister(9), mux_chip_free(9), devm_mux_chip_alloc(9), mux_control_states(9), mux_control_select_delay(9), mux_state_select_delay(9), mux_control_try_select_delay(9), mux_state_try_select_delay(9), mux_control_deselect(9), mux_state_deselect(9), mux_get(9), mux_control_get(9), mux_control_get_optional(9), mux_control_put(9), devm_mux_control_get(9), mux_state_get(9), __devm_mux_state_get(9), devm_mux_state_get_from_np(9), devm_mux_state_get_optional(9), devm_mux_state_get_selected(9), devm_mux_state_get_optional_selected(9).
and that's the page, bestie π β signing off from the Kernel API Manual, source ./drivers/mux, dated October 2026. 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