STRUCT OCS_HCU_DEV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the struct ocs_hcu_dev(9) entry in the Kernel API Manual ✨ β€” this is literally the OCS HCU device context struct, and she’s here to hold all the device-context info. periodt πŸ’…


✨ SYNOPSIS ✨

struct ocs_hcu_dev {
    struct list_head list;
    struct device *dev;
    void __iomem *io_base;
    struct crypto_engine *engine;
    int irq;
    struct completion irq_done;
    bool irq_err;
};

it’s giving β€œone struct, all the device details,” and honestly? iconic πŸŽ€


πŸŽ€ Members πŸŽ€

  • list β€” list of device contexts. the whole lineup, bestie πŸ’–
  • dev β€” OCS HCU device. main character energy fr fr πŸ‘‘
  • io_base β€” base address of OCS HCU registers. where the register magic lives ✨
  • engine β€” crypto engine for the device. slay πŸ¦‹
  • irq β€” IRQ number. the number itself, no cap πŸ’…
  • irq_done β€” completion for IRQ. waiting room vibes 😭
  • irq_err β€” flag indicating an IRQ error has happened. bestie, if this is set, something went sideways πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/crypto/intel/keembay/ocs-hcu.h struct ocs_hcu_idata(9), struct ocs_hcu_hash_ctx(9)

go check those out, iykyk 🌈

mwah πŸ’‹ β€” source/version ./drivers/crypto/intel/keembay, dated October 2026, page struct ocs_hcu_dev(9).

πŸ“¦ where this page comes from