dbdma.h (183411) | dbdma.h (259284) |
---|---|
1/*- 2 * Copyright (c) 2008 Nathan Whitehorn 3 * All rights reserved 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2008 Nathan Whitehorn 3 * All rights reserved 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/powerpc/include/dbdma.h 183411 2008-09-27 15:41:16Z nwhitehorn $ | 26 * $FreeBSD: head/sys/powerpc/include/dbdma.h 259284 2013-12-13 02:37:35Z jhibbits $ |
27 */ 28 29#ifndef _MACHINE_DBDMA_H_ 30#define _MACHINE_DBDMA_H_ 31 32#include <sys/param.h> 33#include <machine/bus.h> 34 --- 107 unchanged lines hidden (view full) --- 142 uint8_t branch, uint8_t wait, uint32_t branch_slot); 143 144void dbdma_insert_stop(dbdma_channel_t *chan, int slot); 145void dbdma_insert_nop(dbdma_channel_t *chan, int slot); 146void dbdma_insert_branch(dbdma_channel_t *chan, int slot, int to_slot); 147 148void dbdma_sync_commands(dbdma_channel_t *chan, bus_dmasync_op_t op); 149 | 27 */ 28 29#ifndef _MACHINE_DBDMA_H_ 30#define _MACHINE_DBDMA_H_ 31 32#include <sys/param.h> 33#include <machine/bus.h> 34 --- 107 unchanged lines hidden (view full) --- 142 uint8_t branch, uint8_t wait, uint32_t branch_slot); 143 144void dbdma_insert_stop(dbdma_channel_t *chan, int slot); 145void dbdma_insert_nop(dbdma_channel_t *chan, int slot); 146void dbdma_insert_branch(dbdma_channel_t *chan, int slot, int to_slot); 147 148void dbdma_sync_commands(dbdma_channel_t *chan, bus_dmasync_op_t op); 149 |
150void dbdma_save_state(dbdma_channel_t *chan); 151void dbdma_restore_state(dbdma_channel_t *chan); 152 |
|
150#endif /* _MACHINE_DBDMA_H_ */ | 153#endif /* _MACHINE_DBDMA_H_ */ |