Lines Matching refs:cmd_flags
94 unsigned short cmd_flags; member
120 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_read_fifo()
122 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_read_fifo()
130 host->cmd_flags |= DATA_CARRY; in tifm_sd_read_fifo()
146 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_write_fifo()
149 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_write_fifo()
156 host->cmd_flags |= DATA_CARRY; in tifm_sd_write_fifo()
182 && (host->cmd_flags & DATA_CARRY)) in tifm_sd_transfer_data()
271 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_set_dma_data()
272 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_set_dma_data()
303 host->cmd_flags |= DATA_CARRY; in tifm_sd_set_dma_data()
405 if (!(host->cmd_flags & CMD_READY)) in tifm_sd_check_status()
410 if ((host->cmd_flags & SCMD_ACTIVE) in tifm_sd_check_status()
411 && !(host->cmd_flags & SCMD_READY)) in tifm_sd_check_status()
417 if (!(host->cmd_flags & BRS_READY)) in tifm_sd_check_status()
420 if (!(host->no_dma || (host->cmd_flags & FIFO_READY))) in tifm_sd_check_status()
425 if (!(host->cmd_flags & SCMD_ACTIVE)) { in tifm_sd_check_status()
426 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_check_status()
435 if (!(host->cmd_flags & SCMD_READY) in tifm_sd_check_status()
436 || (host->cmd_flags & CARD_BUSY)) in tifm_sd_check_status()
445 if (host->cmd_flags & CARD_BUSY) in tifm_sd_check_status()
454 if (!(host->cmd_flags & SCMD_ACTIVE)) { in tifm_sd_check_status()
455 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_check_status()
459 if (!(host->cmd_flags & SCMD_READY)) in tifm_sd_check_status()
480 fifo_status, host->cmd_flags); in tifm_sd_data_event()
487 host->cmd_flags |= FIFO_READY; in tifm_sd_data_event()
509 host_status, host->cmd_flags); in tifm_sd_card_event()
534 if (host->cmd_flags & SCMD_ACTIVE) { in tifm_sd_card_event()
536 host->cmd_flags |= SCMD_READY; in tifm_sd_card_event()
539 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_card_event()
547 if (!(host->cmd_flags & CMD_READY)) { in tifm_sd_card_event()
548 host->cmd_flags |= CMD_READY; in tifm_sd_card_event()
550 } else if (host->cmd_flags & SCMD_ACTIVE) { in tifm_sd_card_event()
551 host->cmd_flags |= SCMD_READY; in tifm_sd_card_event()
557 host->cmd_flags |= BRS_READY; in tifm_sd_card_event()
573 host->cmd_flags &= ~CARD_BUSY; in tifm_sd_card_event()
575 host->cmd_flags |= CARD_BUSY; in tifm_sd_card_event()
632 host->cmd_flags = 0; in tifm_sd_request()
783 dev_name(&host->dev->dev), host->req->cmd->opcode, host->cmd_flags); in tifm_sd_abort()