Lines Matching refs:pSettings
127 int smapi_query_DSP_cfg(SMAPI_DSP_SETTINGS * pSettings) in smapi_query_DSP_cfg() argument
148 pSettings->bDSPPresent = ((usBX & 0x0100) != 0); in smapi_query_DSP_cfg()
149 pSettings->bDSPEnabled = ((usCX & 0x0001) != 0); in smapi_query_DSP_cfg()
150 pSettings->usDspIRQ = usSI & 0x00FF; in smapi_query_DSP_cfg()
151 pSettings->usDspDMA = (usSI & 0xFF00) >> 8; in smapi_query_DSP_cfg()
153 pSettings->usDspBaseIO = ausDspBases[usDI & 0x00FF]; in smapi_query_DSP_cfg()
155 pSettings->usDspBaseIO = 0; in smapi_query_DSP_cfg()
159 pSettings->bDSPPresent, pSettings->bDSPEnabled, in smapi_query_DSP_cfg()
160 pSettings->usDspIRQ, pSettings->usDspDMA, in smapi_query_DSP_cfg()
161 pSettings->usDspBaseIO); in smapi_query_DSP_cfg()
164 if ( pSettings->usDspBaseIO == 0 ) in smapi_query_DSP_cfg()
166 if ( pSettings->usDspIRQ == 0 ) in smapi_query_DSP_cfg()
178 pSettings->bModemEnabled = ((usCX & 0x0001) != 0); in smapi_query_DSP_cfg()
179 pSettings->usUartIRQ = usSI & 0x000F; in smapi_query_DSP_cfg()
181 pSettings->usUartBaseIO = ausUartBases[(usSI & 0xFF00) >> 8]; in smapi_query_DSP_cfg()
183 pSettings->usUartBaseIO = 0; in smapi_query_DSP_cfg()
188 pSettings->bModemEnabled, in smapi_query_DSP_cfg()
189 pSettings->usUartIRQ, in smapi_query_DSP_cfg()
190 pSettings->usUartBaseIO); in smapi_query_DSP_cfg()
193 if ( pSettings->usUartBaseIO == 0 ) in smapi_query_DSP_cfg()
195 if ( pSettings->usUartIRQ == 0 ) in smapi_query_DSP_cfg()