ufshcd_advan..._req_handler(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, meet ufshcd_advan..._req_handler(9) from the Kernel API Manual β€” she handles an advanced RPMB request and she is literally the moment. πŸ’…βœ¨

πŸ’– NAME πŸ’–

ufshcd_advanced_rpmb_req_handler β€” handle advanced RPMB request. That's the whole name, no cap. πŸŽ€

✨ SYNOPSIS ✨

here's the exact signature, no edits, no vibes-based renaming:

int ufshcd_advanced_rpmb_req_handler (struct ufs_hba *hba , struct
       utp_upiu_req *req_upiu , struct utp_upiu_req *rsp_upiu , struct ufs_ehs
       *req_ehs , struct ufs_ehs *rsp_ehs , int sg_cnt , struct scatterlist
       *sg_list , enum dma_data_direction dir );

πŸŽ€ ARGUMENTS πŸŽ€

okay the cast of characters, in order:

  • hba β€” per adapter instance. one per adapter instance, got it. 🫢
  • req_upiu β€” the upiu request.
  • rsp_upiu β€” the upiu reply.
  • req_ehs β€” EHS field which contains Advanced RPMB Request Message.
  • rsp_ehs β€” EHS field which returns Advanced RPMB Response Message.
  • sg_cnt β€” The number of sg lists actually used.
  • sg_list β€” Pointer to SG list when DATA IN/OUT UPIU is required in ARPMB operation.
  • dir β€” DMA direction.

πŸ¦‹ RETURN πŸ¦‹

0 upon success, slay. > 0 in case the UFS device reported an OCS error. < 0 if another error occurred. that's the return-value vibe check, fr fr. πŸ’€

🌸 SEE ALSO 🌸

bestie, the SEE ALSO list is huge and iconic β€” same order, every single reference, no skips:

mwah πŸ’‹ β€” this cutie comes from source/version ./drivers/ufs/core, dated October 2026, and the page title is still ufshcd_advan..._req_handler(9). bye bestie! 🫢🌈

πŸ“¦ where this page comes from