Lines Matching refs:desc

26 	struct alt_sgdma_descriptor *desc,  in alt_sgdma_construct_descriptor()  argument
44 memset(desc, 0, sizeof(struct alt_sgdma_descriptor)); in alt_sgdma_construct_descriptor()
45 desc->source = virt_to_phys(read_addr); in alt_sgdma_construct_descriptor()
46 desc->destination = virt_to_phys(write_addr); in alt_sgdma_construct_descriptor()
47 desc->next = virt_to_phys(next); in alt_sgdma_construct_descriptor()
48 desc->bytes_to_transfer = length_or_eop; in alt_sgdma_construct_descriptor()
71 desc->descriptor_control = val; in alt_sgdma_construct_descriptor()
101 struct alt_sgdma_descriptor *desc) in alt_sgdma_start_transfer() argument
106 writel(virt_to_phys(desc), &regs->next_descriptor_pointer); in alt_sgdma_start_transfer()
314 struct msgdma_extended_desc *desc = priv->tx_desc; in altera_tse_send_msgdma() local
318 writel(tx_buf, &desc->read_addr_lo); in altera_tse_send_msgdma()
319 writel(0, &desc->read_addr_hi); in altera_tse_send_msgdma()
320 writel(0, &desc->write_addr_lo); in altera_tse_send_msgdma()
321 writel(0, &desc->write_addr_hi); in altera_tse_send_msgdma()
322 writel(length, &desc->len); in altera_tse_send_msgdma()
323 writel(0, &desc->burst_seq_num); in altera_tse_send_msgdma()
324 writel(MSGDMA_DESC_TX_STRIDE, &desc->stride); in altera_tse_send_msgdma()
325 writel(MSGDMA_DESC_CTL_TX_SINGLE, &desc->control); in altera_tse_send_msgdma()
357 struct msgdma_extended_desc *desc = priv->rx_desc; in altera_tse_free_pkt_msgdma() local
360 writel(0, &desc->read_addr_lo); in altera_tse_free_pkt_msgdma()
361 writel(0, &desc->read_addr_hi); in altera_tse_free_pkt_msgdma()
362 writel(rx_buf, &desc->write_addr_lo); in altera_tse_free_pkt_msgdma()
363 writel(0, &desc->write_addr_hi); in altera_tse_free_pkt_msgdma()
364 writel(PKTSIZE_ALIGN, &desc->len); in altera_tse_free_pkt_msgdma()
365 writel(0, &desc->burst_seq_num); in altera_tse_free_pkt_msgdma()
366 writel(MSGDMA_DESC_RX_STRIDE, &desc->stride); in altera_tse_free_pkt_msgdma()
367 writel(MSGDMA_DESC_CTL_RX_SINGLE, &desc->control); in altera_tse_free_pkt_msgdma()