Home
last modified time | relevance | path

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

/drivers/staging/rts5208/
Dms.c33 struct ms_info *ms_card = &chip->ms_card; in ms_set_err_code() local
35 ms_card->err_code = err_code; in ms_set_err_code()
40 struct ms_info *ms_card = &chip->ms_card; in ms_check_err_code() local
42 return (ms_card->err_code == err_code); in ms_check_err_code()
54 struct ms_info *ms_card = &chip->ms_card; in ms_transfer_tpc() local
92 if (CHK_MSPRO(ms_card) && !(*ptr & 0x80)) { in ms_transfer_tpc()
188 struct ms_info *ms_card = &chip->ms_card; in ms_write_bytes() local
232 if (CHK_MSPRO(ms_card) && !(val & 0x80)) { in ms_write_bytes()
258 struct ms_info *ms_card = &chip->ms_card; in ms_read_bytes() local
303 if (CHK_MSPRO(ms_card) && !(val & 0x80)) { in ms_read_bytes()
[all …]
Dms.h196 #define MS_SET_BAD_BLOCK_FLG(ms_card) ((ms_card)->multi_flag |= 0x80) argument
197 #define MS_CLR_BAD_BLOCK_FLG(ms_card) ((ms_card)->multi_flag &= 0x7F) argument
198 #define MS_TST_BAD_BLOCK_FLG(ms_card) ((ms_card)->multi_flag & 0x80) argument
Drtsx_chip.h546 #define CHK_MSPRO(ms_card) (((ms_card)->ms_type & 0xFF) == TYPE_MSPRO) argument
547 #define CHK_HG8BIT(ms_card) (CHK_MSPRO(ms_card) && (((ms_card)->ms_type & HG8BIT) == HG8BIT)) argument
548 #define CHK_MSXC(ms_card) (CHK_MSPRO(ms_card) && ((ms_card)->ms_type & MS_XC)) argument
549 #define CHK_MSHG(ms_card) (CHK_MSPRO(ms_card) && ((ms_card)->ms_type & MS_HG)) argument
551 #define CHK_MS8BIT(ms_card) (((ms_card)->ms_type & MS_8BIT)) argument
552 #define CHK_MS4BIT(ms_card) (((ms_card)->ms_type & MS_4BIT)) argument
764 struct ms_info ms_card; member
Drtsx_scsi.c618 struct ms_info *ms_card = &(chip->ms_card); in request_sense() local
624 ms_card->pro_under_formatting) { in request_sense()
625 if (ms_card->format_status == FORMAT_SUCCESS) { in request_sense()
627 ms_card->pro_under_formatting = 0; in request_sense()
628 ms_card->progress = 0; in request_sense()
629 } else if (ms_card->format_status == FORMAT_IN_PROGRESS) { in request_sense()
632 0, (u16)(ms_card->progress)); in request_sense()
636 ms_card->pro_under_formatting = 0; in request_sense()
637 ms_card->progress = 0; in request_sense()
664 struct ms_info *ms_card = &(chip->ms_card); in ms_mode_sense() local
[all …]
Drtsx_card.c40 struct ms_info *ms_card = &(chip->ms_card); in do_remaining_work() local
63 if (CHK_MSPRO(ms_card)) { in do_remaining_work()
64 if (ms_card->seq_mode) { in do_remaining_work()
66 ms_card->cleanup_counter++; in do_remaining_work()
68 ms_card->cleanup_counter = 0; in do_remaining_work()
72 if (ms_card->delay_write.delay_write_flag) { in do_remaining_work()
74 ms_card->cleanup_counter++; in do_remaining_work()
76 ms_card->cleanup_counter = 0; in do_remaining_work()
88 if (ms_card->cleanup_counter > POLLING_WAIT_CNT) in do_remaining_work()
Drtsx.c524 struct ms_info *ms_card = &(chip->ms_card); in rtsx_polling_thread() local
528 ms_card->cleanup_counter = 0; in rtsx_polling_thread()
Drtsx_chip.c925 struct ms_info *ms_card = &chip->ms_card; in rtsx_init_chip() local
940 memset(ms_card, 0, sizeof(struct ms_info)); in rtsx_init_chip()