ioat.h (e60680024afe8ec84ded577e77965e9a44595f2b) | ioat.h (6ca07079afcad5a0129c4bcf2662131fde11d823) |
---|---|
1/*- 2 * Copyright (C) 2012 Intel Corporation 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 --- 32 unchanged lines hidden (view full) --- 41 * this on the last operation in a group 42 */ 43#define DMA_INT_EN 0x1 44/* 45 * Like M_NOWAIT. Operations will return NULL if they cannot allocate a 46 * descriptor without blocking. 47 */ 48#define DMA_NO_WAIT 0x2 | 1/*- 2 * Copyright (C) 2012 Intel Corporation 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 --- 32 unchanged lines hidden (view full) --- 41 * this on the last operation in a group 42 */ 43#define DMA_INT_EN 0x1 44/* 45 * Like M_NOWAIT. Operations will return NULL if they cannot allocate a 46 * descriptor without blocking. 47 */ 48#define DMA_NO_WAIT 0x2 |
49#define DMA_ALL_FLAGS (DMA_INT_EN | DMA_NO_WAIT) | 49/* 50 * Disallow prefetching the source of the following operation. Ordinarily, DMA 51 * operations can be pipelined on some hardware. E.g., operation 2's source 52 * may be prefetched before operation 1 completes. 53 */ 54#define DMA_FENCE 0x4 55#define DMA_ALL_FLAGS (DMA_INT_EN | DMA_NO_WAIT | DMA_FENCE) |
50 51/* 52 * Hardware revision number. Different hardware revisions support different 53 * features. For example, 3.2 cannot read from MMIO space, while 3.3 can. 54 */ 55#define IOAT_VER_3_0 0x30 56#define IOAT_VER_3_2 0x32 57#define IOAT_VER_3_3 0x33 --- 98 unchanged lines hidden --- | 56 57/* 58 * Hardware revision number. Different hardware revisions support different 59 * features. For example, 3.2 cannot read from MMIO space, while 3.3 can. 60 */ 61#define IOAT_VER_3_0 0x30 62#define IOAT_VER_3_2 0x32 63#define IOAT_VER_3_3 0x33 --- 98 unchanged lines hidden --- |