Searched refs:regview (Results 1 – 16 of 16) sorted by relevance
/drivers/net/ethernet/broadcom/ |
D | cnic_if.h | 313 void __iomem *regview; member 353 #define CNIC_WR(dev, off, val) writel(val, dev->regview + off) 354 #define CNIC_WR16(dev, off, val) writew(val, dev->regview + off) 355 #define CNIC_WR8(dev, off, val) writeb(val, dev->regview + off) 356 #define CNIC_RD(dev, off) readl(dev->regview + off) 357 #define CNIC_RD16(dev, off) readw(dev->regview + off)
|
D | bnx2.c | 436 cp->io_base = bp->regview; in bnx2_cnic_probe() 5711 save_val = readl(bp->regview + offset); in bnx2_test_registers() 5713 writel(0, bp->regview + offset); in bnx2_test_registers() 5715 val = readl(bp->regview + offset); in bnx2_test_registers() 5724 writel(0xffffffff, bp->regview + offset); in bnx2_test_registers() 5726 val = readl(bp->regview + offset); in bnx2_test_registers() 5735 writel(save_val, bp->regview + offset); in bnx2_test_registers() 5739 writel(save_val, bp->regview + offset); in bnx2_test_registers() 8173 bp->regview = pci_iomap(pdev, 0, MB_GET_CID_ADDR(TX_TSS_CID + in bnx2_init_board() 8175 if (!bp->regview) { in bnx2_init_board() [all …]
|
D | bnx2.h | 6788 void __iomem *regview; member 7008 readl(bp->regview + offset) 7011 writel(val, bp->regview + offset) 7014 writew(val, bp->regview + offset)
|
D | cnic.c | 1104 uinfo->mem[0].internal_addr = dev->regview; in cnic_init_uio() 5326 dev->regview = ethdev->io_base; in cnic_start_hw()
|
/drivers/scsi/bnx2i/ |
D | bnx2i.h | 129 readl(__hba->regview + offset) 131 writel(val, __hba->regview + offset) 404 void __iomem *regview; member
|
D | bnx2i_iscsi.c | 819 hba->regview = pci_iomap(hba->pcidev, 0, BNX2_MQ_CONFIG2); in bnx2i_alloc_hba() 820 if (!hba->regview) in bnx2i_alloc_hba() 823 hba->regview = pci_iomap(hba->pcidev, 0, 4096); in bnx2i_alloc_hba() 824 if (!hba->regview) in bnx2i_alloc_hba() 894 if (hba->regview) { in bnx2i_alloc_hba() 895 pci_iounmap(hba->pcidev, hba->regview); in bnx2i_alloc_hba() 896 hba->regview = NULL; in bnx2i_alloc_hba() 920 if (hba->regview) { in bnx2i_free_hba() 921 pci_iounmap(hba->pcidev, hba->regview); in bnx2i_free_hba() 922 hba->regview = NULL; in bnx2i_free_hba()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 345 void __iomem *regview; member 549 void __iomem *regview; member 656 (cdev->regview) + \
|
D | qed_main.c | 99 if (cdev->regview) in qed_free_pci() 100 iounmap(cdev->regview); in qed_free_pci() 174 cdev->regview = pci_ioremap_bar(pdev, 0); in qed_init_pci() 175 if (!cdev->regview) { in qed_init_pci()
|
D | qed_vf.c | 323 p_hwfn->doorbells = (u8 __iomem *)p_hwfn->regview + in qed_vf_hw_prepare() 424 *pp_prod = (u8 __iomem *)p_hwfn->regview + in qed_vf_pf_rxq_start() 450 *pp_prod = (u8 __iomem *)p_hwfn->regview + resp->offset; in qed_vf_pf_rxq_start()
|
D | qed_int.c | 1830 DIRECT_REG_WR((u8 __iomem *)p_hwfn->regview + in qed_int_assertion() 2107 DIRECT_REG_WR((u8 __iomem *)p_hwfn->regview + in qed_int_deassertion() 2607 sb_info->igu_addr = (u8 __iomem *)p_hwfn->regview + in qed_int_sb_init() 2611 sb_info->igu_addr = (u8 __iomem *)p_hwfn->regview + in qed_int_sb_init()
|
D | qed_dev.c | 1866 p_hwfn->regview = p_regview; in qed_hw_prepare_single() 1940 cdev->regview, in qed_hw_prepare() 1953 addr = cdev->regview + qed_hw_bar_size(p_hwfn, BAR_ID_0) / 2; in qed_hw_prepare()
|
D | qed_ll2.c | 963 p_rx->set_prod_addr = (u8 __iomem *)p_hwfn->regview + in qed_ll2_establish_connection()
|
D | qed_l2.c | 623 *pp_prod = (u8 __iomem *)p_hwfn->regview + in qed_sp_eth_rx_queue_start()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x.h | 163 #define REG_ADDR(bp, offset) ((bp->regview) + (offset)) 1348 void __iomem *regview; member
|
D | bnx2x_main.c | 13208 bp->regview = pci_ioremap_bar(pdev, 0); in bnx2x_init_dev() 13209 if (!bp->regview) { in bnx2x_init_dev() 14095 if (bp->regview) in bnx2x_init_one() 14096 iounmap(bp->regview); in bnx2x_init_one() 14182 if (bp->regview) in __bnx2x_remove() 14183 iounmap(bp->regview); in __bnx2x_remove() 15127 cp->io_base = bp->regview; in bnx2x_cnic_probe()
|
D | bnx2x_sriov.c | 3036 return bp->regview + PXP_VF_ADDR_DB_START; in bnx2x_vf_doorbells()
|