Lines Matching refs:part_buf_count
1170 host->part_buf_count = 0; in dw_mci_submit_data()
2294 host->part_buf_count = cnt; in dw_mci_set_part_bytes()
2300 cnt = min(cnt, (1 << host->data_shift) - host->part_buf_count); in dw_mci_push_part_bytes()
2301 memcpy((void *)&host->part_buf + host->part_buf_count, buf, cnt); in dw_mci_push_part_bytes()
2302 host->part_buf_count += cnt; in dw_mci_push_part_bytes()
2309 cnt = min_t(int, cnt, host->part_buf_count); in dw_mci_pull_part_bytes()
2313 host->part_buf_count -= cnt; in dw_mci_pull_part_bytes()
2324 host->part_buf_count = (1 << host->data_shift) - cnt; in dw_mci_pull_final_bytes()
2333 if (unlikely(host->part_buf_count)) { in dw_mci_push_data16()
2338 if (host->part_buf_count == 2) { in dw_mci_push_data16()
2340 host->part_buf_count = 0; in dw_mci_push_data16()
2416 if (unlikely(host->part_buf_count)) { in dw_mci_push_data32()
2421 if (host->part_buf_count == 4) { in dw_mci_push_data32()
2423 host->part_buf_count = 0; in dw_mci_push_data32()
2499 if (unlikely(host->part_buf_count)) { in dw_mci_push_data64()
2505 if (host->part_buf_count == 8) { in dw_mci_push_data64()
2507 host->part_buf_count = 0; in dw_mci_push_data64()
2615 << shift) + host->part_buf_count; in dw_mci_read_data_pio()
2671 << shift) - host->part_buf_count; in dw_mci_write_data_pio()