Searched refs:xd_card (Results 1 – 7 of 7) sorted by relevance
102 #define XD_PAGE_512(xd_card) \ argument104 (xd_card)->block_shift = 5; \105 (xd_card)->page_off = 0x1F; \108 #define XD_SET_BAD_NEWBLK(xd_card) ((xd_card)->multi_flag |= 0x01) argument109 #define XD_CLR_BAD_NEWBLK(xd_card) ((xd_card)->multi_flag &= ~0x01) argument110 #define XD_CHK_BAD_NEWBLK(xd_card) ((xd_card)->multi_flag & 0x01) argument112 #define XD_SET_BAD_OLDBLK(xd_card) ((xd_card)->multi_flag |= 0x02) argument113 #define XD_CLR_BAD_OLDBLK(xd_card) ((xd_card)->multi_flag &= ~0x02) argument114 #define XD_CHK_BAD_OLDBLK(xd_card) ((xd_card)->multi_flag & 0x02) argument116 #define XD_SET_MBR_FAIL(xd_card) ((xd_card)->multi_flag |= 0x04) argument[all …]
29 struct xd_info *xd_card = &chip->xd_card; in xd_set_err_code() local31 xd_card->err_code = err_code; in xd_set_err_code()36 struct xd_info *xd_card = &chip->xd_card; in xd_check_err_code() local38 return (xd_card->err_code == err_code); in xd_check_err_code()43 struct xd_info *xd_card = &chip->xd_card; in xd_set_init_para() local47 xd_card->xd_clock = 47; in xd_set_init_para()49 xd_card->xd_clock = CLK_50; in xd_set_init_para()51 retval = switch_clock(chip, xd_card->xd_clock); in xd_set_init_para()60 struct xd_info *xd_card = &chip->xd_card; in xd_switch_clock() local67 retval = switch_clock(chip, xd_card->xd_clock); in xd_switch_clock()[all …]
27 struct xd_info *xd_card = &chip->xd_card; in do_remaining_work() local42 if (xd_card->delay_write.delay_write_flag) { in do_remaining_work()44 xd_card->cleanup_counter++; in do_remaining_work()46 xd_card->cleanup_counter = 0; in do_remaining_work()74 if (xd_card->cleanup_counter > POLLING_WAIT_CNT) in do_remaining_work()
468 struct xd_info *xd_card = &chip->xd_card; in rtsx_polling_thread() local472 xd_card->cleanup_counter = 0; in rtsx_polling_thread()
1399 struct xd_info *xd_card = &chip->xd_card; in set_variable() local1405 xd_card->xd_clock = srb->cmnd[5]; in set_variable()1460 struct xd_info *xd_card = &chip->xd_card; in get_variable() local1467 tmp = (u8)(xd_card->xd_clock); in get_variable()
757 struct xd_info *xd_card = &chip->xd_card; in rtsx_init_chip() local767 memset(xd_card, 0, sizeof(struct xd_info)); in rtsx_init_chip()
771 struct xd_info xd_card; member