Searched refs:CMX_BUFF_MASK (Results 1 – 2 of 2) sorted by relevance
1209 dsp->rx_R = (hh->id & CMX_BUFF_MASK); in dsp_cmx_receive()1212 & CMX_BUFF_MASK; in dsp_cmx_receive()1215 & CMX_BUFF_MASK; in dsp_cmx_receive()1226 dsp->rx_W = (hh->id & CMX_BUFF_MASK); in dsp_cmx_receive()1233 if (((dsp->rx_W-dsp->rx_R) & CMX_BUFF_MASK) >= CMX_BUFF_HALF) { in dsp_cmx_receive()1241 dsp->rx_R = (hh->id & CMX_BUFF_MASK); in dsp_cmx_receive()1244 & CMX_BUFF_MASK; in dsp_cmx_receive()1247 & CMX_BUFF_MASK; in dsp_cmx_receive()1259 if (((dsp->rx_W - dsp->rx_R) & CMX_BUFF_MASK) >= in dsp_cmx_receive()1269 dsp->rx_R = (hh->id & CMX_BUFF_MASK); in dsp_cmx_receive()[all …]
72 #define CMX_BUFF_MASK 0x7fff /* CMX_BUFF_SIZE - 1 */ macro