Searched refs:sfdp_size (Results 1 – 2 of 2) sorted by relevance
1250 size_t sfdp_size; in spi_nor_parse_sfdp() local1273 sfdp_size = SFDP_PARAM_HEADER_PTP(bfpt_header) + in spi_nor_parse_sfdp()1308 sfdp_size = max_t(size_t, sfdp_size, in spi_nor_parse_sfdp()1317 if (sfdp_size > PAGE_SIZE) { in spi_nor_parse_sfdp()1319 sfdp_size); in spi_nor_parse_sfdp()1320 sfdp_size = PAGE_SIZE; in spi_nor_parse_sfdp()1335 sfdp->num_dwords = DIV_ROUND_UP(sfdp_size, sizeof(*sfdp->dwords)); in spi_nor_parse_sfdp()1344 err = spi_nor_read_sfdp(nor, 0, sfdp_size, sfdp->dwords); in spi_nor_parse_sfdp()
58 size_t sfdp_size = sfdp->num_dwords * sizeof(*sfdp->dwords); in sfdp_read() local61 sfdp_size); in sfdp_read()
Completed in 6 milliseconds