• Home
  • Raw
  • Download

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()
377 (data->blocks * data->blksz) - host->pio.len; in au1xmmc_data_complete()
407 sg = &data->sg[host->pio.index]; in au1xmmc_send_pio()
408 sg_ptr = sg_virt(sg) + host->pio.offset; in au1xmmc_send_pio()
411 sg_len = data->sg[host->pio.index].length - host->pio.offset; in au1xmmc_send_pio()
414 max = (sg_len > host->pio.len) ? host->pio.len : sg_len; in au1xmmc_send_pio()
430 host->pio.len -= count; in au1xmmc_send_pio()
431 host->pio.offset += count; in au1xmmc_send_pio()
434 host->pio.index++; in au1xmmc_send_pio()
435 host->pio.offset = 0; in au1xmmc_send_pio()
438 if (host->pio.len == 0) { in au1xmmc_send_pio()
461 max = host->pio.len; in au1xmmc_receive_pio()
463 if (host->pio.index < host->dma.len) { in au1xmmc_receive_pio()
464 sg = &data->sg[host->pio.index]; in au1xmmc_receive_pio()
465 sg_ptr = sg_virt(sg) + host->pio.offset; in au1xmmc_receive_pio()
468 sg_len = sg_dma_len(&data->sg[host->pio.index]) - host->pio.offset; in au1xmmc_receive_pio()
486 host->pio.len, count); in au1xmmc_receive_pio()
492 host->pio.len, count); in au1xmmc_receive_pio()
497 host->pio.len, count); in au1xmmc_receive_pio()
507 host->pio.len -= count; in au1xmmc_receive_pio()
508 host->pio.offset += count; in au1xmmc_receive_pio()
511 host->pio.index++; in au1xmmc_receive_pio()
512 host->pio.offset = 0; in au1xmmc_receive_pio()
515 if (host->pio.len == 0) { in au1xmmc_receive_pio()
668 host->pio.index = 0; in au1xmmc_prepare_data()
669 host->pio.offset = 0; in au1xmmc_prepare_data()
670 host->pio.len = datalen; in au1xmmc_prepare_data()