STRUCT QCOM_PAS_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the Kernel API Manual entry for struct qcom_pas_ops β€” aka the Qcom Peripheral Authentication Service (PAS) ops struct, page qcom_pas_ops(9). it's giving β€œall the PAS callbacks in one iconic little bundle” energy πŸ’…βœ¨


🌈 SYNOPSIS 🌈

       struct qcom_pas_ops {
           const char *drv_name;
           struct device *dev;
           bool (*supported)(struct device *dev, u32 pas_id);
           int (*init_image)(struct device *dev, u32 pas_id, const void
       *metadata, size_t size, struct qcom_pas_context *ctx);
           int (*mem_setup)(struct device *dev, u32 pas_id, phys_addr_t addr,
       phys_addr_t size);
           void *(*get_rsc_table)(struct device *dev, struct qcom_pas_context
       *ctx, void *input_rt, size_t input_rt_size, size_t *output_rt_size);
           int (*prepare_and_auth_reset)(struct device *dev, struct
       qcom_pas_context *ctx);
           int (*auth_and_reset)(struct device *dev, u32 pas_id);
           int (*set_remote_state)(struct device *dev, u32 state, u32 pas_id);
           int (*shutdown)(struct device *dev, u32 pas_id);
           void (*metadata_release)(struct device *dev, struct qcom_pas_context
       *ctx);
        };

πŸ’– Members πŸ’–

each member is literally a little piece of the PAS ops puzzle, no cap:

  • drv_name β€” the PAS driver name. yes, the name of the driver. iconic behavior.
  • dev β€” the PAS device pointer. it's the device, bestie 🫢
  • supported β€” the Peripheral supported callback. slay.
  • init_image β€” the Peripheral image initialization callback. getting that image ready ✨
  • mem_setup β€” the Peripheral memory setup callback. memory setup but make it a callback πŸ’…
  • get_rsc_table β€” the Peripheral get resource table callback. resource table retrieval vibes.
  • prepare_and_auth_reset β€” the Peripheral prepare firmware authentication and reset callback. prep + auth + reset, the whole main-character sequence πŸ”₯
  • auth_and_reset β€” the Peripheral firmware authentication and reset callback. auth and reset, periodt.
  • set_remote_state β€” the Peripheral set remote state callback. setting that remote state fr fr.
  • shutdown β€” the Peripheral shutdown callback. bye bye, shutdown time πŸ’€
  • metadata_release β€” the Image metadata release callback. releasing that image metadata, as one does πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/firmware/qcom/qcom_pas.h β€” go peek, bestie πŸ‘€

mwah πŸ’‹ that’s the whole page. source/version: ./drivers/firmware/qcom; date: October 2026; and yes, we’re still talking about struct qcom_pas_ops(9). now go be iconic with your PAS callbacks 🫢✨

πŸ“¦ where this page comes from