Home
last modified time | relevance | path

Searched refs:xd_card (Results 1 – 7 of 7) sorted by relevance

/drivers/staging/rts5208/
Dxd.h102 #define XD_PAGE_512(xd_card) \ argument
104 (xd_card)->block_shift = 5; \
105 (xd_card)->page_off = 0x1F; \
108 #define XD_SET_BAD_NEWBLK(xd_card) ((xd_card)->multi_flag |= 0x01) argument
109 #define XD_CLR_BAD_NEWBLK(xd_card) ((xd_card)->multi_flag &= ~0x01) argument
110 #define XD_CHK_BAD_NEWBLK(xd_card) ((xd_card)->multi_flag & 0x01) argument
112 #define XD_SET_BAD_OLDBLK(xd_card) ((xd_card)->multi_flag |= 0x02) argument
113 #define XD_CLR_BAD_OLDBLK(xd_card) ((xd_card)->multi_flag &= ~0x02) argument
114 #define XD_CHK_BAD_OLDBLK(xd_card) ((xd_card)->multi_flag & 0x02) argument
116 #define XD_SET_MBR_FAIL(xd_card) ((xd_card)->multi_flag |= 0x04) argument
[all …]
Dxd.c29 struct xd_info *xd_card = &chip->xd_card; in xd_set_err_code() local
31 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() local
38 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() local
47 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() local
67 retval = switch_clock(chip, xd_card->xd_clock); in xd_switch_clock()
[all …]
Drtsx_card.c27 struct xd_info *xd_card = &chip->xd_card; in do_remaining_work() local
42 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()
Drtsx.c468 struct xd_info *xd_card = &chip->xd_card; in rtsx_polling_thread() local
472 xd_card->cleanup_counter = 0; in rtsx_polling_thread()
Drtsx_scsi.c1399 struct xd_info *xd_card = &chip->xd_card; in set_variable() local
1405 xd_card->xd_clock = srb->cmnd[5]; in set_variable()
1460 struct xd_info *xd_card = &chip->xd_card; in get_variable() local
1467 tmp = (u8)(xd_card->xd_clock); in get_variable()
Drtsx_chip.c757 struct xd_info *xd_card = &chip->xd_card; in rtsx_init_chip() local
767 memset(xd_card, 0, sizeof(struct xd_info)); in rtsx_init_chip()
Drtsx_chip.h771 struct xd_info xd_card; member