/kernel/linux/linux-5.10/drivers/mtd/spi-nor/ |
H A D | sfdp.c | 433 struct sfdp_bfpt bfpt; in spi_nor_parse_bfpt() local 445 len = min_t(size_t, sizeof(bfpt), in spi_nor_parse_bfpt() 448 memset(&bfpt, 0, sizeof(bfpt)); in spi_nor_parse_bfpt() 449 err = spi_nor_read_sfdp_dma_unsafe(nor, addr, len, &bfpt); in spi_nor_parse_bfpt() 454 le32_to_cpu_array(bfpt.dwords, BFPT_DWORD_MAX); in spi_nor_parse_bfpt() 457 switch (bfpt.dwords[BFPT_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) { in spi_nor_parse_bfpt() 472 val = bfpt.dwords[BFPT_DWORD(2)]; in spi_nor_parse_bfpt() 495 if (!(bfpt.dwords[rd->supported_dword] & rd->supported_bit)) { in spi_nor_parse_bfpt() 503 half = bfpt in spi_nor_parse_bfpt() [all...] |
H A D | macronix.c | 14 const struct sfdp_bfpt *bfpt, in mx25l25635_post_bfpt_fixups() 26 if (bfpt->dwords[BFPT_DWORD(5)] & BFPT_DWORD5_FAST_READ_4_4_4) in mx25l25635_post_bfpt_fixups() 12 mx25l25635_post_bfpt_fixups(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt, struct spi_nor_flash_parameter *params) mx25l25635_post_bfpt_fixups() argument
|
H A D | issi.c | 14 const struct sfdp_bfpt *bfpt, in is25lp256_post_bfpt_fixups() 22 if ((bfpt->dwords[BFPT_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) == in is25lp256_post_bfpt_fixups() 12 is25lp256_post_bfpt_fixups(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt, struct spi_nor_flash_parameter *params) is25lp256_post_bfpt_fixups() argument
|
H A D | core.h | 249 const struct sfdp_bfpt *bfpt, 435 const struct sfdp_bfpt *bfpt,
|
H A D | winbond.c | 14 const struct sfdp_bfpt *bfpt, in w25q256_post_bfpt_fixups() 12 w25q256_post_bfpt_fixups(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt, struct spi_nor_flash_parameter *params) w25q256_post_bfpt_fixups() argument
|
H A D | spansion.c | 14 const struct sfdp_bfpt *bfpt, in s25fs_s_post_bfpt_fixups() 12 s25fs_s_post_bfpt_fixups(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt, struct spi_nor_flash_parameter *params) s25fs_s_post_bfpt_fixups() argument
|
H A D | core.c | 2457 const struct sfdp_bfpt *bfpt, in spi_nor_post_bfpt_fixups() 2465 bfpt, params); in spi_nor_post_bfpt_fixups() 2471 return nor->info->fixups->post_bfpt(nor, bfpt_header, bfpt, in spi_nor_post_bfpt_fixups() 2455 spi_nor_post_bfpt_fixups(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt, struct spi_nor_flash_parameter *params) spi_nor_post_bfpt_fixups() argument
|
/kernel/linux/linux-6.6/drivers/mtd/spi-nor/ |
H A D | sfdp.c | 442 struct sfdp_bfpt bfpt; in spi_nor_parse_bfpt() local 455 len = min_t(size_t, sizeof(bfpt), in spi_nor_parse_bfpt() 458 memset(&bfpt, 0, sizeof(bfpt)); in spi_nor_parse_bfpt() 459 err = spi_nor_read_sfdp_dma_unsafe(nor, addr, len, &bfpt); in spi_nor_parse_bfpt() 464 le32_to_cpu_array(bfpt.dwords, BFPT_DWORD_MAX); in spi_nor_parse_bfpt() 467 switch (bfpt.dwords[SFDP_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) { in spi_nor_parse_bfpt() 484 val = bfpt.dwords[SFDP_DWORD(2)]; in spi_nor_parse_bfpt() 507 if (!(bfpt.dwords[rd->supported_dword] & rd->supported_bit)) { in spi_nor_parse_bfpt() 515 half = bfpt in spi_nor_parse_bfpt() [all...] |
H A D | issi.c | 14 const struct sfdp_bfpt *bfpt) in is25lp256_post_bfpt_fixups() 21 if ((bfpt->dwords[SFDP_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) == in is25lp256_post_bfpt_fixups() 12 is25lp256_post_bfpt_fixups(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt) is25lp256_post_bfpt_fixups() argument
|
H A D | macronix.c | 14 const struct sfdp_bfpt *bfpt) in mx25l25635_post_bfpt_fixups() 25 if (bfpt->dwords[SFDP_DWORD(5)] & BFPT_DWORD5_FAST_READ_4_4_4) in mx25l25635_post_bfpt_fixups() 12 mx25l25635_post_bfpt_fixups(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt) mx25l25635_post_bfpt_fixups() argument
|
H A D | gigadevice.c | 14 const struct sfdp_bfpt *bfpt) in gd25q256_post_bfpt() 12 gd25q256_post_bfpt(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt) gd25q256_post_bfpt() argument
|
H A D | spansion.c | 522 const struct sfdp_bfpt *bfpt) in s25fs256t_post_bfpt_fixup() 588 const struct sfdp_bfpt *bfpt) in s25hx_t_post_bfpt_fixup() 716 const struct sfdp_bfpt *bfpt) in s28hx_t_post_bfpt_fixup() 741 const struct sfdp_bfpt *bfpt) in s25fs_s_nor_post_bfpt_fixups() 520 s25fs256t_post_bfpt_fixup(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt) s25fs256t_post_bfpt_fixup() argument 586 s25hx_t_post_bfpt_fixup(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt) s25hx_t_post_bfpt_fixup() argument 714 s28hx_t_post_bfpt_fixup(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt) s28hx_t_post_bfpt_fixup() argument 739 s25fs_s_nor_post_bfpt_fixups(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt) s25fs_s_nor_post_bfpt_fixups() argument
|
H A D | core.h | 435 const struct sfdp_bfpt *bfpt); 717 const struct sfdp_bfpt *bfpt);
|
H A D | winbond.c | 23 const struct sfdp_bfpt *bfpt) in w25q256_post_bfpt_fixups() 21 w25q256_post_bfpt_fixups(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt) w25q256_post_bfpt_fixups() argument
|
H A D | core.c | 2452 const struct sfdp_bfpt *bfpt) in spi_nor_post_bfpt_fixups() 2459 bfpt); in spi_nor_post_bfpt_fixups() 2465 return nor->info->fixups->post_bfpt(nor, bfpt_header, bfpt); in spi_nor_post_bfpt_fixups() 2450 spi_nor_post_bfpt_fixups(struct spi_nor *nor, const struct sfdp_parameter_header *bfpt_header, const struct sfdp_bfpt *bfpt) spi_nor_post_bfpt_fixups() argument
|