Home
last modified time | relevance | path

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

/linux/drivers/mtd/spi-nor/
H A Dsfdp.c438 struct sfdp_bfpt bfpt; in spi_nor_parse_bfpt() local
452 len = min_t(size_t, sizeof(bfpt), in spi_nor_parse_bfpt()
455 memset(&bfpt, 0, sizeof(bfpt)); in spi_nor_parse_bfpt()
456 err = spi_nor_read_sfdp_dma_unsafe(nor, addr, len, &bfpt); in spi_nor_parse_bfpt()
461 le32_to_cpu_array(bfpt.dwords, BFPT_DWORD_MAX); in spi_nor_parse_bfpt()
464 switch (bfpt.dwords[SFDP_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) { in spi_nor_parse_bfpt()
481 val = bfpt.dwords[SFDP_DWORD(2)]; in spi_nor_parse_bfpt()
504 if (!(bfpt.dwords[rd->supported_dword] & rd->supported_bit)) { in spi_nor_parse_bfpt()
512 half = bfpt.dwords[rd->settings_dword] >> rd->settings_shift; in spi_nor_parse_bfpt()
527 half = bfpt.dwords[er->dword] >> er->shift; in spi_nor_parse_bfpt()
[all …]
H A Dissi.c14 const struct sfdp_bfpt *bfpt) in is25lp256_post_bfpt_fixups() argument
21 if ((bfpt->dwords[SFDP_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) == in is25lp256_post_bfpt_fixups()
H A Dmacronix.c31 const struct sfdp_bfpt *bfpt) in mx25l25635_post_bfpt_fixups() argument
42 if (bfpt->dwords[SFDP_DWORD(5)] & BFPT_DWORD5_FAST_READ_4_4_4) in mx25l25635_post_bfpt_fixups()
H A Dwinbond.c23 const struct sfdp_bfpt *bfpt) in w25q128_post_bfpt_fixups() argument
48 const struct sfdp_bfpt *bfpt) in w25q256_post_bfpt_fixups() argument
H A Dgigadevice.c14 const struct sfdp_bfpt *bfpt) in gd25q256_post_bfpt() argument
H A Dspansion.c524 const struct sfdp_bfpt *bfpt) in s25fs256t_post_bfpt_fixup() argument
590 const struct sfdp_bfpt *bfpt) in s25hx_t_post_bfpt_fixup() argument
719 const struct sfdp_bfpt *bfpt) in s28hx_t_post_bfpt_fixup() argument
744 const struct sfdp_bfpt *bfpt) in s25fs_s_nor_post_bfpt_fixups() argument
H A Dcore.h428 const struct sfdp_bfpt *bfpt);
662 const struct sfdp_bfpt *bfpt);
H A Dmicron-st.c186 const struct sfdp_bfpt *bfpt) in mt25qu512a_post_bfpt_fixup() argument
H A Dcore.c2393 const struct sfdp_bfpt *bfpt) in spi_nor_post_bfpt_fixups() argument
2400 bfpt); in spi_nor_post_bfpt_fixups()
2406 return nor->info->fixups->post_bfpt(nor, bfpt_header, bfpt); in spi_nor_post_bfpt_fixups()