]> git.baikalelectronics.ru Git - kernel.git/commit
NTB: add helper functions to set and clear sideinfo
authorArindam Nath <arindam.nath@amd.com>
Wed, 5 Feb 2020 15:54:28 +0000 (21:24 +0530)
committerJon Mason <jdmason@kudzu.us>
Fri, 13 Mar 2020 14:04:20 +0000 (10:04 -0400)
commite6ac9e2eacee3c0321e5e12122525515181a6e36
treee93a94be01569a8a2a4ca20c85eccb0afb58ae84
parenta3098c88143bfccd993680df0c43f73820775473
NTB: add helper functions to set and clear sideinfo

We define two new helper functions to set and clear
sideinfo registers respectively. These functions
take an additional boolean parameter which signifies
whether we want to set/clear the sideinfo register
of the peer(true) or local host(false).

Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/amd/ntb_hw_amd.c
drivers/ntb/hw/amd/ntb_hw_amd.h