Home
last modified time | relevance | path

Searched refs:part_buf_count (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/mmc/host/
Ddw_mmc.c1164 host->part_buf_count = 0; in dw_mci_submit_data()
2187 host->part_buf_count = cnt; in dw_mci_set_part_bytes()
2193 cnt = min(cnt, (1 << host->data_shift) - host->part_buf_count); in dw_mci_push_part_bytes()
2194 memcpy((void *)&host->part_buf + host->part_buf_count, buf, cnt); in dw_mci_push_part_bytes()
2195 host->part_buf_count += cnt; in dw_mci_push_part_bytes()
2202 cnt = min_t(int, cnt, host->part_buf_count); in dw_mci_pull_part_bytes()
2206 host->part_buf_count -= cnt; in dw_mci_pull_part_bytes()
2217 host->part_buf_count = (1 << host->data_shift) - cnt; in dw_mci_pull_final_bytes()
2226 if (unlikely(host->part_buf_count)) { in dw_mci_push_data16()
2231 if (host->part_buf_count == 2) { in dw_mci_push_data16()
[all …]
Ddw_mmc.h215 u8 part_buf_count; member