Lines Matching refs:pio

110 	} pio;  member
248 host->pio.index = 0; in au1xmmc_finish_request()
249 host->pio.offset = 0; in au1xmmc_finish_request()
250 host->pio.len = 0; in au1xmmc_finish_request()
361 (data->blocks * data->blksz) - host->pio.len; in au1xmmc_data_complete()
391 sg = &data->sg[host->pio.index]; in au1xmmc_send_pio()
392 sg_ptr = kmap_local_page(sg_page(sg)) + sg->offset + host->pio.offset; in au1xmmc_send_pio()
395 sg_len = data->sg[host->pio.index].length - host->pio.offset; in au1xmmc_send_pio()
398 max = (sg_len > host->pio.len) ? host->pio.len : sg_len; in au1xmmc_send_pio()
415 host->pio.len -= count; in au1xmmc_send_pio()
416 host->pio.offset += count; in au1xmmc_send_pio()
419 host->pio.index++; in au1xmmc_send_pio()
420 host->pio.offset = 0; in au1xmmc_send_pio()
423 if (host->pio.len == 0) { in au1xmmc_send_pio()
446 max = host->pio.len; in au1xmmc_receive_pio()
448 if (host->pio.index < host->dma.len) { in au1xmmc_receive_pio()
449 sg = &data->sg[host->pio.index]; in au1xmmc_receive_pio()
450 sg_ptr = kmap_local_page(sg_page(sg)) + sg->offset + host->pio.offset; in au1xmmc_receive_pio()
453 sg_len = sg_dma_len(&data->sg[host->pio.index]) - host->pio.offset; in au1xmmc_receive_pio()
471 host->pio.len, count); in au1xmmc_receive_pio()
477 host->pio.len, count); in au1xmmc_receive_pio()
482 host->pio.len, count); in au1xmmc_receive_pio()
494 host->pio.len -= count; in au1xmmc_receive_pio()
495 host->pio.offset += count; in au1xmmc_receive_pio()
498 host->pio.index++; in au1xmmc_receive_pio()
499 host->pio.offset = 0; in au1xmmc_receive_pio()
502 if (host->pio.len == 0) { in au1xmmc_receive_pio()
655 host->pio.index = 0; in au1xmmc_prepare_data()
656 host->pio.offset = 0; in au1xmmc_prepare_data()
657 host->pio.len = datalen; in au1xmmc_prepare_data()