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()
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()
308 host->cmd_flags |= DATA_CARRY; in tifm_sd_set_dma_data()
410 if (!(host->cmd_flags & CMD_READY)) in tifm_sd_check_status()
415 if ((host->cmd_flags & SCMD_ACTIVE) in tifm_sd_check_status()
416 && !(host->cmd_flags & SCMD_READY)) in tifm_sd_check_status()
422 if (!(host->cmd_flags & BRS_READY)) in tifm_sd_check_status()
425 if (!(host->no_dma || (host->cmd_flags & FIFO_READY))) in tifm_sd_check_status()
430 if (!(host->cmd_flags & SCMD_ACTIVE)) { in tifm_sd_check_status()
431 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_check_status()
440 if (!(host->cmd_flags & SCMD_READY) in tifm_sd_check_status()
441 || (host->cmd_flags & CARD_BUSY)) in tifm_sd_check_status()
450 if (host->cmd_flags & CARD_BUSY) in tifm_sd_check_status()
459 if (!(host->cmd_flags & SCMD_ACTIVE)) { in tifm_sd_check_status()
460 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_check_status()
464 if (!(host->cmd_flags & SCMD_READY)) in tifm_sd_check_status()
485 fifo_status, host->cmd_flags); in tifm_sd_data_event()
492 host->cmd_flags |= FIFO_READY; in tifm_sd_data_event()
515 host_status, host->cmd_flags); in tifm_sd_card_event()
540 if (host->cmd_flags & SCMD_ACTIVE) { in tifm_sd_card_event()
542 host->cmd_flags |= SCMD_READY; in tifm_sd_card_event()
545 host->cmd_flags |= SCMD_ACTIVE; in tifm_sd_card_event()
553 if (!(host->cmd_flags & CMD_READY)) { in tifm_sd_card_event()
554 host->cmd_flags |= CMD_READY; in tifm_sd_card_event()
556 } else if (host->cmd_flags & SCMD_ACTIVE) { in tifm_sd_card_event()
557 host->cmd_flags |= SCMD_READY; in tifm_sd_card_event()
563 host->cmd_flags |= BRS_READY; in tifm_sd_card_event()
581 host->cmd_flags &= ~CARD_BUSY; in tifm_sd_card_event()
583 host->cmd_flags |= CARD_BUSY; in tifm_sd_card_event()
640 host->cmd_flags = 0; in tifm_sd_request()
791 dev_name(&host->dev->dev), host->req->cmd->opcode, host->cmd_flags); in tifm_sd_abort()