Lines Matching refs:cpu_to_le16
243 chip->extra_dma.cmds->command = cpu_to_le16(DBDMA_STOP); in snd_pmac_pcm_prepare()
255 cp->req_count = cpu_to_le16(rec->period_size); in snd_pmac_pcm_prepare()
257 cp->xfer_status = cpu_to_le16(0); in snd_pmac_pcm_prepare()
261 cp->command = cpu_to_le16(DBDMA_NOP + BR_ALWAYS); in snd_pmac_pcm_prepare()
430 cp->xfer_status = cpu_to_le16(0); in snd_pmac_pcm_dead_xfer()
431 cp->req_count = cpu_to_le16(rec->period_size); in snd_pmac_pcm_dead_xfer()
441 cp->req_count = cpu_to_le16(res); in snd_pmac_pcm_dead_xfer()
442 cp->res_count = cpu_to_le16(0); in snd_pmac_pcm_dead_xfer()
443 cp->xfer_status = cpu_to_le16(0); in snd_pmac_pcm_dead_xfer()
449 cp->command = cpu_to_le16(OUTPUT_MORE | BR_ALWAYS | INTR_ALWAYS); in snd_pmac_pcm_dead_xfer()
492 cp->xfer_status = cpu_to_le16(0); in snd_pmac_pcm_update()
493 cp->req_count = cpu_to_le16(rec->period_size); in snd_pmac_pcm_update()
763 chip->extra_dma.cmds->req_count = cpu_to_le16(bytes); in snd_pmac_beep_dma_start()
764 chip->extra_dma.cmds->xfer_status = cpu_to_le16(0); in snd_pmac_beep_dma_start()
767 chip->extra_dma.cmds->command = cpu_to_le16(OUTPUT_MORE + BR_ALWAYS); in snd_pmac_beep_dma_start()
779 chip->extra_dma.cmds->command = cpu_to_le16(DBDMA_STOP); in snd_pmac_beep_dma_stop()