STRUCT ANFC_OP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct anfc_op β€” Defines how to execute an operation. Hii bestie, welcome to the Kernel API Manual page for struct anfc_op(9) β€” it’s giving kernel-struct realness, and we’re gonna read it together 🫢✨


✨ SYNOPSIS ✨

struct anfc_op {
    u32 pkt_reg;
    u32 addr1_reg;
    u32 addr2_reg;
    u32 cmd_reg;
    u32 prog_reg;
    int steps;
    unsigned int rdy_timeout_ms;
    unsigned int len;
    bool read;
    u8 *buf;
 };

πŸŽ€ Members πŸŽ€

  • pkt_reg β€” Packet register. That’s the whole vibe, no cap ✨
  • addr1_reg β€” Memory address 1 register. Address number one, slay πŸ’…
  • addr2_reg β€” Memory address 2 register. Address number two, equally iconic πŸŽ€
  • cmd_reg β€” Command register. It’s giving β€œdo the thing” energy πŸ”₯
  • prog_reg β€” Program register. Program register, periodt 🌸
  • steps β€” Number of "packets" to read/write. The quotes around "packets" are literally main character energy, iykyk 😭
  • rdy_timeout_ms β€” Timeout for waits on Ready/Busy pin. Patience is a virtue, bestie 🧚
  • len β€” Data transfer length. Gotta know how much data we’re moving, fr fr πŸ“
  • read β€” Data transfer direction from the controller point of view. Important POV, ngl πŸ‘€
  • buf β€” Data buffer. The data lives here, protected and cozy 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/mtd/nand/raw/arasan-nand-controller.c
  • struct anand(9), struct arasan_nfc(9)

okay that’s the whole page, bestie β€” source/version: ./drivers/mtd/nand/raw, dated October 2026. bye, love u, mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from