Lines Matching refs:part_buf_count
1168 host->part_buf_count = 0; in dw_mci_submit_data()
2298 host->part_buf_count = cnt; in dw_mci_set_part_bytes()
2304 cnt = min(cnt, (1 << host->data_shift) - host->part_buf_count); in dw_mci_push_part_bytes()
2305 memcpy((void *)&host->part_buf + host->part_buf_count, buf, cnt); in dw_mci_push_part_bytes()
2306 host->part_buf_count += cnt; in dw_mci_push_part_bytes()
2313 cnt = min_t(int, cnt, host->part_buf_count); in dw_mci_pull_part_bytes()
2317 host->part_buf_count -= cnt; in dw_mci_pull_part_bytes()
2328 host->part_buf_count = (1 << host->data_shift) - cnt; in dw_mci_pull_final_bytes()
2337 if (unlikely(host->part_buf_count)) { in dw_mci_push_data16()
2342 if (host->part_buf_count == 2) { in dw_mci_push_data16()
2344 host->part_buf_count = 0; in dw_mci_push_data16()
2420 if (unlikely(host->part_buf_count)) { in dw_mci_push_data32()
2425 if (host->part_buf_count == 4) { in dw_mci_push_data32()
2427 host->part_buf_count = 0; in dw_mci_push_data32()
2503 if (unlikely(host->part_buf_count)) { in dw_mci_push_data64()
2509 if (host->part_buf_count == 8) { in dw_mci_push_data64()
2511 host->part_buf_count = 0; in dw_mci_push_data64()
2619 << shift) + host->part_buf_count; in dw_mci_read_data_pio()
2675 << shift) - host->part_buf_count; in dw_mci_write_data_pio()