Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/rts_pstor/
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.c39 struct xd_info *xd_card = &(chip->xd_card); in xd_set_err_code() local
41 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() local
48 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() local
57 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() local
77 retval = switch_clock(chip, xd_card->xd_clock); in xd_switch_clock()
[all …]
Drtsx_card.c45 struct xd_info *xd_card = &(chip->xd_card); in do_remaining_work() local
60 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()
Drtsx.c586 struct xd_info *xd_card = &(chip->xd_card); in rtsx_polling_thread() local
590 xd_card->cleanup_counter = 0; in rtsx_polling_thread()
Drtsx_scsi.c1317 struct xd_info *xd_card = &(chip->xd_card); in set_variable() local
1323 xd_card->xd_clock = srb->cmnd[5]; in set_variable()
1375 struct xd_info *xd_card = &(chip->xd_card); in get_variable() local
1382 tmp = (u8)(xd_card->xd_clock); in get_variable()
Drtsx_chip.c947 struct xd_info *xd_card = &(chip->xd_card); in rtsx_init_chip() local
961 memset(xd_card, 0, sizeof(struct xd_info)); in rtsx_init_chip()
Drtsx_chip.h757 struct xd_info xd_card; member