Searched refs:lastdesc (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/sound/pci/cs5535audio/
H A Dcs5535audio_pcm.c126 struct cs5535audio_dma_desc *lastdesc; cs5535audio_build_dma_packets() local
157 lastdesc = &((struct cs5535audio_dma_desc *) dma->desc_buf.area)[periods]; cs5535audio_build_dma_packets()
158 lastdesc->addr = cpu_to_le32((u32) dma->desc_buf.addr); cs5535audio_build_dma_packets()
159 lastdesc->size = 0; cs5535audio_build_dma_packets()
160 lastdesc->ctlreserved = cpu_to_le16(PRD_JMP); cs5535audio_build_dma_packets()
161 jmpprd_addr = cpu_to_le32(lastdesc->addr + cs5535audio_build_dma_packets()
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_user_sdma.c308 u16 newlen, pbclen, lastdesc, dma_mapped; qib_user_sdma_page_to_frags() local
355 lastdesc = 0; qib_user_sdma_page_to_frags()
358 lastdesc = 1; qib_user_sdma_page_to_frags()
361 lastdesc = 1; qib_user_sdma_page_to_frags()
364 lastdesc = 1; qib_user_sdma_page_to_frags()
370 0, lastdesc, /* first last desc */ qib_user_sdma_page_to_frags()
382 /* If there is no more byte togo. (lastdesc==1) */ qib_user_sdma_page_to_frags()
422 if (lastdesc == 0) qib_user_sdma_page_to_frags()

Completed in 137 milliseconds