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()
339 writew(DAPQ_tail, chip->DAPQ + JQS_wTail); in snd_msnd_DAPQ()
365 writew(PCTODSP_OFFSET(0 * DAQDS__size), chip->DAPQ + JQS_wHead); in snd_msnd_play_reset_queue()
366 writew(PCTODSP_OFFSET(0 * DAQDS__size), chip->DAPQ + JQS_wTail); in snd_msnd_play_reset_queue()
371 writew(PCTODSP_BASED((u32)(pcm_count * n)), in snd_msnd_play_reset_queue()
373 writew(0, pDAQ + DAQDS_wSize); in snd_msnd_play_reset_queue()
374 writew(1, pDAQ + DAQDS_wFormat); in snd_msnd_play_reset_queue()
375 writew(chip->play_sample_size, pDAQ + DAQDS_wSampleSize); in snd_msnd_play_reset_queue()
376 writew(chip->play_channels, pDAQ + DAQDS_wChannels); in snd_msnd_play_reset_queue()
377 writew(chip->play_sample_rate, pDAQ + DAQDS_wSampleRate); in snd_msnd_play_reset_queue()
378 writew(HIMT_PLAY_DONE * 0x100 + n, pDAQ + DAQDS_wIntMsg); in snd_msnd_play_reset_queue()
379 writew(n, pDAQ + DAQDS_wFlags); in snd_msnd_play_reset_queue()
396 writew(PCTODSP_OFFSET(0 * DAQDS__size), chip->DARQ + JQS_wHead); in snd_msnd_capture_reset_queue()
397 writew(PCTODSP_OFFSET(chip->last_recbank * DAQDS__size), in snd_msnd_capture_reset_queue()
416 writew(PCTODSP_BASED(tmp + 0x3000), pDAQ + DAQDS_wStart); in snd_msnd_capture_reset_queue()
417 writew(pcm_count, pDAQ + DAQDS_wSize); in snd_msnd_capture_reset_queue()
418 writew(1, pDAQ + DAQDS_wFormat); in snd_msnd_capture_reset_queue()
419 writew(chip->capture_sample_size, pDAQ + DAQDS_wSampleSize); in snd_msnd_capture_reset_queue()
420 writew(chip->capture_channels, pDAQ + DAQDS_wChannels); in snd_msnd_capture_reset_queue()
421 writew(chip->capture_sample_rate, pDAQ + DAQDS_wSampleRate); in snd_msnd_capture_reset_queue()
422 writew(HIMT_RECORD_DONE * 0x100 + n, pDAQ + DAQDS_wIntMsg); in snd_msnd_capture_reset_queue()
423 writew(n, pDAQ + DAQDS_wFlags); in snd_msnd_capture_reset_queue()
506 writew(chip->play_sample_size, pDAQ + DAQDS_wSampleSize); in snd_msnd_playback_hw_params()
507 writew(chip->play_channels, pDAQ + DAQDS_wChannels); in snd_msnd_playback_hw_params()
508 writew(chip->play_sample_rate, pDAQ + DAQDS_wSampleRate); in snd_msnd_playback_hw_params()
653 writew(chip->capture_sample_size, pDAQ + DAQDS_wSampleSize); in snd_msnd_capture_hw_params()
654 writew(chip->capture_channels, pDAQ + DAQDS_wChannels); in snd_msnd_capture_hw_params()
655 writew(chip->capture_sample_rate, pDAQ + DAQDS_wSampleRate); in snd_msnd_capture_hw_params()