Home
last modified time | relevance | path

Searched refs:__ITEM_NAME (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Ditem.h258 #define __ITEM_NAME(_type, _cname, _iname) \ macro
267 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
275 return __mlxsw_item_get8(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \
279 __mlxsw_item_set8(buf, &__ITEM_NAME(_type, _cname, _iname), 0, val); \
284 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
296 return __mlxsw_item_get8(buf, &__ITEM_NAME(_type, _cname, _iname), \
303 __mlxsw_item_set8(buf, &__ITEM_NAME(_type, _cname, _iname), \
308 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
316 return __mlxsw_item_get16(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \
320 __mlxsw_item_set16(buf, &__ITEM_NAME(_typ
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Ditem.h258 #define __ITEM_NAME(_type, _cname, _iname) \ macro
267 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
276 return __mlxsw_item_get8(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \
281 __mlxsw_item_set8(buf, &__ITEM_NAME(_type, _cname, _iname), 0, val); \
286 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
298 return __mlxsw_item_get8(buf, &__ITEM_NAME(_type, _cname, _iname), \
305 __mlxsw_item_set8(buf, &__ITEM_NAME(_type, _cname, _iname), \
310 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
319 return __mlxsw_item_get16(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \
324 __mlxsw_item_set16(buf, &__ITEM_NAME(_typ
[all...]

Completed in 2 milliseconds