Lines Matching refs:part_buf_count
904 host->part_buf_count = 0; in dw_mci_submit_data()
1763 host->part_buf_count = cnt; in dw_mci_set_part_bytes()
1769 cnt = min(cnt, (1 << host->data_shift) - host->part_buf_count); in dw_mci_push_part_bytes()
1770 memcpy((void *)&host->part_buf + host->part_buf_count, buf, cnt); in dw_mci_push_part_bytes()
1771 host->part_buf_count += cnt; in dw_mci_push_part_bytes()
1778 cnt = min(cnt, (int)host->part_buf_count); in dw_mci_pull_part_bytes()
1782 host->part_buf_count -= cnt; in dw_mci_pull_part_bytes()
1793 host->part_buf_count = (1 << host->data_shift) - cnt; in dw_mci_pull_final_bytes()
1802 if (unlikely(host->part_buf_count)) { in dw_mci_push_data16()
1806 if (host->part_buf_count == 2) { in dw_mci_push_data16()
1808 host->part_buf_count = 0; in dw_mci_push_data16()
1881 if (unlikely(host->part_buf_count)) { in dw_mci_push_data32()
1885 if (host->part_buf_count == 4) { in dw_mci_push_data32()
1887 host->part_buf_count = 0; in dw_mci_push_data32()
1960 if (unlikely(host->part_buf_count)) { in dw_mci_push_data64()
1965 if (host->part_buf_count == 8) { in dw_mci_push_data64()
1967 host->part_buf_count = 0; in dw_mci_push_data64()
2072 << shift) + host->part_buf_count; in dw_mci_read_data_pio()
2128 << shift) - host->part_buf_count; in dw_mci_write_data_pio()