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 …]
39 struct xd_info *xd_card = &(chip->xd_card); in xd_set_err_code() local41 xd_card->err_code = err_code; in xd_set_err_code()46 struct xd_info *xd_card = &(chip->xd_card); in xd_check_err_code() local48 return (xd_card->err_code == err_code); in xd_check_err_code()53 struct xd_info *xd_card = &(chip->xd_card); in xd_set_init_para() local57 xd_card->xd_clock = 47; in xd_set_init_para()59 xd_card->xd_clock = CLK_50; in xd_set_init_para()61 retval = switch_clock(chip, xd_card->xd_clock); in xd_set_init_para()70 struct xd_info *xd_card = &(chip->xd_card); in xd_switch_clock() local77 retval = switch_clock(chip, xd_card->xd_clock); in xd_switch_clock()[all …]
45 struct xd_info *xd_card = &(chip->xd_card); in do_remaining_work() local60 if (xd_card->delay_write.delay_write_flag) { in do_remaining_work()62 xd_card->cleanup_counter++; in do_remaining_work()64 xd_card->cleanup_counter = 0; in do_remaining_work()92 if (xd_card->cleanup_counter > POLLING_WAIT_CNT) in do_remaining_work()
586 struct xd_info *xd_card = &(chip->xd_card); in rtsx_polling_thread() local590 xd_card->cleanup_counter = 0; in rtsx_polling_thread()
1317 struct xd_info *xd_card = &(chip->xd_card); in set_variable() local1323 xd_card->xd_clock = srb->cmnd[5]; in set_variable()1375 struct xd_info *xd_card = &(chip->xd_card); in get_variable() local1382 tmp = (u8)(xd_card->xd_clock); in get_variable()
947 struct xd_info *xd_card = &(chip->xd_card); in rtsx_init_chip() local961 memset(xd_card, 0, sizeof(struct xd_info)); in rtsx_init_chip()
757 struct xd_info xd_card; member