Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/spi-nor/
H A Dsfdp.c702 static const u32 *spi_nor_get_map_in_use(struct spi_nor *nor, const u32 *smpt, in spi_nor_get_map_in_use() argument
725 if (smpt[i] & SMPT_DESC_TYPE_MAP) in spi_nor_get_map_in_use()
728 read_data_mask = SMPT_CMD_READ_DATA(smpt[i]); in spi_nor_get_map_in_use()
729 nor->addr_nbytes = spi_nor_smpt_addr_nbytes(nor, smpt[i]); in spi_nor_get_map_in_use()
730 nor->read_dummy = spi_nor_smpt_read_dummy(nor, smpt[i]); in spi_nor_get_map_in_use()
731 nor->read_opcode = SMPT_CMD_OPCODE(smpt[i]); in spi_nor_get_map_in_use()
732 addr = smpt[i + 1]; in spi_nor_get_map_in_use()
756 if (SMPT_MAP_ID(smpt[i]) == map_id) { in spi_nor_get_map_in_use()
757 ret = smpt + i; in spi_nor_get_map_in_use()
766 if (smpt[i] & SMPT_DESC_END) in spi_nor_get_map_in_use()
[all …]