Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/spi-nor/
Dsfdp.c723 static const u32 *spi_nor_get_map_in_use(struct spi_nor *nor, const u32 *smpt, in spi_nor_get_map_in_use() argument
746 if (smpt[i] & SMPT_DESC_TYPE_MAP) in spi_nor_get_map_in_use()
749 read_data_mask = SMPT_CMD_READ_DATA(smpt[i]); in spi_nor_get_map_in_use()
750 nor->addr_nbytes = spi_nor_smpt_addr_nbytes(nor, smpt[i]); in spi_nor_get_map_in_use()
751 nor->read_dummy = spi_nor_smpt_read_dummy(nor, smpt[i]); in spi_nor_get_map_in_use()
752 nor->read_opcode = SMPT_CMD_OPCODE(smpt[i]); in spi_nor_get_map_in_use()
753 addr = smpt[i + 1]; in spi_nor_get_map_in_use()
777 if (SMPT_MAP_ID(smpt[i]) == map_id) { in spi_nor_get_map_in_use()
778 ret = smpt + i; in spi_nor_get_map_in_use()
787 if (smpt[i] & SMPT_DESC_END) in spi_nor_get_map_in_use()
[all …]