Lines Matching refs:part_buf_count
1168 host->part_buf_count = 0; in dw_mci_submit_data()
2297 host->part_buf_count = cnt; in dw_mci_set_part_bytes()
2303 cnt = min(cnt, (1 << host->data_shift) - host->part_buf_count); in dw_mci_push_part_bytes()
2304 memcpy((void *)&host->part_buf + host->part_buf_count, buf, cnt); in dw_mci_push_part_bytes()
2305 host->part_buf_count += cnt; in dw_mci_push_part_bytes()
2312 cnt = min_t(int, cnt, host->part_buf_count); in dw_mci_pull_part_bytes()
2316 host->part_buf_count -= cnt; in dw_mci_pull_part_bytes()
2327 host->part_buf_count = (1 << host->data_shift) - cnt; in dw_mci_pull_final_bytes()
2336 if (unlikely(host->part_buf_count)) { in dw_mci_push_data16()
2341 if (host->part_buf_count == 2) { in dw_mci_push_data16()
2343 host->part_buf_count = 0; in dw_mci_push_data16()
2419 if (unlikely(host->part_buf_count)) { in dw_mci_push_data32()
2424 if (host->part_buf_count == 4) { in dw_mci_push_data32()
2426 host->part_buf_count = 0; in dw_mci_push_data32()
2502 if (unlikely(host->part_buf_count)) { in dw_mci_push_data64()
2508 if (host->part_buf_count == 8) { in dw_mci_push_data64()
2510 host->part_buf_count = 0; in dw_mci_push_data64()
2587 if (unlikely(host->part_buf_count)) { in dw_mci_push_data64_32()
2593 if (host->part_buf_count == 8) { in dw_mci_push_data64_32()
2595 host->part_buf_count = 0; in dw_mci_push_data64_32()
2703 << shift) + host->part_buf_count; in dw_mci_read_data_pio()
2759 << shift) - host->part_buf_count; in dw_mci_write_data_pio()