Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/mtd/spi-nor/
A Dsfdp.c1308 size_t sfdp_size; in spi_nor_parse_sfdp() local
1331 sfdp_size = SFDP_PARAM_HEADER_PTP(bfpt_header) + in spi_nor_parse_sfdp()
1366 sfdp_size = max_t(size_t, sfdp_size, in spi_nor_parse_sfdp()
1375 if (sfdp_size > PAGE_SIZE) { in spi_nor_parse_sfdp()
1377 sfdp_size); in spi_nor_parse_sfdp()
1378 sfdp_size = PAGE_SIZE; in spi_nor_parse_sfdp()
1393 sfdp->num_dwords = DIV_ROUND_UP(sfdp_size, sizeof(*sfdp->dwords)); in spi_nor_parse_sfdp()
1402 err = spi_nor_read_sfdp(nor, 0, sfdp_size, sfdp->dwords); in spi_nor_parse_sfdp()
A Dsysfs.c60 size_t sfdp_size = sfdp->num_dwords * sizeof(*sfdp->dwords); in sfdp_read() local
63 sfdp_size); in sfdp_read()

Completed in 9 milliseconds