Lines Matching refs:read_byte
353 bad = chip->read_byte(mtd); in nand_block_bad()
483 return (chip->read_byte(mtd) & NAND_STATUS_WP) ? 0 : 1; in nand_check_wp()
581 if ((chip->read_byte(mtd) & NAND_STATUS_READY)) in nand_wait_status_ready()
877 if (chip->read_byte(mtd) & NAND_STATUS_READY) in panic_nand_wait()
918 if (chip->read_byte(mtd) & NAND_STATUS_READY) in nand_wait()
926 status = (int)chip->read_byte(mtd); in nand_wait()
2936 *subfeature_param++ = chip->read_byte(mtd); in nand_onfi_get_features()
2999 if (!chip->read_byte || chip->read_byte == nand_read_byte) in nand_set_defaults()
3000 chip->read_byte = busw ? nand_read_byte16 : nand_read_byte; in nand_set_defaults()
3161 if (chip->read_byte(mtd) != 'O' || chip->read_byte(mtd) != 'N' || in nand_flash_detect_onfi()
3162 chip->read_byte(mtd) != 'F' || chip->read_byte(mtd) != 'I') in nand_flash_detect_onfi()
3168 ((uint8_t *)p)[j] = chip->read_byte(mtd); in nand_flash_detect_onfi()
3266 if (chip->read_byte(mtd) != 'J' || chip->read_byte(mtd) != 'E' || in nand_flash_detect_jedec()
3267 chip->read_byte(mtd) != 'D' || chip->read_byte(mtd) != 'E' || in nand_flash_detect_jedec()
3268 chip->read_byte(mtd) != 'C') in nand_flash_detect_jedec()
3274 ((uint8_t *)p)[j] = chip->read_byte(mtd); in nand_flash_detect_jedec()
3662 *maf_id = chip->read_byte(mtd); in nand_get_flash_type()
3663 *dev_id = chip->read_byte(mtd); in nand_get_flash_type()
3676 id_data[i] = chip->read_byte(mtd); in nand_get_flash_type()
3843 if (nand_maf_id != chip->read_byte(mtd) || in nand_scan_ident()
3844 nand_dev_id != chip->read_byte(mtd)) { in nand_scan_ident()