• Home
  • Raw
  • Download

Lines Matching refs:pio

109 	} pio;  member
247 host->pio.index = 0; in au1xmmc_finish_request()
248 host->pio.offset = 0; in au1xmmc_finish_request()
249 host->pio.len = 0; in au1xmmc_finish_request()
360 (data->blocks * data->blksz) - host->pio.len; in au1xmmc_data_complete()
390 sg = &data->sg[host->pio.index]; in au1xmmc_send_pio()
391 sg_ptr = kmap_atomic(sg_page(sg)) + sg->offset + host->pio.offset; in au1xmmc_send_pio()
394 sg_len = data->sg[host->pio.index].length - host->pio.offset; in au1xmmc_send_pio()
397 max = (sg_len > host->pio.len) ? host->pio.len : sg_len; in au1xmmc_send_pio()
414 host->pio.len -= count; in au1xmmc_send_pio()
415 host->pio.offset += count; in au1xmmc_send_pio()
418 host->pio.index++; in au1xmmc_send_pio()
419 host->pio.offset = 0; in au1xmmc_send_pio()
422 if (host->pio.len == 0) { in au1xmmc_send_pio()
445 max = host->pio.len; in au1xmmc_receive_pio()
447 if (host->pio.index < host->dma.len) { in au1xmmc_receive_pio()
448 sg = &data->sg[host->pio.index]; in au1xmmc_receive_pio()
449 sg_ptr = kmap_atomic(sg_page(sg)) + sg->offset + host->pio.offset; in au1xmmc_receive_pio()
452 sg_len = sg_dma_len(&data->sg[host->pio.index]) - host->pio.offset; in au1xmmc_receive_pio()
470 host->pio.len, count); in au1xmmc_receive_pio()
476 host->pio.len, count); in au1xmmc_receive_pio()
481 host->pio.len, count); in au1xmmc_receive_pio()
493 host->pio.len -= count; in au1xmmc_receive_pio()
494 host->pio.offset += count; in au1xmmc_receive_pio()
497 host->pio.index++; in au1xmmc_receive_pio()
498 host->pio.offset = 0; in au1xmmc_receive_pio()
501 if (host->pio.len == 0) { in au1xmmc_receive_pio()
654 host->pio.index = 0; in au1xmmc_prepare_data()
655 host->pio.offset = 0; in au1xmmc_prepare_data()
656 host->pio.len = datalen; in au1xmmc_prepare_data()