xilinx_axidma.c (a3206972a9eab65ec8e8f9ae320ad628ba4b58f1) | xilinx_axidma.c (67cc32ebfd8c0ee3fcdb26780a8991baf5eb1d45) |
---|---|
1/* 2 * QEMU model of Xilinx AXI-DMA block. 3 * 4 * Copyright (c) 2011 Edgar E. Iglesias. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 119 unchanged lines hidden (view full) --- 128 129 struct Stream streams[2]; 130 131 StreamCanPushNotifyFn notify; 132 void *notify_opaque; 133}; 134 135/* | 1/* 2 * QEMU model of Xilinx AXI-DMA block. 3 * 4 * Copyright (c) 2011 Edgar E. Iglesias. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 119 unchanged lines hidden (view full) --- 128 129 struct Stream streams[2]; 130 131 StreamCanPushNotifyFn notify; 132 void *notify_opaque; 133}; 134 135/* |
136 * Helper calls to extract info from desriptors and other trivial | 136 * Helper calls to extract info from descriptors and other trivial |
137 * state from regs. 138 */ 139static inline int stream_desc_sof(struct SDesc *d) 140{ 141 return d->control & SDESC_CTRL_SOF; 142} 143 144static inline int stream_desc_eof(struct SDesc *d) --- 530 unchanged lines hidden --- | 137 * state from regs. 138 */ 139static inline int stream_desc_sof(struct SDesc *d) 140{ 141 return d->control & SDESC_CTRL_SOF; 142} 143 144static inline int stream_desc_eof(struct SDesc *d) --- 530 unchanged lines hidden --- |