Home
last modified time | relevance | path

Searched refs:ipath_kregbase (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_kernel.h267 u64 __iomem *ipath_kregbase; member
1119 if (!dd->ipath_kregbase || !(dd->ipath_flags & IPATH_PRESENT)) in ipath_read_ureg32()
1124 (char __iomem *)dd->ipath_kregbase + in ipath_read_ureg32()
1141 (dd->ipath_uregbase + (char __iomem *) dd->ipath_kregbase + in ipath_write_ureg()
1143 if (dd->ipath_kregbase) in ipath_write_ureg()
1150 if (!dd->ipath_kregbase || !(dd->ipath_flags & IPATH_PRESENT)) in ipath_read_kreg32()
1152 return readl((u32 __iomem *) & dd->ipath_kregbase[regno]); in ipath_read_kreg32()
1158 if (!dd->ipath_kregbase || !(dd->ipath_flags & IPATH_PRESENT)) in ipath_read_kreg64()
1161 return readq(&dd->ipath_kregbase[regno]); in ipath_read_kreg64()
1167 if (dd->ipath_kregbase) in ipath_write_kreg()
[all …]
Dipath_diag.c146 if (reg_addr < dd->ipath_kregbase || reg_end > dd->ipath_kregend) { in ipath_read_umem64()
183 if (reg_addr < dd->ipath_kregbase || reg_end > dd->ipath_kregend) { in ipath_write_umem64()
220 if (reg_addr < (u32 __iomem *) dd->ipath_kregbase || in ipath_read_umem32()
260 if (reg_addr < (u32 __iomem *) dd->ipath_kregbase || in ipath_write_umem32()
297 !dd->ipath_kregbase) { in ipath_diag_open()
368 !dd->ipath_kregbase) { in ipath_diagpkt_write()
495 kreg_base = dd->ipath_kregbase; in ipath_diag_read()
527 kreg_base = dd->ipath_kregbase; in ipath_diag_write()
Dipath_driver.c263 if ((dd->ipath_flags & IPATH_PRESENT) && dd->ipath_kregbase) in ipath_count_units()
552 dd->ipath_kregbase = __ioremap(addr, len, in ipath_init_one()
556 dd->ipath_kregbase = ioremap_nocache(addr, len); in ipath_init_one()
559 if (!dd->ipath_kregbase) { in ipath_init_one()
566 ((void __iomem *)dd->ipath_kregbase + len); in ipath_init_one()
570 addr, dd->ipath_kregbase); in ipath_init_one()
624 iounmap((volatile void __iomem *) dd->ipath_kregbase); in ipath_init_one()
648 if (dd->ipath_kregbase) { in cleanup_device()
654 dd->ipath_kregbase = NULL; in cleanup_device()
792 ipath_cdbg(VERBOSE, "Unmapping kregbase %p\n", dd->ipath_kregbase); in ipath_remove_one()
[all …]
Dipath_init_chip.c134 ((char __iomem *) dd->ipath_kregbase + in create_port0_egr()
308 (u32 __iomem *) (((char __iomem *) dd->ipath_kregbase) + in init_chip_first()
312 (((char __iomem *) dd->ipath_kregbase) + in init_chip_first()
597 "cntrbase %x\n", dd->ipath_kregbase, dd->ipath_sregbase, in init_housekeeping()
1037 if (dd->ipath_kregbase) in ipath_set_kpiobufs()
Dipath_iba6110.c1487 if (!dd->ipath_kregbase) in ipath_ht_put_tid()
1523 if (!dd->ipath_kregbase) in ipath_ht_clear_tids()
1533 tidbase = (u64 __iomem *) ((char __iomem *)(dd->ipath_kregbase) + in ipath_ht_clear_tids()
1541 tidbase = (u64 __iomem *) ((char __iomem *)(dd->ipath_kregbase) + in ipath_ht_clear_tids()
1625 piobuf = (u32 __iomem *) (((char __iomem *)(dd->ipath_kregbase)) + in ipath_ht_early_init()
Dipath_stats.c260 if (!dd->ipath_kregbase || !(dd->ipath_flags & IPATH_INITTED) || in ipath_get_faststats()
Dipath_file_ops.c353 tidbase = (u64 __iomem *) (((char __iomem *) dd->ipath_kregbase) + in ipath_tid_update()
544 tidbase = (u64 __iomem *) ((char __iomem *)(dd->ipath_kregbase) + in ipath_tid_free()
955 dd->ipath_kregbase + in ipath_create_user_egr()
1636 dd->ipath_kregbase && in usable()
2111 if (dd->ipath_kregbase) { in ipath_close()