Searched refs:mszs (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/mmc/host/ |
| H A D | dw_mmc.c | 822 static const u32 mszs[] = {1, 4, 8, 16, 32, 64, 128, 256}; in dw_mci_edmac_start_dma() local 837 cfg.dst_maxburst = mszs[(fifoth_val >> 28) & 0x7]; in dw_mci_edmac_start_dma() 1032 static const u32 mszs[] = {1, 4, 8, 16, 32, 64, 128, 256}; in dw_mci_adjust_fifoth() local 1036 int idx = ARRAY_SIZE(mszs) - 1; in dw_mci_adjust_fifoth() 1053 if (!((blksz_depth % mszs[idx]) || in dw_mci_adjust_fifoth() 1054 (tx_wmark_invers % mszs[idx]))) { in dw_mci_adjust_fifoth() 1056 rx_wmark = mszs[idx] - 1; in dw_mci_adjust_fifoth()
|