Lines Matching defs:start
526 /* Most commands will finish quickly, so we start polling at
617 loff_t start, size_t len, size_t *retlen, u8 *buffer)
626 command = falcon_spi_munge_command(spi, SPI_READ, start + pos);
627 rc = falcon_spi_cmd(efx, spi, command, start + pos, NULL,
658 falcon_spi_write_limit(const struct falcon_spi_device *spi, size_t start)
661 (spi->block_size - (start & (spi->block_size - 1))));
692 loff_t start, size_t len, size_t *retlen, const u8 *buffer)
705 falcon_spi_write_limit(spi, start + pos));
706 command = falcon_spi_munge_command(spi, SPI_WRITE, start + pos);
707 rc = falcon_spi_cmd(efx, spi, command, start + pos,
716 command = falcon_spi_munge_command(spi, SPI_READ, start + pos);
717 rc = falcon_spi_cmd(efx, spi, command, start + pos,
804 falcon_spi_erase(struct falcon_mtd_partition *part, loff_t start, size_t len)
825 rc = falcon_spi_cmd(efx, spi, spi->erase_command, start, NULL,
835 rc = falcon_spi_read(efx, spi, start + pos, block_len,
859 static int falcon_mtd_read(struct mtd_info *mtd, loff_t start,
870 rc = falcon_spi_read(efx, part->spi, part->offset + start,
876 static int falcon_mtd_erase(struct mtd_info *mtd, loff_t start, size_t len)
886 rc = falcon_spi_erase(part, part->offset + start, len);
891 static int falcon_mtd_write(struct mtd_info *mtd, loff_t start,
902 rc = falcon_spi_write(efx, part->spi, part->offset + start,