Lines Matching refs:portno
301 static inline void pdc20621_ata_sg(u8 *buf, unsigned int portno, in pdc20621_ata_sg() argument
310 (PDC_DIMM_DATA_STEP * portno); in pdc20621_ata_sg()
317 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_ata_sg()
322 static inline void pdc20621_host_sg(u8 *buf, unsigned int portno, in pdc20621_host_sg() argument
331 (PDC_DIMM_DATA_STEP * portno); in pdc20621_host_sg()
338 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_host_sg()
345 unsigned int portno) in pdc20621_ata_pkt() argument
352 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_ata_pkt()
368 buf[i++] = portno + 1; /* seq. id */ in pdc20621_ata_pkt()
397 unsigned int portno) in pdc20621_host_pkt() argument
404 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_host_pkt()
407 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_host_pkt()
421 tmp |= ((portno + 1 + 4) << 16); /* seq. id */ in pdc20621_host_pkt()
429 PDC_20621_DIMM_BASE + (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_host_pkt()
444 unsigned int portno = ap->port_no; in pdc20621_dma_prep() local
470 pdc20621_host_sg(&pp->dimm_buf[0], portno, total_len); in pdc20621_dma_prep()
471 pdc20621_host_pkt(&qc->tf, &pp->dimm_buf[0], portno); in pdc20621_dma_prep()
473 pdc20621_ata_sg(&pp->dimm_buf[0], portno, total_len); in pdc20621_dma_prep()
474 i = pdc20621_ata_pkt(&qc->tf, qc->dev->devno, &pp->dimm_buf[0], portno); in pdc20621_dma_prep()
484 memcpy_toio(dimm_mmio + (portno * PDC_DIMM_WINDOW_STEP), in pdc20621_dma_prep()
486 memcpy_toio(dimm_mmio + (portno * PDC_DIMM_WINDOW_STEP) + in pdc20621_dma_prep()
504 unsigned int portno = ap->port_no; in pdc20621_nodata_prep() local
512 i = pdc20621_ata_pkt(&qc->tf, qc->dev->devno, &pp->dimm_buf[0], portno); in pdc20621_nodata_prep()
522 memcpy_toio(dimm_mmio + (portno * PDC_DIMM_WINDOW_STEP), in pdc20621_nodata_prep()