Lines Matching refs:desc_words
310 uint32_t desc_words[4]; in read_descriptor() local
311 dma_memory_read(&s->dma_as, desc_addr, &desc_words, sizeof(desc_words), in read_descriptor()
313 desc->status = le32_to_cpu(desc_words[0]); in read_descriptor()
314 desc->size = le32_to_cpu(desc_words[1]); in read_descriptor()
315 desc->addr = le32_to_cpu(desc_words[2]); in read_descriptor()
316 desc->next = le32_to_cpu(desc_words[3]); in read_descriptor()
322 uint32_t desc_words[4]; in write_descriptor() local
323 desc_words[0] = cpu_to_le32(desc->status); in write_descriptor()
324 desc_words[1] = cpu_to_le32(desc->size); in write_descriptor()
325 desc_words[2] = cpu_to_le32(desc->addr); in write_descriptor()
326 desc_words[3] = cpu_to_le32(desc->next); in write_descriptor()
327 dma_memory_write(&s->dma_as, desc_addr, &desc_words, sizeof(desc_words), in write_descriptor()