FreeBSD/sys/dev/ntb/ntb_hw/ntb_hw.c
/*
 * ntb_mw_clear_trans() - clear the translation of a memory window
 * @ntb:	NTB device context
 * @idx:	Memory window number
 *
 * Clear the translation of a memory window.  The peer may no longer access
 * local memory through the window.
 *
 * Return: Zero on success, otherwise an error number.
 */
clear the translation of a memory window
@ntb:        NTB device context
@idx:        Memory window number

Clear the translation of a memory window.  The peer may no longer access
local memory through the window.

Zero on success, otherwise an error number.
clear the translation of a memory window @ntb : NTB device context @idx : Memory window number Clear the translation of a memory window . The peer may no longer access local memory through the window . Zero on success otherwise an error number .
int
ntb_mw_clear_trans(struct ntb_softc *ntb, unsigned mw_idx)
{
	return (ntb_mw_set_trans(ntb, mw_idx, 0, 0));
}
int ntb_mw_clear_trans ( struct ntb_softc * ntb , unsigned mw_idx ) { return ( ntb_mw_set_trans ( ntb , mw_idx , 0 , 0 ) ) ; }
ntb_mw_clear_trans() - clear the translation of a memory window
 @ntb:        NTB device context
 @idx:        Memory window number
ntb_mw_clear_trans () - clear the translation of a memory window @ntb : NTB device context @idx : Memory window number