devm_mux_chip_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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