STRUCT UTP_TRANSFER_REQ_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct utp_t...fer_req_desc(9) πŸ’…

okay so bestie, we're in the Kernel API Manual, section 9, and today's main character is struct utp_t...fer_req_desc(9). No cap, this page is all about the UTRD vibes and every little DW is invited to the function. 🫢✨

🌸 NAME 🌸

struct utp_transfer_req_desc β€” UTP Transfer Request Descriptor (UTRD). That's the name, that's the assignment, periodt. πŸ’–

✨ SYNOPSIS ✨

here's the whole struct, looking iconic in its natural habitat:

struct utp_transfer_req_desc {
    struct request_desc_header header;
    __le64 command_desc_base_addr;
    __le16 response_upiu_length;
    __le16 response_upiu_offset;
    __le16 prd_table_length;
    __le16 prd_table_offset;
 };

that closing brace is doing its little lean, and yes, we respect it. πŸŽ€

πŸŽ€ Members πŸŽ€

okay, field-by-field roll call β€” no skipping, bestie:

  • header β€” UTRD header DW-0 to DW-3. Bestie said "header" and meant business. πŸ‘‘
  • command_desc_base_addr β€” UCD base address DW 4-5. Note the spacing: DW 4-5, exactly as the page says. πŸ’…
  • response_upiu_length β€” response UPIU length DW-6. She's measuring the UPIU, not guessing. ✨
  • response_upiu_offset β€” response UPIU offset DW-6. Same DW, different job β€” teamwork. 🫢
  • prd_table_length β€” Physical region descriptor length DW-7. Capital P, capital R, capital D, all the letters. 🌸
  • prd_table_offset β€” Physical region descriptor offset DW-7. The offset counterpart, slaying in the same DW. πŸ’–

🌈 SEE ALSO 🌈

when you're done here, the Kernel file ./include/ufs/ufshci.h is the place to peek, and the squad to check next is struct ufshcd_sg_entry(9), struct utp_transfer_cmd_desc(9), and struct request_desc_header(9). iykyk β€” the whole UFS friend group is linked up. πŸ¦‹


xoxo, your Kernel API Manual bestie πŸ’– source/version: ./include/ufs; date: October 2026; and the footer is still repping struct utp_t...fer_req_desc(9). periodt. 🌟

πŸ“¦ where this page comes from