Home
last modified time | relevance | path

Searched refs:hwbase (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/marvell/octeontx2/af/
A Dmbox.c25 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 …]
A Dmbox.h62 void *hwbase; member
72 void *hwbase; /* Mbox region advertised by HW */ member
108 int otx2_mbox_init(struct otx2_mbox *mbox, void __force *hwbase,
112 int otx2_mbox_regions_init(struct otx2_mbox *mbox, void __force **hwbase,
A Drvu.c2612 if (mdev->hwbase) in rvu_mbox_destroy()
2613 iounmap((void __iomem *)mdev->hwbase); in rvu_mbox_destroy()
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_vf.c319 if (mbox->mbox.hwbase && !test_bit(CN10K_MBOX, &vf->hw.cap_flag)) in otx2vf_vfaf_mbox_destroy()
320 iounmap((void __iomem *)mbox->mbox.hwbase); in otx2vf_vfaf_mbox_destroy()
329 void __iomem *hwbase; in otx2vf_vfaf_mbox_init() local
342 hwbase = vf->reg_base + RVU_VF_MBOX_REGION + ((u64)BLKADDR_MBOX << in otx2vf_vfaf_mbox_init()
348 hwbase = vf->reg_base + RVU_VF_MBOX_REGION; in otx2vf_vfaf_mbox_init()
354 hwbase = ioremap_wc(pci_resource_start(vf->pdev, in otx2vf_vfaf_mbox_init()
358 if (!hwbase) { in otx2vf_vfaf_mbox_init()
365 err = otx2_mbox_init(&mbox->mbox, hwbase, vf->pdev, vf->reg_base, in otx2vf_vfaf_mbox_init()
370 err = otx2_mbox_init(&mbox->mbox_up, hwbase, vf->pdev, vf->reg_base, in otx2vf_vfaf_mbox_init()
385 if (hwbase && !test_bit(CN10K_MBOX, &vf->hw.cap_flag)) in otx2vf_vfaf_mbox_init()
[all …]
A Dotx2_pf.c374 mbox_hdr = src_mbox->hwbase + in otx2_forward_vf_mbox_msgs()
598 void __iomem *hwbase; in otx2_pfvf_mbox_init() local
634 if (!hwbase) { 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()
680 if (mbox->mbox.hwbase && !is_cn20k(pf->pdev)) in otx2_pfvf_mbox_destroy()
681 iounmap(mbox->mbox.hwbase); in otx2_pfvf_mbox_destroy()
1192 iounmap((void __iomem *)mbox->mbox.hwbase); in otx2_pfaf_mbox_destroy()
1202 void __iomem *hwbase; in otx2_pfaf_mbox_init() local
1223 hwbase = ioremap_wc(pci_resource_start in otx2_pfaf_mbox_init()
[all …]
A Dotx2_common.h723 void *hw_mbase = mbox->hwbase + (devid * MBOX_SIZE); in otx2_sync_mbox_bbuf()
/drivers/gpio/
A Dgpio-brcmstb.c266 int hwbase = bank->gc.offset; in brcmstb_gpio_irq_bank_handler() local
277 generic_handle_domain_irq(domain, hwbase + offset); in brcmstb_gpio_irq_bank_handler()
/drivers/crypto/marvell/octeontx2/
A Dotx2_cptvf_mbox.c31 void *hw_mbase = mbox->hwbase + (devid * MBOX_SIZE); in otx2_cpt_sync_mbox_bbuf()

Completed in 39 milliseconds