Lines Matching refs:blklen
74 static inline void mci_set_blklen(atmel_mci_t *mci, int blklen)
78 blklen &= 0xfffc;
82 writel(MMCI_BFINS(BLKLEN, blklen, readl(&mci->blkr)),
85 writel(MMCI_BFINS(BLKLEN, blklen, readl(&mci->mr)), &mci->mr);
90 static void mci_set_mode(struct udevice *dev, u32 hz, u32 blklen)
98 static void mci_set_mode(struct mmc *mmc, u32 hz, u32 blklen)
111 bus_hz, hz, blklen);
122 bus_hz / (clkdiv * 2 + clkodd + 2), blklen);
130 (bus_hz / (clkdiv + 1)) / 2, blklen);
147 * MCI IP version < 0x500 use upper 16 bits for blklen.
154 mci_set_blklen(mci, blklen);
270 writel(data->blocks | MMCI_BF(BLKLEN, data->blocksize),