Home
last modified time | relevance | path

Searched refs:regview (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dcnic_if.h313 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)
Dbnx2.c427 cp->io_base = bp->regview; in bnx2_cnic_probe()
5697 save_val = readl(bp->regview + offset); in bnx2_test_registers()
5699 writel(0, bp->regview + offset); in bnx2_test_registers()
5701 val = readl(bp->regview + offset); in bnx2_test_registers()
5710 writel(0xffffffff, bp->regview + offset); in bnx2_test_registers()
5712 val = readl(bp->regview + offset); in bnx2_test_registers()
5721 writel(save_val, bp->regview + offset); in bnx2_test_registers()
5725 writel(save_val, bp->regview + offset); in bnx2_test_registers()
8164 bp->regview = pci_iomap(pdev, 0, MB_GET_CID_ADDR(TX_TSS_CID + in bnx2_init_board()
8166 if (!bp->regview) { in bnx2_init_board()
[all …]
Dbnx2.h6788 void __iomem *regview; member
7008 readl(bp->regview + offset)
7011 writel(val, bp->regview + offset)
7014 writew(val, bp->regview + offset)
Dcnic.c1104 uinfo->mem[0].internal_addr = dev->regview; in cnic_init_uio()
5325 dev->regview = ethdev->io_base; in cnic_start_hw()
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
Dbnx2i.h129 readl(__hba->regview + offset)
131 writel(val, __hba->regview + offset)
404 void __iomem *regview; member
Dbnx2i_iscsi.c817 hba->regview = pci_iomap(hba->pcidev, 0, BNX2_MQ_CONFIG2); in bnx2i_alloc_hba()
818 if (!hba->regview) in bnx2i_alloc_hba()
821 hba->regview = pci_iomap(hba->pcidev, 0, 4096); in bnx2i_alloc_hba()
822 if (!hba->regview) in bnx2i_alloc_hba()
892 if (hba->regview) { in bnx2i_alloc_hba()
893 pci_iounmap(hba->pcidev, hba->regview); in bnx2i_alloc_hba()
894 hba->regview = NULL; in bnx2i_alloc_hba()
917 if (hba->regview) { in bnx2i_free_hba()
918 pci_iounmap(hba->pcidev, hba->regview); in bnx2i_free_hba()
919 hba->regview = NULL; in bnx2i_free_hba()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed.h551 void __iomem *regview; member
767 void __iomem *regview; member
961 (cdev->regview) + \
Dqed_vf.c469 p_hwfn->doorbells = (u8 __iomem *)p_hwfn->regview + in qed_vf_hw_prepare()
485 p_hwfn->regview + PXP_VF_BAR0_START_DQ; in qed_vf_hw_prepare()
547 p_hwfn->doorbells = (u8 __iomem *)p_hwfn->regview + in qed_vf_hw_prepare()
554 p_hwfn->regview, p_hwfn->doorbells, p_hwfn->cdev->doorbells); in qed_vf_hw_prepare()
758 p_hwfn->regview + in qed_vf_pf_rxq_start()
787 *pp_prod = (u8 __iomem *)p_hwfn->regview + resp->offset; in qed_vf_pf_rxq_start()
Dqed_int.c860 DIRECT_REG_WR((u8 __iomem *)p_hwfn->regview + in qed_int_assertion()
1127 DIRECT_REG_WR((u8 __iomem *)p_hwfn->regview + in qed_int_deassertion()
1673 sb_info->igu_addr = (u8 __iomem *)p_hwfn->regview + in qed_int_sb_init()
1677 sb_info->igu_addr = (u8 __iomem *)p_hwfn->regview + in qed_int_sb_init()
Dqed_fcoe.c508 return (u8 __iomem *)p_hwfn->regview + in qed_fcoe_get_primary_bdq_prod()
523 return (u8 __iomem *)p_hwfn->regview + in qed_fcoe_get_secondary_bdq_prod()
Dqed_main.c293 if (cdev->regview) in qed_free_pci()
294 iounmap(cdev->regview); in qed_free_pci()
368 cdev->regview = pci_ioremap_bar(pdev, 0); in qed_init_pci()
369 if (!cdev->regview) { in qed_init_pci()
Dqed_iscsi.c629 return (u8 __iomem *)p_hwfn->regview + in qed_iscsi_get_primary_bdq_prod()
644 return (u8 __iomem *)p_hwfn->regview + in qed_iscsi_get_secondary_bdq_prod()
Dqed_dev.c4565 p_hwfn->regview = p_regview; in qed_hw_prepare_single()
4662 cdev->regview, in qed_hw_prepare()
4680 p_regview = cdev->regview + offset; in qed_hw_prepare()
Dqed_ll2.c1619 p_rx->set_prod_addr = p_hwfn->regview + in qed_ll2_establish_connection()
Dqed_l2.c906 *pp_prod = p_hwfn->regview + in qed_eth_pf_rx_queue_start()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h169 #define REG_ADDR(bp, offset) ((bp->regview) + (offset))
1353 void __iomem *regview; member
Dbnx2x_main.c13189 bp->regview = pci_ioremap_bar(pdev, 0); in bnx2x_init_dev()
13190 if (!bp->regview) { in bnx2x_init_dev()
14084 if (bp->regview) in bnx2x_init_one()
14085 iounmap(bp->regview); in bnx2x_init_one()
14166 if (bp->regview) in __bnx2x_remove()
14167 iounmap(bp->regview); in __bnx2x_remove()
15097 cp->io_base = bp->regview; in bnx2x_cnic_probe()
Dbnx2x_sriov.c3129 return bp->regview + PXP_VF_ADDR_DB_START; in bnx2x_vf_doorbells()