pt3.h (3eb66e91a25497065c5322b1268cbc3953642227) | pt3.h (167905540e08e37162adc24066427944f71bf7a4) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Earthsoft PT3 driver 4 * 5 * Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com> 6 */ 7 8#ifndef PT3_H --- 62 unchanged lines hidden (view full) --- 71/* DMA transfer description. 72 * device is passed a pointer to this struct, dma-reads it, 73 * and gets the DMA buffer ring for storing TS data. 74 */ 75struct xfer_desc { 76 u32 addr_l; /* bus address of target data buffer */ 77 u32 addr_h; 78 u32 size; | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Earthsoft PT3 driver 4 * 5 * Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com> 6 */ 7 8#ifndef PT3_H --- 62 unchanged lines hidden (view full) --- 71/* DMA transfer description. 72 * device is passed a pointer to this struct, dma-reads it, 73 * and gets the DMA buffer ring for storing TS data. 74 */ 75struct xfer_desc { 76 u32 addr_l; /* bus address of target data buffer */ 77 u32 addr_h; 78 u32 size; |
79 u32 next_l; /* bus adddress of the next xfer_desc */ | 79 u32 next_l; /* bus address of the next xfer_desc */ |
80 u32 next_h; 81}; 82 83/* A DMA mapping of a page containing xfer_desc's */ 84struct xfer_desc_buffer { 85 dma_addr_t b_addr; 86 struct xfer_desc *descs; /* PAGE_SIZE (xfer_desc[DESCS_IN_PAGE]) */ 87}; --- 90 unchanged lines hidden --- | 80 u32 next_h; 81}; 82 83/* A DMA mapping of a page containing xfer_desc's */ 84struct xfer_desc_buffer { 85 dma_addr_t b_addr; 86 struct xfer_desc *descs; /* PAGE_SIZE (xfer_desc[DESCS_IN_PAGE]) */ 87}; --- 90 unchanged lines hidden --- |