Home
last modified time | relevance | path

Searched refs:PCTODSP_OFFSET (Results 1 – 2 of 2) sorted by relevance

/linux/sound/isa/msnd/
H A Dmsnd.c47 writew(PCTODSP_OFFSET(size) - 1, base + JQS_wSize); in snd_msnd_init_queue()
253 wTmp = readw(chip->DARQ + JQS_wTail) + PCTODSP_OFFSET(DAQDS__size); in snd_msnd_DARQ()
306 int bank_num = DAPQ_tail / PCTODSP_OFFSET(DAQDS__size); in snd_msnd_DAPQ()
332 DAPQ_tail = (++bank_num % 3) * PCTODSP_OFFSET(DAQDS__size); 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()
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()
H A Dmsnd.h176 #define PCTODSP_OFFSET(w) (u16)((w)/2) macro