/linux-6.6.21/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 | 426 cp->io_base = bp->regview; in bnx2_cnic_probe() 5681 save_val = readl(bp->regview + offset); in bnx2_test_registers() 5683 writel(0, bp->regview + offset); in bnx2_test_registers() 5685 val = readl(bp->regview + offset); in bnx2_test_registers() 5694 writel(0xffffffff, bp->regview + offset); in bnx2_test_registers() 5696 val = readl(bp->regview + offset); in bnx2_test_registers() 5705 writel(save_val, bp->regview + offset); in bnx2_test_registers() 5709 writel(save_val, bp->regview + offset); in bnx2_test_registers() 8134 bp->regview = pci_iomap(pdev, 0, MB_GET_CID_ADDR(TX_TSS_CID + in bnx2_init_board() 8136 if (!bp->regview) { in bnx2_init_board() [all …]
|
D | bnx2.h | 6788 void __iomem *regview; member 7007 readl(bp->regview + offset) 7010 writel(val, bp->regview + offset) 7013 writew(val, bp->regview + offset)
|
D | cnic.c | 1102 uinfo->mem[0].internal_addr = dev->regview; in cnic_init_uio() 5322 dev->regview = ethdev->io_base; in cnic_start_hw()
|
/linux-6.6.21/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 | 817 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()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 544 void __iomem *regview; member 759 void __iomem *regview; member 958 ((cdev)->regview) + \
|
D | qed_vf.c | 466 p_hwfn->doorbells = (u8 __iomem *)p_hwfn->regview + in qed_vf_hw_prepare() 482 p_hwfn->regview + PXP_VF_BAR0_START_DQ; in qed_vf_hw_prepare() 544 p_hwfn->doorbells = (u8 __iomem *)p_hwfn->regview + in qed_vf_hw_prepare() 551 p_hwfn->regview, p_hwfn->doorbells, p_hwfn->cdev->doorbells); in qed_vf_hw_prepare() 756 p_hwfn->regview + in qed_vf_pf_rxq_start() 785 *pp_prod = (u8 __iomem *)p_hwfn->regview + resp->offset; in qed_vf_pf_rxq_start()
|
D | qed_int.c | 873 DIRECT_REG_WR((u8 __iomem *)p_hwfn->regview + in qed_int_assertion() 1147 DIRECT_REG_WR((u8 __iomem *)p_hwfn->regview + in qed_int_deassertion() 1693 sb_info->igu_addr = (u8 __iomem *)p_hwfn->regview + in qed_int_sb_init() 1697 sb_info->igu_addr = (u8 __iomem *)p_hwfn->regview + in qed_int_sb_init()
|
D | qed_fcoe.c | 509 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()
|
D | qed_main.c | 263 if (cdev->regview) in qed_free_pci() 264 iounmap(cdev->regview); in qed_free_pci() 341 cdev->regview = pci_ioremap_bar(pdev, 0); in qed_init_pci() 342 if (!cdev->regview) { in qed_init_pci()
|
D | qed_iscsi.c | 630 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()
|
D | qed_dev.c | 4662 p_hwfn->regview = p_regview; in qed_hw_prepare_single() 4759 cdev->regview, in qed_hw_prepare() 4777 p_regview = cdev->regview + offset; in qed_hw_prepare()
|
D | qed_ll2.c | 1663 (u8 __iomem *)p_hwfn->regview + in qed_ll2_establish_connection()
|
D | qed_l2.c | 908 p_hwfn->regview + in qed_eth_pf_rx_queue_start()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x.h | 169 #define REG_ADDR(bp, offset) ((bp->regview) + (offset)) 1353 void __iomem *regview; member
|
D | bnx2x_main.c | 13123 bp->regview = pci_ioremap_bar(pdev, 0); in bnx2x_init_dev() 13124 if (!bp->regview) { in bnx2x_init_dev() 14010 if (bp->regview) in bnx2x_init_one() 14011 iounmap(bp->regview); in bnx2x_init_one() 14091 if (bp->regview) in __bnx2x_remove() 14092 iounmap(bp->regview); in __bnx2x_remove() 15030 cp->io_base = bp->regview; in bnx2x_cnic_probe()
|
D | bnx2x_sriov.c | 3122 return bp->regview + PXP_VF_ADDR_DB_START; in bnx2x_vf_doorbells()
|