Lines Matching refs:pad_buf
2403 void *pad_buf = NULL; in ata_sg_clean() local
2418 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() local
2619 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
2690 memset(pad_buf, 0, ATA_DMA_PAD_SZ); in ata_sg_setup()
2702 memcpy(pad_buf, addr + psg->offset, qc->pad_len); in ata_sg_setup()
3072 u16 pad_buf[1] = { 0 }; in __atapi_pio_bytes() local
3081 ata_data_xfer(ap, (unsigned char*)pad_buf, 2, do_write); in __atapi_pio_bytes()