STRUCT UACCE_DEVICE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct uacce_device(9) β€” kernel API manual, bestie edition πŸŽ€

okay so bestie, we're in the struct uacce_device(9) page, from the Kernel API Manual β€” yes, that one, the header already told you, but I'm saying it again because context is everything ✨


🌸 NAME 🌸

struct uacce_device β€” literally the struct, that's it, that's the name. no description in the original, so no cap, we're not inventing one πŸ™ˆ


✨ SYNOPSIS ✨

here's the whole thing, every field, character for character, do not touch it:

struct uacce_device {
    const char *algs;
    const char *api_ver;
    const struct uacce_ops *ops;
    unsigned long qf_pg_num[UACCE_MAX_REGION];
    struct device *parent;
    bool is_vf;
    u32 flags;
    u32 dev_id;
    struct cdev *cdev;
    struct device dev;
    struct mutex mutex;
    void *priv;
    struct list_head queues;
 };

🫢 Members 🫢

every single member, no skipping, we don't do that here πŸ’–

  • algs β€” supported algorithms. the whole point, honestly πŸ‘‘
  • api_ver β€” api version. gotta know which era of the API you're living in πŸ¦‹
  • ops β€” pointer to the struct uacce_ops. the function table, the main character energy πŸ”₯
  • qf_pg_num β€” page numbers of the queue file regions. it's an array, [UACCE_MAX_REGION] sized, don't forget 🌸
  • parent β€” pointer to the parent device. every device has a parent, deep πŸ’œ
  • is_vf β€” whether virtual function. bool, so yes or no, that's the vibe check πŸ’…
  • flags β€” uacce attributes. u32, bitflags-ish, you know the drill ⭐
  • dev_id β€” id of the uacce device. u32, the whole identity 🌈
  • cdev β€” cdev of the uacce. char device representation, iconic πŸŽ€
  • dev β€” dev of the uacce. the actual struct device sitting right there inside 🧚
  • mutex β€” protects uacce operation. yes, it protects the operation, so respect the lock, no sketchy unlocked nonsense 😭
  • priv β€” private pointer of the uacce. void *, driver's little secret 🀫
  • queues β€” list of queues. struct list_head, it's giving linked list πŸ“

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./include/linux/uacce.h
  • struct uacce_qfile_region(9)
  • struct uacce_ops(9)
  • struct uacce_interface(9)
  • struct uacce_queue(9)

go read those next, iykyk πŸ’–


quick vibe check bestie: this page lives at ./include/linux, and the manual date on it is October 2026 β€” yes, October 2026, that's what it says, not my problem πŸ™ˆ

so that's the whole page! source path ./include/linux, October 2026 date, and the manual is struct uacce_device(9) β€” slay, you read the whole thing, ate and left no crumbs πŸ‘‘βœ¨πŸ«Ά

πŸ“¦ where this page comes from