Lines Matching refs:desc
2061 struct brcm_nand_dma_desc *desc, u64 addr, in brcmnand_fill_dma_desc() argument
2066 memset(desc, 0, sizeof(*desc)); in brcmnand_fill_dma_desc()
2068 desc->next_desc = lower_32_bits(next_desc); in brcmnand_fill_dma_desc()
2069 desc->next_desc_ext = upper_32_bits(next_desc); in brcmnand_fill_dma_desc()
2070 desc->cmd_irq = (dma_cmd << 24) | in brcmnand_fill_dma_desc()
2074 desc->cmd_irq |= 0x01 << 12; in brcmnand_fill_dma_desc()
2076 desc->dram_addr = lower_32_bits(buf); in brcmnand_fill_dma_desc()
2077 desc->dram_addr_ext = upper_32_bits(buf); in brcmnand_fill_dma_desc()
2078 desc->tfr_len = len; in brcmnand_fill_dma_desc()
2079 desc->total_len = len; in brcmnand_fill_dma_desc()
2080 desc->flash_addr = lower_32_bits(addr); in brcmnand_fill_dma_desc()
2081 desc->flash_addr_ext = upper_32_bits(addr); in brcmnand_fill_dma_desc()
2082 desc->cs = host->cs; in brcmnand_fill_dma_desc()
2083 desc->status_valid = 0x01; in brcmnand_fill_dma_desc()
2090 static void brcmnand_dma_run(struct brcmnand_host *host, dma_addr_t desc) in brcmnand_dma_run() argument
2095 flash_dma_writel(ctrl, FLASH_DMA_FIRST_DESC, lower_32_bits(desc)); in brcmnand_dma_run()
2099 upper_32_bits(desc)); in brcmnand_dma_run()