Searched refs:PCTODSP_BASED (Results 1 – 2 of 2) sorted by relevance
46 writew(PCTODSP_BASED(start), base + JQS_wStart); in snd_msnd_init_queue()264 if (readw(pDAQ) != PCTODSP_BASED(0x3000)) in snd_msnd_DARQ()266 writew(PCTODSP_BASED(offset), pDAQ); in snd_msnd_DARQ()324 if (readw(DAQD + DAQDS_wStart) != PCTODSP_BASED(0x0)) in snd_msnd_DAPQ()327 writew(PCTODSP_BASED(offset), DAQD + DAQDS_wStart); in snd_msnd_DAPQ()371 writew(PCTODSP_BASED((u32)(pcm_count * n)), in snd_msnd_play_reset_queue()416 writew(PCTODSP_BASED(tmp + 0x3000), pDAQ + DAQDS_wStart); in snd_msnd_capture_reset_queue()
177 #define PCTODSP_BASED(w) (u16)(((w)/2) + DSP_BASE_ADDR) macro