set_led(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is set_led(9) from the Kernel API Manual β€” yes, the manual name is folded in right here, you’re welcome πŸ’…. The page is about set_led - Configure LED mode. That’s the whole assignment, no cap ✨.

🌸 SYNOPSIS 🌸

the signature is giving exactly this, untouched, fr fr:

int set_led (struct qed_dev *cdev , enum qed_led_mode mode );

πŸŽ€ ARGUMENTS πŸŽ€

  • cdev β€” Qed dev pointer. that’s the pointer bestie, it points at the Qed dev πŸ’–
  • mode β€” LED mode. yes, the mode for the LED, iconic.

⭐ RETURN ⭐

0 on success, error otherwise. so like, zero means slay, anything else means the error vibe check failed 😭.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/qed/qed_if.h is the source-y bestie for this one, and here are all the cross-references β€” no skipping, periodt:

okay bye bestie 🫢 β€” set_led(9) is from ./include/linux/qed, dated October 2026, and that’s the footer tea β˜•βœ¨.

πŸ“¦ where this page comes from