Lines Matching refs:cmd_flags

92 	unsigned short        cmd_flags;  member
118 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_read_fifo()
120 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_read_fifo()
128 host->cmd_flags |= DATA_CARRY; in tifm_sd_read_fifo()
144 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_write_fifo()
147 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_write_fifo()
154 host->cmd_flags |= DATA_CARRY; in tifm_sd_write_fifo()
180 && (host->cmd_flags & DATA_CARRY)) in tifm_sd_transfer_data()
270 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_set_dma_data()
271 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_set_dma_data()
306 host->cmd_flags |= DATA_CARRY; in tifm_sd_set_dma_data()
408 if (!(host->cmd_flags & CMD_READY)) in tifm_sd_check_status()
413 if ((host->cmd_flags & SCMD_ACTIVE) in tifm_sd_check_status()
414 && !(host->cmd_flags & SCMD_READY)) in tifm_sd_check_status()
420 if (!(host->cmd_flags & BRS_READY)) in tifm_sd_check_status()
423 if (!(host->no_dma || (host->cmd_flags & FIFO_READY))) in tifm_sd_check_status()
428 if (!(host->cmd_flags & SCMD_ACTIVE)) { in tifm_sd_check_status()
429 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_check_status()
438 if (!(host->cmd_flags & SCMD_READY) in tifm_sd_check_status()
439 || (host->cmd_flags & CARD_BUSY)) in tifm_sd_check_status()
448 if (host->cmd_flags & CARD_BUSY) in tifm_sd_check_status()
457 if (!(host->cmd_flags & SCMD_ACTIVE)) { in tifm_sd_check_status()
458 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_check_status()
462 if (!(host->cmd_flags & SCMD_READY)) in tifm_sd_check_status()
483 fifo_status, host->cmd_flags); in tifm_sd_data_event()
490 host->cmd_flags |= FIFO_READY; in tifm_sd_data_event()
513 host_status, host->cmd_flags); in tifm_sd_card_event()
538 if (host->cmd_flags & SCMD_ACTIVE) { in tifm_sd_card_event()
540 host->cmd_flags |= SCMD_READY; in tifm_sd_card_event()
543 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_card_event()
551 if (!(host->cmd_flags & CMD_READY)) { in tifm_sd_card_event()
552 host->cmd_flags |= CMD_READY; in tifm_sd_card_event()
554 } else if (host->cmd_flags & SCMD_ACTIVE) { in tifm_sd_card_event()
555 host->cmd_flags |= SCMD_READY; in tifm_sd_card_event()
561 host->cmd_flags |= BRS_READY; in tifm_sd_card_event()
579 host->cmd_flags &= ~CARD_BUSY; in tifm_sd_card_event()
581 host->cmd_flags |= CARD_BUSY; in tifm_sd_card_event()
638 host->cmd_flags = 0; in tifm_sd_request()
789 dev_name(&host->dev->dev), host->req->cmd->opcode, host->cmd_flags); in tifm_sd_abort()