Searched refs:lastdesc (Results 1 – 2 of 2) sorted by relevance
113 struct cs5535audio_dma_desc *lastdesc; in cs5535audio_build_dma_packets() local144 lastdesc = &((struct cs5535audio_dma_desc *) dma->desc_buf.area)[periods]; in cs5535audio_build_dma_packets()145 lastdesc->addr = cpu_to_le32((u32) dma->desc_buf.addr); in cs5535audio_build_dma_packets()146 lastdesc->size = 0; in cs5535audio_build_dma_packets()147 lastdesc->ctlreserved = cpu_to_le16(PRD_JMP); in cs5535audio_build_dma_packets()
304 u16 newlen, pbclen, lastdesc, dma_mapped; in qib_user_sdma_page_to_frags() local351 lastdesc = 0; in qib_user_sdma_page_to_frags()354 lastdesc = 1; in qib_user_sdma_page_to_frags()357 lastdesc = 1; in qib_user_sdma_page_to_frags()360 lastdesc = 1; in qib_user_sdma_page_to_frags()366 0, lastdesc, /* first last desc */ in qib_user_sdma_page_to_frags()418 if (lastdesc == 0) in qib_user_sdma_page_to_frags()