update_drv_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

update_drv_state β€” the API that literally just tells everyone "hey bestie, the driver state changed" ✨

okay so quick vibe check: this is from the Kernel API Manual, section 9, and it's giving "small function, big responsibilities." πŸŽ€


🌸 SYNOPSIS 🌸

int update_drv_state (struct qed_dev *cdev , bool active );

like, that's the whole thing. short king energy πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cdev β€” the Qed dev pointer. it's the device we're talking about, the main character of this whole operation πŸ’…
  • active β€” active. yes bestie, that's the whole description. it's a bool, it's active, we move 🫢

⭐ RETURN ⭐

Returns an Int. that's it. that's the return value. ngl the docs are being mysterious on purpose here 😭


🧚 SEE ALSO 🧚

first up, the kernel file, no cap:

./include/linux/qed/qed_if.h

and then the whole friend group β€” this function does not run alone, it's a whole squad πŸ”₯:

28 entries, all accounted for, we don't skip a single one in this house πŸ˜€πŸ’œ

lowkey a reminder: this page only lists these as see also β€” it's not claiming anything extra about what they do. iykyk πŸ’€

and that's the page bestie!! 🌈 written up from ./include/linux/qed, dated October 2026, and closed out with update_drv_state(9) right where it belongs. periodt πŸ’…βœ¨

πŸ“¦ where this page comes from