Searched refs:ms_card (Results 1 – 7 of 7) sorted by relevance
22 struct ms_info *ms_card = &chip->ms_card; in ms_set_err_code() local24 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() local31 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() local78 if (CHK_MSPRO(ms_card) && !(*ptr & 0x80)) { in ms_transfer_tpc()165 struct ms_info *ms_card = &chip->ms_card; in ms_write_bytes() local206 if (CHK_MSPRO(ms_card) && !(val & 0x80)) { in ms_write_bytes()229 struct ms_info *ms_card = &chip->ms_card; in ms_read_bytes() local271 if (CHK_MSPRO(ms_card) && !(val & 0x80)) { in ms_read_bytes()[all …]
184 #define MS_SET_BAD_BLOCK_FLG(ms_card) ((ms_card)->multi_flag |= 0x80) argument185 #define MS_CLR_BAD_BLOCK_FLG(ms_card) ((ms_card)->multi_flag &= 0x7F) argument186 #define MS_TST_BAD_BLOCK_FLG(ms_card) ((ms_card)->multi_flag & 0x80) argument
602 struct ms_info *ms_card = &chip->ms_card; in request_sense() local608 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 …]
562 #define CHK_MSPRO(ms_card) (((ms_card)->ms_type & 0xFF) == TYPE_MSPRO) argument563 #define CHK_HG8BIT(ms_card) (CHK_MSPRO(ms_card) && \ argument564 (((ms_card)->ms_type & HG8BIT) == HG8BIT))565 #define CHK_MSXC(ms_card) (CHK_MSPRO(ms_card) && \ argument566 ((ms_card)->ms_type & MS_XC))567 #define CHK_MSHG(ms_card) (CHK_MSPRO(ms_card) && \ argument568 ((ms_card)->ms_type & MS_HG))570 #define CHK_MS8BIT(ms_card) (((ms_card)->ms_type & MS_8BIT)) argument571 #define CHK_MS4BIT(ms_card) (((ms_card)->ms_type & MS_4BIT)) argument772 struct ms_info ms_card; member
29 struct ms_info *ms_card = &chip->ms_card; in do_remaining_work() local52 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()
462 struct ms_info *ms_card = &chip->ms_card; in rtsx_polling_thread() local466 ms_card->cleanup_counter = 0; in rtsx_polling_thread()
758 struct ms_info *ms_card = &chip->ms_card; in rtsx_init_chip() local769 memset(ms_card, 0, sizeof(struct ms_info)); in rtsx_init_chip()