Searched refs:hwbase (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | mbox.c | 25 void *hw_mbase = mdev->hwbase; in __otx2_mbox_reset() 54 mbox->hwbase = NULL; in otx2_mbox_destroy() 224 int otx2_mbox_init(struct otx2_mbox *mbox, void *hwbase, struct pci_dev *pdev, in otx2_mbox_init() argument 234 mbox->hwbase = hwbase; in otx2_mbox_init() 238 mdev->mbase = mbox->hwbase + (devid * MBOX_SIZE); in otx2_mbox_init() 239 mdev->hwbase = mdev->mbase; in otx2_mbox_init() 252 int otx2_mbox_regions_init(struct otx2_mbox *mbox, void **hwbase, in otx2_mbox_regions_init() argument 263 mbox->hwbase = hwbase[0]; in otx2_mbox_regions_init() 270 mdev->mbase = hwbase[devid]; in otx2_mbox_regions_init() 271 mdev->hwbase = hwbase[devid]; in otx2_mbox_regions_init() [all …]
|
| H A D | rvu.c | 2657 if (mdev->hwbase) in rvu_mbox_destroy() 2658 iounmap((void __iomem *)mdev->hwbase); in rvu_mbox_destroy()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_pf.c | 374 mbox_hdr = src_mbox->hwbase + in otx2_forward_vf_mbox_msgs() 417 mbox_hdr = src_mbox->hwbase + src_mbox->rx_start; in otx2_forward_vf_mbox_msgs() 598 void __iomem *hwbase; in otx2_pfvf_mbox_init() local 622 hwbase = (void __iomem *)cn20k_pfvf_mbox_alloc(pf, numvfs); in otx2_pfvf_mbox_init() 633 hwbase = ioremap_wc(base, MBOX_SIZE * pf->total_vfs); in otx2_pfvf_mbox_init() 634 if (!hwbase) { in otx2_pfvf_mbox_init() 641 err = otx2_mbox_init(&mbox->mbox, hwbase, pf->pdev, pf->reg_base, in otx2_pfvf_mbox_init() 646 err = otx2_mbox_init(&mbox->mbox_up, hwbase, pf->pdev, pf->reg_base, in otx2_pfvf_mbox_init() 661 if (hwbase && !(is_cn20k(pf->pdev))) in otx2_pfvf_mbox_init() 662 iounmap(hwbase); in otx2_pfvf_mbox_init() [all …]
|
| H A D | otx2_common.h | 730 void *hw_mbase = mbox->hwbase + (devid * MBOX_SIZE); in otx2_sync_mbox_bbuf()
|