Lines Matching refs:writew
46 writew(PCTODSP_BASED(start), base + JQS_wStart); in snd_msnd_init_queue()
47 writew(PCTODSP_OFFSET(size) - 1, base + JQS_wSize); in snd_msnd_init_queue()
48 writew(0, base + JQS_wHead); in snd_msnd_init_queue()
49 writew(0, base + JQS_wTail); in snd_msnd_init_queue()
266 writew(PCTODSP_BASED(offset), pDAQ); in snd_msnd_DARQ()
269 writew(wTmp, chip->DARQ + JQS_wTail); in snd_msnd_DARQ()
318 writew(chip->play_period_bytes, DAQD + DAQDS_wSize); in snd_msnd_DAPQ()
327 writew(PCTODSP_BASED(offset), DAQD + DAQDS_wStart); in snd_msnd_DAPQ()
333 writew(DAPQ_tail, chip->DAPQ + JQS_wTail); in snd_msnd_DAPQ()
355 writew(PCTODSP_OFFSET(0 * DAQDS__size), chip->DAPQ + JQS_wHead); in snd_msnd_play_reset_queue()
356 writew(PCTODSP_OFFSET(0 * DAQDS__size), chip->DAPQ + JQS_wTail); in snd_msnd_play_reset_queue()
361 writew(PCTODSP_BASED((u32)(pcm_count * n)), 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()
386 writew(PCTODSP_OFFSET(0 * DAQDS__size), chip->DARQ + JQS_wHead); in snd_msnd_capture_reset_queue()
387 writew(PCTODSP_OFFSET(chip->last_recbank * 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()
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()
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()