Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/rts5208/
Dms.c22 struct ms_info *ms_card = &chip->ms_card; in ms_set_err_code() local
24 ms_card->err_code = err_code; in ms_set_err_code()
29 struct ms_info *ms_card = &chip->ms_card; in ms_check_err_code() local
31 return (ms_card->err_code == err_code); in ms_check_err_code()
42 struct ms_info *ms_card = &chip->ms_card; in ms_transfer_tpc() local
78 if (CHK_MSPRO(ms_card) && !(*ptr & 0x80)) { in ms_transfer_tpc()
165 struct ms_info *ms_card = &chip->ms_card; in ms_write_bytes() local
206 if (CHK_MSPRO(ms_card) && !(val & 0x80)) { in ms_write_bytes()
229 struct ms_info *ms_card = &chip->ms_card; in ms_read_bytes() local
271 if (CHK_MSPRO(ms_card) && !(val & 0x80)) { in ms_read_bytes()
[all …]
Dms.h184 #define MS_SET_BAD_BLOCK_FLG(ms_card) ((ms_card)->multi_flag |= 0x80) argument
185 #define MS_CLR_BAD_BLOCK_FLG(ms_card) ((ms_card)->multi_flag &= 0x7F) argument
186 #define MS_TST_BAD_BLOCK_FLG(ms_card) ((ms_card)->multi_flag & 0x80) argument
Drtsx_scsi.c602 struct ms_info *ms_card = &chip->ms_card; in request_sense() local
608 ms_card->pro_under_formatting) { in request_sense()
609 if (ms_card->format_status == FORMAT_SUCCESS) { in request_sense()
611 ms_card->pro_under_formatting = 0; in request_sense()
612 ms_card->progress = 0; in request_sense()
613 } else if (ms_card->format_status == FORMAT_IN_PROGRESS) { in request_sense()
616 0, (u16)(ms_card->progress)); in request_sense()
620 ms_card->pro_under_formatting = 0; in request_sense()
621 ms_card->progress = 0; in request_sense()
646 struct ms_info *ms_card = &chip->ms_card; in ms_mode_sense() local
[all …]
Drtsx_chip.h562 #define CHK_MSPRO(ms_card) (((ms_card)->ms_type & 0xFF) == TYPE_MSPRO) argument
563 #define CHK_HG8BIT(ms_card) (CHK_MSPRO(ms_card) && \ argument
564 (((ms_card)->ms_type & HG8BIT) == HG8BIT))
565 #define CHK_MSXC(ms_card) (CHK_MSPRO(ms_card) && \ argument
566 ((ms_card)->ms_type & MS_XC))
567 #define CHK_MSHG(ms_card) (CHK_MSPRO(ms_card) && \ argument
568 ((ms_card)->ms_type & MS_HG))
570 #define CHK_MS8BIT(ms_card) (((ms_card)->ms_type & MS_8BIT)) argument
571 #define CHK_MS4BIT(ms_card) (((ms_card)->ms_type & MS_4BIT)) argument
772 struct ms_info ms_card; member
Drtsx_card.c29 struct ms_info *ms_card = &chip->ms_card; in do_remaining_work() local
52 if (CHK_MSPRO(ms_card)) { in do_remaining_work()
53 if (ms_card->seq_mode) { in do_remaining_work()
55 ms_card->cleanup_counter++; in do_remaining_work()
57 ms_card->cleanup_counter = 0; in do_remaining_work()
61 if (ms_card->delay_write.delay_write_flag) { in do_remaining_work()
63 ms_card->cleanup_counter++; in do_remaining_work()
65 ms_card->cleanup_counter = 0; in do_remaining_work()
77 if (ms_card->cleanup_counter > POLLING_WAIT_CNT) in do_remaining_work()
Drtsx.c462 struct ms_info *ms_card = &chip->ms_card; in rtsx_polling_thread() local
466 ms_card->cleanup_counter = 0; in rtsx_polling_thread()
Drtsx_chip.c758 struct ms_info *ms_card = &chip->ms_card; in rtsx_init_chip() local
769 memset(ms_card, 0, sizeof(struct ms_info)); in rtsx_init_chip()