Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c102 struct shared_mw *self_shared; member
549 link_sta = sndev->self_shared->link_sta; in switchtec_ntb_check_link()
602 sndev->self_shared->link_sta = 1; in switchtec_ntb_link_enable()
616 sndev->self_shared->link_sta = 0; in switchtec_ntb_link_disable()
742 return ARRAY_SIZE(sndev->self_shared->spad); in switchtec_ntb_spad_count()
749 if (idx < 0 || idx >= ARRAY_SIZE(sndev->self_shared->spad)) in switchtec_ntb_spad_read()
752 if (!sndev->self_shared) in switchtec_ntb_spad_read()
755 return sndev->self_shared->spad[idx]; in switchtec_ntb_spad_read()
762 if (idx < 0 || idx >= ARRAY_SIZE(sndev->self_shared->spad)) in switchtec_ntb_spad_write()
765 if (!sndev->self_shared) in switchtec_ntb_spad_write()
[all …]