zl3073x_fla..._sector_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ zl3073x_flash_get_sector_size β€” the kernel API manual glow-up ✨

okay bestie, so this one is a Linux kernel API manual page for zl3073x_flash_get_sector_size, and honestly? it's a tiny little icon. one job, does it well, no drama. let's get into it 🫢


🌸 NAME 🌸

zl3073x_flash_get_sector_size β€” literally just "get flash sector size". that's the whole vibe. no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int zl3073x_flash_get_sector_size (struct zl3073x_dev *zldev , size_t
*sector_size );

she takes two things and hands you back an int. periodt ✨


πŸ’– ARGUMENTS πŸ’–

  • zldev β€” the zl3073x device structure. this is your main character right here πŸ‘‘
  • sector_size β€” the sector size that gets returned by the function. she's an out-param, she's giving results πŸŽ€

🌈 DESCRIPTION 🌈

so what does she actually do? the function reads the flash sector size detected by the flash utility, and stores it into sector_size. that's it. that's the whole function. she reads, she stores, she slays πŸ”₯


⭐ RETURN ⭐

  • 0 on success β€” we love a clean return πŸ’œ
  • <0 on error β€” 😭 but at least she tells you

🧚 SEE ALSO 🧚

kernel file ./drivers/dpll/zl3073x/flash.c, plus the whole flash crew, fr fr:


ngl bestie, if you're poking at flash on a zl3073x, you're gonna want the whole squad above. go read them. iykyk πŸ’…

and that's the page! this little beauty lives under ./drivers/dpll/zl3073x, dated October 2026, in the Kernel API Manual β€” mwah, iconic, no notes πŸŒΈβœ¨πŸŽ€

πŸ“¦ where this page comes from