Lines Matching refs:pDAQ

260 		void __iomem *pDAQ = chip->mappedbase + DARQ_DATA_BUFF +  in snd_msnd_DARQ()  local
264 if (readw(pDAQ) != PCTODSP_BASED(0x3000)) in snd_msnd_DARQ()
266 writew(PCTODSP_BASED(offset), pDAQ); in snd_msnd_DARQ()
350 void __iomem *pDAQ = chip->mappedbase + DAPQ_DATA_BUFF; in snd_msnd_play_reset_queue() local
360 for (n = 0; n < pcm_periods; ++n, pDAQ += DAQDS__size) { in snd_msnd_play_reset_queue()
362 pDAQ + DAQDS_wStart); in snd_msnd_play_reset_queue()
363 writew(0, pDAQ + DAQDS_wSize); in snd_msnd_play_reset_queue()
364 writew(1, pDAQ + DAQDS_wFormat); in snd_msnd_play_reset_queue()
365 writew(chip->play_sample_size, pDAQ + DAQDS_wSampleSize); in snd_msnd_play_reset_queue()
366 writew(chip->play_channels, pDAQ + DAQDS_wChannels); in snd_msnd_play_reset_queue()
367 writew(chip->play_sample_rate, pDAQ + DAQDS_wSampleRate); in snd_msnd_play_reset_queue()
368 writew(HIMT_PLAY_DONE * 0x100 + n, pDAQ + DAQDS_wIntMsg); in snd_msnd_play_reset_queue()
369 writew(n, pDAQ + DAQDS_wFlags); in snd_msnd_play_reset_queue()
378 void __iomem *pDAQ; in snd_msnd_capture_reset_queue() local
401 pDAQ = chip->mappedbase + DARQ_DATA_BUFF; in snd_msnd_capture_reset_queue()
403 for (n = 0; n < pcm_periods; ++n, pDAQ += DAQDS__size) { in snd_msnd_capture_reset_queue()
406 writew(PCTODSP_BASED(tmp + 0x3000), pDAQ + DAQDS_wStart); in snd_msnd_capture_reset_queue()
407 writew(pcm_count, pDAQ + DAQDS_wSize); in snd_msnd_capture_reset_queue()
408 writew(1, pDAQ + DAQDS_wFormat); in snd_msnd_capture_reset_queue()
409 writew(chip->capture_sample_size, pDAQ + DAQDS_wSampleSize); in snd_msnd_capture_reset_queue()
410 writew(chip->capture_channels, pDAQ + DAQDS_wChannels); in snd_msnd_capture_reset_queue()
411 writew(chip->capture_sample_rate, pDAQ + DAQDS_wSampleRate); in snd_msnd_capture_reset_queue()
412 writew(HIMT_RECORD_DONE * 0x100 + n, pDAQ + DAQDS_wIntMsg); in snd_msnd_capture_reset_queue()
413 writew(n, pDAQ + DAQDS_wFlags); in snd_msnd_capture_reset_queue()
489 void __iomem *pDAQ = chip->mappedbase + DAPQ_DATA_BUFF; in snd_msnd_playback_hw_params() local
495 for (i = 0; i < 3; ++i, pDAQ += DAQDS__size) { in snd_msnd_playback_hw_params()
496 writew(chip->play_sample_size, pDAQ + DAQDS_wSampleSize); in snd_msnd_playback_hw_params()
497 writew(chip->play_channels, pDAQ + DAQDS_wChannels); in snd_msnd_playback_hw_params()
498 writew(chip->play_sample_rate, pDAQ + DAQDS_wSampleRate); in snd_msnd_playback_hw_params()
636 void __iomem *pDAQ = chip->mappedbase + DARQ_DATA_BUFF; in snd_msnd_capture_hw_params() local
642 for (i = 0; i < 3; ++i, pDAQ += DAQDS__size) { in snd_msnd_capture_hw_params()
643 writew(chip->capture_sample_size, pDAQ + DAQDS_wSampleSize); in snd_msnd_capture_hw_params()
644 writew(chip->capture_channels, pDAQ + DAQDS_wChannels); in snd_msnd_capture_hw_params()
645 writew(chip->capture_sample_rate, pDAQ + DAQDS_wSampleRate); in snd_msnd_capture_hw_params()