Lines Matching refs:pp
244 struct pdc_port_priv *pp; in pdc_port_start() local
251 pp = kmalloc(sizeof(*pp), GFP_KERNEL); in pdc_port_start()
252 if (!pp) { in pdc_port_start()
256 memset(pp, 0, sizeof(*pp)); in pdc_port_start()
258 pp->pkt = dma_alloc_coherent(dev, 128, &pp->pkt_dma, GFP_KERNEL); in pdc_port_start()
259 if (!pp->pkt) { in pdc_port_start()
264 ap->private_data = pp; in pdc_port_start()
269 kfree(pp); in pdc_port_start()
279 struct pdc_port_priv *pp = ap->private_data; in pdc_port_stop() local
282 dma_free_coherent(dev, 128, pp->pkt, pp->pkt_dma); in pdc_port_stop()
283 kfree(pp); in pdc_port_stop()
345 struct pdc_port_priv *pp = qc->ap->private_data; in pdc_qc_prep() local
357 qc->dev->devno, pp->pkt); in pdc_qc_prep()
360 i = pdc_prep_lba48(&qc->tf, pp->pkt, i); in pdc_qc_prep()
362 i = pdc_prep_lba28(&qc->tf, pp->pkt, i); in pdc_qc_prep()
364 pdc_pkt_footer(&qc->tf, pp->pkt, i); in pdc_qc_prep()
517 struct pdc_port_priv *pp = ap->private_data; in pdc_packet_start() local
526 pp->pkt[2] = seq; in pdc_packet_start()
528 writel(pp->pkt_dma, (void __iomem *) ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc_packet_start()