Searched refs:xd_card (Results 1 – 7 of 7) sorted by relevance
114 #define XD_PAGE_512(xd_card) \ argument116 (xd_card)->block_shift = 5; \117 (xd_card)->page_off = 0x1F; \120 #define XD_SET_BAD_NEWBLK(xd_card) ((xd_card)->multi_flag |= 0x01) argument121 #define XD_CLR_BAD_NEWBLK(xd_card) ((xd_card)->multi_flag &= ~0x01) argument122 #define XD_CHK_BAD_NEWBLK(xd_card) ((xd_card)->multi_flag & 0x01) argument124 #define XD_SET_BAD_OLDBLK(xd_card) ((xd_card)->multi_flag |= 0x02) argument125 #define XD_CLR_BAD_OLDBLK(xd_card) ((xd_card)->multi_flag &= ~0x02) argument126 #define XD_CHK_BAD_OLDBLK(xd_card) ((xd_card)->multi_flag & 0x02) argument128 #define XD_SET_MBR_FAIL(xd_card) ((xd_card)->multi_flag |= 0x04) argument[all …]
40 struct xd_info *xd_card = &(chip->xd_card); in xd_set_err_code() local42 xd_card->err_code = err_code; in xd_set_err_code()47 struct xd_info *xd_card = &(chip->xd_card); in xd_check_err_code() local49 return (xd_card->err_code == err_code); in xd_check_err_code()54 struct xd_info *xd_card = &(chip->xd_card); in xd_set_init_para() local58 xd_card->xd_clock = 47; in xd_set_init_para()60 xd_card->xd_clock = CLK_50; in xd_set_init_para()62 retval = switch_clock(chip, xd_card->xd_clock); in xd_set_init_para()73 struct xd_info *xd_card = &(chip->xd_card); in xd_switch_clock() local82 retval = switch_clock(chip, xd_card->xd_clock); in xd_switch_clock()[all …]
38 struct xd_info *xd_card = &(chip->xd_card); in do_remaining_work() local53 if (xd_card->delay_write.delay_write_flag) { in do_remaining_work()55 xd_card->cleanup_counter++; in do_remaining_work()57 xd_card->cleanup_counter = 0; in do_remaining_work()85 if (xd_card->cleanup_counter > POLLING_WAIT_CNT) in do_remaining_work()
523 struct xd_info *xd_card = &(chip->xd_card); in rtsx_polling_thread() local527 xd_card->cleanup_counter = 0; in rtsx_polling_thread()
1525 struct xd_info *xd_card = &(chip->xd_card); in set_variable() local1531 xd_card->xd_clock = srb->cmnd[5]; in set_variable()1589 struct xd_info *xd_card = &(chip->xd_card); in get_variable() local1596 tmp = (u8)(xd_card->xd_clock); in get_variable()
924 struct xd_info *xd_card = &chip->xd_card; in rtsx_init_chip() local938 memset(xd_card, 0, sizeof(struct xd_info)); in rtsx_init_chip()
763 struct xd_info xd_card; member