Searched refs:ms_card (Results 1 – 7 of 7) sorted by relevance
33 struct ms_info *ms_card = &chip->ms_card; in ms_set_err_code() local35 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() local42 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() local92 if (CHK_MSPRO(ms_card) && !(*ptr & 0x80)) { in ms_transfer_tpc()188 struct ms_info *ms_card = &chip->ms_card; in ms_write_bytes() local232 if (CHK_MSPRO(ms_card) && !(val & 0x80)) { in ms_write_bytes()258 struct ms_info *ms_card = &chip->ms_card; in ms_read_bytes() local303 if (CHK_MSPRO(ms_card) && !(val & 0x80)) { in ms_read_bytes()[all …]
196 #define MS_SET_BAD_BLOCK_FLG(ms_card) ((ms_card)->multi_flag |= 0x80) argument197 #define MS_CLR_BAD_BLOCK_FLG(ms_card) ((ms_card)->multi_flag &= 0x7F) argument198 #define MS_TST_BAD_BLOCK_FLG(ms_card) ((ms_card)->multi_flag & 0x80) argument
546 #define CHK_MSPRO(ms_card) (((ms_card)->ms_type & 0xFF) == TYPE_MSPRO) argument547 #define CHK_HG8BIT(ms_card) (CHK_MSPRO(ms_card) && (((ms_card)->ms_type & HG8BIT) == HG8BIT)) argument548 #define CHK_MSXC(ms_card) (CHK_MSPRO(ms_card) && ((ms_card)->ms_type & MS_XC)) argument549 #define CHK_MSHG(ms_card) (CHK_MSPRO(ms_card) && ((ms_card)->ms_type & MS_HG)) argument551 #define CHK_MS8BIT(ms_card) (((ms_card)->ms_type & MS_8BIT)) argument552 #define CHK_MS4BIT(ms_card) (((ms_card)->ms_type & MS_4BIT)) argument764 struct ms_info ms_card; member
618 struct ms_info *ms_card = &(chip->ms_card); in request_sense() local624 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 …]
40 struct ms_info *ms_card = &(chip->ms_card); in do_remaining_work() local63 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()
524 struct ms_info *ms_card = &(chip->ms_card); in rtsx_polling_thread() local528 ms_card->cleanup_counter = 0; in rtsx_polling_thread()
925 struct ms_info *ms_card = &chip->ms_card; in rtsx_init_chip() local940 memset(ms_card, 0, sizeof(struct ms_info)); in rtsx_init_chip()