Searched refs:mszs (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | dw_mmc.c | 778 static const u32 mszs[] = {1, 4, 8, 16, 32, 64, 128, 256}; in dw_mci_edmac_start_dma() local 793 cfg.dst_maxburst = mszs[(fifoth_val >> 28) & 0x7]; in dw_mci_edmac_start_dma() 988 static const u32 mszs[] = {1, 4, 8, 16, 32, 64, 128, 256}; in dw_mci_adjust_fifoth() local 992 int idx = ARRAY_SIZE(mszs) - 1; in dw_mci_adjust_fifoth() 1009 if (!((blksz_depth % mszs[idx]) || in dw_mci_adjust_fifoth() 1010 (tx_wmark_invers % mszs[idx]))) { in dw_mci_adjust_fifoth() 1012 rx_wmark = mszs[idx] - 1; in dw_mci_adjust_fifoth()
|
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | dw_mmc.c | 783 static const u32 mszs[] = {1, 4, 8, 16, 32, 64, 128, 256}; in dw_mci_edmac_start_dma() local 798 cfg.dst_maxburst = mszs[(fifoth_val >> 28) & 0x7]; in dw_mci_edmac_start_dma() 993 static const u32 mszs[] = {1, 4, 8, 16, 32, 64, 128, 256}; in dw_mci_adjust_fifoth() local 997 int idx = ARRAY_SIZE(mszs) - 1; in dw_mci_adjust_fifoth() 1014 if (!((blksz_depth % mszs[idx]) || in dw_mci_adjust_fifoth() 1015 (tx_wmark_invers % mszs[idx]))) { in dw_mci_adjust_fifoth() 1017 rx_wmark = mszs[idx] - 1; in dw_mci_adjust_fifoth()
|
Completed in 8 milliseconds