Lines Matching refs:present_state
178 if (regs->present_state & EMMC_HOST_PSTATE_CMD_INHIBIT) { in emmc_disable_clock()
179 LOG_ERR("present_state:%x", regs->present_state); in emmc_disable_clock()
182 if (regs->present_state & EMMC_HOST_PSTATE_DAT_INHIBIT) { in emmc_disable_clock()
183 LOG_ERR("present_state:%x", regs->present_state); in emmc_disable_clock()
678 if (regs->present_state & EMMC_HOST_PSTATE_CMD_INHIBIT) { in emmc_host_send_cmd()
683 if (config->data_present && (regs->present_state & EMMC_HOST_PSTATE_DAT_INHIBIT)) { in emmc_host_send_cmd()
747 if (!(regs->present_state & EMMC_HOST_PSTATE_CARD_INSERTED)) { in emmc_reset()
796 while ((regs->present_state & EMMC_HOST_PSTATE_BUF_READ_EN) == 0) { in read_data_port()
801 if (regs->present_state & EMMC_HOST_PSTATE_DAT_INHIBIT) { in read_data_port()
829 while ((regs->present_state & EMMC_HOST_PSTATE_BUF_WRITE_EN) == 0) { in write_data_port()
840 if (regs->present_state & EMMC_HOST_PSTATE_DAT_INHIBIT) { in write_data_port()
862 while ((regs->present_state & EMMC_HOST_PSTATE_BUF_WRITE_EN) == 0) { in write_data_port()
1100 emmc->card_present = (bool)((regs->present_state >> 16u) & 1u); in emmc_get_card_present()
1137 if (regs->present_state & 7u) { in emmc_card_busy()