Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ntb/hw/mscc/
H A Dntb_hw_switchtec.c65 struct shared_mw *self_shared; member
494 link_sta = sndev->self_shared->link_sta; in switchtec_ntb_link_status_update()
579 sndev->self_shared->link_sta = 1; in switchtec_ntb_link_enable()
593 sndev->self_shared->link_sta = 0; in switchtec_ntb_link_disable()
726 return ARRAY_SIZE(sndev->self_shared->spad); in switchtec_ntb_spad_count()
733 if (idx < 0 || idx >= ARRAY_SIZE(sndev->self_shared->spad)) in switchtec_ntb_spad_read()
736 if (!sndev->self_shared) in switchtec_ntb_spad_read()
739 return sndev->self_shared->spad[idx]; in switchtec_ntb_spad_read()
746 if (idx < 0 || idx >= ARRAY_SIZE(sndev->self_shared->spad)) in switchtec_ntb_spad_write()
749 if (!sndev->self_shared) in switchtec_ntb_spad_write()
[all...]
/kernel/linux/linux-6.6/drivers/ntb/hw/mscc/
H A Dntb_hw_switchtec.c65 struct shared_mw *self_shared; member
496 link_sta = sndev->self_shared->link_sta; in switchtec_ntb_link_status_update()
581 sndev->self_shared->link_sta = 1; in switchtec_ntb_link_enable()
595 sndev->self_shared->link_sta = 0; in switchtec_ntb_link_disable()
728 return ARRAY_SIZE(sndev->self_shared->spad); in switchtec_ntb_spad_count()
735 if (idx < 0 || idx >= ARRAY_SIZE(sndev->self_shared->spad)) in switchtec_ntb_spad_read()
738 if (!sndev->self_shared) in switchtec_ntb_spad_read()
741 return sndev->self_shared->spad[idx]; in switchtec_ntb_spad_read()
748 if (idx < 0 || idx >= ARRAY_SIZE(sndev->self_shared->spad)) in switchtec_ntb_spad_write()
751 if (!sndev->self_shared) in switchtec_ntb_spad_write()
[all...]

Completed in 4 milliseconds