Searched refs:regview (Results 1 – 4 of 4) sorted by relevance
5272 save_val = readl(bp->regview + offset); in bnx2_test_registers()5274 writel(0, bp->regview + offset); in bnx2_test_registers()5276 val = readl(bp->regview + offset); in bnx2_test_registers()5285 writel(0xffffffff, bp->regview + offset); in bnx2_test_registers()5287 val = readl(bp->regview + offset); in bnx2_test_registers()5296 writel(save_val, bp->regview + offset); in bnx2_test_registers()5300 writel(save_val, bp->regview + offset); in bnx2_test_registers()7412 bp->regview = ioremap_nocache(dev->base_addr, mem_len); in bnx2_init_board()7414 if (!bp->regview) { in bnx2_init_board()7691 if (bp->regview) { in bnx2_init_board()[all …]
91 #define REG_ADDR(bp, offset) (bp->regview + offset)733 void __iomem *regview; member
6688 void __iomem *regview; member6891 readl(bp->regview + offset)6894 writel(val, bp->regview + offset)6897 writew(val, bp->regview + offset)
10230 bp->regview = pci_ioremap_bar(pdev, 0); in bnx2x_init_dev()10231 if (!bp->regview) { in bnx2x_init_dev()10274 if (bp->regview) { in bnx2x_init_dev()10275 iounmap(bp->regview); in bnx2x_init_dev()10276 bp->regview = NULL; in bnx2x_init_dev()10362 if (bp->regview) in bnx2x_init_one()10363 iounmap(bp->regview); in bnx2x_init_one()10392 if (bp->regview) in bnx2x_remove_one()10393 iounmap(bp->regview); in bnx2x_remove_one()