Lines Matching refs:pa_dev
989 lba_pat_resources(struct parisc_device *pa_dev, struct lba_device *lba_dev) in lba_pat_resources() argument
1000 status = pdc_pat_cell_module(&bytecnt, pa_dev->pcell_loc, pa_dev->mod_index, in lba_pat_resources()
1004 status |= pdc_pat_cell_module(&bytecnt, pa_dev->pcell_loc, pa_dev->mod_index, in lba_pat_resources()
1086 lba_legacy_resources(struct parisc_device *pa_dev, struct lba_device *lba_dev) in lba_legacy_resources() argument
1111 lba_num = READ_REG32(pa_dev->hpa + LBA_FW_SCRATCH); in lba_legacy_resources()
1125 ((long) READ_REG32(pa_dev->hpa + LBA_LMMIO_BASE)) & ~1UL); in lba_legacy_resources()
1126 rsize = ~READ_REG32(pa_dev->hpa + LBA_LMMIO_MASK) + 1; in lba_legacy_resources()
1133 r->start += rsize * LBA_NUM(pa_dev->hpa); in lba_legacy_resources()
1155 r->start = READ_REG32(pa_dev->hpa + LBA_ELMMIO_BASE); in lba_legacy_resources()
1166 r->end += ~READ_REG32(pa_dev->hpa + LBA_ELMMIO_MASK); in lba_legacy_resources()
1176 r->start = READ_REG32(pa_dev->hpa + LBA_IOS_BASE) & ~1L; in lba_legacy_resources()
1177 r->end = r->start + (READ_REG32(pa_dev->hpa + LBA_IOS_MASK) ^ (HBA_PORT_SPACE_SIZE - 1)); in lba_legacy_resources()