STRUCT QCOM_PAS_OPS(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms