Home
last modified time | relevance | path

Searched refs:_iname (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Ditem.h258 #define __ITEM_NAME(_type, _cname, _iname) \ argument
259 mlxsw_##_type##_##_cname##_##_iname##_item
266 #define MLXSW_ITEM8(_type, _cname, _iname, _offset, _shift, _sizebits) \ argument
267 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
271 .name = #_type "_" #_cname "_" #_iname, \
274 mlxsw_##_type##_##_cname##_##_iname##_get(const char *buf) \
276 return __mlxsw_item_get8(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \
279 mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, u8 val) \
281 __mlxsw_item_set8(buf, &__ITEM_NAME(_type, _cname, _iname), 0, val); \
284 #define MLXSW_ITEM8_INDEXED(_type, _cname, _iname, _offset, _shift, _sizebits, \ argument
[all …]