Lines Matching refs:mmc_writel

79 #define mmc_writel(host, reg, value) \
311 mmc_writel(host, REG_GCTRL, SDXC_HARDWARE_RESET);
336 mmc_writel(host, REG_FTRGL, 0x20070008);
338 mmc_writel(host, REG_TMOUT, 0xffffffff);
340 mmc_writel(host, REG_IMASK, host->sdio_imask);
342 mmc_writel(host, REG_RINTR, 0xffffffff);
344 mmc_writel(host, REG_DBGC, 0xdeb);
346 mmc_writel(host, REG_FUNS, SDXC_CEATA_ON);
348 mmc_writel(host, REG_DLBA, host->sg_dma >> host->cfg->idma_des_shift);
354 mmc_writel(host, REG_GCTRL, rval);
432 mmc_writel(host, REG_GCTRL, rval);
434 mmc_writel(host, REG_GCTRL, rval);
436 mmc_writel(host, REG_DMAC, SDXC_IDMAC_SOFT_RESET);
439 mmc_writel(host, REG_IDIE, SDXC_IDMAC_RECEIVE_INTERRUPT);
441 mmc_writel(host, REG_DMAC,
463 mmc_writel(host, REG_CARG, arg);
464 mmc_writel(host, REG_CMDR, cmd_val);
480 mmc_writel(host, REG_RINTR, 0xffff);
517 mmc_writel(host, REG_IMASK, host->sdio_imask);
518 mmc_writel(host, REG_IDIE, 0);
546 mmc_writel(host, REG_IDST, 0x337);
547 mmc_writel(host, REG_DMAC, 0);
550 mmc_writel(host, REG_GCTRL, rval);
552 mmc_writel(host, REG_GCTRL, rval);
554 mmc_writel(host, REG_GCTRL, rval);
559 mmc_writel(host, REG_RINTR, 0xffff);
595 mmc_writel(host, REG_IMASK,
608 mmc_writel(host, REG_RINTR, msk_int);
609 mmc_writel(host, REG_IDST, idma_int);
677 mmc_writel(host, REG_CLKCR, rval);
680 mmc_writel(host, REG_CMDR, rval);
687 mmc_writel(host, REG_RINTR,
697 mmc_writel(host, REG_CLKCR, rval & ~SDXC_MASK_DATA0);
824 mmc_writel(host, REG_CLKCR, rval);
839 mmc_writel(host, REG_SD_NTSR, rval);
874 mmc_writel(host, REG_WIDTH, SDXC_WIDTH1);
877 mmc_writel(host, REG_WIDTH, SDXC_WIDTH4);
880 mmc_writel(host, REG_WIDTH, SDXC_WIDTH8);
896 mmc_writel(host, REG_GCTRL, rval);
993 mmc_writel(host, REG_IMASK, imask);
1003 mmc_writel(host, REG_HWRST, 0);
1005 mmc_writel(host, REG_HWRST, 1);
1091 mmc_writel(host, REG_BLKSZ, data->blksz);
1092 mmc_writel(host, REG_BCNTR, data->blksz * data->blocks);
1098 mmc_writel(host, REG_IMASK, host->sdio_imask | imask);
1099 mmc_writel(host, REG_CARG, cmd->arg);
1100 mmc_writel(host, REG_CMDR, cmd_val);