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

/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
H A Ditem.h242 #define __ITEM_NAME(_type, _cname, _iname) \ macro
251 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
259 return __mlxsw_item_get16(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \
263 __mlxsw_item_set16(buf, &__ITEM_NAME(_type, _cname, _iname), 0, val); \
268 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
280 return __mlxsw_item_get16(buf, &__ITEM_NAME(_type, _cname, _iname), \
287 __mlxsw_item_set16(buf, &__ITEM_NAME(_type, _cname, _iname), \
292 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
300 return __mlxsw_item_get32(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \
304 __mlxsw_item_set32(buf, &__ITEM_NAME(_type, _cname, _iname), 0, val); \
309 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
321 return __mlxsw_item_get32(buf, &__ITEM_NAME(_type, _cname, _iname), \
328 __mlxsw_item_set32(buf, &__ITEM_NAME(_type, _cname, _iname), \
333 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
341 return __mlxsw_item_get64(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \
345 __mlxsw_item_set64(buf, &__ITEM_NAME(_type, _cname, _iname), 0, val); \
350 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
362 return __mlxsw_item_get64(buf, &__ITEM_NAME(_type, _cname, _iname), \
369 __mlxsw_item_set64(buf, &__ITEM_NAME(_type, _cname, _iname), \
374 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
383 &__ITEM_NAME(_type, _cname, _iname), 0); \
389 &__ITEM_NAME(_type, _cname, _iname), 0); \
394 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
407 &__ITEM_NAME(_type, _cname, _iname), index); \
415 &__ITEM_NAME(_type, _cname, _iname), index); \
420 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
430 &__ITEM_NAME(_type, _cname, _iname), \
437 &__ITEM_NAME(_type, _cname, _iname), \

Completed in 53 milliseconds