STRUCT ANFC_OP(9)
π 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
- 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