Lines Matching defs:read

141  * spi_nor_read_raw() - raw read of serial flash memory. read_opcode,
146 * @len: number of bytes to read
170 * spi_nor_read_sfdp() - read Serial Flash Discoverable Parameters.
173 * @len: number of bytes to read
206 * spi_nor_read_sfdp_dma_unsafe() - read Serial Flash Discoverable Parameters.
209 * @len: number of bytes to read
236 spi_nor_set_read_settings_from_bfpt(struct spi_nor_read_command *read,
240 read->num_mode_clocks = (half >> 5) & 0x07;
241 read->num_wait_states = (half >> 0) & 0x1f;
242 read->opcode = (half >> 8) & 0xff;
243 read->proto = proto;
409 * spi_nor_parse_bfpt() - read and parse the Basic Flash Parameter Table.
505 struct spi_nor_read_command *read;
514 read = &params->reads[cmd];
516 spi_nor_set_read_settings_from_bfpt(read, half, rd->proto);
678 * spi_nor_smpt_read_dummy() - return the configuration detection command read
683 * Return: the number of dummy cycles for an SMPT read
1019 const struct sfdp_4bait *read = &reads[i];
1021 discard_hwcaps |= read->hwcaps;
1022 if ((params->hwcaps.mask & read->hwcaps) &&
1023 (dwords[SFDP_DWORD(1)] & read->supported_bit))
1024 read_hwcaps |= read->hwcaps;
1062 * We need at least one 4-byte op code per read, program and erase
1063 * operation; the .read(), .write() and .erase() hooks share the
1163 /* Get 8D-8D-8D fast read opcode and dummy cycles. */
1203 /* Update the fast read settings. */
1428 * Allocate memory then read all parameter headers with a single
1433 * Hence we read the parameter headers once for all to reduce the
1448 dev_dbg(dev, "failed to read SFDP parameter headers\n");
1497 dev_dbg(dev, "failed to read SFDP data\n");