Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/ntb/
Dmsi.c15 u32 __iomem *peer_mws[]; member
46 struct_size = sizeof(*ntb->msi) + sizeof(*ntb->msi->peer_mws) * peers; in ntb_msi_init()
62 ntb->msi->peer_mws[i] = devm_ioremap(&ntb->dev, mw_phys_addr, in ntb_msi_init()
64 if (!ntb->msi->peer_mws[i]) { in ntb_msi_init()
74 if (ntb->msi->peer_mws[i]) in ntb_msi_init()
75 devm_iounmap(&ntb->dev, ntb->msi->peer_mws[i]); in ntb_msi_init()
371 idx = desc->addr_offset / sizeof(*ntb->msi->peer_mws[peer]); in ntb_msi_peer_trigger()
373 iowrite32(desc->data, &ntb->msi->peer_mws[peer][idx]); in ntb_msi_peer_trigger()