Lines Matching refs:part_buf_count
1169 host->part_buf_count = 0; in dw_mci_submit_data()
2256 host->part_buf_count = cnt; in dw_mci_set_part_bytes()
2262 cnt = min(cnt, (1 << host->data_shift) - host->part_buf_count); in dw_mci_push_part_bytes()
2263 memcpy((void *)&host->part_buf + host->part_buf_count, buf, cnt); in dw_mci_push_part_bytes()
2264 host->part_buf_count += cnt; in dw_mci_push_part_bytes()
2271 cnt = min_t(int, cnt, host->part_buf_count); in dw_mci_pull_part_bytes()
2275 host->part_buf_count -= cnt; in dw_mci_pull_part_bytes()
2286 host->part_buf_count = (1 << host->data_shift) - cnt; in dw_mci_pull_final_bytes()
2295 if (unlikely(host->part_buf_count)) { in dw_mci_push_data16()
2300 if (host->part_buf_count == 2) { in dw_mci_push_data16()
2302 host->part_buf_count = 0; in dw_mci_push_data16()
2378 if (unlikely(host->part_buf_count)) { in dw_mci_push_data32()
2383 if (host->part_buf_count == 4) { in dw_mci_push_data32()
2385 host->part_buf_count = 0; in dw_mci_push_data32()
2461 if (unlikely(host->part_buf_count)) { in dw_mci_push_data64()
2467 if (host->part_buf_count == 8) { in dw_mci_push_data64()
2469 host->part_buf_count = 0; in dw_mci_push_data64()
2577 << shift) + host->part_buf_count; in dw_mci_read_data_pio()
2633 << shift) - host->part_buf_count; in dw_mci_write_data_pio()