Lines Matching refs:pBDData
68 static void EnableSRAM(THINKPAD_BD_DATA * pBDData) in EnableSRAM() argument
70 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in EnableSRAM()
155 int tp3780I_InitializeBoardData(THINKPAD_BD_DATA * pBDData) in tp3780I_InitializeBoardData() argument
158 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_InitializeBoardData()
161 PRINTK_2(TRACE_TP3780I, "tp3780i::tp3780I_InitializeBoardData entry pBDData %p\n", pBDData); in tp3780I_InitializeBoardData()
163 pBDData->bDSPEnabled = FALSE; in tp3780I_InitializeBoardData()
180 int tp3780I_Cleanup(THINKPAD_BD_DATA * pBDData) in tp3780I_Cleanup() argument
185 "tp3780i::tp3780I_Cleanup entry and exit pBDData %p\n", pBDData); in tp3780I_Cleanup()
190 int tp3780I_CalcResources(THINKPAD_BD_DATA * pBDData) in tp3780I_CalcResources() argument
193 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_CalcResources()
196 "tp3780i::tp3780I_CalcResources entry pBDData %p\n", pBDData); in tp3780I_CalcResources()
227 pBDData->bShareDspIrq = pBDData->bShareUartIrq = 1; in tp3780I_CalcResources()
229 pBDData->bShareDspIrq = pBDData->bShareUartIrq = 0; in tp3780I_CalcResources()
238 int tp3780I_ClaimResources(THINKPAD_BD_DATA * pBDData) in tp3780I_ClaimResources() argument
241 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_ClaimResources()
245 "tp3780i::tp3780I_ClaimResources entry pBDData %p\n", pBDData); in tp3780I_ClaimResources()
260 int tp3780I_ReleaseResources(THINKPAD_BD_DATA * pBDData) in tp3780I_ReleaseResources() argument
263 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_ReleaseResources()
266 "tp3780i::tp3780I_ReleaseResources entry pBDData %p\n", pBDData); in tp3780I_ReleaseResources()
283 int tp3780I_EnableDSP(THINKPAD_BD_DATA * pBDData) in tp3780I_EnableDSP() argument
285 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_EnableDSP()
288 PRINTK_2(TRACE_TP3780I, "tp3780i::tp3780I_EnableDSP entry pBDData %p\n", pBDData); in tp3780I_EnableDSP()
290 if (pBDData->bDSPEnabled) { in tp3780I_EnableDSP()
342 if (pBDData->bShareDspIrq) { in tp3780I_EnableDSP()
345 if (pBDData->bShareUartIrq) { in tp3780I_EnableDSP()
375 pSettings->usDspIrq, pBDData->bShareDspIrq); in tp3780I_EnableDSP()
393 EnableSRAM(pBDData); in tp3780I_EnableDSP()
395 pBDData->bDSPEnabled = TRUE; in tp3780I_EnableDSP()
413 int tp3780I_DisableDSP(THINKPAD_BD_DATA * pBDData) in tp3780I_DisableDSP() argument
416 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_DisableDSP()
418 PRINTK_2(TRACE_TP3780I, "tp3780i::tp3780I_DisableDSP entry pBDData %p\n", pBDData); in tp3780I_DisableDSP()
420 if (pBDData->bDSPEnabled) { in tp3780I_DisableDSP()
421 dsp3780I_DisableDSP(&pBDData->rDspSettings); in tp3780I_DisableDSP()
427 pBDData->bDSPEnabled = FALSE; in tp3780I_DisableDSP()
436 int tp3780I_ResetDSP(THINKPAD_BD_DATA * pBDData) in tp3780I_ResetDSP() argument
439 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_ResetDSP()
442 pBDData); in tp3780I_ResetDSP()
445 EnableSRAM(pBDData); in tp3780I_ResetDSP()
456 int tp3780I_StartDSP(THINKPAD_BD_DATA * pBDData) in tp3780I_StartDSP() argument
459 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_StartDSP()
461 PRINTK_2(TRACE_TP3780I, "tp3780i::tp3780I_StartDSP entry pBDData %p\n", pBDData); in tp3780I_StartDSP()
475 int tp3780I_QueryAbilities(THINKPAD_BD_DATA * pBDData, MW_ABILITIES * pAbilities) in tp3780I_QueryAbilities() argument
480 "tp3780i::tp3780I_QueryAbilities entry pBDData %p\n", pBDData); in tp3780I_QueryAbilities()
483 pAbilities->instr_per_sec = pBDData->rDspSettings.uIps; in tp3780I_QueryAbilities()
484 pAbilities->data_size = pBDData->rDspSettings.uDStoreSize; in tp3780I_QueryAbilities()
485 pAbilities->inst_size = pBDData->rDspSettings.uIStoreSize; in tp3780I_QueryAbilities()
486 pAbilities->bus_dma_bw = pBDData->rDspSettings.uDmaBandwidth; in tp3780I_QueryAbilities()
511 int tp3780I_ReadWriteDspDStore(THINKPAD_BD_DATA * pBDData, unsigned int uOpcode, in tp3780I_ReadWriteDspDStore() argument
516 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_ReadWriteDspDStore()
522 pBDData, uOpcode, pvBuffer, uCount, ulDSPAddr); in tp3780I_ReadWriteDspDStore()
524 if (pBDData->bDSPEnabled) { in tp3780I_ReadWriteDspDStore()
547 int tp3780I_ReadWriteDspIStore(THINKPAD_BD_DATA * pBDData, unsigned int uOpcode, in tp3780I_ReadWriteDspIStore() argument
552 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_ReadWriteDspIStore()
558 pBDData, uOpcode, pvBuffer, uCount, ulDSPAddr); in tp3780I_ReadWriteDspIStore()
560 if (pBDData->bDSPEnabled) { in tp3780I_ReadWriteDspIStore()