Lines Matching refs:__ITEM_NAME
258 #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(_type, _cname, _iname), 0, val); \
325 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
337 return __mlxsw_item_get16(buf, &__ITEM_NAME(_type, _cname, _iname), \
344 __mlxsw_item_set16(buf, &__ITEM_NAME(_type, _cname, _iname), \
349 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
357 return __mlxsw_item_get32(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \
361 __mlxsw_item_set32(buf, &__ITEM_NAME(_type, _cname, _iname), 0, val); \
366 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
378 return __mlxsw_item_get32(buf, &__ITEM_NAME(_type, _cname, _iname), \
385 __mlxsw_item_set32(buf, &__ITEM_NAME(_type, _cname, _iname), \
390 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
398 return __mlxsw_item_get64(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \
402 __mlxsw_item_set64(buf, &__ITEM_NAME(_type, _cname, _iname), 0, val); \
407 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
419 return __mlxsw_item_get64(buf, &__ITEM_NAME(_type, _cname, _iname), \
426 __mlxsw_item_set64(buf, &__ITEM_NAME(_type, _cname, _iname), \
431 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
440 &__ITEM_NAME(_type, _cname, _iname), 0); \
446 &__ITEM_NAME(_type, _cname, _iname), 0); \
451 return __mlxsw_item_data(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \
456 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
469 &__ITEM_NAME(_type, _cname, _iname), index); \
477 &__ITEM_NAME(_type, _cname, _iname), index); \
483 &__ITEM_NAME(_type, _cname, _iname), index); \
488 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
498 &__ITEM_NAME(_type, _cname, _iname), \
505 &__ITEM_NAME(_type, _cname, _iname), \