Searched refs:_width (Results 1 – 2 of 2) sorted by relevance
| /dpdk/drivers/net/axgbe/ |
| H A D | axgbe_common.h | 1430 #define GET_BITS(_var, _index, _width) \ argument 1431 (((_var) >> (_index)) & ((0x1 << (_width)) - 1)) 1433 #define SET_BITS(_var, _index, _width, _val) \ argument 1435 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \ 1436 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \ 1439 #define GET_BITS_LE(_var, _index, _width) \ argument 1440 ((rte_le_to_cpu_32((_var)) >> (_index)) & ((0x1 << (_width)) - 1)) 1442 #define SET_BITS_LE(_var, _index, _width, _val) \ argument 1444 (_var) &= rte_cpu_to_le_32(~(((0x1U << (_width)) - 1) << (_index)));\ 1446 ((0x1U << (_width)) - 1)) << (_index))); \
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_lan_tx_rx.h | 977 #define ICE_CTX_STORE(_struct, _ele, _width, _lsb) { \ argument 980 .width = _width, \
|