Searched refs:peer_shared (Results 1 – 1 of 1) sorted by relevance
66 struct shared_mw __iomem *peer_shared; member204 size = ioread64(&sndev->peer_shared->mw_sizes[widx]); in switchtec_ntb_mw_get_align()498 u64 peer = ioread64(&sndev->peer_shared->magic); in switchtec_ntb_link_status_update()767 if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad)) in switchtec_ntb_peer_spad_read()770 if (!sndev->peer_shared) in switchtec_ntb_peer_spad_read()773 return ioread32(&sndev->peer_shared->spad[sidx]); in switchtec_ntb_peer_spad_read()784 if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad)) in switchtec_ntb_peer_spad_write()787 if (!sndev->peer_shared) in switchtec_ntb_peer_spad_write()790 iowrite32(val, &sndev->peer_shared->spad[sidx]); in switchtec_ntb_peer_spad_write()804 offset = (unsigned long)&sndev->peer_shared->spad[sidx] - in switchtec_ntb_peer_spad_addr()[all …]