Searched refs:goldfish_nand_cmd (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/staging/goldfish/ |
H A D | goldfish_nand.c | 77 static u32 goldfish_nand_cmd(struct mtd_info *mtd, enum nand_cmd cmd, goldfish_nand_cmd() function 115 if (goldfish_nand_cmd(mtd, NAND_CMD_ERASE, ofs, len, NULL) != len) { goldfish_nand_erase() 150 ops->retlen = goldfish_nand_cmd(mtd, NAND_CMD_READ, ofs, goldfish_nand_read_oob() 154 ops->oobretlen = goldfish_nand_cmd(mtd, NAND_CMD_READ, ofs, goldfish_nand_read_oob() 182 ops->retlen = goldfish_nand_cmd(mtd, NAND_CMD_WRITE, ofs, goldfish_nand_write_oob() 186 ops->oobretlen = goldfish_nand_cmd(mtd, NAND_CMD_WRITE, ofs, goldfish_nand_write_oob() 209 *retlen = goldfish_nand_cmd(mtd, NAND_CMD_READ, from, len, buf); goldfish_nand_read() 231 *retlen = goldfish_nand_cmd(mtd, NAND_CMD_WRITE, to, len, (void *)buf); goldfish_nand_write() 253 return goldfish_nand_cmd(mtd, NAND_CMD_BLOCK_BAD_GET, ofs, 0, NULL); goldfish_nand_block_isbad() 274 if (goldfish_nand_cmd(mtd, NAND_CMD_BLOCK_BAD_SET, ofs, 0, NULL) != 1) goldfish_nand_block_markbad() 337 result = goldfish_nand_cmd(mtd, NAND_CMD_GET_DEV_NAME, 0, name_len, goldfish_nand_init_device()
|
Completed in 329 milliseconds