Searched refs:hwbase (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.c | 22 void *hw_mbase = mdev->hwbase; in __otx2_mbox_reset() 49 mbox->hwbase = NULL; in otx2_mbox_destroy() 130 int otx2_mbox_init(struct otx2_mbox *mbox, void *hwbase, struct pci_dev *pdev, in otx2_mbox_init() argument 140 mbox->hwbase = hwbase; in otx2_mbox_init() 144 mdev->mbase = mbox->hwbase + (devid * MBOX_SIZE); in otx2_mbox_init() 145 mdev->hwbase = mdev->mbase; in otx2_mbox_init() 158 int otx2_mbox_regions_init(struct otx2_mbox *mbox, void **hwbase, in otx2_mbox_regions_init() argument 169 mbox->hwbase = hwbase[0]; in otx2_mbox_regions_init() 176 mdev->mbase = hwbase[devid]; in otx2_mbox_regions_init() 177 mdev->hwbase = hwbase[devid]; in otx2_mbox_regions_init() [all …]
|
D | mbox.h | 52 void *hwbase; member 62 void *hwbase; /* Mbox region advertised by HW */ member 96 int otx2_mbox_init(struct otx2_mbox *mbox, void __force *hwbase, 100 int otx2_mbox_regions_init(struct otx2_mbox *mbox, void __force **hwbase,
|
D | rvu.c | 2474 if (mdev->hwbase) in rvu_mbox_destroy() 2475 iounmap((void __iomem *)mdev->hwbase); in rvu_mbox_destroy()
|
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_vf.c | 199 memset(mbox->hwbase + mbox->rx_start, 0, in otx2vf_vfaf_mbox_intr_handler() 212 memset(mbox->hwbase + mbox->rx_start, 0, in otx2vf_vfaf_mbox_intr_handler() 282 if (mbox->mbox.hwbase && !test_bit(CN10K_MBOX, &vf->hw.cap_flag)) in otx2vf_vfaf_mbox_destroy() 283 iounmap((void __iomem *)mbox->mbox.hwbase); in otx2vf_vfaf_mbox_destroy() 292 void __iomem *hwbase; in otx2vf_vfaf_mbox_init() local 305 hwbase = vf->reg_base + RVU_VF_MBOX_REGION; in otx2vf_vfaf_mbox_init() 311 hwbase = ioremap_wc(pci_resource_start(vf->pdev, in otx2vf_vfaf_mbox_init() 315 if (!hwbase) { in otx2vf_vfaf_mbox_init() 322 err = otx2_mbox_init(&mbox->mbox, hwbase, vf->pdev, vf->reg_base, in otx2vf_vfaf_mbox_init() 327 err = otx2_mbox_init(&mbox->mbox_up, hwbase, vf->pdev, vf->reg_base, in otx2vf_vfaf_mbox_init() [all …]
|
D | otx2_pf.c | 324 memset(mbox->hwbase + mbox->rx_start, 0, in otx2_queue_work() 340 memset(mbox->hwbase + mbox->rx_start, 0, in otx2_queue_work() 382 mbox_hdr = src_mbox->hwbase + in otx2_forward_vf_mbox_msgs() 425 mbox_hdr = src_mbox->hwbase + src_mbox->rx_start; in otx2_forward_vf_mbox_msgs() 584 void __iomem *hwbase; in otx2_pfvf_mbox_init() local 612 hwbase = ioremap_wc(base, MBOX_SIZE * pf->total_vfs); in otx2_pfvf_mbox_init() 613 if (!hwbase) { in otx2_pfvf_mbox_init() 619 err = otx2_mbox_init(&mbox->mbox, hwbase, pf->pdev, pf->reg_base, in otx2_pfvf_mbox_init() 624 err = otx2_mbox_init(&mbox->mbox_up, hwbase, pf->pdev, pf->reg_base, in otx2_pfvf_mbox_init() 639 if (hwbase) in otx2_pfvf_mbox_init() [all …]
|
D | otx2_common.h | 680 void *hw_mbase = mbox->hwbase + (devid * MBOX_SIZE); in otx2_sync_mbox_bbuf()
|
/Linux-v6.6/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptvf_mbox.c | 31 void *hw_mbase = mbox->hwbase + (devid * MBOX_SIZE); in otx2_cpt_sync_mbox_bbuf()
|
/Linux-v6.6/drivers/gpio/ |
D | gpio-brcmstb.c | 266 int hwbase = bank->gc.base - priv->gpio_base; in brcmstb_gpio_irq_bank_handler() local 277 generic_handle_domain_irq(domain, hwbase + offset); in brcmstb_gpio_irq_bank_handler()
|