spi_nor_smpt_addr_nbytes(9)
π spi_nor_smpt_addr_nbytes(9) β Kernel API Manual π
okay so bestie, welcome to the kernel API manual, and honestly? you're about to learn about the most specific little function ever. no cap, it's giving "hyper-focused icon" energy. β¨
β¨ NAME β¨
spi_nor_smpt_addr_nbytes β returns the number of address bytes used in the configuration detection command. that's it. that's the whole job. and she does it flawlessly. π
π¦ SYNOPSIS π¦
u8 spi_nor_smpt_addr_nbytes (const struct spi_nor *nor , const u32 settings );
πΈ ARGUMENTS πΈ
norβ this is a pointer to astruct spi_nor. like, the main character of your SPI NOR journey. you're passing her in so she can do her thing. π«Άsettingsβ the configuration detection command descriptor, specificallydword1. this is the VIP pass that tells the function what's up. slay. π
π SEE ALSO π
like any good bestie, this function's got a whole squad. here's everyone she's linked with, fr fr:
- Kernel file
./drivers/mtd/spi-nor/sfdp.c spi_nor_read_raw(9)spi_nor_read_sfdp(9)spi_nor_read_sfdp_dma_unsafe(9)spi_nor_set_erase_settings_from_bfpt(9)spi_nor_map_cmp_erase_type(9)spi_nor_sort_erase_mask(9)spi_nor_regions_sort_erase_types(9)spi_nor_parse_bfpt(9)spi_nor_smpt_read_dummy(9)spi_nor_get_map_in_use(9)spi_nor_region_check_overlay(9)spi_nor_init_non_uniform_erase_map(9)spi_nor_parse_smpt(9)spi_nor_parse_4bait(9)spi_nor_parse_profile1(9)spi_nor_parse_sccr(9)spi_nor_parse_sccr_mc(9)spi_nor_post_sfdp_fixups(9)spi_nor_check_sfdp_signature(9)spi_nor_parse_sfdp(9)
bestie, that's a lot of friends. but she's not competitionβshe's the moment. periodt. π₯
and that's the whole page, gorgeous. sending you all the good vibes from the ./drivers/mtd/spi-nor directory in October 2026 ππ β peace, love, and perfect SPI NOR config detection. 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