redunt            443 drivers/staging/rts5208/xd.c 	u8 *ptr, id_buf[4], redunt[11];
redunt            690 drivers/staging/rts5208/xd.c 			retval = xd_read_redundant(chip, page_addr, redunt, 11);
redunt            697 drivers/staging/rts5208/xd.c 		if (redunt[BLOCK_STATUS] != XD_GBLK)
redunt            701 drivers/staging/rts5208/xd.c 		if (redunt[PAGE_STATUS] != XD_GPG) {
redunt            704 drivers/staging/rts5208/xd.c 							   redunt, 11);
redunt            706 drivers/staging/rts5208/xd.c 					if (redunt[PAGE_STATUS] == XD_GPG)
redunt            716 drivers/staging/rts5208/xd.c 		if ((redunt[BLOCK_STATUS] == XD_GBLK) &&
redunt            717 drivers/staging/rts5208/xd.c 		    (redunt[PARITY] & XD_BA1_ALL0)) {
redunt            748 drivers/staging/rts5208/xd.c static int xd_check_data_blank(u8 *redunt)
redunt            753 drivers/staging/rts5208/xd.c 		if (redunt[PAGE_STATUS + i] != 0xFF)
redunt            757 drivers/staging/rts5208/xd.c 	if ((redunt[PARITY] & (XD_ECC1_ALL1 | XD_ECC2_ALL1))
redunt            762 drivers/staging/rts5208/xd.c 		if (redunt[RESERVED0 + i] != 0xFF)
redunt            769 drivers/staging/rts5208/xd.c static u16 xd_load_log_block_addr(u8 *redunt)
redunt            773 drivers/staging/rts5208/xd.c 	if (redunt[PARITY] & XD_BA1_BA2_EQL)
redunt            774 drivers/staging/rts5208/xd.c 		addr = ((u16)redunt[BLOCK_ADDR1_H] << 8) |
redunt            775 drivers/staging/rts5208/xd.c 			redunt[BLOCK_ADDR1_L];
redunt            776 drivers/staging/rts5208/xd.c 	else if (redunt[PARITY] & XD_BA1_VALID)
redunt            777 drivers/staging/rts5208/xd.c 		addr = ((u16)redunt[BLOCK_ADDR1_H] << 8) |
redunt            778 drivers/staging/rts5208/xd.c 			redunt[BLOCK_ADDR1_L];
redunt            779 drivers/staging/rts5208/xd.c 	else if (redunt[PARITY] & XD_BA2_VALID)
redunt            780 drivers/staging/rts5208/xd.c 		addr = ((u16)redunt[BLOCK_ADDR2_H] << 8) |
redunt            781 drivers/staging/rts5208/xd.c 			redunt[BLOCK_ADDR2_L];
redunt           1301 drivers/staging/rts5208/xd.c 	u8 redunt[11];
redunt           1362 drivers/staging/rts5208/xd.c 		retval = xd_read_redundant(chip, page_addr, redunt, 11);
redunt           1366 drivers/staging/rts5208/xd.c 		if (redunt[BLOCK_STATUS] != 0xFF) {
redunt           1371 drivers/staging/rts5208/xd.c 		if (xd_check_data_blank(redunt)) {
redunt           1377 drivers/staging/rts5208/xd.c 		cur_fst_page_logoff = xd_load_log_block_addr(redunt);
redunt           1387 drivers/staging/rts5208/xd.c 		    (redunt[PAGE_STATUS] != XD_GPG))
redunt           1400 drivers/staging/rts5208/xd.c 		retval = xd_read_redundant(chip, page_addr, redunt, 11);
redunt           1404 drivers/staging/rts5208/xd.c 		cur_lst_page_logoff = xd_load_log_block_addr(redunt);
redunt           1413 drivers/staging/rts5208/xd.c 							   redunt, 11);
redunt           1427 drivers/staging/rts5208/xd.c 			ent_lst_page_logoff = xd_load_log_block_addr(redunt);