• Home
  • Raw
  • Download

Lines Matching refs:lli

59 	struct coh901318_lli *lli;  in coh901318_lli_alloc()  local
75 lli = head; in coh901318_lli_alloc()
76 lli->phy_this = phy; in coh901318_lli_alloc()
77 lli->link_addr = 0x00000000; in coh901318_lli_alloc()
78 lli->virt_link_addr = 0x00000000U; in coh901318_lli_alloc()
81 lli_prev = lli; in coh901318_lli_alloc()
83 lli = dma_pool_alloc(pool->dmapool, GFP_NOWAIT, &phy); in coh901318_lli_alloc()
85 if (lli == NULL) in coh901318_lli_alloc()
89 lli->phy_this = phy; in coh901318_lli_alloc()
90 lli->link_addr = 0x00000000; in coh901318_lli_alloc()
91 lli->virt_link_addr = 0x00000000U; in coh901318_lli_alloc()
94 lli_prev->virt_link_addr = lli; in coh901318_lli_alloc()
113 struct coh901318_lli **lli) in coh901318_lli_free() argument
118 if (lli == NULL) in coh901318_lli_free()
121 l = *lli; in coh901318_lli_free()
138 *lli = NULL; in coh901318_lli_free()
143 struct coh901318_lli *lli, in coh901318_lli_fill_memcpy() argument
152 lli->src_addr = src; in coh901318_lli_fill_memcpy()
153 lli->dst_addr = dst; in coh901318_lli_fill_memcpy()
155 while (lli->link_addr) { in coh901318_lli_fill_memcpy()
156 lli->control = ctrl_chained | MAX_DMA_PACKET_SIZE; in coh901318_lli_fill_memcpy()
157 lli->src_addr = src; in coh901318_lli_fill_memcpy()
158 lli->dst_addr = dst; in coh901318_lli_fill_memcpy()
161 lli = coh901318_lli_next(lli); in coh901318_lli_fill_memcpy()
167 lli->control = ctrl_eom | s; in coh901318_lli_fill_memcpy()
168 lli->src_addr = src; in coh901318_lli_fill_memcpy()
169 lli->dst_addr = dst; in coh901318_lli_fill_memcpy()
176 struct coh901318_lli *lli, in coh901318_lli_fill_single() argument
198 while (lli->link_addr) { in coh901318_lli_fill_single()
200 lli->control = ctrl_chained | MAX_DMA_PACKET_SIZE; in coh901318_lli_fill_single()
212 lli->src_addr = src; in coh901318_lli_fill_single()
213 lli->dst_addr = dst; in coh901318_lli_fill_single()
215 lli = coh901318_lli_next(lli); in coh901318_lli_fill_single()
223 lli->control = ctrl_eom | s; in coh901318_lli_fill_single()
224 lli->src_addr = src; in coh901318_lli_fill_single()
225 lli->dst_addr = dst; in coh901318_lli_fill_single()
232 struct coh901318_lli *lli, in coh901318_lli_fill_sg() argument
246 if (lli == NULL) in coh901318_lli_fill_sg()
291 lli->control = val | elem_size; in coh901318_lli_fill_sg()
292 lli->src_addr = src; in coh901318_lli_fill_sg()
293 lli->dst_addr = dst; in coh901318_lli_fill_sg()
300 BUG_ON(lli->link_addr & 3); in coh901318_lli_fill_sg()
303 lli = coh901318_lli_next(lli); in coh901318_lli_fill_sg()