Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/spi-nor/
Dspi-nor.c2203 struct sfdp_bfpt bfpt; in spi_nor_parse_bfpt() local
2214 len = min_t(size_t, sizeof(bfpt), in spi_nor_parse_bfpt()
2217 memset(&bfpt, 0, sizeof(bfpt)); in spi_nor_parse_bfpt()
2218 err = spi_nor_read_sfdp_dma_unsafe(nor, addr, len, &bfpt); in spi_nor_parse_bfpt()
2224 bfpt.dwords[i] = le32_to_cpu(bfpt.dwords[i]); in spi_nor_parse_bfpt()
2227 switch (bfpt.dwords[BFPT_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) { in spi_nor_parse_bfpt()
2241 params->size = bfpt.dwords[BFPT_DWORD(2)]; in spi_nor_parse_bfpt()
2264 if (!(bfpt.dwords[rd->supported_dword] & rd->supported_bit)) { in spi_nor_parse_bfpt()
2272 half = bfpt.dwords[rd->settings_dword] >> rd->settings_shift; in spi_nor_parse_bfpt()
2282 half = bfpt.dwords[er->dword] >> er->shift; in spi_nor_parse_bfpt()
[all …]