doc_set_asic_mode(9)
π doc_set_asic_mode(9) β like, the ASIC mode setter, bestie
okay so real talk, this is a page straight out of the Kernel API Manual and it's called doc_set_asic_mode(9). yes it's a mouthful. no we're not scared of it. let's go π«Ά
β¨ NAME β¨
doc_set_asic_mode β literally just... set the ASIC mode. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
void doc_set_asic_mode (struct docg3 *docg3 , u8 mode );
it returns void btw, so like, don't go looking for a return value. there isn't one. she's giving nothing and that's fine π
π ARGUMENTS π
docg3β the device. the actual thing. your main character πmodeβ the mode. theu8. the whole point of the function ngl β¨
π DESCRIPTION π
so the ASIC can work in 3 modes, and honestly? each one is a different era:
- RESET β all registers are zeroed. everything. gone. a clean slate, a fresh start, a soft launch if you will π
- NORMAL β receives and handles commands. she's working, she's booked, she's thriving π₯
- POWERDOWN β minimal poweruse, flash parts shut off. she's in her rest era, napping, do not disturb π¦
no cap, those are the only three modes listed here β don't go inventing a fourth, bestie π
π SEE ALSO π
this is the friend group, the whole squad, the entire ./drivers/mtd/devices docg3.c kernel file cast β and yes, we're listing every single one because nobody gets left behind π«Ά
doc_delay(9)doc_read_data_area(9)doc_write_data_area(9)doc_set_reliable_mode(9)doc_set_device_id(9)doc_set_extra_page_mode(9)doc_setup_addr_sector(9)doc_setup_writeaddr_sector(9)doc_read_seek(9)doc_write_seek(9)doc_read_page_ecc_init(9)doc_write_page_ecc_init(9)doc_ecc_disable(9)doc_hamming_ecc_init(9)doc_ecc_bch_fix_data(9)doc_read_page_prepare(9)doc_read_page_getbytes(9)doc_write_page_putbytes(9)doc_get_bch_hw_ecc(9)doc_page_finish(9)doc_read_page_finish(9)calc_block_sector(9)doc_read_oob(9)doc_block_isbad(9)doc_get_erase_count(9)doc_get_op_status(9)doc_write_erase_wait_status(9)doc_erase_block(9)doc_erase(9)doc_write_page(9)doc_guess_autoecc(9)doc_fill_autooob(9)doc_backup_oob(9)doc_write_oob(9)doc_set_driver_info(9)doc_probe_device(9)doc_release_device(9)docg3_resume(9)docg3_suspend(9)docg3_probe(9)docg3_release(9)
and for the record, they all live in the kernel file ./drivers/mtd/devices/docg3.c β that's the address, that's the hangout spot π β¨
π sign-off π
that's the page, bestie!! this lil slice of documentation comes to you from ./drivers/mtd/devices and it's dated October 2026, and the title version tag is doc_set_asic_mode(9) in case you forgot already. slay, go set some ASIC modes, you're gonna do amazing π
πβ
π¦ 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