Lines Matching refs:cmd_flags

95 	unsigned short        cmd_flags;  member
121 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_read_fifo()
123 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_read_fifo()
131 host->cmd_flags |= DATA_CARRY; in tifm_sd_read_fifo()
147 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_write_fifo()
150 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_write_fifo()
157 host->cmd_flags |= DATA_CARRY; in tifm_sd_write_fifo()
183 && (host->cmd_flags & DATA_CARRY)) in tifm_sd_transfer_data()
272 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_set_dma_data()
273 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_set_dma_data()
304 host->cmd_flags |= DATA_CARRY; in tifm_sd_set_dma_data()
406 if (!(host->cmd_flags & CMD_READY)) in tifm_sd_check_status()
411 if ((host->cmd_flags & SCMD_ACTIVE) in tifm_sd_check_status()
412 && !(host->cmd_flags & SCMD_READY)) in tifm_sd_check_status()
418 if (!(host->cmd_flags & BRS_READY)) in tifm_sd_check_status()
421 if (!(host->no_dma || (host->cmd_flags & FIFO_READY))) in tifm_sd_check_status()
426 if (!(host->cmd_flags & SCMD_ACTIVE)) { in tifm_sd_check_status()
427 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_check_status()
436 if (!(host->cmd_flags & SCMD_READY) in tifm_sd_check_status()
437 || (host->cmd_flags & CARD_BUSY)) in tifm_sd_check_status()
446 if (host->cmd_flags & CARD_BUSY) in tifm_sd_check_status()
455 if (!(host->cmd_flags & SCMD_ACTIVE)) { in tifm_sd_check_status()
456 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_check_status()
460 if (!(host->cmd_flags & SCMD_READY)) in tifm_sd_check_status()
481 fifo_status, host->cmd_flags); in tifm_sd_data_event()
488 host->cmd_flags |= FIFO_READY; in tifm_sd_data_event()
510 host_status, host->cmd_flags); in tifm_sd_card_event()
535 if (host->cmd_flags & SCMD_ACTIVE) { in tifm_sd_card_event()
537 host->cmd_flags |= SCMD_READY; in tifm_sd_card_event()
540 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_card_event()
548 if (!(host->cmd_flags & CMD_READY)) { in tifm_sd_card_event()
549 host->cmd_flags |= CMD_READY; in tifm_sd_card_event()
551 } else if (host->cmd_flags & SCMD_ACTIVE) { in tifm_sd_card_event()
552 host->cmd_flags |= SCMD_READY; in tifm_sd_card_event()
558 host->cmd_flags |= BRS_READY; in tifm_sd_card_event()
574 host->cmd_flags &= ~CARD_BUSY; in tifm_sd_card_event()
576 host->cmd_flags |= CARD_BUSY; in tifm_sd_card_event()
633 host->cmd_flags = 0; in tifm_sd_request()
784 dev_name(&host->dev->dev), host->req->cmd->opcode, host->cmd_flags); in tifm_sd_abort()