Lines Matching refs:cmdfunc
366 chip->cmdfunc(mtd, NAND_CMD_READOOB, in nand_block_bad()
374 chip->cmdfunc(mtd, NAND_CMD_READOOB, chip->badblockpos, in nand_block_bad()
1110 chip->cmdfunc(mtd, NAND_CMD_READ0, offset_in_page, page); in nand_read_page_op()
1140 chip->cmdfunc(mtd, NAND_CMD_PARAM, page, -1); in nand_read_param_page_op()
1172 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, offset_in_page, -1); in nand_change_read_column_op()
1204 chip->cmdfunc(mtd, NAND_CMD_READOOB, offset_in_oob, page); in nand_read_oob_op()
1237 chip->cmdfunc(mtd, NAND_CMD_SEQIN, offset_in_page, page); in nand_prog_page_begin_op()
1260 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in nand_prog_page_end_op()
1296 chip->cmdfunc(mtd, NAND_CMD_SEQIN, offset_in_page, page); in nand_prog_page_op()
1298 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in nand_prog_page_op()
1334 chip->cmdfunc(mtd, NAND_CMD_RNDIN, offset_in_page, -1); in nand_change_write_column_op()
1365 chip->cmdfunc(mtd, NAND_CMD_READID, addr, -1); in nand_readid_op()
1389 chip->cmdfunc(mtd, NAND_CMD_STATUS, -1, -1); in nand_status_op()
1412 chip->cmdfunc(mtd, NAND_CMD_READ0, -1, -1); in nand_exit_status_op()
1436 chip->cmdfunc(mtd, NAND_CMD_ERASE1, -1, page); in nand_erase_op()
1437 chip->cmdfunc(mtd, NAND_CMD_ERASE2, -1, -1); in nand_erase_op()
1469 chip->cmdfunc(mtd, NAND_CMD_SET_FEATURES, feature, -1); in nand_set_features_op()
1499 chip->cmdfunc(mtd, NAND_CMD_GET_FEATURES, feature, -1); in nand_get_features_op()
1520 chip->cmdfunc(mtd, NAND_CMD_RESET, -1, -1); in nand_reset_op()
1929 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, data_col_addr, -1); in nand_read_subpage()
3721 if (chip->cmdfunc == NULL) in nand_set_defaults()
3722 chip->cmdfunc = nand_command; in nand_set_defaults()
3987 if (mtd->writesize > 512 && chip->cmdfunc == nand_command) in nand_flash_detect_onfi()
3988 chip->cmdfunc = nand_command_lp; in nand_flash_detect_onfi()
4541 if (mtd->writesize > 512 && chip->cmdfunc == nand_command) in nand_get_flash_type()
4542 chip->cmdfunc = nand_command_lp; in nand_get_flash_type()