zl3073x_flash_page(9)
πΎ zl3073x_flash_page(9) β from the Kernel API Manual, bestie πΎ
okay so picture this: you're deep in the kernel, you've got a zl3073x device, and you need to shove some data into its internal flash. that's literally this page. welcome. π«Ά
β¨ NAME β¨
zl3073x_flash_page β flash page, that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
int zl3073x_flash_page (struct zl3073x_dev *zldev , const char
*component , u32 page , u32 addr , const void *data , size_t size ,
struct netlink_ext_ack *extack );
look at her. seven whole arguments. main character energy fr fr π
π ARGUMENTS π
zldevβ thezl3073xdevice structure, aka your device's whole personality πcomponentβ the component name. slay, name your component.pageβ the destination flash page π¦addrβ the device memory address where the data gets loadeddataβ pointer to the data you wanna flash β¨sizeβ size of that data, obviously πextackβ the netlink extack pointer, used to report errors. it's giving accountability. π
π DESCRIPTION π
so what does she actually do? the function flashes the given data β size bytes of it β into the internal flash memory block, and that block starts with page page. not me describing flash memory like it's a group chat thread. but like, that's the whole thing. π
no cap, that's it. small function, big responsibility. π
β RETURN β
0 on success, <0 on error. iconic. either you ate or you didn't. π
bestie pls actually check the return value. <0 means something went wrong and you should deal with it, okay? π
π§ SEE ALSO π§
the whole flash girlie friend group, plus the kernel file they all live in:
- Kernel file
./drivers/dpll/zl3073x/flash.c zl3073x_flash_download(9)zl3073x_flash_error_check(9)zl3073x_flash_wait_ready(9)zl3073x_flash_cmd_wait(9)zl3073x_flash_get_sector_size(9)zl3073x_flash_block(9)zl3073x_flash_sectors(9)zl3073x_flash_page_copy(9)zl3073x_flash_mode_verify(9)zl3073x_flash_mode_enter(9)zl3073x_flash_mode_leave(9)
iykyk, go read all of them, they're literally all connected πΈ
okay that's the whole page!! this little icon comes to you from ./drivers/dpll/zl3073x, dated October 2026 β mwah, go flash something responsibly πβ¨π
π¦ 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