Lines Matching defs:read
129 * spi_nor_read_raw() - raw read of serial flash memory. read_opcode,
135 * @len: number of bytes to read
159 * spi_nor_read_sfdp() - read Serial Flash Discoverable Parameters.
162 * @len: number of bytes to read
195 * spi_nor_read_sfdp_dma_unsafe() - read Serial Flash Discoverable Parameters.
198 * @len: number of bytes to read
225 spi_nor_set_read_settings_from_bfpt(struct spi_nor_read_command *read,
229 read->num_mode_clocks = (half >> 5) & 0x07;
230 read->num_wait_states = (half >> 0) & 0x1f;
231 read->opcode = (half >> 8) & 0xff;
232 read->proto = proto;
398 * spi_nor_parse_bfpt() - read and parse the Basic Flash Parameter Table.
493 struct spi_nor_read_command *read;
502 read = ¶ms->reads[cmd];
504 spi_nor_set_read_settings_from_bfpt(read, half, rd->proto);
635 * spi_nor_smpt_read_dummy() - return the configuration detection command read
640 * Return: the number of dummy cycles for an SMPT read
984 const struct sfdp_4bait *read = &reads[i];
986 discard_hwcaps |= read->hwcaps;
987 if ((params->hwcaps.mask & read->hwcaps) &&
988 (dwords[0] & read->supported_bit))
989 read_hwcaps |= read->hwcaps;
1027 * We need at least one 4-byte op code per read, program and erase
1028 * operation; the .read(), .write() and .erase() hooks share the
1129 * Allocate memory then read all parameter headers with a single
1134 * Hence we read the parameter headers once for all to reduce the
1149 dev_dbg(dev, "failed to read SFDP parameter headers\n");