Searched refs:regview (Results 1 – 8 of 8) sorted by relevance
/linux-3.4.99/drivers/net/ethernet/broadcom/ |
D | cnic_if.h | 276 void __iomem *regview; member 312 #define CNIC_WR(dev, off, val) writel(val, dev->regview + off) 313 #define CNIC_WR16(dev, off, val) writew(val, dev->regview + off) 314 #define CNIC_WR8(dev, off, val) writeb(val, dev->regview + off) 315 #define CNIC_RD(dev, off) readl(dev->regview + off) 316 #define CNIC_RD16(dev, off) readw(dev->regview + off)
|
D | bnx2.c | 429 cp->io_base = bp->regview; in bnx2_cnic_probe() 5627 save_val = readl(bp->regview + offset); in bnx2_test_registers() 5629 writel(0, bp->regview + offset); in bnx2_test_registers() 5631 val = readl(bp->regview + offset); in bnx2_test_registers() 5640 writel(0xffffffff, bp->regview + offset); in bnx2_test_registers() 5642 val = readl(bp->regview + offset); in bnx2_test_registers() 5651 writel(save_val, bp->regview + offset); in bnx2_test_registers() 5655 writel(save_val, bp->regview + offset); in bnx2_test_registers() 8044 bp->regview = ioremap_nocache(dev->base_addr, mem_len); in bnx2_init_board() 8046 if (!bp->regview) { in bnx2_init_board() [all …]
|
D | bnx2.h | 6736 void __iomem *regview; member 6952 readl(bp->regview + offset) 6955 writel(val, bp->regview + offset) 6958 writew(val, bp->regview + offset)
|
D | cnic.c | 1057 uinfo->mem[0].internal_addr = dev->regview; in cnic_init_uio() 5211 dev->regview = ethdev->io_base; in cnic_start_hw()
|
/linux-3.4.99/drivers/scsi/bnx2i/ |
D | bnx2i.h | 125 readl(__hba->regview + offset) 127 writel(val, __hba->regview + offset) 352 void __iomem *regview; member
|
D | bnx2i_iscsi.c | 815 hba->regview = ioremap_nocache(hba->netdev->base_addr, in bnx2i_alloc_hba() 817 if (!hba->regview) in bnx2i_alloc_hba() 820 hba->regview = ioremap_nocache(hba->netdev->base_addr, 4096); in bnx2i_alloc_hba() 821 if (!hba->regview) in bnx2i_alloc_hba() 886 if (hba->regview) { in bnx2i_alloc_hba() 887 iounmap(hba->regview); in bnx2i_alloc_hba() 888 hba->regview = NULL; in bnx2i_alloc_hba() 912 if (hba->regview) { in bnx2i_free_hba() 913 iounmap(hba->regview); in bnx2i_free_hba() 914 hba->regview = NULL; in bnx2i_free_hba()
|
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x.h | 145 #define REG_ADDR(bp, offset) ((bp->regview) + (offset)) 1173 void __iomem *regview; member
|
D | bnx2x_main.c | 10909 bp->regview = pci_ioremap_bar(pdev, 0); in bnx2x_init_dev() 10910 if (!bp->regview) { in bnx2x_init_dev() 11472 if (bp->regview) in bnx2x_init_one() 11473 iounmap(bp->regview); in bnx2x_init_one() 11531 if (bp->regview) in bnx2x_remove_one() 11532 iounmap(bp->regview); in bnx2x_remove_one() 12223 cp->io_base = bp->regview; in bnx2x_cnic_probe()
|