Home
last modified time | relevance | path

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

/drivers/staging/rts5208/
Dxd.h114 #define XD_PAGE_512(xd_card) \ argument
116 (xd_card)->block_shift = 5; \
117 (xd_card)->page_off = 0x1F; \
120 #define XD_SET_BAD_NEWBLK(xd_card) ((xd_card)->multi_flag |= 0x01) argument
121 #define XD_CLR_BAD_NEWBLK(xd_card) ((xd_card)->multi_flag &= ~0x01) argument
122 #define XD_CHK_BAD_NEWBLK(xd_card) ((xd_card)->multi_flag & 0x01) argument
124 #define XD_SET_BAD_OLDBLK(xd_card) ((xd_card)->multi_flag |= 0x02) argument
125 #define XD_CLR_BAD_OLDBLK(xd_card) ((xd_card)->multi_flag &= ~0x02) argument
126 #define XD_CHK_BAD_OLDBLK(xd_card) ((xd_card)->multi_flag & 0x02) argument
128 #define XD_SET_MBR_FAIL(xd_card) ((xd_card)->multi_flag |= 0x04) argument
[all …]
Dxd.c40 struct xd_info *xd_card = &(chip->xd_card); in xd_set_err_code() local
42 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() local
49 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() local
58 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() local
82 retval = switch_clock(chip, xd_card->xd_clock); in xd_switch_clock()
[all …]
Drtsx_card.c38 struct xd_info *xd_card = &(chip->xd_card); in do_remaining_work() local
53 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()
Drtsx.c523 struct xd_info *xd_card = &(chip->xd_card); in rtsx_polling_thread() local
527 xd_card->cleanup_counter = 0; in rtsx_polling_thread()
Drtsx_scsi.c1525 struct xd_info *xd_card = &(chip->xd_card); in set_variable() local
1531 xd_card->xd_clock = srb->cmnd[5]; in set_variable()
1589 struct xd_info *xd_card = &(chip->xd_card); in get_variable() local
1596 tmp = (u8)(xd_card->xd_clock); in get_variable()
Drtsx_chip.c924 struct xd_info *xd_card = &chip->xd_card; in rtsx_init_chip() local
938 memset(xd_card, 0, sizeof(struct xd_info)); in rtsx_init_chip()
Drtsx_chip.h763 struct xd_info xd_card; member