Home
last modified time | relevance | path

Searched refs:sfdp_size (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/mtd/spi-nor/
Dsfdp.c1415 size_t sfdp_size; in spi_nor_parse_sfdp() local
1438 sfdp_size = SFDP_PARAM_HEADER_PTP(bfpt_header) + in spi_nor_parse_sfdp()
1473 sfdp_size = max_t(size_t, sfdp_size, in spi_nor_parse_sfdp()
1482 if (sfdp_size > PAGE_SIZE) { in spi_nor_parse_sfdp()
1484 sfdp_size); in spi_nor_parse_sfdp()
1485 sfdp_size = PAGE_SIZE; in spi_nor_parse_sfdp()
1500 sfdp->num_dwords = DIV_ROUND_UP(sfdp_size, sizeof(*sfdp->dwords)); in spi_nor_parse_sfdp()
1509 err = spi_nor_read_sfdp(nor, 0, sfdp_size, sfdp->dwords); in spi_nor_parse_sfdp()
Dsysfs.c60 size_t sfdp_size = sfdp->num_dwords * sizeof(*sfdp->dwords); in sfdp_read() local
63 sfdp_size); in sfdp_read()