Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c98 struct ntb_dbmsg_regs __iomem *mmio_peer_dbmsg; member
194 if (idx < 0 || idx >= ARRAY_SIZE(sndev->mmio_peer_dbmsg->omsg)) in switchtec_ntb_send_msg()
197 iowrite32(val, &sndev->mmio_peer_dbmsg->omsg[idx].msg); in switchtec_ntb_send_msg()
501 for (i = 0; i < ARRAY_SIZE(sndev->mmio_peer_dbmsg->imsg); i++) { in crosslink_init_dbmsgs()
507 iowrite32(msg_map, &sndev->mmio_peer_dbmsg->msg_map); in crosslink_init_dbmsgs()
509 &sndev->mmio_peer_dbmsg->odb_mask); in crosslink_init_dbmsgs()
715 offset = (unsigned long)sndev->mmio_peer_dbmsg->odb - in switchtec_ntb_peer_db_addr()
733 &sndev->mmio_peer_dbmsg->odb); in switchtec_ntb_peer_db_set()
920 sndev->mmio_peer_dbmsg = sndev->mmio_self_dbmsg; in switchtec_ntb_init_sndev()
1185 sndev->mmio_peer_dbmsg = sndev->mmio_xlink_win + offset; in switchtec_ntb_init_crosslink()
[all …]