Lines Matching refs:cmd_flags
96 unsigned short cmd_flags; member
122 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_read_fifo()
124 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_read_fifo()
132 host->cmd_flags |= DATA_CARRY; in tifm_sd_read_fifo()
148 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_write_fifo()
151 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_write_fifo()
158 host->cmd_flags |= DATA_CARRY; in tifm_sd_write_fifo()
184 && (host->cmd_flags & DATA_CARRY)) in tifm_sd_transfer_data()
274 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_set_dma_data()
275 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_set_dma_data()
310 host->cmd_flags |= DATA_CARRY; in tifm_sd_set_dma_data()
411 if (!(host->cmd_flags & CMD_READY)) in tifm_sd_check_status()
416 if ((host->cmd_flags & SCMD_ACTIVE) in tifm_sd_check_status()
417 && !(host->cmd_flags & SCMD_READY)) in tifm_sd_check_status()
423 if (!(host->cmd_flags & BRS_READY)) in tifm_sd_check_status()
426 if (!(host->no_dma || (host->cmd_flags & FIFO_READY))) in tifm_sd_check_status()
431 if (!(host->cmd_flags & SCMD_ACTIVE)) { in tifm_sd_check_status()
432 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_check_status()
441 if (!(host->cmd_flags & SCMD_READY) in tifm_sd_check_status()
442 || (host->cmd_flags & CARD_BUSY)) in tifm_sd_check_status()
451 if (host->cmd_flags & CARD_BUSY) in tifm_sd_check_status()
460 if (!(host->cmd_flags & SCMD_ACTIVE)) { in tifm_sd_check_status()
461 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_check_status()
465 if (!(host->cmd_flags & SCMD_READY)) in tifm_sd_check_status()
486 fifo_status, host->cmd_flags); in tifm_sd_data_event()
493 host->cmd_flags |= FIFO_READY; in tifm_sd_data_event()
516 host_status, host->cmd_flags); in tifm_sd_card_event()
541 if (host->cmd_flags & SCMD_ACTIVE) { in tifm_sd_card_event()
543 host->cmd_flags |= SCMD_READY; in tifm_sd_card_event()
546 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_card_event()
554 if (!(host->cmd_flags & CMD_READY)) { in tifm_sd_card_event()
555 host->cmd_flags |= CMD_READY; in tifm_sd_card_event()
557 } else if (host->cmd_flags & SCMD_ACTIVE) { in tifm_sd_card_event()
558 host->cmd_flags |= SCMD_READY; in tifm_sd_card_event()
564 host->cmd_flags |= BRS_READY; in tifm_sd_card_event()
582 host->cmd_flags &= ~CARD_BUSY; in tifm_sd_card_event()
584 host->cmd_flags |= CARD_BUSY; in tifm_sd_card_event()
641 host->cmd_flags = 0; in tifm_sd_request()
792 dev_name(&host->dev->dev), host->req->cmd->opcode, host->cmd_flags); in tifm_sd_abort()