Lines Matching refs:read_byte
328 if (chip->read_byte(mtd) != 0xff) in nand_block_bad()
392 return (chip->read_byte(mtd) & NAND_STATUS_WP) ? 0 : 1; in nand_check_wp()
518 while (!(chip->read_byte(mtd) & NAND_STATUS_READY)) ; in nand_command()
624 while (!(chip->read_byte(mtd) & NAND_STATUS_READY)) ; in nand_command_lp()
735 if (chip->read_byte(mtd) & NAND_STATUS_READY) in nand_wait()
742 status = (int)chip->read_byte(mtd); in nand_wait()
2285 if (!chip->read_byte) in nand_set_defaults()
2286 chip->read_byte = busw ? nand_read_byte16 : nand_read_byte; in nand_set_defaults()
2334 *maf_id = chip->read_byte(mtd); in nand_get_flash_type()
2335 dev_id = chip->read_byte(mtd); in nand_get_flash_type()
2347 tmp_manf = chip->read_byte(mtd); in nand_get_flash_type()
2348 tmp_id = chip->read_byte(mtd); in nand_get_flash_type()
2377 chip->cellinfo = chip->read_byte(mtd); in nand_get_flash_type()
2379 extid = chip->read_byte(mtd); in nand_get_flash_type()
2508 if (nand_maf_id != chip->read_byte(mtd) || in nand_scan_ident()
2509 type->id != chip->read_byte(mtd)) in nand_scan_ident()