D | sai.h | 194 #define _SAI_TX_RX_ENABLE_IRQ(dir, regmap, which)\ argument 195 ((dir) == DAI_DIR_RX ? SAI_RxEnableInterrupts(UINT_TO_I2S(regmap), which) : \ 196 SAI_TxEnableInterrupts(UINT_TO_I2S(regmap), which)) 199 #define _SAI_TX_RX_DISABLE_IRQ(dir, regmap, which)\ argument 200 ((dir) == DAI_DIR_RX ? SAI_RxDisableInterrupts(UINT_TO_I2S(regmap), which) : \ 201 SAI_TxDisableInterrupts(UINT_TO_I2S(regmap), which)) 204 #define SAI_TX_RX_ENABLE_DISABLE_IRQ(dir, regmap, which, enable)\ argument 205 ((enable == true) ? _SAI_TX_RX_ENABLE_IRQ(dir, regmap, which) :\ 206 _SAI_TX_RX_DISABLE_IRQ(dir, regmap, which)) 209 #define SAI_TX_RX_STATUS_IS_SET(dir, regmap, which)\ argument [all …]
|