Lines Matching refs:prd
197 __le32 prd; /* First PRD pointer */ member
229 struct inic_prd prd[LIBATA_MAX_PRD + 1]; /* + 1 for cdb */ member
458 static void inic_fill_sg(struct inic_prd *prd, struct ata_queued_cmd *qc) in inic_fill_sg() argument
471 prd->mad = cpu_to_le32(sg_dma_address(sg)); in inic_fill_sg()
472 prd->len = cpu_to_le16(sg_dma_len(sg)); in inic_fill_sg()
473 prd->flags = flags; in inic_fill_sg()
474 prd++; in inic_fill_sg()
478 prd[-1].flags |= PRD_END; in inic_fill_sg()
486 struct inic_prd *prd = pkt->prd; in inic_qc_prep() local
502 cpb->prd = cpu_to_le32(pp->pkt_dma + offsetof(struct inic_pkt, prd)); in inic_qc_prep()
525 prd->mad = cpu_to_le32(pp->pkt_dma + in inic_qc_prep()
527 prd->len = cpu_to_le16(cdb_len); in inic_qc_prep()
528 prd->flags = PRD_CDB | PRD_WRITE; in inic_qc_prep()
530 prd->flags |= PRD_END; in inic_qc_prep()
531 prd++; in inic_qc_prep()
536 inic_fill_sg(prd, qc); in inic_qc_prep()