Searched refs:part_buf_count (Results 1 – 2 of 2) sorted by relevance
581 host->part_buf_count = 0; in dw_mci_submit_data()1106 host->part_buf_count = cnt; in dw_mci_set_part_bytes()1112 cnt = min(cnt, (1 << host->data_shift) - host->part_buf_count); in dw_mci_push_part_bytes()1113 memcpy((void *)&host->part_buf + host->part_buf_count, buf, cnt); in dw_mci_push_part_bytes()1114 host->part_buf_count += cnt; in dw_mci_push_part_bytes()1121 cnt = min(cnt, (int)host->part_buf_count); in dw_mci_pull_part_bytes()1125 host->part_buf_count -= cnt; in dw_mci_pull_part_bytes()1136 host->part_buf_count = (1 << host->data_shift) - cnt; in dw_mci_pull_final_bytes()1142 if (unlikely(host->part_buf_count)) { in dw_mci_push_data16()1146 if (!sg_next(host->sg) || host->part_buf_count == 2) { in dw_mci_push_data16()[all …]
166 u8 part_buf_count; member