Lines Matching defs:lpc_mmc_write_4
135 #define lpc_mmc_write_4(_sc, _reg, _value) \
234 lpc_mmc_write_4(sc, LPC_SD_POWER, LPC_SD_POWER_CTRL_ON);
329 lpc_mmc_write_4(sc, LPC_SD_CLEAR, LPC_SD_STATUS_CMDCRCFAIL);
343 lpc_mmc_write_4(sc, LPC_SD_CLEAR, LPC_SD_STATUS_DATATIMEOUT);
348 lpc_mmc_write_4(sc, LPC_SD_CLEAR, LPC_SD_STATUS_TXUNDERRUN);
372 lpc_mmc_write_4(sc, LPC_SD_CLEAR, LPC_SD_STATUS_CMDRESPEND);
381 lpc_mmc_write_4(sc, LPC_SD_CLEAR, LPC_SD_STATUS_CMDSENT);
388 lpc_mmc_write_4(sc, LPC_SD_CLEAR, LPC_SD_STATUS_DATAEND);
397 lpc_mmc_write_4(sc, LPC_SD_CLEAR, LPC_SD_STATUS_CMDTIMEOUT);
403 lpc_mmc_write_4(sc, LPC_SD_CLEAR, LPC_SD_STATUS_STARTBITERR);
417 lpc_mmc_write_4(sc, LPC_SD_CLEAR, LPC_SD_STATUS_DATACRCFAIL);
427 lpc_mmc_write_4(sc, LPC_SD_DATACTRL, 0);
432 lpc_mmc_write_4(sc, LPC_SD_CLEAR, LPC_SD_STATUS_DATABLOCKEND);
475 lpc_mmc_write_4(sc, LPC_SD_COMMAND, 0);
493 lpc_mmc_write_4(sc, LPC_SD_MASK0, 0xffffffff);
494 lpc_mmc_write_4(sc, LPC_SD_MASK1, 0xffffffff);
495 lpc_mmc_write_4(sc, LPC_SD_ARGUMENT, cmd->arg);
496 lpc_mmc_write_4(sc, LPC_SD_COMMAND, cmdreg);
534 lpc_mmc_write_4(sc, LPC_SD_DATATIMER, 0xFFFF0000);
535 lpc_mmc_write_4(sc, LPC_SD_DATALENGTH, data->len);
536 lpc_mmc_write_4(sc, LPC_SD_DATACTRL, datactrl);
660 lpc_mmc_write_4(sc, LPC_SD_CLOCK, clkdiv | LPC_SD_CLOCK_ENABLE);
677 lpc_mmc_write_4(sc, LPC_SD_POWER, pwr);