Lines Matching refs:read_byte
352 bad = chip->read_byte(mtd); in nand_block_bad()
482 return (chip->read_byte(mtd) & NAND_STATUS_WP) ? 0 : 1; in nand_check_wp()
589 if ((chip->read_byte(mtd) & NAND_STATUS_READY)) in nand_wait_status_ready()
885 if (chip->read_byte(mtd) & NAND_STATUS_READY) in panic_nand_wait()
924 if (chip->read_byte(mtd) & NAND_STATUS_READY) in nand_wait()
932 status = (int)chip->read_byte(mtd); in nand_wait()
3078 *subfeature_param++ = chip->read_byte(mtd); in nand_onfi_get_features()
3141 if (!chip->read_byte || chip->read_byte == nand_read_byte) in nand_set_defaults()
3142 chip->read_byte = busw ? nand_read_byte16 : nand_read_byte; in nand_set_defaults()
3303 if (chip->read_byte(mtd) != 'O' || chip->read_byte(mtd) != 'N' || in nand_flash_detect_onfi()
3304 chip->read_byte(mtd) != 'F' || chip->read_byte(mtd) != 'I') in nand_flash_detect_onfi()
3310 ((uint8_t *)p)[j] = chip->read_byte(mtd); in nand_flash_detect_onfi()
3408 if (chip->read_byte(mtd) != 'J' || chip->read_byte(mtd) != 'E' || in nand_flash_detect_jedec()
3409 chip->read_byte(mtd) != 'D' || chip->read_byte(mtd) != 'E' || in nand_flash_detect_jedec()
3410 chip->read_byte(mtd) != 'C') in nand_flash_detect_jedec()
3416 ((uint8_t *)p)[j] = chip->read_byte(mtd); in nand_flash_detect_jedec()
3804 *maf_id = chip->read_byte(mtd); in nand_get_flash_type()
3805 *dev_id = chip->read_byte(mtd); in nand_get_flash_type()
3818 id_data[i] = chip->read_byte(mtd); in nand_get_flash_type()
4024 if (nand_maf_id != chip->read_byte(mtd) || in nand_scan_ident()
4025 nand_dev_id != chip->read_byte(mtd)) { in nand_scan_ident()