]> 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)
commit45ac059dca64fa45e41f81f3d961b737d8abdb59
treee93a94be01569a8a2a4ca20c85eccb0afb58ae84
parent84ce8c79c328e93c6acac344ffefd8c2236d1f13
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