Searched refs:pad_buf (Results 1 – 1 of 1) sorted by relevance
2403 void *pad_buf = NULL; in ata_sg_clean() local2418 pad_buf = ap->pad + (qc->tag * ATA_DMA_PAD_SZ); in ata_sg_clean()2425 if (pad_buf) { in ata_sg_clean()2428 memcpy(addr + psg->offset, pad_buf, qc->pad_len); in ata_sg_clean()2438 if (pad_buf) in ata_sg_clean()2440 pad_buf, qc->pad_len); in ata_sg_clean()2614 void *pad_buf = ap->pad + (qc->tag * ATA_DMA_PAD_SZ); in ata_sg_setup_one() local2619 memset(pad_buf, 0, ATA_DMA_PAD_SZ); in ata_sg_setup_one()2622 memcpy(pad_buf, qc->buf_virt + sg->length - qc->pad_len, in ata_sg_setup_one()2684 void *pad_buf = ap->pad + (qc->tag * ATA_DMA_PAD_SZ); in ata_sg_setup() local[all …]