Home
last modified time | relevance | path

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

/drivers/infiniband/hw/ipath/
Dipath_kernel.h266 u64 __iomem *ipath_kregbase; member
1123 if (!dd->ipath_kregbase || !(dd->ipath_flags & IPATH_PRESENT)) in ipath_read_ureg32()
1128 (char __iomem *)dd->ipath_kregbase + in ipath_read_ureg32()
1145 (dd->ipath_uregbase + (char __iomem *) dd->ipath_kregbase + in ipath_write_ureg()
1147 if (dd->ipath_kregbase) in ipath_write_ureg()
1154 if (!dd->ipath_kregbase || !(dd->ipath_flags & IPATH_PRESENT)) in ipath_read_kreg32()
1156 return readl((u32 __iomem *) & dd->ipath_kregbase[regno]); in ipath_read_kreg32()
1162 if (!dd->ipath_kregbase || !(dd->ipath_flags & IPATH_PRESENT)) in ipath_read_kreg64()
1165 return readq(&dd->ipath_kregbase[regno]); in ipath_read_kreg64()
1171 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.c259 if ((dd->ipath_flags & IPATH_PRESENT) && dd->ipath_kregbase) in ipath_count_units()
542 dd->ipath_kregbase = __ioremap(addr, len, in ipath_init_one()
545 dd->ipath_kregbase = ioremap_nocache(addr, len); in ipath_init_one()
548 if (!dd->ipath_kregbase) { in ipath_init_one()
555 ((void __iomem *)dd->ipath_kregbase + len); in ipath_init_one()
559 addr, dd->ipath_kregbase); in ipath_init_one()
617 iounmap((volatile void __iomem *) dd->ipath_kregbase); in ipath_init_one()
641 if (dd->ipath_kregbase) { in cleanup_device()
647 dd->ipath_kregbase = NULL; in cleanup_device()
785 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()
1041 if (dd->ipath_kregbase) in ipath_set_kpiobufs()
Dipath_iba6110.c1488 if (!dd->ipath_kregbase) in ipath_ht_put_tid()
1524 if (!dd->ipath_kregbase) in ipath_ht_clear_tids()
1534 tidbase = (u64 __iomem *) ((char __iomem *)(dd->ipath_kregbase) + in ipath_ht_clear_tids()
1542 tidbase = (u64 __iomem *) ((char __iomem *)(dd->ipath_kregbase) + in ipath_ht_clear_tids()
1626 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.c349 tidbase = (u64 __iomem *) (((char __iomem *) dd->ipath_kregbase) + in ipath_tid_update()
540 tidbase = (u64 __iomem *) ((char __iomem *)(dd->ipath_kregbase) + in ipath_tid_free()
951 dd->ipath_kregbase + in ipath_create_user_egr()
1632 dd->ipath_kregbase && in usable()
2108 if (dd->ipath_kregbase) { in ipath_close()